vsphere-automation-vcenter 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +6 -6
  3. data/README.md +26 -26
  4. data/docs/CertificateManagementVcenterTlsApi.md +3 -5
  5. data/docs/DeploymentApi.md +4 -8
  6. data/docs/DeploymentImportHistoryApi.md +4 -8
  7. data/docs/DeploymentInstallApi.md +4 -8
  8. data/docs/DeploymentInstallPscReplicatedApi.md +3 -5
  9. data/docs/DeploymentInstallPscStandaloneApi.md +3 -5
  10. data/docs/DeploymentInstallRemotePscApi.md +3 -5
  11. data/docs/DeploymentQuestionApi.md +3 -5
  12. data/docs/DeploymentUpgradeApi.md +4 -8
  13. data/docs/InventoryDatastoreApi.md +3 -5
  14. data/docs/InventoryNetworkApi.md +3 -5
  15. data/docs/IsoImageApi.md +6 -10
  16. data/docs/OvfLibraryItemApi.md +3 -5
  17. data/docs/StoragePoliciesApi.md +3 -5
  18. data/docs/TopologyPscsApi.md +3 -5
  19. data/docs/VcenterDeploymentInfo.md +1 -1
  20. data/docs/VcenterInventoryDatastoreFindResult.md +1 -1
  21. data/docs/VcenterInventoryNetworkFindResult.md +1 -1
  22. data/docs/VcenterOvfLibraryItemResourcePoolDeploymentSpec.md +2 -2
  23. data/docs/VcenterServicesServiceListDetailsResult.md +1 -1
  24. data/docs/VcenterStoragePoliciesComplianceSummary.md +1 -1
  25. data/docs/VcenterStoragePoliciesComplianceVMInfo.md +1 -1
  26. data/docs/VcenterStoragePoliciesComplianceVMListResult.md +1 -1
  27. data/docs/VcenterStoragePoliciesVMListResult.md +1 -1
  28. data/docs/VcenterVMInfo.md +8 -8
  29. data/docs/VcenterVmGuestLocalFilesystemResult.md +1 -1
  30. data/docs/VcenterVmStoragePolicyComplianceInfo.md +1 -1
  31. data/docs/VcenterVmStoragePolicyInfo.md +1 -1
  32. data/docs/VcenterVmStoragePolicyUpdateSpec.md +1 -1
  33. data/docs/VcenterVmTemplateLibraryItemsCreateSpec.md +1 -1
  34. data/docs/VcenterVmTemplateLibraryItemsDeploySpec.md +1 -1
  35. data/docs/VcenterVmTemplateLibraryItemsHardwareCustomizationSpec.md +2 -2
  36. data/docs/VcenterVmTemplateLibraryItemsInfo.md +2 -2
  37. data/docs/VchaClusterActiveApi.md +3 -5
  38. data/docs/VchaClusterApi.md +3 -5
  39. data/docs/VchaClusterModeApi.md +3 -5
  40. data/docs/VchaClusterPassiveApi.md +3 -5
  41. data/docs/VchaClusterWitnessApi.md +3 -5
  42. data/docs/VchaVcCredentialsApi.md +3 -5
  43. data/docs/VmGuestPowerApi.md +3 -5
  44. data/docs/VmStoragePolicyComplianceApi.md +3 -5
  45. data/docs/VmTemplateLibraryItemsApi.md +3 -5
  46. data/lib/vsphere-automation-vcenter/api/certificate_management_vcenter_tls_api.rb +4 -15
  47. data/lib/vsphere-automation-vcenter/api/deployment_api.rb +4 -15
  48. data/lib/vsphere-automation-vcenter/api/deployment_import_history_api.rb +4 -15
  49. data/lib/vsphere-automation-vcenter/api/deployment_install_api.rb +4 -15
  50. data/lib/vsphere-automation-vcenter/api/deployment_install_psc_replicated_api.rb +4 -15
  51. data/lib/vsphere-automation-vcenter/api/deployment_install_psc_standalone_api.rb +4 -15
  52. data/lib/vsphere-automation-vcenter/api/deployment_install_remote_psc_api.rb +4 -15
  53. data/lib/vsphere-automation-vcenter/api/deployment_question_api.rb +4 -15
  54. data/lib/vsphere-automation-vcenter/api/deployment_upgrade_api.rb +4 -15
  55. data/lib/vsphere-automation-vcenter/api/inventory_datastore_api.rb +4 -15
  56. data/lib/vsphere-automation-vcenter/api/inventory_network_api.rb +4 -15
  57. data/lib/vsphere-automation-vcenter/api/iso_image_api.rb +8 -30
  58. data/lib/vsphere-automation-vcenter/api/ovf_library_item_api.rb +4 -15
  59. data/lib/vsphere-automation-vcenter/api/storage_policies_api.rb +4 -15
  60. data/lib/vsphere-automation-vcenter/api/topology_pscs_api.rb +4 -15
  61. data/lib/vsphere-automation-vcenter/api/vcha_cluster_active_api.rb +4 -15
  62. data/lib/vsphere-automation-vcenter/api/vcha_cluster_api.rb +4 -15
  63. data/lib/vsphere-automation-vcenter/api/vcha_cluster_mode_api.rb +4 -15
  64. data/lib/vsphere-automation-vcenter/api/vcha_cluster_passive_api.rb +4 -15
  65. data/lib/vsphere-automation-vcenter/api/vcha_cluster_witness_api.rb +4 -15
  66. data/lib/vsphere-automation-vcenter/api/vcha_vc_credentials_api.rb +4 -15
  67. data/lib/vsphere-automation-vcenter/api/vm_guest_power_api.rb +4 -15
  68. data/lib/vsphere-automation-vcenter/api/vm_storage_policy_compliance_api.rb +4 -15
  69. data/lib/vsphere-automation-vcenter/api/vm_template_library_items_api.rb +4 -15
  70. data/lib/vsphere-automation-vcenter/api_client.rb +1 -1
  71. data/lib/vsphere-automation-vcenter/models/vcenter_deployment_info.rb +1 -1
  72. data/lib/vsphere-automation-vcenter/models/vcenter_inventory_datastore_find_result.rb +1 -1
  73. data/lib/vsphere-automation-vcenter/models/vcenter_inventory_network_find_result.rb +1 -1
  74. data/lib/vsphere-automation-vcenter/models/vcenter_ovf_library_item_resource_pool_deployment_spec.rb +2 -2
  75. data/lib/vsphere-automation-vcenter/models/vcenter_services_service_list_details_result.rb +1 -1
  76. data/lib/vsphere-automation-vcenter/models/vcenter_storage_policies_compliance_summary.rb +1 -1
  77. data/lib/vsphere-automation-vcenter/models/vcenter_storage_policies_compliance_vm_info.rb +1 -1
  78. data/lib/vsphere-automation-vcenter/models/vcenter_storage_policies_compliance_vm_list_result.rb +1 -1
  79. data/lib/vsphere-automation-vcenter/models/vcenter_storage_policies_vm_list_result.rb +1 -1
  80. data/lib/vsphere-automation-vcenter/models/vcenter_vm_guest_local_filesystem_result.rb +1 -1
  81. data/lib/vsphere-automation-vcenter/models/vcenter_vm_info.rb +8 -8
  82. data/lib/vsphere-automation-vcenter/models/vcenter_vm_storage_policy_compliance_info.rb +1 -1
  83. data/lib/vsphere-automation-vcenter/models/vcenter_vm_storage_policy_info.rb +1 -1
  84. data/lib/vsphere-automation-vcenter/models/vcenter_vm_storage_policy_update_spec.rb +1 -1
  85. data/lib/vsphere-automation-vcenter/models/vcenter_vm_template_library_items_create_spec.rb +1 -1
  86. data/lib/vsphere-automation-vcenter/models/vcenter_vm_template_library_items_deploy_spec.rb +1 -1
  87. data/lib/vsphere-automation-vcenter/models/vcenter_vm_template_library_items_hardware_customization_spec.rb +2 -2
  88. data/lib/vsphere-automation-vcenter/models/vcenter_vm_template_library_items_info.rb +2 -2
  89. data/lib/vsphere-automation-vcenter/version.rb +1 -1
  90. data/pkg/vsphere-automation-vcenter-0.2.2.gem +0 -0
  91. data/vsphere-automation-vcenter.gemspec +2 -2
  92. metadata +7 -6
