vsphere-automation-appliance 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 (42) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +6 -6
  3. data/README.md +7 -7
  4. data/docs/ApplianceNetworkingInfo.md +1 -1
  5. data/docs/ApplianceNetworkingProxyListResult.md +1 -1
  6. data/docs/ApplianceRecoveryBackupJobDetailsListResult.md +1 -1
  7. data/docs/ApplianceRecoveryBackupSchedulesListResult.md +1 -1
  8. data/docs/ApplianceServicesListResult.md +1 -1
  9. data/docs/ApplianceSystemStorageResizeExResult.md +1 -1
  10. data/docs/ApplianceTaskInfo.md +1 -1
  11. data/docs/ApplianceUpdatePendingInstall.md +1 -1
  12. data/docs/ApplianceUpdatePendingStageAndInstall.md +1 -1
  13. data/docs/ApplianceUpdatePendingValidate.md +1 -1
  14. data/docs/ApplianceVmonServiceListDetailsResult.md +1 -1
  15. data/docs/LoggingForwardingApi.md +3 -5
  16. data/docs/NetworkingApi.md +4 -8
  17. data/docs/NetworkingProxyApi.md +3 -5
  18. data/docs/SystemStorageApi.md +4 -8
  19. data/docs/UpdateApi.md +4 -8
  20. data/docs/UpdatePendingApi.md +3 -5
  21. data/lib/vsphere-automation-appliance/api/logging_forwarding_api.rb +4 -15
  22. data/lib/vsphere-automation-appliance/api/networking_api.rb +4 -15
  23. data/lib/vsphere-automation-appliance/api/networking_proxy_api.rb +4 -15
  24. data/lib/vsphere-automation-appliance/api/system_storage_api.rb +4 -15
  25. data/lib/vsphere-automation-appliance/api/update_api.rb +4 -15
  26. data/lib/vsphere-automation-appliance/api/update_pending_api.rb +4 -15
  27. data/lib/vsphere-automation-appliance/api_client.rb +1 -1
  28. data/lib/vsphere-automation-appliance/models/appliance_networking_info.rb +1 -1
  29. data/lib/vsphere-automation-appliance/models/appliance_networking_proxy_list_result.rb +1 -1
  30. data/lib/vsphere-automation-appliance/models/appliance_recovery_backup_job_details_list_result.rb +1 -1
  31. data/lib/vsphere-automation-appliance/models/appliance_recovery_backup_schedules_list_result.rb +1 -1
  32. data/lib/vsphere-automation-appliance/models/appliance_services_list_result.rb +1 -1
  33. data/lib/vsphere-automation-appliance/models/appliance_system_storage_resize_ex_result.rb +1 -1
  34. data/lib/vsphere-automation-appliance/models/appliance_task_info.rb +1 -1
  35. data/lib/vsphere-automation-appliance/models/appliance_update_pending_install.rb +1 -1
  36. data/lib/vsphere-automation-appliance/models/appliance_update_pending_stage_and_install.rb +1 -1
  37. data/lib/vsphere-automation-appliance/models/appliance_update_pending_validate.rb +1 -1
  38. data/lib/vsphere-automation-appliance/models/appliance_vmon_service_list_details_result.rb +1 -1
  39. data/lib/vsphere-automation-appliance/version.rb +1 -1
  40. data/pkg/vsphere-automation-appliance-0.2.2.gem +0 -0
  41. data/vsphere-automation-appliance.gemspec +2 -2
  42. metadata +7 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2aa7c611f6e7d79763c9840955734154b760bbd686efd0964a1b8748f96718d
4
- data.tar.gz: 0a579495a775efd3139a8029f937645af896e86dfe8b79ad53eb2e7b8fbc9e98
3
+ metadata.gz: ed67e13aba354f2eeb0a05912f0ac52049ccd6832abf20ed99fba9c01a1b5260
4
+ data.tar.gz: 7f8821397619e06a16daccc48b297d07168b561373dd7d0e384fb10f5256638f
5
5
  SHA512:
6
- metadata.gz: fbe35ada2ec96b536c29d871b7dc9c528112f3b120e8df5a5ab1f9165665523b015d312d48d9a34d2543c6bca65c6434398f697548cefcc0ffe3601c81571d48
7
- data.tar.gz: 96124a95ee72b4c97325c3b1fd7bc3a7aee168d244077d8b50fec822401a2c7363b994cee34ff0ec026c7f63971871b6b8089b282e625927e7a5ab5ec3c7956b
6
+ metadata.gz: 7283a6f17f83995069b1bc6fd2b7d138f4b34a100ebe00b217db3b4ee65734a564cda7678babd0bf2b9a37cd0fdd1cb222fe7a9a58aec862ca7c05da46fef08f
7
+ data.tar.gz: bd702bbe6ba9c6e490ee5edf40ae7af2a1422db64b76280abc8421b3d164e32128e8a3a1daeb87138f1592ad21665d0f393c31fe35130a0d18349e96010bae7e
data/Gemfile.lock CHANGED
@@ -1,21 +1,21 @@
1
1
  PATH
2
2
  remote: ../cis
3
3
  specs:
4
- vsphere-automation-cis (0.2.2)
5
- vsphere-automation-runtime (~> 0.2.2)
4
+ vsphere-automation-cis (0.3.0)
5
+ vsphere-automation-runtime (~> 0.3.0)
6
6
 
7
7
  PATH
8
8
  remote: ../runtime
9
9
  specs:
10
- vsphere-automation-runtime (0.2.2)
10
+ vsphere-automation-runtime (0.3.0)
11
11
  typhoeus (~> 1.3)
12
12
 
13
13
  PATH
14
14
  remote: .
15
15
  specs:
16
- vsphere-automation-appliance (0.2.2)
17
- vsphere-automation-cis (~> 0.2.2)
18
- vsphere-automation-runtime (~> 0.2.2)
16
+ vsphere-automation-appliance (0.3.0)
17
+ vsphere-automation-cis (~> 0.3.0)
18
+ vsphere-automation-runtime (~> 0.3.0)
19
19
 
20
20
  GEM
21
21
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  The Ruby gem for the vSphere Appliance API
4
4
 
5
5
  - API version: 2.0.0
6
- - Package version: 0.2.2
6
+ - Package version: 0.3.0
7
7
 
8
8
  ## Installation
9
9
 
