autosde_openapi_client 1.2.3 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/docs/AddressApi.md +4 -4
- data/docs/EventApi.md +4 -4
- data/docs/HostApi.md +4 -4
- data/docs/HostClusterMembershipApi.md +4 -4
- data/docs/HostVolumeConnectionApi.md +4 -4
- data/docs/Job.md +2 -0
- data/docs/ServiceApi.md +4 -4
- data/docs/ServiceResourceAttachmentApi.md +4 -4
- data/docs/SnapshotApi.md +4 -4
- data/docs/StorageHostApi.md +4 -4
- data/docs/StorageHostsMappingApi.md +4 -4
- data/docs/StorageResourceApi.md +6 -6
- data/docs/StorageResourceUpdate.md +20 -0
- data/docs/StorageSystemApi.md +4 -4
- data/docs/SystemTypeApi.md +4 -4
- data/docs/VolumeApi.md +4 -4
- data/lib/autosde_openapi_client/api/address_api.rb +3 -3
- data/lib/autosde_openapi_client/api/event_api.rb +3 -3
- data/lib/autosde_openapi_client/api/host_api.rb +3 -3
- data/lib/autosde_openapi_client/api/host_cluster_membership_api.rb +3 -3
- data/lib/autosde_openapi_client/api/host_volume_connection_api.rb +3 -3
- data/lib/autosde_openapi_client/api/service_api.rb +3 -3
- data/lib/autosde_openapi_client/api/service_resource_attachment_api.rb +3 -3
- data/lib/autosde_openapi_client/api/snapshot_api.rb +3 -3
- data/lib/autosde_openapi_client/api/storage_host_api.rb +3 -3
- data/lib/autosde_openapi_client/api/storage_hosts_mapping_api.rb +3 -3
- data/lib/autosde_openapi_client/api/storage_resource_api.rb +9 -9
- data/lib/autosde_openapi_client/api/storage_system_api.rb +3 -3
- data/lib/autosde_openapi_client/api/system_type_api.rb +3 -3
- data/lib/autosde_openapi_client/api/volume_api.rb +3 -3
- data/lib/autosde_openapi_client/models/job.rb +11 -1
- data/lib/autosde_openapi_client/models/storage_resource_update.rb +232 -0
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/lib/autosde_openapi_client.rb +1 -0
- data/spec/api/address_api_spec.rb +1 -1
- data/spec/api/event_api_spec.rb +1 -1
- data/spec/api/host_api_spec.rb +1 -1
- data/spec/api/host_cluster_membership_api_spec.rb +1 -1
- data/spec/api/host_volume_connection_api_spec.rb +1 -1
- data/spec/api/service_api_spec.rb +1 -1
- data/spec/api/service_resource_attachment_api_spec.rb +1 -1
- data/spec/api/snapshot_api_spec.rb +1 -1
- data/spec/api/storage_host_api_spec.rb +1 -1
- data/spec/api/storage_hosts_mapping_api_spec.rb +1 -1
- data/spec/api/storage_resource_api_spec.rb +1 -1
- data/spec/api/storage_system_api_spec.rb +1 -1
- data/spec/api/system_type_api_spec.rb +1 -1
- data/spec/api/volume_api_spec.rb +1 -1
- data/spec/models/job_spec.rb +6 -0
- data/spec/models/storage_resource_update_spec.rb +40 -0
- metadata +83 -79
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 910a9bfe4f38d4f2017ed88f501e47621984da2d40c4f0019683261490962ac7
|
4
|
+
data.tar.gz: 77424d941e712bd5f25aaaf925bd9cdb6d7a587d199034b3ceaeb39ce5901634
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b40165019a44453a6d9454078b7e40980892c2f8c89f27aa0839852fbe58abe491e0e65c9084dbbd2e12ec2faac4e9dffd55fefaaec5b744afa6808c51d3e30
|
7
|
+
data.tar.gz: 1348b630edc51971551ca0685ced3bf568109a499ac60276bdd7c73c2017b24c47c4035d3bcfe2e02375a7c16ad5c1f239c208c9d1c468750df9bf342c77778f
|
data/README.md
CHANGED
@@ -254,6 +254,7 @@ Class | Method | HTTP request | Description
|
|
254
254
|
- [AutosdeOpenapiClient::StorageResource](docs/StorageResource.md)
|
255
255
|
- [AutosdeOpenapiClient::StorageResourceCreate](docs/StorageResourceCreate.md)
|
256
256
|
- [AutosdeOpenapiClient::StorageResourceResponse](docs/StorageResourceResponse.md)
|
257
|
+
- [AutosdeOpenapiClient::StorageResourceUpdate](docs/StorageResourceUpdate.md)
|
257
258
|
- [AutosdeOpenapiClient::StorageSystem](docs/StorageSystem.md)
|
258
259
|
- [AutosdeOpenapiClient::StorageSystemCreate](docs/StorageSystemCreate.md)
|
259
260
|
- [AutosdeOpenapiClient::StorageSystemUpdate](docs/StorageSystemUpdate.md)
|
data/docs/AddressApi.md
CHANGED
@@ -210,7 +210,7 @@ end
|
|
210
210
|
|
211
211
|
## addresses_post
|
212
212
|
|
213
|
-
> <
|
213
|
+
> <AsyncResponse> addresses_post(address_create)
|
214
214
|
|
215
215
|
|
216
216
|
|
@@ -241,7 +241,7 @@ end
|
|
241
241
|
|
242
242
|
This returns an Array which contains the response data, status code and headers.
|
243
243
|
|
244
|
-
> <Array(<
|
244
|
+
> <Array(<AsyncResponse>, Integer, Hash)> addresses_post_with_http_info(address_create)
|
245
245
|
|
246
246
|
```ruby
|
247
247
|
begin
|
@@ -249,7 +249,7 @@ begin
|
|
249
249
|
data, status_code, headers = api_instance.addresses_post_with_http_info(address_create)
|
250
250
|
p status_code # => 2xx
|
251
251
|
p headers # => { ... }
|
252
|
-
p data # => <
|
252
|
+
p data # => <AsyncResponse>
|
253
253
|
rescue AutosdeOpenapiClient::ApiError => e
|
254
254
|
puts "Error when calling AddressApi->addresses_post_with_http_info: #{e}"
|
255
255
|
end
|
@@ -263,7 +263,7 @@ end
|
|
263
263
|
|
264
264
|
### Return type
|
265
265
|
|
266
|
-
[**
|
266
|
+
[**AsyncResponse**](AsyncResponse.md)
|
267
267
|
|
268
268
|
### Authorization
|
269
269
|
|
data/docs/EventApi.md
CHANGED
@@ -210,7 +210,7 @@ end
|
|
210
210
|
|
211
211
|
## events_post
|
212
212
|
|
213
|
-
> <
|
213
|
+
> <AsyncResponse> events_post(event)
|
214
214
|
|
215
215
|
|
216
216
|
|
@@ -241,7 +241,7 @@ end
|
|
241
241
|
|
242
242
|
This returns an Array which contains the response data, status code and headers.
|
243
243
|
|
244
|
-
> <Array(<
|
244
|
+
> <Array(<AsyncResponse>, Integer, Hash)> events_post_with_http_info(event)
|
245
245
|
|
246
246
|
```ruby
|
247
247
|
begin
|
@@ -249,7 +249,7 @@ begin
|
|
249
249
|
data, status_code, headers = api_instance.events_post_with_http_info(event)
|
250
250
|
p status_code # => 2xx
|
251
251
|
p headers # => { ... }
|
252
|
-
p data # => <
|
252
|
+
p data # => <AsyncResponse>
|
253
253
|
rescue AutosdeOpenapiClient::ApiError => e
|
254
254
|
puts "Error when calling EventApi->events_post_with_http_info: #{e}"
|
255
255
|
end
|
@@ -263,7 +263,7 @@ end
|
|
263
263
|
|
264
264
|
### Return type
|
265
265
|
|
266
|
-
[**
|
266
|
+
[**AsyncResponse**](AsyncResponse.md)
|
267
267
|
|
268
268
|
### Authorization
|
269
269
|
|
data/docs/HostApi.md
CHANGED
@@ -210,7 +210,7 @@ end
|
|
210
210
|
|
211
211
|
## hosts_post
|
212
212
|
|
213
|
-
> <
|
213
|
+
> <AsyncResponse> hosts_post(host_create)
|
214
214
|
|
215
215
|
|
216
216
|
|
@@ -241,7 +241,7 @@ end
|
|
241
241
|
|
242
242
|
This returns an Array which contains the response data, status code and headers.
|
243
243
|
|
244
|
-
> <Array(<
|
244
|
+
> <Array(<AsyncResponse>, Integer, Hash)> hosts_post_with_http_info(host_create)
|
245
245
|
|
246
246
|
```ruby
|
247
247
|
begin
|
@@ -249,7 +249,7 @@ begin
|
|
249
249
|
data, status_code, headers = api_instance.hosts_post_with_http_info(host_create)
|
250
250
|
p status_code # => 2xx
|
251
251
|
p headers # => { ... }
|
252
|
-
p data # => <
|
252
|
+
p data # => <AsyncResponse>
|
253
253
|
rescue AutosdeOpenapiClient::ApiError => e
|
254
254
|
puts "Error when calling HostApi->hosts_post_with_http_info: #{e}"
|
255
255
|
end
|
@@ -263,7 +263,7 @@ end
|
|
263
263
|
|
264
264
|
### Return type
|
265
265
|
|
266
|
-
[**
|
266
|
+
[**AsyncResponse**](AsyncResponse.md)
|
267
267
|
|
268
268
|
### Authorization
|
269
269
|
|
@@ -210,7 +210,7 @@ end
|
|
210
210
|
|
211
211
|
## host_cluster_membership_post
|
212
212
|
|
213
|
-
> <
|
213
|
+
> <AsyncResponse> host_cluster_membership_post(host_cluster_membership)
|
214
214
|
|
215
215
|
|
216
216
|
|
@@ -241,7 +241,7 @@ end
|
|
241
241
|
|
242
242
|
This returns an Array which contains the response data, status code and headers.
|
243
243
|
|
244
|
-
> <Array(<
|
244
|
+
> <Array(<AsyncResponse>, Integer, Hash)> host_cluster_membership_post_with_http_info(host_cluster_membership)
|
245
245
|
|
246
246
|
```ruby
|
247
247
|
begin
|
@@ -249,7 +249,7 @@ begin
|
|
249
249
|
data, status_code, headers = api_instance.host_cluster_membership_post_with_http_info(host_cluster_membership)
|
250
250
|
p status_code # => 2xx
|
251
251
|
p headers # => { ... }
|
252
|
-
p data # => <
|
252
|
+
p data # => <AsyncResponse>
|
253
253
|
rescue AutosdeOpenapiClient::ApiError => e
|
254
254
|
puts "Error when calling HostClusterMembershipApi->host_cluster_membership_post_with_http_info: #{e}"
|
255
255
|
end
|
@@ -263,7 +263,7 @@ end
|
|
263
263
|
|
264
264
|
### Return type
|
265
265
|
|
266
|
-
[**
|
266
|
+
[**AsyncResponse**](AsyncResponse.md)
|
267
267
|
|
268
268
|
### Authorization
|
269
269
|
|
@@ -210,7 +210,7 @@ end
|
|
210
210
|
|
211
211
|
## host_volume_connection_post
|
212
212
|
|
213
|
-
> <
|
213
|
+
> <AsyncResponse> host_volume_connection_post(host_volume_connection_create)
|
214
214
|
|
215
215
|
|
216
216
|
|
@@ -241,7 +241,7 @@ end
|
|
241
241
|
|
242
242
|
This returns an Array which contains the response data, status code and headers.
|
243
243
|
|
244
|
-
> <Array(<
|
244
|
+
> <Array(<AsyncResponse>, Integer, Hash)> host_volume_connection_post_with_http_info(host_volume_connection_create)
|
245
245
|
|
246
246
|
```ruby
|
247
247
|
begin
|
@@ -249,7 +249,7 @@ begin
|
|
249
249
|
data, status_code, headers = api_instance.host_volume_connection_post_with_http_info(host_volume_connection_create)
|
250
250
|
p status_code # => 2xx
|
251
251
|
p headers # => { ... }
|
252
|
-
p data # => <
|
252
|
+
p data # => <AsyncResponse>
|
253
253
|
rescue AutosdeOpenapiClient::ApiError => e
|
254
254
|
puts "Error when calling HostVolumeConnectionApi->host_volume_connection_post_with_http_info: #{e}"
|
255
255
|
end
|
@@ -263,7 +263,7 @@ end
|
|
263
263
|
|
264
264
|
### Return type
|
265
265
|
|
266
|
-
[**
|
266
|
+
[**AsyncResponse**](AsyncResponse.md)
|
267
267
|
|
268
268
|
### Authorization
|
269
269
|
|
data/docs/Job.md
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
| **date_finished** | **Time** | date_finished | [optional] |
|
8
8
|
| **date_started** | **Time** | date_started | [optional] |
|
9
9
|
| **extra** | **String** | extra | [optional] |
|
10
|
+
| **result** | **String** | result | [optional] |
|
10
11
|
| **status** | **String** | status | [optional] |
|
11
12
|
| **task_args** | **String** | task_args | [optional] |
|
12
13
|
| **task_id** | **String** | task_id | [optional] |
|
@@ -22,6 +23,7 @@ instance = AutosdeOpenapiClient::Job.new(
|
|
22
23
|
date_finished: null,
|
23
24
|
date_started: null,
|
24
25
|
extra: null,
|
26
|
+
result: null,
|
25
27
|
status: null,
|
26
28
|
task_args: null,
|
27
29
|
task_id: null,
|
data/docs/ServiceApi.md
CHANGED
@@ -280,7 +280,7 @@ end
|
|
280
280
|
|
281
281
|
## services_post
|
282
282
|
|
283
|
-
> <
|
283
|
+
> <AsyncResponse> services_post(service_create)
|
284
284
|
|
285
285
|
|
286
286
|
|
@@ -311,7 +311,7 @@ end
|
|
311
311
|
|
312
312
|
This returns an Array which contains the response data, status code and headers.
|
313
313
|
|
314
|
-
> <Array(<
|
314
|
+
> <Array(<AsyncResponse>, Integer, Hash)> services_post_with_http_info(service_create)
|
315
315
|
|
316
316
|
```ruby
|
317
317
|
begin
|
@@ -319,7 +319,7 @@ begin
|
|
319
319
|
data, status_code, headers = api_instance.services_post_with_http_info(service_create)
|
320
320
|
p status_code # => 2xx
|
321
321
|
p headers # => { ... }
|
322
|
-
p data # => <
|
322
|
+
p data # => <AsyncResponse>
|
323
323
|
rescue AutosdeOpenapiClient::ApiError => e
|
324
324
|
puts "Error when calling ServiceApi->services_post_with_http_info: #{e}"
|
325
325
|
end
|
@@ -333,7 +333,7 @@ end
|
|
333
333
|
|
334
334
|
### Return type
|
335
335
|
|
336
|
-
[**
|
336
|
+
[**AsyncResponse**](AsyncResponse.md)
|
337
337
|
|
338
338
|
### Authorization
|
339
339
|
|
@@ -210,7 +210,7 @@ end
|
|
210
210
|
|
211
211
|
## service_resource_attachment_post
|
212
212
|
|
213
|
-
> <
|
213
|
+
> <AsyncResponse> service_resource_attachment_post(service_resource_attachment)
|
214
214
|
|
215
215
|
|
216
216
|
|
@@ -241,7 +241,7 @@ end
|
|
241
241
|
|
242
242
|
This returns an Array which contains the response data, status code and headers.
|
243
243
|
|
244
|
-
> <Array(<
|
244
|
+
> <Array(<AsyncResponse>, Integer, Hash)> service_resource_attachment_post_with_http_info(service_resource_attachment)
|
245
245
|
|
246
246
|
```ruby
|
247
247
|
begin
|
@@ -249,7 +249,7 @@ begin
|
|
249
249
|
data, status_code, headers = api_instance.service_resource_attachment_post_with_http_info(service_resource_attachment)
|
250
250
|
p status_code # => 2xx
|
251
251
|
p headers # => { ... }
|
252
|
-
p data # => <
|
252
|
+
p data # => <AsyncResponse>
|
253
253
|
rescue AutosdeOpenapiClient::ApiError => e
|
254
254
|
puts "Error when calling ServiceResourceAttachmentApi->service_resource_attachment_post_with_http_info: #{e}"
|
255
255
|
end
|
@@ -263,7 +263,7 @@ end
|
|
263
263
|
|
264
264
|
### Return type
|
265
265
|
|
266
|
-
[**
|
266
|
+
[**AsyncResponse**](AsyncResponse.md)
|
267
267
|
|
268
268
|
### Authorization
|
269
269
|
|
data/docs/SnapshotApi.md
CHANGED
@@ -210,7 +210,7 @@ end
|
|
210
210
|
|
211
211
|
## snapshots_post
|
212
212
|
|
213
|
-
> <
|
213
|
+
> <AsyncResponse> snapshots_post(snapshot_create)
|
214
214
|
|
215
215
|
|
216
216
|
|
@@ -241,7 +241,7 @@ end
|
|
241
241
|
|
242
242
|
This returns an Array which contains the response data, status code and headers.
|
243
243
|
|
244
|
-
> <Array(<
|
244
|
+
> <Array(<AsyncResponse>, Integer, Hash)> snapshots_post_with_http_info(snapshot_create)
|
245
245
|
|
246
246
|
```ruby
|
247
247
|
begin
|
@@ -249,7 +249,7 @@ begin
|
|
249
249
|
data, status_code, headers = api_instance.snapshots_post_with_http_info(snapshot_create)
|
250
250
|
p status_code # => 2xx
|
251
251
|
p headers # => { ... }
|
252
|
-
p data # => <
|
252
|
+
p data # => <AsyncResponse>
|
253
253
|
rescue AutosdeOpenapiClient::ApiError => e
|
254
254
|
puts "Error when calling SnapshotApi->snapshots_post_with_http_info: #{e}"
|
255
255
|
end
|
@@ -263,7 +263,7 @@ end
|
|
263
263
|
|
264
264
|
### Return type
|
265
265
|
|
266
|
-
[**
|
266
|
+
[**AsyncResponse**](AsyncResponse.md)
|
267
267
|
|
268
268
|
### Authorization
|
269
269
|
|
data/docs/StorageHostApi.md
CHANGED
@@ -280,7 +280,7 @@ end
|
|
280
280
|
|
281
281
|
## storage_hosts_post
|
282
282
|
|
283
|
-
> <
|
283
|
+
> <AsyncResponse> storage_hosts_post(storage_host_create)
|
284
284
|
|
285
285
|
|
286
286
|
|
@@ -311,7 +311,7 @@ end
|
|
311
311
|
|
312
312
|
This returns an Array which contains the response data, status code and headers.
|
313
313
|
|
314
|
-
> <Array(<
|
314
|
+
> <Array(<AsyncResponse>, Integer, Hash)> storage_hosts_post_with_http_info(storage_host_create)
|
315
315
|
|
316
316
|
```ruby
|
317
317
|
begin
|
@@ -319,7 +319,7 @@ begin
|
|
319
319
|
data, status_code, headers = api_instance.storage_hosts_post_with_http_info(storage_host_create)
|
320
320
|
p status_code # => 2xx
|
321
321
|
p headers # => { ... }
|
322
|
-
p data # => <
|
322
|
+
p data # => <AsyncResponse>
|
323
323
|
rescue AutosdeOpenapiClient::ApiError => e
|
324
324
|
puts "Error when calling StorageHostApi->storage_hosts_post_with_http_info: #{e}"
|
325
325
|
end
|
@@ -333,7 +333,7 @@ end
|
|
333
333
|
|
334
334
|
### Return type
|
335
335
|
|
336
|
-
[**
|
336
|
+
[**AsyncResponse**](AsyncResponse.md)
|
337
337
|
|
338
338
|
### Authorization
|
339
339
|
|
@@ -210,7 +210,7 @@ end
|
|
210
210
|
|
211
211
|
## storage_hosts_mapping_post
|
212
212
|
|
213
|
-
> <
|
213
|
+
> <AsyncResponse> storage_hosts_mapping_post(storage_hosts_mapping_create)
|
214
214
|
|
215
215
|
|
216
216
|
|
@@ -241,7 +241,7 @@ end
|
|
241
241
|
|
242
242
|
This returns an Array which contains the response data, status code and headers.
|
243
243
|
|
244
|
-
> <Array(<
|
244
|
+
> <Array(<AsyncResponse>, Integer, Hash)> storage_hosts_mapping_post_with_http_info(storage_hosts_mapping_create)
|
245
245
|
|
246
246
|
```ruby
|
247
247
|
begin
|
@@ -249,7 +249,7 @@ begin
|
|
249
249
|
data, status_code, headers = api_instance.storage_hosts_mapping_post_with_http_info(storage_hosts_mapping_create)
|
250
250
|
p status_code # => 2xx
|
251
251
|
p headers # => { ... }
|
252
|
-
p data # => <
|
252
|
+
p data # => <AsyncResponse>
|
253
253
|
rescue AutosdeOpenapiClient::ApiError => e
|
254
254
|
puts "Error when calling StorageHostsMappingApi->storage_hosts_mapping_post_with_http_info: #{e}"
|
255
255
|
end
|
@@ -263,7 +263,7 @@ end
|
|
263
263
|
|
264
264
|
### Return type
|
265
265
|
|
266
|
-
[**
|
266
|
+
[**AsyncResponse**](AsyncResponse.md)
|
267
267
|
|
268
268
|
### Authorization
|
269
269
|
|
data/docs/StorageResourceApi.md
CHANGED
@@ -211,7 +211,7 @@ end
|
|
211
211
|
|
212
212
|
## storage_resources_pk_put
|
213
213
|
|
214
|
-
> <AsyncResponse> storage_resources_pk_put(pk,
|
214
|
+
> <AsyncResponse> storage_resources_pk_put(pk, storage_resource_update)
|
215
215
|
|
216
216
|
|
217
217
|
|
@@ -228,11 +228,11 @@ end
|
|
228
228
|
|
229
229
|
api_instance = AutosdeOpenapiClient::StorageResourceApi.new
|
230
230
|
pk = 56 # Integer |
|
231
|
-
|
231
|
+
storage_resource_update = AutosdeOpenapiClient::StorageResourceUpdate.new # StorageResourceUpdate |
|
232
232
|
|
233
233
|
begin
|
234
234
|
|
235
|
-
result = api_instance.storage_resources_pk_put(pk,
|
235
|
+
result = api_instance.storage_resources_pk_put(pk, storage_resource_update)
|
236
236
|
p result
|
237
237
|
rescue AutosdeOpenapiClient::ApiError => e
|
238
238
|
puts "Error when calling StorageResourceApi->storage_resources_pk_put: #{e}"
|
@@ -243,12 +243,12 @@ end
|
|
243
243
|
|
244
244
|
This returns an Array which contains the response data, status code and headers.
|
245
245
|
|
246
|
-
> <Array(<AsyncResponse>, Integer, Hash)> storage_resources_pk_put_with_http_info(pk,
|
246
|
+
> <Array(<AsyncResponse>, Integer, Hash)> storage_resources_pk_put_with_http_info(pk, storage_resource_update)
|
247
247
|
|
248
248
|
```ruby
|
249
249
|
begin
|
250
250
|
|
251
|
-
data, status_code, headers = api_instance.storage_resources_pk_put_with_http_info(pk,
|
251
|
+
data, status_code, headers = api_instance.storage_resources_pk_put_with_http_info(pk, storage_resource_update)
|
252
252
|
p status_code # => 2xx
|
253
253
|
p headers # => { ... }
|
254
254
|
p data # => <AsyncResponse>
|
@@ -262,7 +262,7 @@ end
|
|
262
262
|
| Name | Type | Description | Notes |
|
263
263
|
| ---- | ---- | ----------- | ----- |
|
264
264
|
| **pk** | **Integer** | | |
|
265
|
-
| **
|
265
|
+
| **storage_resource_update** | [**StorageResourceUpdate**](StorageResourceUpdate.md) | | |
|
266
266
|
|
267
267
|
### Return type
|
268
268
|
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# AutosdeOpenapiClient::StorageResourceUpdate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **advanced_attributes_map** | **String** | advanced_attributes_map | [optional] |
|
8
|
+
| **name** | **String** | name | [optional][default to 'null'] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'autosde_openapi_client'
|
14
|
+
|
15
|
+
instance = AutosdeOpenapiClient::StorageResourceUpdate.new(
|
16
|
+
advanced_attributes_map: null,
|
17
|
+
name: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/StorageSystemApi.md
CHANGED
@@ -280,7 +280,7 @@ end
|
|
280
280
|
|
281
281
|
## storage_systems_post
|
282
282
|
|
283
|
-
> <
|
283
|
+
> <AsyncResponse> storage_systems_post(storage_system_create)
|
284
284
|
|
285
285
|
|
286
286
|
|
@@ -311,7 +311,7 @@ end
|
|
311
311
|
|
312
312
|
This returns an Array which contains the response data, status code and headers.
|
313
313
|
|
314
|
-
> <Array(<
|
314
|
+
> <Array(<AsyncResponse>, Integer, Hash)> storage_systems_post_with_http_info(storage_system_create)
|
315
315
|
|
316
316
|
```ruby
|
317
317
|
begin
|
@@ -319,7 +319,7 @@ begin
|
|
319
319
|
data, status_code, headers = api_instance.storage_systems_post_with_http_info(storage_system_create)
|
320
320
|
p status_code # => 2xx
|
321
321
|
p headers # => { ... }
|
322
|
-
p data # => <
|
322
|
+
p data # => <AsyncResponse>
|
323
323
|
rescue AutosdeOpenapiClient::ApiError => e
|
324
324
|
puts "Error when calling StorageSystemApi->storage_systems_post_with_http_info: #{e}"
|
325
325
|
end
|
@@ -333,7 +333,7 @@ end
|
|
333
333
|
|
334
334
|
### Return type
|
335
335
|
|
336
|
-
[**
|
336
|
+
[**AsyncResponse**](AsyncResponse.md)
|
337
337
|
|
338
338
|
### Authorization
|
339
339
|
|
data/docs/SystemTypeApi.md
CHANGED
@@ -210,7 +210,7 @@ end
|
|
210
210
|
|
211
211
|
## system_types_post
|
212
212
|
|
213
|
-
> <
|
213
|
+
> <AsyncResponse> system_types_post(system_type_create)
|
214
214
|
|
215
215
|
|
216
216
|
|
@@ -241,7 +241,7 @@ end
|
|
241
241
|
|
242
242
|
This returns an Array which contains the response data, status code and headers.
|
243
243
|
|
244
|
-
> <Array(<
|
244
|
+
> <Array(<AsyncResponse>, Integer, Hash)> system_types_post_with_http_info(system_type_create)
|
245
245
|
|
246
246
|
```ruby
|
247
247
|
begin
|
@@ -249,7 +249,7 @@ begin
|
|
249
249
|
data, status_code, headers = api_instance.system_types_post_with_http_info(system_type_create)
|
250
250
|
p status_code # => 2xx
|
251
251
|
p headers # => { ... }
|
252
|
-
p data # => <
|
252
|
+
p data # => <AsyncResponse>
|
253
253
|
rescue AutosdeOpenapiClient::ApiError => e
|
254
254
|
puts "Error when calling SystemTypeApi->system_types_post_with_http_info: #{e}"
|
255
255
|
end
|
@@ -263,7 +263,7 @@ end
|
|
263
263
|
|
264
264
|
### Return type
|
265
265
|
|
266
|
-
[**
|
266
|
+
[**AsyncResponse**](AsyncResponse.md)
|
267
267
|
|
268
268
|
### Authorization
|
269
269
|
|
data/docs/VolumeApi.md
CHANGED
@@ -280,7 +280,7 @@ end
|
|
280
280
|
|
281
281
|
## volumes_post
|
282
282
|
|
283
|
-
> <
|
283
|
+
> <AsyncResponse> volumes_post(volume_create)
|
284
284
|
|
285
285
|
|
286
286
|
|
@@ -311,7 +311,7 @@ end
|
|
311
311
|
|
312
312
|
This returns an Array which contains the response data, status code and headers.
|
313
313
|
|
314
|
-
> <Array(<
|
314
|
+
> <Array(<AsyncResponse>, Integer, Hash)> volumes_post_with_http_info(volume_create)
|
315
315
|
|
316
316
|
```ruby
|
317
317
|
begin
|
@@ -319,7 +319,7 @@ begin
|
|
319
319
|
data, status_code, headers = api_instance.volumes_post_with_http_info(volume_create)
|
320
320
|
p status_code # => 2xx
|
321
321
|
p headers # => { ... }
|
322
|
-
p data # => <
|
322
|
+
p data # => <AsyncResponse>
|
323
323
|
rescue AutosdeOpenapiClient::ApiError => e
|
324
324
|
puts "Error when calling VolumeApi->volumes_post_with_http_info: #{e}"
|
325
325
|
end
|
@@ -333,7 +333,7 @@ end
|
|
333
333
|
|
334
334
|
### Return type
|
335
335
|
|
336
|
-
[**
|
336
|
+
[**AsyncResponse**](AsyncResponse.md)
|
337
337
|
|
338
338
|
### Authorization
|
339
339
|
|
@@ -192,7 +192,7 @@ module AutosdeOpenapiClient
|
|
192
192
|
|
193
193
|
# @param address_create [AddressCreate]
|
194
194
|
# @param [Hash] opts the optional parameters
|
195
|
-
# @return [
|
195
|
+
# @return [AsyncResponse]
|
196
196
|
def addresses_post(address_create, opts = {})
|
197
197
|
data, _status_code, _headers = addresses_post_with_http_info(address_create, opts)
|
198
198
|
data
|
@@ -200,7 +200,7 @@ module AutosdeOpenapiClient
|
|
200
200
|
|
201
201
|
# @param address_create [AddressCreate]
|
202
202
|
# @param [Hash] opts the optional parameters
|
203
|
-
# @return [Array<(
|
203
|
+
# @return [Array<(AsyncResponse, Integer, Hash)>] AsyncResponse data, response status code and response headers
|
204
204
|
def addresses_post_with_http_info(address_create, opts = {})
|
205
205
|
if @api_client.config.debugging
|
206
206
|
@api_client.config.logger.debug 'Calling API: AddressApi.addresses_post ...'
|
@@ -229,7 +229,7 @@ module AutosdeOpenapiClient
|
|
229
229
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(address_create)
|
230
230
|
|
231
231
|
# return_type
|
232
|
-
return_type = opts[:debug_return_type] || '
|
232
|
+
return_type = opts[:debug_return_type] || 'AsyncResponse'
|
233
233
|
|
234
234
|
# auth_names
|
235
235
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
@@ -192,7 +192,7 @@ module AutosdeOpenapiClient
|
|
192
192
|
|
193
193
|
# @param event [Event]
|
194
194
|
# @param [Hash] opts the optional parameters
|
195
|
-
# @return [
|
195
|
+
# @return [AsyncResponse]
|
196
196
|
def events_post(event, opts = {})
|
197
197
|
data, _status_code, _headers = events_post_with_http_info(event, opts)
|
198
198
|
data
|
@@ -200,7 +200,7 @@ module AutosdeOpenapiClient
|
|
200
200
|
|
201
201
|
# @param event [Event]
|
202
202
|
# @param [Hash] opts the optional parameters
|
203
|
-
# @return [Array<(
|
203
|
+
# @return [Array<(AsyncResponse, Integer, Hash)>] AsyncResponse data, response status code and response headers
|
204
204
|
def events_post_with_http_info(event, opts = {})
|
205
205
|
if @api_client.config.debugging
|
206
206
|
@api_client.config.logger.debug 'Calling API: EventApi.events_post ...'
|
@@ -229,7 +229,7 @@ module AutosdeOpenapiClient
|
|
229
229
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(event)
|
230
230
|
|
231
231
|
# return_type
|
232
|
-
return_type = opts[:debug_return_type] || '
|
232
|
+
return_type = opts[:debug_return_type] || 'AsyncResponse'
|
233
233
|
|
234
234
|
# auth_names
|
235
235
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
@@ -192,7 +192,7 @@ module AutosdeOpenapiClient
|
|
192
192
|
|
193
193
|
# @param host_create [HostCreate]
|
194
194
|
# @param [Hash] opts the optional parameters
|
195
|
-
# @return [
|
195
|
+
# @return [AsyncResponse]
|
196
196
|
def hosts_post(host_create, opts = {})
|
197
197
|
data, _status_code, _headers = hosts_post_with_http_info(host_create, opts)
|
198
198
|
data
|
@@ -200,7 +200,7 @@ module AutosdeOpenapiClient
|
|
200
200
|
|
201
201
|
# @param host_create [HostCreate]
|
202
202
|
# @param [Hash] opts the optional parameters
|
203
|
-
# @return [Array<(
|
203
|
+
# @return [Array<(AsyncResponse, Integer, Hash)>] AsyncResponse data, response status code and response headers
|
204
204
|
def hosts_post_with_http_info(host_create, opts = {})
|
205
205
|
if @api_client.config.debugging
|
206
206
|
@api_client.config.logger.debug 'Calling API: HostApi.hosts_post ...'
|
@@ -229,7 +229,7 @@ module AutosdeOpenapiClient
|
|
229
229
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(host_create)
|
230
230
|
|
231
231
|
# return_type
|
232
|
-
return_type = opts[:debug_return_type] || '
|
232
|
+
return_type = opts[:debug_return_type] || 'AsyncResponse'
|
233
233
|
|
234
234
|
# auth_names
|
235
235
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|