@@ -17,37 +17,26 @@ module VSphereAutomation
17
17
  @api_client = api_client
18
18
  end
19
19
  # Cancels the task for importing vCenter historical data.
20
- # @param action action=cancel
21
20
  # @param [Hash] opts the optional parameters
22
21
  # @return [|VapiStdErrorsErrorError|VapiStdErrorsUnauthenticatedError|VapiStdErrorsUnauthorizedError|nil]
23
- def cancel(action, opts = {})
24
- cancel_with_http_info(action, opts)
22
+ def cancel(opts = {})
23
+ cancel_with_http_info(opts)
25
24
  nil
26
25
  end
27
26
 
28
27
  # Cancels the task for importing vCenter historical data.
29
28
  # @api private
30
- # @param action action=cancel
31
29
  # @param [Hash] opts the optional parameters
32
30
  # @return [Array<(|VapiStdErrorsErrorError|VapiStdErrorsUnauthenticatedError|VapiStdErrorsUnauthorizedError|nil, Fixnum, Hash)>] nil, response status code and response headers
33
- def cancel_with_http_info(action, opts = {})
31
+ def cancel_with_http_info(opts = {})
34
32
  if @api_client.config.debugging
35
33
  @api_client.config.logger.debug 'Calling API: DeploymentImportHistoryApi.cancel ...'