@@ -83,12 +83,12 @@ Class | Method | HTTP request | Description
83
83
  `VSphereAutomation::Appliance::LocalAccountsPolicyApi` | [**set**](docs/LocalAccountsPolicyApi.md#set) | **PUT** /appliance/local-accounts/global-policy | Set the global password policy.
84
84
  `VSphereAutomation::Appliance::LoggingForwardingApi` | [**get**](docs/LoggingForwardingApi.md#get) | **GET** /appliance/logging/forwarding | Returns the configuration for forwarding log messages to remote logging servers.
85
85
  `VSphereAutomation::Appliance::LoggingForwardingApi` | [**set**](docs/LoggingForwardingApi.md#set) | **PUT** /appliance/logging/forwarding | Sets the configuration for forwarding log messages to remote log servers.
86
- `VSphereAutomation::Appliance::LoggingForwardingApi` | [**test**](docs/LoggingForwardingApi.md#test) | **POST** /appliance/logging/forwarding | Validates the current log forwarding configuration by checking the liveness of the remote machine and optionally sending a test diagnostic log message from the appliance to all configured logging servers to allow manual end-to-end validation. The message that is sent is: \"This is a diagnostic log test message from vCenter Server.\"
86
+ `VSphereAutomation::Appliance::LoggingForwardingApi` | [**test**](docs/LoggingForwardingApi.md#test) | **POST** /appliance/logging/forwarding?action=test | Validates the current log forwarding configuration by checking the liveness of the remote machine and optionally sending a test diagnostic log message from the appliance to all configured logging servers to allow manual end-to-end validation. The message that is sent is: \"This is a diagnostic log test message from vCenter Server.\"
87
87
  `VSphereAutomation::Appliance::MonitoringApi` | [**get**](docs/MonitoringApi.md#get) | **GET** /appliance/monitoring/{stat_id} | Get monitored item info
88
88
  `VSphereAutomation::Appliance::MonitoringApi` | [**list**](docs/MonitoringApi.md#list) | **GET** /appliance/monitoring | Get monitored items list
89
89
  `VSphereAutomation::Appliance::MonitoringApi` | [**query**](docs/MonitoringApi.md#query) | **GET** /appliance/monitoring/query | Get monitoring data.
90
90
  `VSphereAutomation::Appliance::NetworkingApi` | [**get**](docs/NetworkingApi.md#get) | **GET** /appliance/networking | Get Networking information for all configured interfaces.
91
- `VSphereAutomation::Appliance::NetworkingApi` | [**reset**](docs/NetworkingApi.md#reset) | **POST** /appliance/networking | Reset and restarts network configuration on all interfaces, also this will renew the DHCP lease for DHCP IP address.
91
+ `VSphereAutomation::Appliance::NetworkingApi` | [**reset**](docs/NetworkingApi.md#reset) | **POST** /appliance/networking?action=reset | Reset and restarts network configuration on all interfaces, also this will renew the DHCP lease for DHCP IP address.
92
92
  `VSphereAutomation::Appliance::NetworkingApi` | [**update**](docs/NetworkingApi.md#update) | **PATCH** /appliance/networking | Enable or Disable ipv6 on all interfaces
93
93
  `VSphereAutomation::Appliance::NetworkingDnsDomainsApi` | [**add**](docs/NetworkingDnsDomainsApi.md#add) | **POST** /appliance/networking/dns/domains | Add domain to DNS search domains.
94
94
  `VSphereAutomation::Appliance::NetworkingDnsDomainsApi` | [**list**](docs/NetworkingDnsDomainsApi.md#list) | **GET** /appliance/networking/dns/domains | Get list of DNS search domains.
@@ -114,7 +114,7 @@ Class | Method | HTTP request | Description
114
114
  `VSphereAutomation::Appliance::NetworkingProxyApi` | [**get**](docs/NetworkingProxyApi.md#get) | **GET** /appliance/networking/proxy/{protocol} | Gets the proxy configuration for a specific protocol.
115
115
  `VSphereAutomation::Appliance::NetworkingProxyApi` | [**list**](docs/NetworkingProxyApi.md#list) | **GET** /appliance/networking/proxy | Gets proxy configuration for all configured protocols.
116
116
  `VSphereAutomation::Appliance::NetworkingProxyApi` | [**set**](docs/NetworkingProxyApi.md#set) | **PUT** /appliance/networking/proxy/{protocol} | Configures which proxy server to use for the specified protocol. This operation sets environment variables for using proxy. In order for this configuration to take effect a logout / service restart is required.
117
- `VSphereAutomation::Appliance::NetworkingProxyApi` | [**test**](docs/NetworkingProxyApi.md#test) | **POST** /appliance/networking/proxy/{protocol} | Tests a proxy configuration by testing the connection to the proxy server and test host.
117
+ `VSphereAutomation::Appliance::NetworkingProxyApi` | [**test**](docs/NetworkingProxyApi.md#test) | **POST** /appliance/networking/proxy/{protocol}?action=test | Tests a proxy configuration by testing the connection to the proxy server and test host.
118
118
  `VSphereAutomation::Appliance::NtpApi` | [**get**](docs/NtpApi.md#get) | **GET** /appliance/ntp | Get the NTP configuration status. If you run the 'timesync.get' command, you can retrieve the current time synchronization method (NTP- or VMware Tools-based). The 'ntp' command always returns the NTP server information, even when the time synchronization mode is not set to NTP. If the time synchronization mode is not NTP-based, the NTP server status is displayed as down.
119
119
  `VSphereAutomation::Appliance::NtpApi` | [**set**](docs/NtpApi.md#set) | **PUT** /appliance/ntp | Set NTP servers. This method updates old NTP servers from configuration and sets the input NTP servers in the configuration. If NTP based time synchronization is used internally, the NTP daemon will be restarted to reload given NTP configuration. In case NTP based time synchronization is not used, this method only replaces servers in the NTP configuration.
120
120
  `VSphereAutomation::Appliance::NtpApi` | [**test**](docs/NtpApi.md#test) | **POST** /appliance/ntp/test | Test the connection to a list of ntp servers.
@@ -153,7 +153,7 @@ Class | Method | HTTP request | Description
153
153
  `VSphereAutomation::Appliance::ShutdownApi` | [**reboot**](docs/ShutdownApi.md#reboot) | **POST** /appliance/shutdown/reboot | Reboot the appliance.
154
154
  `VSphereAutomation::Appliance::SystemStorageApi` | [**list**](docs/SystemStorageApi.md#list) | **GET** /appliance/system/storage | Get disk to partition mapping.
155
155
  `VSphereAutomation::Appliance::SystemStorageApi` | [**resize**](docs/SystemStorageApi.md#resize) | **POST** /appliance/system/storage/resize | Resize all partitions to 100 percent of disk size.
156
- `VSphereAutomation::Appliance::SystemStorageApi` | [**resize_ex**](docs/SystemStorageApi.md#resize_ex) | **POST** /appliance/system/storage | Resize all partitions to 100 percent of disk size.
156
+ `VSphereAutomation::Appliance::SystemStorageApi` | [**resize_ex**](docs/SystemStorageApi.md#resize_ex) | **POST** /appliance/system/storage?action=resize-ex | Resize all partitions to 100 percent of disk size.
157
157
  `VSphereAutomation::Appliance::SystemTimeApi` | [**get**](docs/SystemTimeApi.md#get) | **GET** /appliance/system/time | Get system time.
158
158
  `VSphereAutomation::Appliance::SystemTimeTimezoneApi` | [**get**](docs/SystemTimeTimezoneApi.md#get) | **GET** /appliance/system/time/timezone | Get time zone.
159
159
  `VSphereAutomation::Appliance::SystemTimeTimezoneApi` | [**set**](docs/SystemTimeTimezoneApi.md#set) | **PUT** /appliance/system/time/timezone | Set time zone.
@@ -171,12 +171,12 @@ Class | Method | HTTP request | Description
171
171
  `VSphereAutomation::Appliance::TechpreviewServicesStatusApi` | [**get**](docs/TechpreviewServicesStatusApi.md#get) | **POST** /appliance/techpreview/services/status/get | Get status of a service.
172
172
  `VSphereAutomation::Appliance::TimesyncApi` | [**get**](docs/TimesyncApi.md#get) | **GET** /appliance/timesync | Get time synchronization mode.
173
173
  `VSphereAutomation::Appliance::TimesyncApi` | [**set**](docs/TimesyncApi.md#set) | **PUT** /appliance/timesync | Set time synchronization mode.
174
- `VSphereAutomation::Appliance::UpdateApi` | [**cancel**](docs/UpdateApi.md#cancel) | **POST** /appliance/update | Request the cancellation the update operation that is currently in progress.
174
+ `VSphereAutomation::Appliance::UpdateApi` | [**cancel**](docs/UpdateApi.md#cancel) | **POST** /appliance/update?action=cancel | Request the cancellation the update operation that is currently in progress.
175
175
  `VSphereAutomation::Appliance::UpdateApi` | [**get**](docs/UpdateApi.md#get) | **GET** /appliance/update | Gets the current status of the appliance update.
176
176
  `VSphereAutomation::Appliance::UpdatePendingApi` | [**get**](docs/UpdatePendingApi.md#get) | **GET** /appliance/update/pending/{version} | Gets update information
177
177
  `VSphereAutomation::Appliance::UpdatePendingApi` | [**install**](docs/UpdatePendingApi.md#install) | **POST** /appliance/update/pending/{version}?action=install | Starts operation of installing the appliance update. Will fail is the update is not staged
178
178
  `VSphereAutomation::Appliance::UpdatePendingApi` | [**list**](docs/UpdatePendingApi.md#list) | **GET** /appliance/update/pending | Checks if new updates are available.
179
- `VSphereAutomation::Appliance::UpdatePendingApi` | [**precheck**](docs/UpdatePendingApi.md#precheck) | **POST** /appliance/update/pending/{version} | Runs update precheck
179
+ `VSphereAutomation::Appliance::UpdatePendingApi` | [**precheck**](docs/UpdatePendingApi.md#precheck) | **POST** /appliance/update/pending/{version}?action=precheck | Runs update precheck
180
180
  `VSphereAutomation::Appliance::UpdatePendingApi` | [**stage**](docs/UpdatePendingApi.md#stage) | **POST** /appliance/update/pending/{version}?action=stage | Starts staging the appliance update. The updates are searched for in the following order: staged, CDROM, URL
181
181
  `VSphereAutomation::Appliance::UpdatePendingApi` | [**stage_and_install**](docs/UpdatePendingApi.md#stage_and_install) | **POST** /appliance/update/pending/{version}?action=stage-and-install | Starts operation of installing the appliance update. Will stage update if not already staged The updates are searched for in the following order: staged, CDROM, URL
182
182
  `VSphereAutomation::Appliance::UpdatePendingApi` | [**validate**](docs/UpdatePendingApi.md#validate) | **POST** /appliance/update/pending/{version}?action=validate | Validates the user provided data before the update installation.
@@ -4,6 +4,6 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **dns** | [**ApplianceNetworkingDNSInfo**](ApplianceNetworkingDNSInfo.md) | |
7
- **interfaces** | **Array<Object>** | Interface configuration as a key-value map where key is a network interface name, for example, \"nic0\". |
7
+ **interfaces** | [**Array<ApplianceNetworkingInfoInterfaces>**](ApplianceNetworkingInfoInterfaces.md) | Interface configuration as a key-value map where key is a network interface name, for example, \"nic0\". |
8
8
 
9
9
 
@@ -3,6 +3,6 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **value** | **Array<Object>** | |
6
+ **value** | [**Array<ApplianceNetworkingProxyListResultValue>**](ApplianceNetworkingProxyListResultValue.md) | |
7
7
 
8
8
 
@@ -3,6 +3,6 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **value** | **Array<Object>** | |
6
+ **value** | [**Array<ApplianceRecoveryBackupJobDetailsListResultValue>**](ApplianceRecoveryBackupJobDetailsListResultValue.md) | |
7
7
 
8
8
 
@@ -3,6 +3,6 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **value** | **Array<Object>** | |
6
+ **value** | [**Array<ApplianceRecoveryBackupSchedulesListResultValue>**](ApplianceRecoveryBackupSchedulesListResultValue.md) | |
7
7
 
8
8
 
@@ -3,6 +3,6 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **value** | **Array<Object>** | |
6
+ **value** | [**Array<ApplianceServicesListResultValue>**](ApplianceServicesListResultValue.md) | |
7
7
 
8
8
 
@@ -3,6 +3,6 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **value** | **Array<Object>** | |
6
+ **value** | [**Array<ApplianceSystemStorageResizeExResultValue>**](ApplianceSystemStorageResizeExResultValue.md) | |
7
7
 
8
8
 
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **progress** | [**CisTaskProgress**](CisTaskProgress.md) | | [optional]
7
7
  **subtask_order** | **Array<String>** | List of tasks that make up this appliance task in the order they are being run. |
8
- **subtasks** | **Array<Object>** | Information about the subtasks that this appliance task consists of. |
8
+ **subtasks** | [**Array<ApplianceTaskInfoSubtasks>**](ApplianceTaskInfoSubtasks.md) | Information about the subtasks that this appliance task consists of. |
9
9
  **description** | [**VapiStdLocalizableMessage**](VapiStdLocalizableMessage.md) | |
10
10
  **service** | **String** | Identifier of the service containing the operation. |
11
11
  **operation** | **String** | Identifier of the operation associated with the task. |
@@ -3,6 +3,6 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **user_data** | **Array<Object>** | map of user provided data with IDs |
6
+ **user_data** | [**Array<ApplianceUpdatePendingInstallUserData>**](ApplianceUpdatePendingInstallUserData.md) | map of user provided data with IDs |
7
7
 
8
8
 
@@ -3,6 +3,6 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **user_data** | **Array<Object>** | map of user provided data with IDs |
6
+ **user_data** | [**Array<ApplianceUpdatePendingInstallUserData>**](ApplianceUpdatePendingInstallUserData.md) | map of user provided data with IDs |
7
7
 
8
8
 
@@ -3,6 +3,6 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **user_data** | **Array<Object>** | map of user provided data with IDs |
6
+ **user_data** | [**Array<ApplianceUpdatePendingInstallUserData>**](ApplianceUpdatePendingInstallUserData.md) | map of user provided data with IDs |
7
7
 
8
8
 
@@ -3,6 +3,6 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **value** | **Array<Object>** | |
6
+ **value** | [**Array<ApplianceVmonServiceListDetailsResultValue>**](ApplianceVmonServiceListDetailsResultValue.md) | |
7
7
 
8
8
 
@@ -6,7 +6,7 @@ Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**get**](LoggingForwardingApi.md#get) | **GET** /appliance/logging/forwarding | Returns the configuration for forwarding log messages to remote logging servers.
8
8
  [**set**](LoggingForwardingApi.md#set) | **PUT** /appliance/logging/forwarding | Sets the configuration for forwarding log messages to remote log servers.
9
- [**test**](LoggingForwardingApi.md#test) | **POST** /appliance/logging/forwarding | Validates the current log forwarding configuration by checking the liveness of the remote machine and optionally sending a test diagnostic log message from the appliance to all configured logging servers to allow manual end-to-end validation. The message that is sent is: \"This is a diagnostic log test message from vCenter Server.\"
9
+ [**test**](LoggingForwardingApi.md#test) | **POST** /appliance/logging/forwarding?action=test | Validates the current log forwarding configuration by checking the liveness of the remote machine and optionally sending a test diagnostic log message from the appliance to all configured logging servers to allow manual end-to-end validation. The message that is sent is: \"This is a diagnostic log test message from vCenter Server.\"
10
10
 
11
11
 
12
12
  # **get**
@@ -105,7 +105,7 @@ nil (empty response body)
105
105
 
106
106
 
107
107
  # **test**
108
- > ApplianceLoggingForwardingTestResult test(action, opts)
108
+ > ApplianceLoggingForwardingTestResult test(opts)
109
109
 
110
110
  Validates the current log forwarding configuration by checking the liveness of the remote machine and optionally sending a test diagnostic log message from the appliance to all configured logging servers to allow manual end-to-end validation. The message that is sent is: \"This is a diagnostic log test message from vCenter Server.\"
111
111
 
@@ -122,14 +122,13 @@ VSphereAutomation::Configuration.new.tap do |config|
122
122
  end
123
123
 
124
124
  api_instance = VSphereAutomation::Appliance::LoggingForwardingApi.new
125
- action = 'action_example' # String | action=test
126
125
  opts = {
127
126
  request_body: Appliance::ApplianceLoggingForwardingTest.new # ApplianceLoggingForwardingTest |
128
127
  }
129
128
 
130
129
  begin
131
130
  #Validates the current log forwarding configuration by checking the liveness of the remote machine and optionally sending a test diagnostic log message from the appliance to all configured logging servers to allow manual end-to-end validation. The message that is sent is: \"This is a diagnostic log test message from vCenter Server.\"
132
- result = api_instance.test(action, opts)
131
+ result = api_instance.test(opts)
133
132
  p result
134
133
  rescue VSphereAutomation::ApiError => e
135
134
  puts "Exception when calling LoggingForwardingApi->test: #{e}"
@@ -140,7 +139,6 @@ end
140
139
 
141
140
  Name | Type | Description | Notes
142
141
  ------------- | ------------- | ------------- | -------------
143
- **action** | **String**| action=test |
144
142
  **request_body** | [**ApplianceLoggingForwardingTest**](ApplianceLoggingForwardingTest.md)| | [optional]
145
143
 
146
144
  ### Return type
@@ -5,7 +5,7 @@ All URIs are relative to *https://<vcenter>/rest*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**get**](NetworkingApi.md#get) | **GET** /appliance/networking | Get Networking information for all configured interfaces.
8
- [**reset**](NetworkingApi.md#reset) | **POST** /appliance/networking | Reset and restarts network configuration on all interfaces, also this will renew the DHCP lease for DHCP IP address.
8
+ [**reset**](NetworkingApi.md#reset) | **POST** /appliance/networking?action=reset | Reset and restarts network configuration on all interfaces, also this will renew the DHCP lease for DHCP IP address.
9
9
  [**update**](NetworkingApi.md#update) | **PATCH** /appliance/networking | Enable or Disable ipv6 on all interfaces
10
10
 
11
11
 
@@ -56,7 +56,7 @@ This endpoint does not need any parameter.
56
56
 
57
57
 
58
58
  # **reset**
59
- > reset(action)
59
+ > reset
60
60
 
61
61
  Reset and restarts network configuration on all interfaces, also this will renew the DHCP lease for DHCP IP address.
62
62
 
@@ -73,21 +73,17 @@ VSphereAutomation::Configuration.new.tap do |config|
73
73
  end
74
74
 
75
75
  api_instance = VSphereAutomation::Appliance::NetworkingApi.new
76
- action = 'action_example' # String | action=reset
77
76
 
78
77
  begin
79
78
  #Reset and restarts network configuration on all interfaces, also this will renew the DHCP lease for DHCP IP address.
80
- api_instance.reset(action)
79
+ api_instance.reset
81
80
  rescue VSphereAutomation::ApiError => e
82
81
  puts "Exception when calling NetworkingApi->reset: #{e}"
83
82
  end
84
83
  ```
85
84
 
86
85
  ### Parameters
87
-
88
- Name | Type | Description | Notes
89
- ------------- | ------------- | ------------- | -------------
90
- **action** | **String**| action=reset |
86
+ This endpoint does not need any parameter.
91
87
 
92
88
  ### Return type
93
89
 
@@ -8,7 +8,7 @@ Method | HTTP request | Description
8
8
  [**get**](NetworkingProxyApi.md#get) | **GET** /appliance/networking/proxy/{protocol} | Gets the proxy configuration for a specific protocol.
9
9
  [**list**](NetworkingProxyApi.md#list) | **GET** /appliance/networking/proxy | Gets proxy configuration for all configured protocols.
10
10
  [**set**](NetworkingProxyApi.md#set) | **PUT** /appliance/networking/proxy/{protocol} | Configures which proxy server to use for the specified protocol. This operation sets environment variables for using proxy. In order for this configuration to take effect a logout / service restart is required.
11
- [**test**](NetworkingProxyApi.md#test) | **POST** /appliance/networking/proxy/{protocol} | Tests a proxy configuration by testing the connection to the proxy server and test host.
11
+ [**test**](NetworkingProxyApi.md#test) | **POST** /appliance/networking/proxy/{protocol}?action=test | Tests a proxy configuration by testing the connection to the proxy server and test host.
12
12
 
13
13
 
14
14
  # **delete**
@@ -208,7 +208,7 @@ nil (empty response body)
208
208
 
209
209
 
210
210
  # **test**
211
- > ApplianceNetworkingProxyTestResult test(protocol, action, request_body)
211
+ > ApplianceNetworkingProxyTestResult test(protocol, request_body)
212
212
 
213
213
  Tests a proxy configuration by testing the connection to the proxy server and test host.
214
214
 
@@ -226,12 +226,11 @@ end
226
226
 
227
227
  api_instance = VSphereAutomation::Appliance::NetworkingProxyApi.new
228
228
  protocol = 'protocol_example' # String | Protocol whose proxy is to be tested.
229
- action = 'action_example' # String | action=test
230
229
  request_body = Appliance::ApplianceNetworkingProxyTest.new # ApplianceNetworkingProxyTest |
231
230
 
232
231
  begin
233
232
  #Tests a proxy configuration by testing the connection to the proxy server and test host.
234
- result = api_instance.test(protocol, action, request_body)
233
+ result = api_instance.test(protocol, request_body)
235
234
  p result
236
235
  rescue VSphereAutomation::ApiError => e
237
236
  puts "Exception when calling NetworkingProxyApi->test: #{e}"
@@ -243,7 +242,6 @@ end
243
242
  Name | Type | Description | Notes
244
243
  ------------- | ------------- | ------------- | -------------
245
244
  **protocol** | **String**| Protocol whose proxy is to be tested. |
246
- **action** | **String**| action=test |
247
245
  **request_body** | [**ApplianceNetworkingProxyTest**](ApplianceNetworkingProxyTest.md)| |
248
246
 
249
247
  ### Return type
@@ -6,7 +6,7 @@ Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**list**](SystemStorageApi.md#list) | **GET** /appliance/system/storage | Get disk to partition mapping.
8
8
  [**resize**](SystemStorageApi.md#resize) | **POST** /appliance/system/storage/resize | Resize all partitions to 100 percent of disk size.
9
- [**resize_ex**](SystemStorageApi.md#resize_ex) | **POST** /appliance/system/storage | Resize all partitions to 100 percent of disk size.
9
+ [**resize_ex**](SystemStorageApi.md#resize_ex) | **POST** /appliance/system/storage?action=resize-ex | Resize all partitions to 100 percent of disk size.
10
10
 
11
11
 
12
12
  # **list**
@@ -101,7 +101,7 @@ nil (empty response body)
101
101
 
102
102
 
103
103
  # **resize_ex**
104
- > ApplianceSystemStorageResizeExResult resize_ex(action)
104
+ > ApplianceSystemStorageResizeExResult resize_ex
105
105
 
106
106
  Resize all partitions to 100 percent of disk size.
107
107
 
@@ -118,11 +118,10 @@ VSphereAutomation::Configuration.new.tap do |config|
118
118
  end
119
119
 
120
120
  api_instance = VSphereAutomation::Appliance::SystemStorageApi.new
121
- action = 'action_example' # String | action=resize-ex
122
121
 
123
122
  begin
124
123
  #Resize all partitions to 100 percent of disk size.
125
- result = api_instance.resize_ex(action)
124
+ result = api_instance.resize_ex
126
125
  p result
127
126
  rescue VSphereAutomation::ApiError => e
128
127
  puts "Exception when calling SystemStorageApi->resize_ex: #{e}"
@@ -130,10 +129,7 @@ end
130
129
  ```
131
130
 
132
131
  ### Parameters
133
-
134
- Name | Type | Description | Notes
135
- ------------- | ------------- | ------------- | -------------
136
- **action** | **String**| action=resize-ex |
132
+ This endpoint does not need any parameter.
137
133
 
138
134
  ### Return type
139
135
 
data/docs/UpdateApi.md CHANGED
@@ -4,12 +4,12 @@ All URIs are relative to *https://<vcenter>/rest*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**cancel**](UpdateApi.md#cancel) | **POST** /appliance/update | Request the cancellation the update operation that is currently in progress.
7
+ [**cancel**](UpdateApi.md#cancel) | **POST** /appliance/update?action=cancel | Request the cancellation the update operation that is currently in progress.
8
8
  [**get**](UpdateApi.md#get) | **GET** /appliance/update | Gets the current status of the appliance update.
9
9
 
10
10
 
11
11
  # **cancel**
12
- > cancel(action)
12
+ > cancel
13
13
 
14
14
  Request the cancellation the update operation that is currently in progress.
15
15
 
@@ -26,21 +26,17 @@ VSphereAutomation::Configuration.new.tap do |config|
26
26
  end
27
27
 
28
28
  api_instance = VSphereAutomation::Appliance::UpdateApi.new
29
- action = 'action_example' # String | action=cancel
30
29
 
31
30
  begin
32
31
  #Request the cancellation the update operation that is currently in progress.
33
- api_instance.cancel(action)
32
+ api_instance.cancel
34
33
  rescue VSphereAutomation::ApiError => e
35
34
  puts "Exception when calling UpdateApi->cancel: #{e}"
36
35
  end
37
36
  ```
38
37
 
39
38
  ### Parameters
40
-
41
- Name | Type | Description | Notes
42
- ------------- | ------------- | ------------- | -------------
43
- **action** | **String**| action=cancel |
39
+ This endpoint does not need any parameter.
44
40
 
45
41
  ### Return type
46
42
 
@@ -7,7 +7,7 @@ Method | HTTP request | Description
7
7
  [**get**](UpdatePendingApi.md#get) | **GET** /appliance/update/pending/{version} | Gets update information
8
8
  [**install**](UpdatePendingApi.md#install) | **POST** /appliance/update/pending/{version}?action=install | Starts operation of installing the appliance update. Will fail is the update is not staged
9
9
  [**list**](UpdatePendingApi.md#list) | **GET** /appliance/update/pending | Checks if new updates are available.
10
- [**precheck**](UpdatePendingApi.md#precheck) | **POST** /appliance/update/pending/{version} | Runs update precheck
10
+ [**precheck**](UpdatePendingApi.md#precheck) | **POST** /appliance/update/pending/{version}?action=precheck | Runs update precheck
11
11
  [**stage**](UpdatePendingApi.md#stage) | **POST** /appliance/update/pending/{version}?action=stage | Starts staging the appliance update. The updates are searched for in the following order: staged, CDROM, URL
12
12
  [**stage_and_install**](UpdatePendingApi.md#stage_and_install) | **POST** /appliance/update/pending/{version}?action=stage-and-install | Starts operation of installing the appliance update. Will stage update if not already staged The updates are searched for in the following order: staged, CDROM, URL
13
13
  [**validate**](UpdatePendingApi.md#validate) | **POST** /appliance/update/pending/{version}?action=validate | Validates the user provided data before the update installation.
@@ -169,7 +169,7 @@ Name | Type | Description | Notes
169
169
 
170
170
 
171
171
  # **precheck**
172
- > ApplianceUpdatePendingPrecheckResult precheck(version, action)
172
+ > ApplianceUpdatePendingPrecheckResult precheck(version)
173
173
 
174
174
  Runs update precheck
175
175
 
@@ -187,11 +187,10 @@ end
187
187
 
188
188
  api_instance = VSphereAutomation::Appliance::UpdatePendingApi.new
189
189
  version = 'version_example' # String | Update version
190
- action = 'action_example' # String | action=precheck
191
190
 
192
191
  begin
193
192
  #Runs update precheck
194
- result = api_instance.precheck(version, action)
193
+ result = api_instance.precheck(version)
195
194
  p result
196
195
  rescue VSphereAutomation::ApiError => e
197
196
  puts "Exception when calling UpdatePendingApi->precheck: #{e}"
@@ -203,7 +202,6 @@ end
203
202
  Name | Type | Description | Notes
204
203
  ------------- | ------------- | ------------- | -------------
205
204
  **version** | **String**| Update version |
206
- **action** | **String**| action=precheck |
207
205
 
208
206
  ### Return type
209
207
 
@@ -116,39 +116,28 @@ module VSphereAutomation
116
116
  return data, status_code, headers
117
117
  end
118
118
  # Validates the current log forwarding configuration by checking the liveness of the remote machine and optionally sending a test diagnostic log message from the appliance to all configured logging servers to allow manual end-to-end validation. The message that is sent is: \"This is a diagnostic log test message from vCenter Server.\"
119
- # @param action action=test
120
119
  # @param [Hash] opts the optional parameters
121
120
  # @option opts [ApplianceLoggingForwardingTest] :request_body
122
121
  # @return [ApplianceLoggingForwardingTestResult|]
123
- def test(action, opts = {})
124
- data, _status_code, _headers = test_with_http_info(action, opts)
122
+ def test(opts = {})
123
+ data, _status_code, _headers = test_with_http_info(opts)
125
124
  data
126
125
  end
127
126
 
128
127
  # Validates the current log forwarding configuration by checking the liveness of the remote machine and optionally sending a test diagnostic log message from the appliance to all configured logging servers to allow manual end-to-end validation. The message that is sent is: \"This is a diagnostic log test message from vCenter Server.\"
129
128
  # @api private
130
- # @param action action=test
131
129
  # @param [Hash] opts the optional parameters
132
130
  # @option opts [ApplianceLoggingForwardingTest] :request_body
133
131
  # @return [Array<(ApplianceLoggingForwardingTestResult|, Fixnum, Hash)>] data, response status code and response headers
134
- def test_with_http_info(action, opts = {})
132
+ def test_with_http_info(opts = {})
135
133
  if @api_client.config.debugging
136
134
  @api_client.config.logger.debug 'Calling API: LoggingForwardingApi.test ...'
137
135
  end
138
- # verify the required parameter 'action' is set
139
- if @api_client.config.client_side_validation && action.nil?
140
- fail ArgumentError, "Missing the required parameter 'action' when calling LoggingForwardingApi.test"
141
- end
142
- # verify enum value
143
- if @api_client.config.client_side_validation && !['test'].include?(action)
144
- fail ArgumentError, "invalid value for 'action', must be one of test"
145
- end
146
136
  # resource path
147
- local_var_path = '/appliance/logging/forwarding'
137
+ local_var_path = '/appliance/logging/forwarding?action=test'
148
138
 
149
139
  # query parameters
150
140
  query_params = {}
151
- query_params[:'action'] = action
152
141
 
153
142
  # header parameters
154
143
  header_params = {}
@@ -65,37 +65,26 @@ module VSphereAutomation
65
65
  return data, status_code, headers
66
66
  end
67
67
  # Reset and restarts network configuration on all interfaces, also this will renew the DHCP lease for DHCP IP address.
68
- # @param action action&#x3D;reset
69
68
  # @param [Hash] opts the optional parameters
70
69
  # @return [|VapiStdErrorsErrorError|nil]
71
- def reset(action, opts = {})
72
- reset_with_http_info(action, opts)
70
+ def reset(opts = {})
71
+ reset_with_http_info(opts)
73
72
  nil
74
73
  end
75
74
 
76
75
  # Reset and restarts network configuration on all interfaces, also this will renew the DHCP lease for DHCP IP address.
77
76
  # @api private
78
- # @param action action&#x3D;reset
79
77
  # @param [Hash] opts the optional parameters
80
78
  # @return [Array<(|VapiStdErrorsErrorError|nil, Fixnum, Hash)>] nil, response status code and response headers
81
- def reset_with_http_info(action, opts = {})
79
+ def reset_with_http_info(opts = {})
82
80
  if @api_client.config.debugging
83
81
  @api_client.config.logger.debug 'Calling API: NetworkingApi.reset ...'
84
82
  end
85
- # verify the required parameter 'action' is set
86
- if @api_client.config.client_side_validation && action.nil?
87
- fail ArgumentError, "Missing the required parameter 'action' when calling NetworkingApi.reset"
88
- end
89
- # verify enum value
90
- if @api_client.config.client_side_validation && !['reset'].include?(action)
91
- fail ArgumentError, "invalid value for 'action', must be one of reset"
92
- end
93
83
  # resource path
94
- local_var_path = '/appliance/networking'
84
+ local_var_path = '/appliance/networking?action=reset'
95
85
 
96
86
  # query parameters
97
87
  query_params = {}
98
- query_params[:'action'] = action
99
88
 
100
89
  # header parameters
101
90
  header_params = {}
@@ -228,23 +228,21 @@ module VSphereAutomation
228
228
  end
229
229
  # Tests a proxy configuration by testing the connection to the proxy server and test host.
230
230
  # @param protocol Protocol whose proxy is to be tested.
231
- # @param action action&#x3D;test
232
231
  # @param request_body
233
232
  # @param [Hash] opts the optional parameters
234
233
  # @return [ApplianceNetworkingProxyTestResult|VapiStdErrorsErrorError|]
235
- def test(protocol, action, request_body, opts = {})
236
- data, _status_code, _headers = test_with_http_info(protocol, action, request_body, opts)
234
+ def test(protocol, request_body, opts = {})
235
+ data, _status_code, _headers = test_with_http_info(protocol, request_body, opts)
237
236
  data
238
237
  end
239
238
 
240
239
  # Tests a proxy configuration by testing the connection to the proxy server and test host.
241
240
  # @api private
242
241
  # @param protocol Protocol whose proxy is to be tested.
243
- # @param action action&#x3D;test
244
242
  # @param request_body
245
243
  # @param [Hash] opts the optional parameters
246
244
  # @return [Array<(ApplianceNetworkingProxyTestResult|VapiStdErrorsErrorError|, Fixnum, Hash)>] data, response status code and response headers
247
- def test_with_http_info(protocol, action, request_body, opts = {})
245
+ def test_with_http_info(protocol, request_body, opts = {})
248
246
  if @api_client.config.debugging
249
247
  @api_client.config.logger.debug 'Calling API: NetworkingProxyApi.test ...'
250
248
  end
@@ -252,24 +250,15 @@ module VSphereAutomation
252
250
  if @api_client.config.client_side_validation && protocol.nil?
253
251
  fail ArgumentError, "Missing the required parameter 'protocol' when calling NetworkingProxyApi.test"
254
252
  end
255
- # verify the required parameter 'action' is set
256
- if @api_client.config.client_side_validation && action.nil?
257
- fail ArgumentError, "Missing the required parameter 'action' when calling NetworkingProxyApi.test"
258
- end
259
- # verify enum value
260
- if @api_client.config.client_side_validation && !['test'].include?(action)
261
- fail ArgumentError, "invalid value for 'action', must be one of test"
262
- end
263
253
  # verify the required parameter 'request_body' is set
264
254
  if @api_client.config.client_side_validation && request_body.nil?
265
255
  fail ArgumentError, "Missing the required parameter 'request_body' when calling NetworkingProxyApi.test"
266
256
  end
267
257
  # resource path
268
- local_var_path = '/appliance/networking/proxy/{protocol}'.sub('{' + 'protocol' + '}', protocol.to_s)
258
+ local_var_path = '/appliance/networking/proxy/{protocol}?action=test'.sub('{' + 'protocol' + '}', protocol.to_s)
269
259
 
270
260
  # query parameters
271
261
  query_params = {}
272
- query_params[:'action'] = action
273
262
 
274
263
  # header parameters
275
264
  header_params = {}
@@ -109,37 +109,26 @@ module VSphereAutomation
109
109
  return data, status_code, headers
110
110
  end
111
111
  # Resize all partitions to 100 percent of disk size.
112
- # @param action action&#x3D;resize-ex
113
112
  # @param [Hash] opts the optional parameters
114
113
  # @return [ApplianceSystemStorageResizeExResult|VapiStdErrorsErrorError|]
115
- def resize_ex(action, opts = {})
116
- data, _status_code, _headers = resize_ex_with_http_info(action, opts)
114
+ def resize_ex(opts = {})
115
+ data, _status_code, _headers = resize_ex_with_http_info(opts)
117
116
  data
118
117
  end
119
118
 
120
119
  # Resize all partitions to 100 percent of disk size.
121
120
  # @api private
122
- # @param action action&#x3D;resize-ex
123
121
  # @param [Hash] opts the optional parameters
124
122
  # @return [Array<(ApplianceSystemStorageResizeExResult|VapiStdErrorsErrorError|, Fixnum, Hash)>] data, response status code and response headers
125
- def resize_ex_with_http_info(action, opts = {})
123
+ def resize_ex_with_http_info(opts = {})
126
124
  if @api_client.config.debugging
127
125
  @api_client.config.logger.debug 'Calling API: SystemStorageApi.resize_ex ...'
128
126
  end
129
- # verify the required parameter 'action' is set
130
- if @api_client.config.client_side_validation && action.nil?
131
- fail ArgumentError, "Missing the required parameter 'action' when calling SystemStorageApi.resize_ex"
132
- end
133
- # verify enum value
134
- if @api_client.config.client_side_validation && !['resize-ex'].include?(action)
135
- fail ArgumentError, "invalid value for 'action', must be one of resize-ex"
136
- end
137
127
  # resource path
138
- local_var_path = '/appliance/system/storage'
128
+ local_var_path = '/appliance/system/storage?action=resize-ex'
139
129
 
140
130
  # query parameters
141
131
  query_params = {}
142
- query_params[:'action'] = action
143
132
 
144
133
  # header parameters
145
134
  header_params = {}
@@ -17,37 +17,26 @@ module VSphereAutomation
17
17
  @api_client = api_client
18
18
  end
19
19
  # Request the cancellation the update operation that is currently in progress.
20
- # @param action action&#x3D;cancel
21
20
  # @param [Hash] opts the optional parameters
22
21
  # @return [|VapiStdErrorsNotAllowedInCurrentStateError|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
  # Request the cancellation the update operation that is currently 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|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: UpdateApi.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 UpdateApi.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 = '/appliance/update'
36
+ local_var_path = '/appliance/update?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 = {}
@@ -198,21 +198,19 @@ module VSphereAutomation
198
198
  end
199
199
  # Runs update precheck
200
200
  # @param version Update version
201
- # @param action action&#x3D;precheck
202
201
  # @param [Hash] opts the optional parameters
203
202
  # @return [ApplianceUpdatePendingPrecheckResult|VapiStdErrorsNotAllowedInCurrentStateError|VapiStdErrorsUnauthenticatedError|VapiStdErrorsUnauthorizedError|VapiStdErrorsNotFoundError|]
204
- def precheck(version, action, opts = {})
205
- data, _status_code, _headers = precheck_with_http_info(version, action, opts)
203
+ def precheck(version, opts = {})
204
+ data, _status_code, _headers = precheck_with_http_info(version, opts)
206
205
  data
207
206
  end
208
207
 
209
208
  # Runs update precheck
210
209
  # @api private
211
210
  # @param version Update version
212
- # @param action action&#x3D;precheck
213
211
  # @param [Hash] opts the optional parameters
214
212
  # @return [Array<(ApplianceUpdatePendingPrecheckResult|VapiStdErrorsNotAllowedInCurrentStateError|VapiStdErrorsUnauthenticatedError|VapiStdErrorsUnauthorizedError|VapiStdErrorsNotFoundError|, Fixnum, Hash)>] data, response status code and response headers
215
- def precheck_with_http_info(version, action, opts = {})
213
+ def precheck_with_http_info(version, opts = {})
216
214
  if @api_client.config.debugging
217
215
  @api_client.config.logger.debug 'Calling API: UpdatePendingApi.precheck ...'
218
216
  end
@@ -220,20 +218,11 @@ module VSphereAutomation
220
218
  if @api_client.config.client_side_validation && version.nil?
221
219
  fail ArgumentError, "Missing the required parameter 'version' when calling UpdatePendingApi.precheck"
222
220
  end
223
- # verify the required parameter 'action' is set
224
- if @api_client.config.client_side_validation && action.nil?
225
- fail ArgumentError, "Missing the required parameter 'action' when calling UpdatePendingApi.precheck"
226
- end
227
- # verify enum value
228
- if @api_client.config.client_side_validation && !['precheck'].include?(action)
229
- fail ArgumentError, "invalid value for 'action', must be one of precheck"
230
- end
231
221
  # resource path
232
- local_var_path = '/appliance/update/pending/{version}'.sub('{' + 'version' + '}', version.to_s)
222
+ local_var_path = '/appliance/update/pending/{version}?action=precheck'.sub('{' + 'version' + '}', version.to_s)
233
223
 
234
224
  # query parameters
235
225
  query_params = {}
236
- query_params[:'action'] = action
237
226
 
238
227
  # header parameters
239
228
  header_params = {}
@@ -29,7 +29,7 @@ module VSphereAutomation
29
29
  # @option config [Configuration] Configuration for initializing the object, default to Configuration.default
30
30
  def initialize(config = Configuration.default)
31
31
  @config = config
32
- @user_agent = "SDK/0.2.2 Ruby/#{RUBY_VERSION} (#{Gem::Platform.local.os}; #{Gem::Platform.local.version}; #{Gem::Platform.local.cpu})"
32
+ @user_agent = "SDK/0.3.0 Ruby/#{RUBY_VERSION} (#{Gem::Platform.local.os}; #{Gem::Platform.local.version}; #{Gem::Platform.local.cpu})"
33
33
  @default_headers = {
34
34
  'Content-Type' => 'application/json',
35
35
  'User-Agent' => @user_agent
@@ -28,7 +28,7 @@ module VSphereAutomation
28
28
  def self.openapi_types
29
29
  {
30
30
  :'dns' => :'ApplianceNetworkingDNSInfo',
31
- :'interfaces' => :'Array<Object>'
31
+ :'interfaces' => :'Array<ApplianceNetworkingInfoInterfaces>'
32
32
  }
33
33
  end
34
34
 
@@ -23,7 +23,7 @@ module VSphereAutomation
23
23
  # Attribute type mapping.
24
24
  def self.openapi_types
25
25
  {
26
- :'value' => :'Array<Object>'
26
+ :'value' => :'Array<ApplianceNetworkingProxyListResultValue>'
27
27
  }
28
28
  end
29
29
 
@@ -23,7 +23,7 @@ module VSphereAutomation
23
23
  # Attribute type mapping.
24
24
  def self.openapi_types
25
25
  {
26
- :'value' => :'Array<Object>'
26
+ :'value' => :'Array<ApplianceRecoveryBackupJobDetailsListResultValue>'
27
27
  }
28
28
  end
29
29
 
@@ -23,7 +23,7 @@ module VSphereAutomation
23
23
  # Attribute type mapping.
24
24
  def self.openapi_types
25
25
  {
26
- :'value' => :'Array<Object>'
26
+ :'value' => :'Array<ApplianceRecoveryBackupSchedulesListResultValue>'
27
27
  }
28
28
  end
29
29
 
@@ -23,7 +23,7 @@ module VSphereAutomation
23
23
  # Attribute type mapping.
24
24
  def self.openapi_types
25
25
  {
26
- :'value' => :'Array<Object>'
26
+ :'value' => :'Array<ApplianceServicesListResultValue>'
27
27
  }
28
28
  end
29
29
 
@@ -23,7 +23,7 @@ module VSphereAutomation
23
23
  # Attribute type mapping.
24
24
  def self.openapi_types
25
25
  {
26
- :'value' => :'Array<Object>'
26
+ :'value' => :'Array<ApplianceSystemStorageResizeExResultValue>'
27
27
  }
28
28
  end
29
29
 
@@ -74,7 +74,7 @@ module VSphereAutomation
74
74
  {
75
75
  :'progress' => :'CisTaskProgress',
76
76
  :'subtask_order' => :'Array<String>',
77
- :'subtasks' => :'Array<Object>',
77
+ :'subtasks' => :'Array<ApplianceTaskInfoSubtasks>',
78
78
  :'description' => :'VapiStdLocalizableMessage',
79
79
  :'service' => :'String',
80
80
  :'operation' => :'String',
@@ -24,7 +24,7 @@ module VSphereAutomation
24
24
  # Attribute type mapping.
25
25
  def self.openapi_types
26
26
  {
27
- :'user_data' => :'Array<Object>'
27
+ :'user_data' => :'Array<ApplianceUpdatePendingInstallUserData>'
28
28
  }
29
29
  end
30
30
 
@@ -24,7 +24,7 @@ module VSphereAutomation
24
24
  # Attribute type mapping.
25
25
  def self.openapi_types
26
26
  {
27
- :'user_data' => :'Array<Object>'
27
+ :'user_data' => :'Array<ApplianceUpdatePendingInstallUserData>'
28
28
  }
29
29
  end
30
30
 
@@ -24,7 +24,7 @@ module VSphereAutomation
24
24
  # Attribute type mapping.
25
25
  def self.openapi_types
26
26
  {
27
- :'user_data' => :'Array<Object>'
27
+ :'user_data' => :'Array<ApplianceUpdatePendingInstallUserData>'
28
28
  }
29
29
  end
30
30
 
@@ -23,7 +23,7 @@ module VSphereAutomation
23
23
  # Attribute type mapping.
24
24
  def self.openapi_types
25
25
  {
26
- :'value' => :'Array<Object>'
26
+ :'value' => :'Array<ApplianceVmonServiceListDetailsResultValue>'
27
27
  }
28
28
  end
29
29
 
@@ -8,6 +8,6 @@
8
8
 
9
9
  module VSphereAutomation
10
10
  module Appliance
11
- VERSION = '0.2.2'
11
+ VERSION = '0.3.0'
12
12
  end
13
13
  end
@@ -23,8 +23,8 @@ Gem::Specification.new do |s|
23
23
  s.license = 'MIT'
24
24
  s.required_ruby_version = ">= 2.3"
25
25
 
26
- s.add_runtime_dependency 'vsphere-automation-runtime', '~> 0.2.2'
27
- s.add_runtime_dependency 'vsphere-automation-cis', '~> 0.2.2'
26
+ s.add_runtime_dependency 'vsphere-automation-runtime', '~> 0.3.0'
27
+ s.add_runtime_dependency 'vsphere-automation-cis', '~> 0.3.0'
28
28
 
29
29
  s.add_development_dependency 'bundler', '~> 2.0'
30
30
  s.add_development_dependency 'pry', '~> 0.12.2'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vsphere-automation-appliance
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - J.R. Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-12 00:00:00.000000000 Z
11
+ date: 2019-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: vsphere-automation-runtime
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.2.2
19
+ version: 0.3.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.2.2
26
+ version: 0.3.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: vsphere-automation-cis
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.2.2
33
+ version: 0.3.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.2.2
40
+ version: 0.3.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -890,6 +890,7 @@ files:
890
890
  - lib/vsphere-automation-appliance/models/vapi_std_localizable_message.rb
891
891
  - lib/vsphere-automation-appliance/version.rb
892
892
  - pkg/vsphere-automation-appliance-0.2.1.gem
893
+ - pkg/vsphere-automation-appliance-0.2.2.gem
893
894
  - spec/api/access_consolecli_api_spec.rb
894
895
  - spec/api/access_dcui_api_spec.rb
895
896
  - spec/api/access_shell_api_spec.rb