autosde_openapi_client 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +0 -6
- data/docs/HostClusterApi.md +4 -4
- data/lib/autosde_openapi_client/api/host_cluster_api.rb +3 -3
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/lib/autosde_openapi_client.rb +0 -3
- data/spec/api/host_cluster_api_spec.rb +1 -1
- metadata +80 -92
- data/docs/VolumeSafeDelete.md +0 -22
- data/docs/VolumeSafeDeleteApi.md +0 -276
- data/docs/VolumeSafeDeleteCreate.md +0 -18
- data/lib/autosde_openapi_client/api/volume_safe_delete_api.rb +0 -254
- data/lib/autosde_openapi_client/models/volume_safe_delete.rb +0 -239
- data/lib/autosde_openapi_client/models/volume_safe_delete_create.rb +0 -219
- data/spec/api/volume_safe_delete_api_spec.rb +0 -74
- data/spec/models/volume_safe_delete_create_spec.rb +0 -34
- data/spec/models/volume_safe_delete_spec.rb +0 -46
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f856b8d8f6cb217fdd8590fde9dfe4b9433bb9ce9a333be3adddf0bc805bb280
|
4
|
+
data.tar.gz: 9ed329cecfc6b86e4b542e38376ccc2b10baf80afb9b61b6e123c34c8aa9a0dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 734a25358cb0d966d77e936fa9aa4f83199f1760da24b3bb694c24c843799d17885fe1d21ce6dc2690d9ba61a32f4c7e724fbb69cd0174280767ea58cc978a0c
|
7
|
+
data.tar.gz: be387f66c20e53f1be93a83108a04bc62734ef187af3ef09c18ea6579e02d1ccf93e3917540738d77e8e29d1fb3035231c143977f7adf09dc26cf45902c4b2c9
|
data/README.md
CHANGED
@@ -200,10 +200,6 @@ Class | Method | HTTP request | Description
|
|
200
200
|
*AutosdeOpenapiClient::VolumeApi* | [**volumes_pk_get**](docs/VolumeApi.md#volumes_pk_get) | **GET** /volumes/{pk} |
|
201
201
|
*AutosdeOpenapiClient::VolumeApi* | [**volumes_pk_put**](docs/VolumeApi.md#volumes_pk_put) | **PUT** /volumes/{pk} |
|
202
202
|
*AutosdeOpenapiClient::VolumeApi* | [**volumes_post**](docs/VolumeApi.md#volumes_post) | **POST** /volumes |
|
203
|
-
*AutosdeOpenapiClient::VolumeSafeDeleteApi* | [**safe_deletes_get**](docs/VolumeSafeDeleteApi.md#safe_deletes_get) | **GET** /safe-deletes |
|
204
|
-
*AutosdeOpenapiClient::VolumeSafeDeleteApi* | [**safe_deletes_pk_delete**](docs/VolumeSafeDeleteApi.md#safe_deletes_pk_delete) | **DELETE** /safe-deletes/{pk} |
|
205
|
-
*AutosdeOpenapiClient::VolumeSafeDeleteApi* | [**safe_deletes_pk_get**](docs/VolumeSafeDeleteApi.md#safe_deletes_pk_get) | **GET** /safe-deletes/{pk} |
|
206
|
-
*AutosdeOpenapiClient::VolumeSafeDeleteApi* | [**safe_deletes_post**](docs/VolumeSafeDeleteApi.md#safe_deletes_post) | **POST** /safe-deletes |
|
207
203
|
|
208
204
|
|
209
205
|
## Documentation for Models
|
@@ -274,8 +270,6 @@ Class | Method | HTTP request | Description
|
|
274
270
|
- [AutosdeOpenapiClient::Volume](docs/Volume.md)
|
275
271
|
- [AutosdeOpenapiClient::VolumeCreate](docs/VolumeCreate.md)
|
276
272
|
- [AutosdeOpenapiClient::VolumeResponse](docs/VolumeResponse.md)
|
277
|
-
- [AutosdeOpenapiClient::VolumeSafeDelete](docs/VolumeSafeDelete.md)
|
278
|
-
- [AutosdeOpenapiClient::VolumeSafeDeleteCreate](docs/VolumeSafeDeleteCreate.md)
|
279
273
|
- [AutosdeOpenapiClient::VolumeUpdate](docs/VolumeUpdate.md)
|
280
274
|
|
281
275
|
|
data/docs/HostClusterApi.md
CHANGED
@@ -210,7 +210,7 @@ end
|
|
210
210
|
|
211
211
|
## host_clusters_post
|
212
212
|
|
213
|
-
> <
|
213
|
+
> <AsyncResponse> host_clusters_post(host_cluster_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_clusters_post_with_http_info(host_cluster_create)
|
245
245
|
|
246
246
|
```ruby
|
247
247
|
begin
|
@@ -249,7 +249,7 @@ begin
|
|
249
249
|
data, status_code, headers = api_instance.host_clusters_post_with_http_info(host_cluster_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 HostClusterApi->host_clusters_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
|
|
@@ -192,7 +192,7 @@ module AutosdeOpenapiClient
|
|
192
192
|
|
193
193
|
# @param host_cluster_create [HostClusterCreate]
|
194
194
|
# @param [Hash] opts the optional parameters
|
195
|
-
# @return [
|
195
|
+
# @return [AsyncResponse]
|
196
196
|
def host_clusters_post(host_cluster_create, opts = {})
|
197
197
|
data, _status_code, _headers = host_clusters_post_with_http_info(host_cluster_create, opts)
|
198
198
|
data
|
@@ -200,7 +200,7 @@ module AutosdeOpenapiClient
|
|
200
200
|
|
201
201
|
# @param host_cluster_create [HostClusterCreate]
|
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 host_clusters_post_with_http_info(host_cluster_create, opts = {})
|
205
205
|
if @api_client.config.debugging
|
206
206
|
@api_client.config.logger.debug 'Calling API: HostClusterApi.host_clusters_post ...'
|
@@ -229,7 +229,7 @@ module AutosdeOpenapiClient
|
|
229
229
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(host_cluster_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']
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Site Manager API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2.0.
|
6
|
+
The version of the OpenAPI document: 2.0.4
|
7
7
|
Contact: autosde@il.ibm.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.0
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.0.0
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module AutosdeOpenapiClient
|
14
|
-
VERSION = '2.0.
|
14
|
+
VERSION = '2.0.4'
|
15
15
|
end
|
@@ -83,8 +83,6 @@ require 'autosde_openapi_client/models/validate_system'
|
|
83
83
|
require 'autosde_openapi_client/models/volume'
|
84
84
|
require 'autosde_openapi_client/models/volume_create'
|
85
85
|
require 'autosde_openapi_client/models/volume_response'
|
86
|
-
require 'autosde_openapi_client/models/volume_safe_delete'
|
87
|
-
require 'autosde_openapi_client/models/volume_safe_delete_create'
|
88
86
|
require 'autosde_openapi_client/models/volume_update'
|
89
87
|
|
90
88
|
# APIs
|
@@ -120,7 +118,6 @@ require 'autosde_openapi_client/api/system_type_api'
|
|
120
118
|
require 'autosde_openapi_client/api/user_api'
|
121
119
|
require 'autosde_openapi_client/api/validate_system_api'
|
122
120
|
require 'autosde_openapi_client/api/volume_api'
|
123
|
-
require 'autosde_openapi_client/api/volume_safe_delete_api'
|
124
121
|
|
125
122
|
module AutosdeOpenapiClient
|
126
123
|
class << self
|
@@ -64,7 +64,7 @@ describe 'HostClusterApi' do
|
|
64
64
|
# unit tests for host_clusters_post
|
65
65
|
# @param host_cluster_create
|
66
66
|
# @param [Hash] opts the optional parameters
|
67
|
-
# @return [
|
67
|
+
# @return [AsyncResponse]
|
68
68
|
describe 'host_clusters_post test' do
|
69
69
|
it 'should work' do
|
70
70
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autosde_openapi_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -160,9 +160,6 @@ files:
|
|
160
160
|
- docs/VolumeApi.md
|
161
161
|
- docs/VolumeCreate.md
|
162
162
|
- docs/VolumeResponse.md
|
163
|
-
- docs/VolumeSafeDelete.md
|
164
|
-
- docs/VolumeSafeDeleteApi.md
|
165
|
-
- docs/VolumeSafeDeleteCreate.md
|
166
163
|
- docs/VolumeUpdate.md
|
167
164
|
- git_push.sh
|
168
165
|
- lib/autosde_openapi_client.rb
|
@@ -198,7 +195,6 @@ files:
|
|
198
195
|
- lib/autosde_openapi_client/api/user_api.rb
|
199
196
|
- lib/autosde_openapi_client/api/validate_system_api.rb
|
200
197
|
- lib/autosde_openapi_client/api/volume_api.rb
|
201
|
-
- lib/autosde_openapi_client/api/volume_safe_delete_api.rb
|
202
198
|
- lib/autosde_openapi_client/api_client.rb
|
203
199
|
- lib/autosde_openapi_client/api_error.rb
|
204
200
|
- lib/autosde_openapi_client/configuration.rb
|
@@ -268,8 +264,6 @@ files:
|
|
268
264
|
- lib/autosde_openapi_client/models/volume.rb
|
269
265
|
- lib/autosde_openapi_client/models/volume_create.rb
|
270
266
|
- lib/autosde_openapi_client/models/volume_response.rb
|
271
|
-
- lib/autosde_openapi_client/models/volume_safe_delete.rb
|
272
|
-
- lib/autosde_openapi_client/models/volume_safe_delete_create.rb
|
273
267
|
- lib/autosde_openapi_client/models/volume_update.rb
|
274
268
|
- lib/autosde_openapi_client/version.rb
|
275
269
|
- spec/api/abstract_capability_api_spec.rb
|
@@ -304,7 +298,6 @@ files:
|
|
304
298
|
- spec/api/user_api_spec.rb
|
305
299
|
- spec/api/validate_system_api_spec.rb
|
306
300
|
- spec/api/volume_api_spec.rb
|
307
|
-
- spec/api/volume_safe_delete_api_spec.rb
|
308
301
|
- spec/api_client_spec.rb
|
309
302
|
- spec/configuration_spec.rb
|
310
303
|
- spec/models/abstract_capability_response_spec.rb
|
@@ -372,8 +365,6 @@ files:
|
|
372
365
|
- spec/models/validate_system_spec.rb
|
373
366
|
- spec/models/volume_create_spec.rb
|
374
367
|
- spec/models/volume_response_spec.rb
|
375
|
-
- spec/models/volume_safe_delete_create_spec.rb
|
376
|
-
- spec/models/volume_safe_delete_spec.rb
|
377
368
|
- spec/models/volume_spec.rb
|
378
369
|
- spec/models/volume_update_spec.rb
|
379
370
|
- spec/spec_helper.rb
|
@@ -401,108 +392,105 @@ signing_key:
|
|
401
392
|
specification_version: 4
|
402
393
|
summary: Site Manager API Ruby Gem
|
403
394
|
test_files:
|
404
|
-
- spec/api/storage_resource_api_spec.rb
|
405
|
-
- spec/api/host_cluster_membership_api_spec.rb
|
406
|
-
- spec/api/native_capability_api_spec.rb
|
407
395
|
- spec/api/host_volume_connection_api_spec.rb
|
408
|
-
- spec/api/refresh_system_api_spec.rb
|
409
|
-
- spec/api/service_abstract_capability_value_api_spec.rb
|
410
|
-
- spec/api/job_api_spec.rb
|
411
|
-
- spec/api/host_cluster_api_spec.rb
|
412
|
-
- spec/api/profile_api_spec.rb
|
413
|
-
- spec/api/snapshot_api_spec.rb
|
414
|
-
- spec/api/storage_host_api_spec.rb
|
415
|
-
- spec/api/event_api_spec.rb
|
416
|
-
- spec/api/auto_sde_project_api_spec.rb
|
417
|
-
- spec/api/account_api_spec.rb
|
418
|
-
- spec/api/address_api_spec.rb
|
419
|
-
- spec/api/validate_system_api_spec.rb
|
420
396
|
- spec/api/authentication_api_spec.rb
|
397
|
+
- spec/api/address_api_spec.rb
|
398
|
+
- spec/api/host_cluster_api_spec.rb
|
421
399
|
- spec/api/host_api_spec.rb
|
422
|
-
- spec/api/volume_api_spec.rb
|
423
|
-
- spec/api/storage_system_api_spec.rb
|
424
|
-
- spec/api/user_api_spec.rb
|
425
|
-
- spec/api/system_type_api_spec.rb
|
426
|
-
- spec/api/capability_translation_api_spec.rb
|
427
|
-
- spec/api/storage_host_wwpn_candidates_api_spec.rb
|
428
|
-
- spec/api/volume_safe_delete_api_spec.rb
|
429
400
|
- spec/api/host_cluster_volume_mapping_api_spec.rb
|
430
|
-
- spec/api/auto_sde_role_api_spec.rb
|
431
|
-
- spec/api/abstract_capability_api_spec.rb
|
432
|
-
- spec/api/celery_config_api_spec.rb
|
433
401
|
- spec/api/provisioning_strategy_api_spec.rb
|
434
|
-
- spec/api/
|
402
|
+
- spec/api/host_cluster_membership_api_spec.rb
|
403
|
+
- spec/api/capability_translation_api_spec.rb
|
404
|
+
- spec/api/service_abstract_capability_value_api_spec.rb
|
435
405
|
- spec/api/service_api_spec.rb
|
406
|
+
- spec/api/auto_sde_role_api_spec.rb
|
436
407
|
- spec/api/service_resource_attachment_api_spec.rb
|
408
|
+
- spec/api/storage_host_wwpn_candidates_api_spec.rb
|
409
|
+
- spec/api/celery_config_api_spec.rb
|
410
|
+
- spec/api/system_type_api_spec.rb
|
411
|
+
- spec/api/refresh_system_api_spec.rb
|
412
|
+
- spec/api/storage_resource_api_spec.rb
|
413
|
+
- spec/api/job_api_spec.rb
|
414
|
+
- spec/api/storage_hosts_mapping_api_spec.rb
|
415
|
+
- spec/api/validate_system_api_spec.rb
|
416
|
+
- spec/api/account_api_spec.rb
|
417
|
+
- spec/api/native_capability_api_spec.rb
|
418
|
+
- spec/api/event_api_spec.rb
|
419
|
+
- spec/api/auto_sde_project_api_spec.rb
|
420
|
+
- spec/api/snapshot_api_spec.rb
|
421
|
+
- spec/api/storage_host_api_spec.rb
|
422
|
+
- spec/api/abstract_capability_api_spec.rb
|
423
|
+
- spec/api/user_api_spec.rb
|
424
|
+
- spec/api/volume_api_spec.rb
|
425
|
+
- spec/api/profile_api_spec.rb
|
426
|
+
- spec/api/storage_system_api_spec.rb
|
437
427
|
- spec/api_client_spec.rb
|
438
428
|
- spec/configuration_spec.rb
|
439
|
-
- spec/models/service_spec.rb
|
440
|
-
- spec/models/storage_hosts_mapping_response_spec.rb
|
441
|
-
- spec/models/account_spec.rb
|
442
|
-
- spec/models/service_create_spec.rb
|
443
|
-
- spec/models/host_volume_connection_spec.rb
|
444
|
-
- spec/models/snapshot_create_spec.rb
|
445
|
-
- spec/models/auto_sde_role_spec.rb
|
446
|
-
- spec/models/storage_host_create_spec.rb
|
447
|
-
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
448
429
|
- spec/models/system_type_create_spec.rb
|
449
|
-
- spec/models/storage_hosts_mapping_create_spec.rb
|
450
|
-
- spec/models/auth_response_spec.rb
|
451
|
-
- spec/models/capability_translation_spec.rb
|
452
|
-
- spec/models/service_abstract_capability_value_spec.rb
|
453
|
-
- spec/models/volume_response_spec.rb
|
454
430
|
- spec/models/event_response_spec.rb
|
455
|
-
- spec/models/
|
456
|
-
- spec/models/
|
457
|
-
- spec/models/native_capability_spec.rb
|
458
|
-
- spec/models/volume_create_spec.rb
|
459
|
-
- spec/models/snapshot_spec.rb
|
460
|
-
- spec/models/account_post_response_spec.rb
|
461
|
-
- spec/models/host_cluster_spec.rb
|
431
|
+
- spec/models/volume_response_spec.rb
|
432
|
+
- spec/models/volume_spec.rb
|
462
433
|
- spec/models/refresh_system_spec.rb
|
463
|
-
- spec/models/
|
464
|
-
- spec/models/
|
465
|
-
- spec/models/
|
434
|
+
- spec/models/async_response_spec.rb
|
435
|
+
- spec/models/auto_sde_project_spec.rb
|
436
|
+
- spec/models/host_cluster_response_spec.rb
|
437
|
+
- spec/models/capability_translation_spec.rb
|
438
|
+
- spec/models/auto_sde_role_spec.rb
|
466
439
|
- spec/models/event_spec.rb
|
440
|
+
- spec/models/address_create_spec.rb
|
441
|
+
- spec/models/auth_response_spec.rb
|
442
|
+
- spec/models/host_volume_connection_spec.rb
|
443
|
+
- spec/models/host_spec.rb
|
444
|
+
- spec/models/storage_resource_response_spec.rb
|
467
445
|
- spec/models/abstract_capability_response_spec.rb
|
468
|
-
- spec/models/
|
469
|
-
- spec/models/
|
446
|
+
- spec/models/storage_resource_update_spec.rb
|
447
|
+
- spec/models/service_abstract_capability_value_response_spec.rb
|
448
|
+
- spec/models/service_spec.rb
|
449
|
+
- spec/models/storage_hosts_mapping_response_spec.rb
|
450
|
+
- spec/models/snapshot_spec.rb
|
451
|
+
- spec/models/host_cluster_volume_mapping_spec.rb
|
452
|
+
- spec/models/job_create_spec.rb
|
453
|
+
- spec/models/service_create_spec.rb
|
454
|
+
- spec/models/validate_system_spec.rb
|
455
|
+
- spec/models/celery_config_spec.rb
|
456
|
+
- spec/models/storage_hosts_mapping_create_spec.rb
|
470
457
|
- spec/models/storage_system_response_spec.rb
|
471
|
-
- spec/models/
|
458
|
+
- spec/models/storage_system_spec.rb
|
459
|
+
- spec/models/account_post_response_spec.rb
|
472
460
|
- spec/models/storage_host_update_spec.rb
|
473
461
|
- spec/models/user_spec.rb
|
474
|
-
- spec/models/
|
475
|
-
- spec/models/
|
476
|
-
- spec/models/storage_resource_update_spec.rb
|
477
|
-
- spec/models/host_cluster_membership_spec.rb
|
478
|
-
- spec/models/volume_spec.rb
|
479
|
-
- spec/models/storage_host_wwpn_candidates_spec.rb
|
480
|
-
- spec/models/abstract_capability_spec.rb
|
481
|
-
- spec/models/user_create_spec.rb
|
482
|
-
- spec/models/validate_system_spec.rb
|
483
|
-
- spec/models/storage_system_update_spec.rb
|
484
|
-
- spec/models/volume_safe_delete_spec.rb
|
485
|
-
- spec/models/storage_resource_create_spec.rb
|
462
|
+
- spec/models/storage_host_spec.rb
|
463
|
+
- spec/models/volume_update_spec.rb
|
486
464
|
- spec/models/job_spec.rb
|
487
|
-
- spec/models/volume_safe_delete_create_spec.rb
|
488
|
-
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
489
465
|
- spec/models/storage_system_create_spec.rb
|
490
|
-
- spec/models/
|
466
|
+
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
467
|
+
- spec/models/account_post_request_spec.rb
|
491
468
|
- spec/models/host_volume_connection_create_spec.rb
|
492
|
-
- spec/models/
|
493
|
-
- spec/models/
|
494
|
-
- spec/models/
|
495
|
-
- spec/models/
|
496
|
-
- spec/models/
|
497
|
-
- spec/models/
|
498
|
-
- spec/models/
|
499
|
-
- spec/models/
|
500
|
-
- spec/models/
|
501
|
-
- spec/models/
|
469
|
+
- spec/models/profile_spec.rb
|
470
|
+
- spec/models/storage_host_wwpn_candidates_spec.rb
|
471
|
+
- spec/models/abstract_capability_spec.rb
|
472
|
+
- spec/models/storage_hosts_mapping_spec.rb
|
473
|
+
- spec/models/host_cluster_membership_spec.rb
|
474
|
+
- spec/models/authentication_spec.rb
|
475
|
+
- spec/models/address_spec.rb
|
476
|
+
- spec/models/service_abstract_capability_value_spec.rb
|
477
|
+
- spec/models/snapshot_create_spec.rb
|
478
|
+
- spec/models/storage_resource_spec.rb
|
502
479
|
- spec/models/system_type_spec.rb
|
480
|
+
- spec/models/host_cluster_spec.rb
|
503
481
|
- spec/models/host_create_spec.rb
|
504
|
-
- spec/models/
|
505
|
-
- spec/models/
|
482
|
+
- spec/models/host_cluster_create_spec.rb
|
483
|
+
- spec/models/storage_host_create_spec.rb
|
484
|
+
- spec/models/storage_system_update_spec.rb
|
506
485
|
- spec/models/capability_translation_create_spec.rb
|
507
|
-
- spec/models/
|
486
|
+
- spec/models/native_capability_spec.rb
|
487
|
+
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
488
|
+
- spec/models/volume_create_spec.rb
|
489
|
+
- spec/models/user_update_spec.rb
|
490
|
+
- spec/models/user_create_spec.rb
|
491
|
+
- spec/models/provisioning_strategy_spec.rb
|
492
|
+
- spec/models/storage_host_response_spec.rb
|
493
|
+
- spec/models/service_resource_attachment_spec.rb
|
494
|
+
- spec/models/storage_resource_create_spec.rb
|
495
|
+
- spec/models/account_spec.rb
|
508
496
|
- spec/spec_helper.rb
|
data/docs/VolumeSafeDelete.md
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
# AutosdeOpenapiClient::VolumeSafeDelete
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **task_id** | **String** | task_id | [optional] |
|
8
|
-
| **uuid** | **String** | uuid | [optional] |
|
9
|
-
| **volume** | [**Volume**](Volume.md) | | [optional] |
|
10
|
-
|
11
|
-
## Example
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
require 'autosde_openapi_client'
|
15
|
-
|
16
|
-
instance = AutosdeOpenapiClient::VolumeSafeDelete.new(
|
17
|
-
task_id: null,
|
18
|
-
uuid: null,
|
19
|
-
volume: null
|
20
|
-
)
|
21
|
-
```
|
22
|
-
|
data/docs/VolumeSafeDeleteApi.md
DELETED
@@ -1,276 +0,0 @@
|
|
1
|
-
# AutosdeOpenapiClient::VolumeSafeDeleteApi
|
2
|
-
|
3
|
-
All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
4
|
-
|
5
|
-
| Method | HTTP request | Description |
|
6
|
-
| ------ | ------------ | ----------- |
|
7
|
-
| [**safe_deletes_get**](VolumeSafeDeleteApi.md#safe_deletes_get) | **GET** /safe-deletes | |
|
8
|
-
| [**safe_deletes_pk_delete**](VolumeSafeDeleteApi.md#safe_deletes_pk_delete) | **DELETE** /safe-deletes/{pk} | |
|
9
|
-
| [**safe_deletes_pk_get**](VolumeSafeDeleteApi.md#safe_deletes_pk_get) | **GET** /safe-deletes/{pk} | |
|
10
|
-
| [**safe_deletes_post**](VolumeSafeDeleteApi.md#safe_deletes_post) | **POST** /safe-deletes | |
|
11
|
-
|
12
|
-
|
13
|
-
## safe_deletes_get
|
14
|
-
|
15
|
-
> <Array<VolumeSafeDelete>> safe_deletes_get
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
### Examples
|
20
|
-
|
21
|
-
```ruby
|
22
|
-
require 'time'
|
23
|
-
require 'autosde_openapi_client'
|
24
|
-
# setup authorization
|
25
|
-
AutosdeOpenapiClient.configure do |config|
|
26
|
-
# Configure Bearer authorization: bearerAuth
|
27
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
28
|
-
end
|
29
|
-
|
30
|
-
api_instance = AutosdeOpenapiClient::VolumeSafeDeleteApi.new
|
31
|
-
|
32
|
-
begin
|
33
|
-
|
34
|
-
result = api_instance.safe_deletes_get
|
35
|
-
p result
|
36
|
-
rescue AutosdeOpenapiClient::ApiError => e
|
37
|
-
puts "Error when calling VolumeSafeDeleteApi->safe_deletes_get: #{e}"
|
38
|
-
end
|
39
|
-
```
|
40
|
-
|
41
|
-
#### Using the safe_deletes_get_with_http_info variant
|
42
|
-
|
43
|
-
This returns an Array which contains the response data, status code and headers.
|
44
|
-
|
45
|
-
> <Array(<Array<VolumeSafeDelete>>, Integer, Hash)> safe_deletes_get_with_http_info
|
46
|
-
|
47
|
-
```ruby
|
48
|
-
begin
|
49
|
-
|
50
|
-
data, status_code, headers = api_instance.safe_deletes_get_with_http_info
|
51
|
-
p status_code # => 2xx
|
52
|
-
p headers # => { ... }
|
53
|
-
p data # => <Array<VolumeSafeDelete>>
|
54
|
-
rescue AutosdeOpenapiClient::ApiError => e
|
55
|
-
puts "Error when calling VolumeSafeDeleteApi->safe_deletes_get_with_http_info: #{e}"
|
56
|
-
end
|
57
|
-
```
|
58
|
-
|
59
|
-
### Parameters
|
60
|
-
|
61
|
-
This endpoint does not need any parameter.
|
62
|
-
|
63
|
-
### Return type
|
64
|
-
|
65
|
-
[**Array<VolumeSafeDelete>**](VolumeSafeDelete.md)
|
66
|
-
|
67
|
-
### Authorization
|
68
|
-
|
69
|
-
[bearerAuth](../README.md#bearerAuth)
|
70
|
-
|
71
|
-
### HTTP request headers
|
72
|
-
|
73
|
-
- **Content-Type**: Not defined
|
74
|
-
- **Accept**: */*
|
75
|
-
|
76
|
-
|
77
|
-
## safe_deletes_pk_delete
|
78
|
-
|
79
|
-
> <VolumeSafeDelete> safe_deletes_pk_delete(pk)
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
### Examples
|
84
|
-
|
85
|
-
```ruby
|
86
|
-
require 'time'
|
87
|
-
require 'autosde_openapi_client'
|
88
|
-
# setup authorization
|
89
|
-
AutosdeOpenapiClient.configure do |config|
|
90
|
-
# Configure Bearer authorization: bearerAuth
|
91
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
92
|
-
end
|
93
|
-
|
94
|
-
api_instance = AutosdeOpenapiClient::VolumeSafeDeleteApi.new
|
95
|
-
pk = 56 # Integer |
|
96
|
-
|
97
|
-
begin
|
98
|
-
|
99
|
-
result = api_instance.safe_deletes_pk_delete(pk)
|
100
|
-
p result
|
101
|
-
rescue AutosdeOpenapiClient::ApiError => e
|
102
|
-
puts "Error when calling VolumeSafeDeleteApi->safe_deletes_pk_delete: #{e}"
|
103
|
-
end
|
104
|
-
```
|
105
|
-
|
106
|
-
#### Using the safe_deletes_pk_delete_with_http_info variant
|
107
|
-
|
108
|
-
This returns an Array which contains the response data, status code and headers.
|
109
|
-
|
110
|
-
> <Array(<VolumeSafeDelete>, Integer, Hash)> safe_deletes_pk_delete_with_http_info(pk)
|
111
|
-
|
112
|
-
```ruby
|
113
|
-
begin
|
114
|
-
|
115
|
-
data, status_code, headers = api_instance.safe_deletes_pk_delete_with_http_info(pk)
|
116
|
-
p status_code # => 2xx
|
117
|
-
p headers # => { ... }
|
118
|
-
p data # => <VolumeSafeDelete>
|
119
|
-
rescue AutosdeOpenapiClient::ApiError => e
|
120
|
-
puts "Error when calling VolumeSafeDeleteApi->safe_deletes_pk_delete_with_http_info: #{e}"
|
121
|
-
end
|
122
|
-
```
|
123
|
-
|
124
|
-
### Parameters
|
125
|
-
|
126
|
-
| Name | Type | Description | Notes |
|
127
|
-
| ---- | ---- | ----------- | ----- |
|
128
|
-
| **pk** | **Integer** | | |
|
129
|
-
|
130
|
-
### Return type
|
131
|
-
|
132
|
-
[**VolumeSafeDelete**](VolumeSafeDelete.md)
|
133
|
-
|
134
|
-
### Authorization
|
135
|
-
|
136
|
-
[bearerAuth](../README.md#bearerAuth)
|
137
|
-
|
138
|
-
### HTTP request headers
|
139
|
-
|
140
|
-
- **Content-Type**: Not defined
|
141
|
-
- **Accept**: */*
|
142
|
-
|
143
|
-
|
144
|
-
## safe_deletes_pk_get
|
145
|
-
|
146
|
-
> <VolumeSafeDelete> safe_deletes_pk_get(pk)
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
### Examples
|
151
|
-
|
152
|
-
```ruby
|
153
|
-
require 'time'
|
154
|
-
require 'autosde_openapi_client'
|
155
|
-
# setup authorization
|
156
|
-
AutosdeOpenapiClient.configure do |config|
|
157
|
-
# Configure Bearer authorization: bearerAuth
|
158
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
159
|
-
end
|
160
|
-
|
161
|
-
api_instance = AutosdeOpenapiClient::VolumeSafeDeleteApi.new
|
162
|
-
pk = 56 # Integer |
|
163
|
-
|
164
|
-
begin
|
165
|
-
|
166
|
-
result = api_instance.safe_deletes_pk_get(pk)
|
167
|
-
p result
|
168
|
-
rescue AutosdeOpenapiClient::ApiError => e
|
169
|
-
puts "Error when calling VolumeSafeDeleteApi->safe_deletes_pk_get: #{e}"
|
170
|
-
end
|
171
|
-
```
|
172
|
-
|
173
|
-
#### Using the safe_deletes_pk_get_with_http_info variant
|
174
|
-
|
175
|
-
This returns an Array which contains the response data, status code and headers.
|
176
|
-
|
177
|
-
> <Array(<VolumeSafeDelete>, Integer, Hash)> safe_deletes_pk_get_with_http_info(pk)
|
178
|
-
|
179
|
-
```ruby
|
180
|
-
begin
|
181
|
-
|
182
|
-
data, status_code, headers = api_instance.safe_deletes_pk_get_with_http_info(pk)
|
183
|
-
p status_code # => 2xx
|
184
|
-
p headers # => { ... }
|
185
|
-
p data # => <VolumeSafeDelete>
|
186
|
-
rescue AutosdeOpenapiClient::ApiError => e
|
187
|
-
puts "Error when calling VolumeSafeDeleteApi->safe_deletes_pk_get_with_http_info: #{e}"
|
188
|
-
end
|
189
|
-
```
|
190
|
-
|
191
|
-
### Parameters
|
192
|
-
|
193
|
-
| Name | Type | Description | Notes |
|
194
|
-
| ---- | ---- | ----------- | ----- |
|
195
|
-
| **pk** | **Integer** | | |
|
196
|
-
|
197
|
-
### Return type
|
198
|
-
|
199
|
-
[**VolumeSafeDelete**](VolumeSafeDelete.md)
|
200
|
-
|
201
|
-
### Authorization
|
202
|
-
|
203
|
-
[bearerAuth](../README.md#bearerAuth)
|
204
|
-
|
205
|
-
### HTTP request headers
|
206
|
-
|
207
|
-
- **Content-Type**: Not defined
|
208
|
-
- **Accept**: */*
|
209
|
-
|
210
|
-
|
211
|
-
## safe_deletes_post
|
212
|
-
|
213
|
-
> <VolumeSafeDelete> safe_deletes_post(volume_safe_delete_create)
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
### Examples
|
218
|
-
|
219
|
-
```ruby
|
220
|
-
require 'time'
|
221
|
-
require 'autosde_openapi_client'
|
222
|
-
# setup authorization
|
223
|
-
AutosdeOpenapiClient.configure do |config|
|
224
|
-
# Configure Bearer authorization: bearerAuth
|
225
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
226
|
-
end
|
227
|
-
|
228
|
-
api_instance = AutosdeOpenapiClient::VolumeSafeDeleteApi.new
|
229
|
-
volume_safe_delete_create = AutosdeOpenapiClient::VolumeSafeDeleteCreate.new # VolumeSafeDeleteCreate |
|
230
|
-
|
231
|
-
begin
|
232
|
-
|
233
|
-
result = api_instance.safe_deletes_post(volume_safe_delete_create)
|
234
|
-
p result
|
235
|
-
rescue AutosdeOpenapiClient::ApiError => e
|
236
|
-
puts "Error when calling VolumeSafeDeleteApi->safe_deletes_post: #{e}"
|
237
|
-
end
|
238
|
-
```
|
239
|
-
|
240
|
-
#### Using the safe_deletes_post_with_http_info variant
|
241
|
-
|
242
|
-
This returns an Array which contains the response data, status code and headers.
|
243
|
-
|
244
|
-
> <Array(<VolumeSafeDelete>, Integer, Hash)> safe_deletes_post_with_http_info(volume_safe_delete_create)
|
245
|
-
|
246
|
-
```ruby
|
247
|
-
begin
|
248
|
-
|
249
|
-
data, status_code, headers = api_instance.safe_deletes_post_with_http_info(volume_safe_delete_create)
|
250
|
-
p status_code # => 2xx
|
251
|
-
p headers # => { ... }
|
252
|
-
p data # => <VolumeSafeDelete>
|
253
|
-
rescue AutosdeOpenapiClient::ApiError => e
|
254
|
-
puts "Error when calling VolumeSafeDeleteApi->safe_deletes_post_with_http_info: #{e}"
|
255
|
-
end
|
256
|
-
```
|
257
|
-
|
258
|
-
### Parameters
|
259
|
-
|
260
|
-
| Name | Type | Description | Notes |
|
261
|
-
| ---- | ---- | ----------- | ----- |
|
262
|
-
| **volume_safe_delete_create** | [**VolumeSafeDeleteCreate**](VolumeSafeDeleteCreate.md) | | |
|
263
|
-
|
264
|
-
### Return type
|
265
|
-
|
266
|
-
[**VolumeSafeDelete**](VolumeSafeDelete.md)
|
267
|
-
|
268
|
-
### Authorization
|
269
|
-
|
270
|
-
[bearerAuth](../README.md#bearerAuth)
|
271
|
-
|
272
|
-
### HTTP request headers
|
273
|
-
|
274
|
-
- **Content-Type**: application/json
|
275
|
-
- **Accept**: */*
|
276
|
-
|