36
34
  end
37
- # verify the required parameter 'action' is set
38
- if @api_client.config.client_side_validation && action.nil?
39
- fail ArgumentError, "Missing the required parameter 'action' when calling DeploymentImportHistoryApi.cancel"
40
- end
41
- # verify enum value
42
- if @api_client.config.client_side_validation && !['cancel'].include?(action)
43
- fail ArgumentError, "invalid value for 'action', must be one of cancel"
44
- end
45
35
  # resource path
46
- local_var_path = '/vcenter/deployment/history'
36
+ local_var_path = '/vcenter/deployment/history?action=cancel'
47
37
 
48
38
  # query parameters
49
39
  query_params = {}
50
- query_params[:'action'] = action
51
40
 
52
41
  # header parameters
53
42
  header_params = {}
@@ -17,37 +17,26 @@ module VSphereAutomation
17
17
  @api_client = api_client
18
18
  end
19
19
  # Cancel the appliance installation that is in progress.
20
- # @param action action&#x3D;cancel
21
20
  # @param [Hash] opts the optional parameters
22
21
  # @return [|VapiStdErrorsNotAllowedInCurrentStateError|VapiStdErrorsUnauthenticatedError|nil]
23
- def cancel(action, opts = {})
24
- cancel_with_http_info(action, opts)
22
+ def cancel(opts = {})
23
+ cancel_with_http_info(opts)
25
24
  nil
26
25
  end
27
26
 
28
27
  # Cancel the appliance installation that is in progress.
29
28
  # @api private
30
- # @param action action&#x3D;cancel
31
29
  # @param [Hash] opts the optional parameters
32
30
  # @return [Array<(|VapiStdErrorsNotAllowedInCurrentStateError|VapiStdErrorsUnauthenticatedError|nil, Fixnum, Hash)>] nil, response status code and response headers
33
- def cancel_with_http_info(action, opts = {})
31
+ def cancel_with_http_info(opts = {})
34
32
  if @api_client.config.debugging
35
33
  @api_client.config.logger.debug 'Calling API: DeploymentInstallApi.cancel ...'
36
34
  end
37
- # verify the required parameter 'action' is set
38
- if @api_client.config.client_side_validation && action.nil?
39
- fail ArgumentError, "Missing the required parameter 'action' when calling DeploymentInstallApi.cancel"
40
- end
41
- # verify enum value
42
- if @api_client.config.client_side_validation && !['cancel'].include?(action)
43
- fail ArgumentError, "invalid value for 'action', must be one of cancel"
44
- end
45
35
  # resource path
46
- local_var_path = '/vcenter/deployment/install'
36
+ local_var_path = '/vcenter/deployment/install?action=cancel'
47
37
 
48
38
  # query parameters
49
39
  query_params = {}
50
- query_params[:'action'] = action
51
40
 
52
41
  # header parameters
53
42
  header_params = {}
@@ -17,43 +17,32 @@ module VSphereAutomation
17
17
  @api_client = api_client
18
18
  end
19
19
  # Checks whether the provided remote PSC is reachable and can be replicated.
20
- # @param action action&#x3D;check
21
20
  # @param request_body
22
21
  # @param [Hash] opts the optional parameters
23
22
  # @return [VcenterDeploymentInstallPscReplicatedCheckResult|VapiStdErrorsNotAllowedInCurrentStateError|VapiStdErrorsUnauthenticatedError|]
24
- def check(action, request_body, opts = {})
25
- data, _status_code, _headers = check_with_http_info(action, request_body, opts)
23
+ def check(request_body, opts = {})
24
+ data, _status_code, _headers = check_with_http_info(request_body, opts)
26
25
  data
27
26
  end
28
27
 
29
28
  # Checks whether the provided remote PSC is reachable and can be replicated.
30
29
  # @api private
31
- # @param action action&#x3D;check
32
30
  # @param request_body
33
31
  # @param [Hash] opts the optional parameters
34
32
  # @return [Array<(VcenterDeploymentInstallPscReplicatedCheckResult|VapiStdErrorsNotAllowedInCurrentStateError|VapiStdErrorsUnauthenticatedError|, Fixnum, Hash)>] data, response status code and response headers
35
- def check_with_http_info(action, request_body, opts = {})
33
+ def check_with_http_info(request_body, opts = {})
36
34
  if @api_client.config.debugging
37
35
  @api_client.config.logger.debug 'Calling API: DeploymentInstallPscReplicatedApi.check ...'
38
36
  end
39
- # verify the required parameter 'action' is set
40
- if @api_client.config.client_side_validation && action.nil?
41
- fail ArgumentError, "Missing the required parameter 'action' when calling DeploymentInstallPscReplicatedApi.check"
42
- end
43
- # verify enum value
44
- if @api_client.config.client_side_validation && !['check'].include?(action)
45
- fail ArgumentError, "invalid value for 'action', must be one of check"
46
- end
47
37
  # verify the required parameter 'request_body' is set
48
38
  if @api_client.config.client_side_validation && request_body.nil?
49
39
  fail ArgumentError, "Missing the required parameter 'request_body' when calling DeploymentInstallPscReplicatedApi.check"
50
40
  end
51
41
  # resource path
52
- local_var_path = '/vcenter/deployment/install/psc/replicated'
42
+ local_var_path = '/vcenter/deployment/install/psc/replicated?action=check'
53
43
 
54
44
  # query parameters
55
45
  query_params = {}
56
- query_params[:'action'] = action
57
46
 
58
47
  # header parameters
59
48
  header_params = {}
@@ -17,43 +17,32 @@ module VSphereAutomation
17
17
  @api_client = api_client
18
18
  end
19
19
  # Checks that the information to configure a non-replicated PSC satisfies the requirements.
20
- # @param action action&#x3D;check
21
20
  # @param request_body
22
21
  # @param [Hash] opts the optional parameters
23
22
  # @return [VcenterDeploymentInstallPscStandaloneCheckResult|VapiStdErrorsNotAllowedInCurrentStateError|VapiStdErrorsUnauthenticatedError|]
24
- def check(action, request_body, opts = {})
25
- data, _status_code, _headers = check_with_http_info(action, request_body, opts)
23
+ def check(request_body, opts = {})
24
+ data, _status_code, _headers = check_with_http_info(request_body, opts)
26
25
  data
27
26
  end
28
27
 
29
28
  # Checks that the information to configure a non-replicated PSC satisfies the requirements.
30
29
  # @api private
31
- # @param action action&#x3D;check
32
30
  # @param request_body
33
31
  # @param [Hash] opts the optional parameters
34
32
  # @return [Array<(VcenterDeploymentInstallPscStandaloneCheckResult|VapiStdErrorsNotAllowedInCurrentStateError|VapiStdErrorsUnauthenticatedError|, Fixnum, Hash)>] data, response status code and response headers
35
- def check_with_http_info(action, request_body, opts = {})
33
+ def check_with_http_info(request_body, opts = {})
36
34
  if @api_client.config.debugging
37
35
  @api_client.config.logger.debug 'Calling API: DeploymentInstallPscStandaloneApi.check ...'
38
36
  end
39
- # verify the required parameter 'action' is set
40
- if @api_client.config.client_side_validation && action.nil?
41
- fail ArgumentError, "Missing the required parameter 'action' when calling DeploymentInstallPscStandaloneApi.check"
42
- end
43
- # verify enum value
44
- if @api_client.config.client_side_validation && !['check'].include?(action)
45
- fail ArgumentError, "invalid value for 'action', must be one of check"
46
- end
47
37
  # verify the required parameter 'request_body' is set
48
38
  if @api_client.config.client_side_validation && request_body.nil?
49
39
  fail ArgumentError, "Missing the required parameter 'request_body' when calling DeploymentInstallPscStandaloneApi.check"
50
40
  end
51
41
  # resource path
52
- local_var_path = '/vcenter/deployment/install/psc/standalone'
42
+ local_var_path = '/vcenter/deployment/install/psc/standalone?action=check'
53
43
 
54
44
  # query parameters
55
45
  query_params = {}
56
- query_params[:'action'] = action
57
46
 
58
47
  # header parameters
59
48
  header_params = {}
@@ -17,43 +17,32 @@ module VSphereAutomation
17
17
  @api_client = api_client
18
18
  end
19
19
  # Checks whether the remote PSC is reachable and the deployed vCenter Server can be registered with the remote PSC.
20
- # @param action action&#x3D;check
21
20
  # @param request_body
22
21
  # @param [Hash] opts the optional parameters
23
22
  # @return [VcenterDeploymentInstallRemotePscCheckResult|VapiStdErrorsNotAllowedInCurrentStateError|VapiStdErrorsUnauthenticatedError|]
24
- def check(action, request_body, opts = {})
25
- data, _status_code, _headers = check_with_http_info(action, request_body, opts)
23
+ def check(request_body, opts = {})
24
+ data, _status_code, _headers = check_with_http_info(request_body, opts)
26
25
  data
27
26
  end
28
27
 
29
28
  # Checks whether the remote PSC is reachable and the deployed vCenter Server can be registered with the remote PSC.
30
29
  # @api private
31
- # @param action action&#x3D;check
32
30
  # @param request_body
33
31
  # @param [Hash] opts the optional parameters
34
32
  # @return [Array<(VcenterDeploymentInstallRemotePscCheckResult|VapiStdErrorsNotAllowedInCurrentStateError|VapiStdErrorsUnauthenticatedError|, Fixnum, Hash)>] data, response status code and response headers
35
- def check_with_http_info(action, request_body, opts = {})
33
+ def check_with_http_info(request_body, opts = {})
36
34
  if @api_client.config.debugging
37
35
  @api_client.config.logger.debug 'Calling API: DeploymentInstallRemotePscApi.check ...'
38
36
  end
39
- # verify the required parameter 'action' is set
40
- if @api_client.config.client_side_validation && action.nil?
41
- fail ArgumentError, "Missing the required parameter 'action' when calling DeploymentInstallRemotePscApi.check"
42
- end
43
- # verify enum value
44
- if @api_client.config.client_side_validation && !['check'].include?(action)
45
- fail ArgumentError, "invalid value for 'action', must be one of check"
46
- end
47
37
  # verify the required parameter 'request_body' is set
48
38
  if @api_client.config.client_side_validation && request_body.nil?
49
39
  fail ArgumentError, "Missing the required parameter 'request_body' when calling DeploymentInstallRemotePscApi.check"
50
40
  end
51
41
  # resource path
52
- local_var_path = '/vcenter/deployment/install/remote-psc'
42
+ local_var_path = '/vcenter/deployment/install/remote-psc?action=check'
53
43
 
54
44
  # query parameters
55
45
  query_params = {}
56
- query_params[:'action'] = action
57
46
 
58
47
  # header parameters
59
48
  header_params = {}
@@ -17,43 +17,32 @@ module VSphereAutomation
17
17
  @api_client = api_client
18
18
  end
19
19
  # Supply answer to the raised question.
20
- # @param action action&#x3D;answer
21
20
  # @param request_body
22
21
  # @param [Hash] opts the optional parameters
23
22
  # @return [|VapiStdErrorsNotAllowedInCurrentStateError|VapiStdErrorsUnauthenticatedError|VapiStdErrorsInternalServerErrorError|nil]
24
- def answer(action, request_body, opts = {})
25
- answer_with_http_info(action, request_body, opts)
23
+ def answer(request_body, opts = {})
24
+ answer_with_http_info(request_body, opts)
26
25
  nil
27
26
  end
28
27
 
29
28
  # Supply answer to the raised question.
30
29
  # @api private
31
- # @param action action&#x3D;answer
32
30
  # @param request_body
33
31
  # @param [Hash] opts the optional parameters
34
32
  # @return [Array<(|VapiStdErrorsNotAllowedInCurrentStateError|VapiStdErrorsUnauthenticatedError|VapiStdErrorsInternalServerErrorError|nil, Fixnum, Hash)>] nil, response status code and response headers
35
- def answer_with_http_info(action, request_body, opts = {})
33
+ def answer_with_http_info(request_body, opts = {})
36
34
  if @api_client.config.debugging
37
35
  @api_client.config.logger.debug 'Calling API: DeploymentQuestionApi.answer ...'
38
36
  end
39
- # verify the required parameter 'action' is set
40
- if @api_client.config.client_side_validation && action.nil?
41
- fail ArgumentError, "Missing the required parameter 'action' when calling DeploymentQuestionApi.answer"
42
- end
43
- # verify enum value
44
- if @api_client.config.client_side_validation && !['answer'].include?(action)
45
- fail ArgumentError, "invalid value for 'action', must be one of answer"
46
- end
47
37
  # verify the required parameter 'request_body' is set
48
38
  if @api_client.config.client_side_validation && request_body.nil?
49
39
  fail ArgumentError, "Missing the required parameter 'request_body' when calling DeploymentQuestionApi.answer"
50
40
  end
51
41
  # resource path
52
- local_var_path = '/vcenter/deployment/question'
42
+ local_var_path = '/vcenter/deployment/question?action=answer'
53
43
 
54
44
  # query parameters
55
45
  query_params = {}
56
- query_params[:'action'] = action
57
46
 
58
47
  # header parameters
59
48
  header_params = {}
@@ -17,37 +17,26 @@ module VSphereAutomation
17
17
  @api_client = api_client
18
18
  end
19
19
  # Cancel the appliance upgrade that is in progress.
20
- # @param action action&#x3D;cancel
21
20
  # @param [Hash] opts the optional parameters
22
21
  # @return [|VapiStdErrorsNotAllowedInCurrentStateError|VapiStdErrorsUnauthenticatedError|nil]
23
- def cancel(action, opts = {})
24
- cancel_with_http_info(action, opts)
22
+ def cancel(opts = {})
23
+ cancel_with_http_info(opts)
25
24
  nil
26
25
  end
27
26
 
28
27
  # Cancel the appliance upgrade that is in progress.
29
28
  # @api private
30
- # @param action action&#x3D;cancel
31
29
  # @param [Hash] opts the optional parameters
32
30
  # @return [Array<(|VapiStdErrorsNotAllowedInCurrentStateError|VapiStdErrorsUnauthenticatedError|nil, Fixnum, Hash)>] nil, response status code and response headers
33
- def cancel_with_http_info(action, opts = {})
31
+ def cancel_with_http_info(opts = {})
34
32
  if @api_client.config.debugging
35
33
  @api_client.config.logger.debug 'Calling API: DeploymentUpgradeApi.cancel ...'
36
34
  end
37
- # verify the required parameter 'action' is set
38
- if @api_client.config.client_side_validation && action.nil?
39
- fail ArgumentError, "Missing the required parameter 'action' when calling DeploymentUpgradeApi.cancel"
40
- end
41
- # verify enum value
42
- if @api_client.config.client_side_validation && !['cancel'].include?(action)
43
- fail ArgumentError, "invalid value for 'action', must be one of cancel"
44
- end
45
35
  # resource path
46
- local_var_path = '/vcenter/deployment/upgrade'
36
+ local_var_path = '/vcenter/deployment/upgrade?action=cancel'
47
37
 
48
38
  # query parameters
49
39
  query_params = {}
50
- query_params[:'action'] = action
51
40
 
52
41
  # header parameters
53
42
  header_params = {}
@@ -17,43 +17,32 @@ module VSphereAutomation
17
17
  @api_client = api_client
18
18
  end
19
19
  # Returns datastore information for the specified datastores. The key in the {@term result} {@term map} is the datastore identifier and the value in the {@term map} is the datastore information.
20
- # @param action ~action&#x3D;find
21
20
  # @param request_body
22
21
  # @param [Hash] opts the optional parameters
23
22
  # @return [VcenterInventoryDatastoreFindResult|VapiStdErrorsNotFoundError|]
24
- def find(action, request_body, opts = {})
25
- data, _status_code, _headers = find_with_http_info(action, request_body, opts)
23
+ def find(request_body, opts = {})
24
+ data, _status_code, _headers = find_with_http_info(request_body, opts)
26
25
  data
27
26
  end
28
27
 
29
28
  # Returns datastore information for the specified datastores. The key in the {@term result} {@term map} is the datastore identifier and the value in the {@term map} is the datastore information.
30
29
  # @api private
31
- # @param action ~action&#x3D;find
32
30
  # @param request_body
33
31
  # @param [Hash] opts the optional parameters
34
32
  # @return [Array<(VcenterInventoryDatastoreFindResult|VapiStdErrorsNotFoundError|, Fixnum, Hash)>] data, response status code and response headers
35
- def find_with_http_info(action, request_body, opts = {})
33
+ def find_with_http_info(request_body, opts = {})
36
34
  if @api_client.config.debugging
37
35
  @api_client.config.logger.debug 'Calling API: InventoryDatastoreApi.find ...'
38
36
  end
39
- # verify the required parameter 'action' is set
40
- if @api_client.config.client_side_validation && action.nil?
41
- fail ArgumentError, "Missing the required parameter 'action' when calling InventoryDatastoreApi.find"
42
- end
43
- # verify enum value
44
- if @api_client.config.client_side_validation && !['find'].include?(action)
45
- fail ArgumentError, "invalid value for 'action', must be one of find"
46
- end
47
37
  # verify the required parameter 'request_body' is set
48
38
  if @api_client.config.client_side_validation && request_body.nil?
49
39
  fail ArgumentError, "Missing the required parameter 'request_body' when calling InventoryDatastoreApi.find"
50
40
  end
51
41
  # resource path
52
- local_var_path = '/com/vmware/vcenter/inventory/datastore'
42
+ local_var_path = '/com/vmware/vcenter/inventory/datastore?~action=find'
53
43
 
54
44
  # query parameters
55
45
  query_params = {}
56
- query_params[:'~action'] = action
57
46
 
58
47
  # header parameters
59
48
  header_params = {}
@@ -17,43 +17,32 @@ module VSphereAutomation
17
17
  @api_client = api_client
18
18
  end
19
19
  # Returns network information for the specified vCenter Server networks. The key in the {@term result} {@term map} is the network identifier and the value in the {@term map} is the network information.
20
- # @param action ~action&#x3D;find
21
20
  # @param request_body
22
21
  # @param [Hash] opts the optional parameters
23
22
  # @return [VcenterInventoryNetworkFindResult|VapiStdErrorsNotFoundError|]
24
- def find(action, request_body, opts = {})
25
- data, _status_code, _headers = find_with_http_info(action, request_body, opts)
23
+ def find(request_body, opts = {})
24
+ data, _status_code, _headers = find_with_http_info(request_body, opts)
26
25
  data
27
26
  end
28
27
 
29
28
  # Returns network information for the specified vCenter Server networks. The key in the {@term result} {@term map} is the network identifier and the value in the {@term map} is the network information.
30
29
  # @api private
31
- # @param action ~action&#x3D;find
32
30
  # @param request_body
33
31
  # @param [Hash] opts the optional parameters
34
32
  # @return [Array<(VcenterInventoryNetworkFindResult|VapiStdErrorsNotFoundError|, Fixnum, Hash)>] data, response status code and response headers
35
- def find_with_http_info(action, request_body, opts = {})
33
+ def find_with_http_info(request_body, opts = {})
36
34
  if @api_client.config.debugging
37
35
  @api_client.config.logger.debug 'Calling API: InventoryNetworkApi.find ...'
38
36
  end
39
- # verify the required parameter 'action' is set
40
- if @api_client.config.client_side_validation && action.nil?
41
- fail ArgumentError, "Missing the required parameter 'action' when calling InventoryNetworkApi.find"
42
- end
43
- # verify enum value
44
- if @api_client.config.client_side_validation && !['find'].include?(action)
45
- fail ArgumentError, "invalid value for 'action', must be one of find"
46
- end
47
37
  # verify the required parameter 'request_body' is set
48
38
  if @api_client.config.client_side_validation && request_body.nil?
49
39
  fail ArgumentError, "Missing the required parameter 'request_body' when calling InventoryNetworkApi.find"
50
40
  end
51
41
  # resource path
52
- local_var_path = '/com/vmware/vcenter/inventory/network'
42
+ local_var_path = '/com/vmware/vcenter/inventory/network?~action=find'
53
43
 
54
44
  # query parameters
55
45
  query_params = {}
56
- query_params[:'~action'] = action
57
46
 
58
47
  # header parameters
59
48
  header_params = {}
@@ -18,23 +18,21 @@ module VSphereAutomation
18
18
  end
19
19
  # Mounts an ISO image from a content library on a virtual machine.
20
20
  # @param library_item The identifier of the library item having the ISO image to mount on the virtual machine.
21
- # @param action ~action&#x3D;mount
22
21
  # @param request_body
23
22
  # @param [Hash] opts the optional parameters
24
23
  # @return [VcenterIsoImageMountResult|VapiStdErrorsResourceInaccessibleError|VapiStdErrorsNotFoundError|]
25
- def mount(library_item, action, request_body, opts = {})
26
- data, _status_code, _headers = mount_with_http_info(library_item, action, request_body, opts)
24
+ def mount(library_item, request_body, opts = {})
25
+ data, _status_code, _headers = mount_with_http_info(library_item, request_body, opts)
27
26
  data
28
27
  end
29
28
 
30
29
  # Mounts an ISO image from a content library on a virtual machine.
31
30
  # @api private
32
31
  # @param library_item The identifier of the library item having the ISO image to mount on the virtual machine.
33
- # @param action ~action&#x3D;mount
34
32
  # @param request_body
35
33
  # @param [Hash] opts the optional parameters
36
34
  # @return [Array<(VcenterIsoImageMountResult|VapiStdErrorsResourceInaccessibleError|VapiStdErrorsNotFoundError|, Fixnum, Hash)>] data, response status code and response headers
37
- def mount_with_http_info(library_item, action, request_body, opts = {})
35
+ def mount_with_http_info(library_item, request_body, opts = {})
38
36
  if @api_client.config.debugging
39
37
  @api_client.config.logger.debug 'Calling API: IsoImageApi.mount ...'
40
38
  end
@@ -42,24 +40,15 @@ module VSphereAutomation
42
40
  if @api_client.config.client_side_validation && library_item.nil?
43
41
  fail ArgumentError, "Missing the required parameter 'library_item' when calling IsoImageApi.mount"
44
42
  end
45
- # verify the required parameter 'action' is set
46
- if @api_client.config.client_side_validation && action.nil?
47
- fail ArgumentError, "Missing the required parameter 'action' when calling IsoImageApi.mount"
48
- end
49
- # verify enum value
50
- if @api_client.config.client_side_validation && !['mount'].include?(action)
51
- fail ArgumentError, "invalid value for 'action', must be one of mount"
52
- end
53
43
  # verify the required parameter 'request_body' is set
54
44
  if @api_client.config.client_side_validation && request_body.nil?
55
45
  fail ArgumentError, "Missing the required parameter 'request_body' when calling IsoImageApi.mount"
56
46
  end
57
47
  # resource path
58
- local_var_path = '/com/vmware/vcenter/iso/image/id:{library_item}'.sub('{' + 'library_item' + '}', library_item.to_s)
48
+ local_var_path = '/com/vmware/vcenter/iso/image/id:{library_item}?~action=mount'.sub('{' + 'library_item' + '}', library_item.to_s)
59
49
 
60
50
  # query parameters
61
51
  query_params = {}
62
- query_params[:'~action'] = action
63
52
 
64
53
  # header parameters
65
54
  header_params = {}
@@ -92,23 +81,21 @@ module VSphereAutomation
92
81
  end
93
82
  # Unmounts a previously mounted CD-ROM using an ISO image as a backing.
94
83
  # @param vm The identifier of the virtual machine from which to unmount the virtual CD-ROM.
95
- # @param action ~action&#x3D;unmount
96
84
  # @param request_body
97
85
  # @param [Hash] opts the optional parameters
98
86
  # @return [|VapiStdErrorsNotAllowedInCurrentStateError|VapiStdErrorsNotFoundError|nil]
99
- def unmount(vm, action, request_body, opts = {})
100
- unmount_with_http_info(vm, action, request_body, opts)
87
+ def unmount(vm, request_body, opts = {})
88
+ unmount_with_http_info(vm, request_body, opts)
101
89
  nil
102
90
  end
103
91
 
104
92
  # Unmounts a previously mounted CD-ROM using an ISO image as a backing.
105
93
  # @api private
106
94
  # @param vm The identifier of the virtual machine from which to unmount the virtual CD-ROM.
107
- # @param action ~action&#x3D;unmount
108
95
  # @param request_body
109
96
  # @param [Hash] opts the optional parameters
110
97
  # @return [Array<(|VapiStdErrorsNotAllowedInCurrentStateError|VapiStdErrorsNotFoundError|nil, Fixnum, Hash)>] nil, response status code and response headers
111
- def unmount_with_http_info(vm, action, request_body, opts = {})
98
+ def unmount_with_http_info(vm, request_body, opts = {})
112
99
  if @api_client.config.debugging
113
100
  @api_client.config.logger.debug 'Calling API: IsoImageApi.unmount ...'
114
101
  end
@@ -116,24 +103,15 @@ module VSphereAutomation
116
103
  if @api_client.config.client_side_validation && vm.nil?
117
104
  fail ArgumentError, "Missing the required parameter 'vm' when calling IsoImageApi.unmount"
118
105
  end
119
- # verify the required parameter 'action' is set
120
- if @api_client.config.client_side_validation && action.nil?
121
- fail ArgumentError, "Missing the required parameter 'action' when calling IsoImageApi.unmount"
122
- end
123
- # verify enum value
124
- if @api_client.config.client_side_validation && !['unmount'].include?(action)
125
- fail ArgumentError, "invalid value for 'action', must be one of unmount"
126
- end
127
106
  # verify the required parameter 'request_body' is set
128
107
  if @api_client.config.client_side_validation && request_body.nil?
129
108
  fail ArgumentError, "Missing the required parameter 'request_body' when calling IsoImageApi.unmount"
130
109
  end
131
110
  # resource path
132
- local_var_path = '/com/vmware/vcenter/iso/image/id:{vm}'.sub('{' + 'vm' + '}', vm.to_s)
111
+ local_var_path = '/com/vmware/vcenter/iso/image/id:{vm}?~action=unmount'.sub('{' + 'vm' + '}', vm.to_s)
133
112
 
134
113
  # query parameters
135
114
  query_params = {}
136
- query_params[:'~action'] = action
137
115
 
138
116
  # header parameters
139
117
  header_params = {}