autosde_openapi_client 1.0.2 → 1.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +147 -146
- data/autosde_openapi_client.gemspec +4 -4
- data/docs/AbstractCapability.md +11 -10
- data/docs/AbstractCapabilityApi.md +121 -49
- data/docs/Account.md +13 -12
- data/docs/AccountApi.md +153 -63
- data/docs/AccountPostRequest.md +11 -10
- data/docs/AccountPostResponse.md +15 -14
- data/docs/Address.md +23 -22
- data/docs/AddressApi.md +121 -49
- data/docs/AddressCreate.md +23 -22
- data/docs/AuthResponse.md +9 -8
- data/docs/Authentication.md +11 -10
- data/docs/AuthenticationApi.md +33 -16
- data/docs/AutoSDEProject.md +47 -46
- data/docs/AutoSDEProjectApi.md +121 -49
- data/docs/AutoSDERole.md +11 -10
- data/docs/AutoSDERoleApi.md +121 -49
- data/docs/CapabilityTranslation.md +27 -26
- data/docs/CapabilityTranslationApi.md +121 -49
- data/docs/CapabilityTranslationCreate.md +23 -22
- data/docs/Host.md +21 -20
- data/docs/HostApi.md +121 -49
- data/docs/HostCreate.md +31 -30
- data/docs/HostVolumeConnection.md +15 -14
- data/docs/HostVolumeConnectionApi.md +121 -49
- data/docs/HostVolumeConnectionCreate.md +13 -12
- data/docs/Job.md +21 -20
- data/docs/JobApi.md +61 -25
- data/docs/JobCreate.md +11 -10
- data/docs/NativeCapability.md +15 -14
- data/docs/NativeCapabilityApi.md +121 -49
- data/docs/Profile.md +17 -16
- data/docs/ProfileApi.md +121 -49
- data/docs/ProvisioningStrategy.md +11 -10
- data/docs/ProvisioningStrategyApi.md +121 -49
- data/docs/Service.md +27 -26
- data/docs/ServiceAbstractCapabilityValue.md +13 -12
- data/docs/ServiceApi.md +153 -63
- data/docs/ServiceCreate.md +25 -24
- data/docs/ServiceResourceAttachment.md +15 -14
- data/docs/ServiceResourceAttachmentApi.md +121 -49
- data/docs/Snapshot.md +17 -16
- data/docs/SnapshotApi.md +121 -49
- data/docs/SnapshotCreate.md +15 -14
- data/docs/StorageHost.md +21 -20
- data/docs/StorageHostApi.md +153 -63
- data/docs/StorageHostCreate.md +29 -28
- data/docs/StorageHostResponse.md +23 -22
- data/docs/StorageHostUpdate.md +13 -12
- data/docs/StorageHostVolumeMapping.md +17 -16
- data/docs/StorageHostVolumeMappingApi.md +125 -53
- data/docs/StorageHostVolumeMappingCreate.md +15 -14
- data/docs/StorageHostVolumeMappingResponse.md +26 -0
- data/docs/StorageResource.md +25 -24
- data/docs/StorageResourceApi.md +153 -63
- data/docs/StorageResourceCreate.md +23 -22
- data/docs/StorageResourceResponse.md +25 -24
- data/docs/StorageSystem.md +21 -20
- data/docs/StorageSystemApi.md +121 -49
- data/docs/StorageSystemCreate.md +41 -40
- data/docs/SystemType.md +17 -16
- data/docs/SystemTypeApi.md +121 -49
- data/docs/SystemTypeCreate.md +19 -18
- data/docs/Volume.md +25 -24
- data/docs/VolumeApi.md +153 -63
- data/docs/VolumeCreate.md +21 -20
- data/docs/VolumeResponse.md +25 -24
- data/docs/VolumeSafeDelete.md +13 -12
- data/docs/VolumeSafeDeleteApi.md +121 -49
- data/docs/VolumeSafeDeleteCreate.md +9 -8
- data/docs/VolumeUpdate.md +11 -10
- data/lib/autosde_openapi_client.rb +4 -3
- data/lib/autosde_openapi_client/api/abstract_capability_api.rb +2 -2
- data/lib/autosde_openapi_client/api/account_api.rb +2 -2
- data/lib/autosde_openapi_client/api/address_api.rb +2 -2
- data/lib/autosde_openapi_client/api/authentication_api.rb +2 -2
- data/lib/autosde_openapi_client/api/auto_sde_project_api.rb +2 -2
- data/lib/autosde_openapi_client/api/auto_sde_role_api.rb +2 -2
- data/lib/autosde_openapi_client/api/capability_translation_api.rb +2 -2
- data/lib/autosde_openapi_client/api/host_api.rb +2 -2
- data/lib/autosde_openapi_client/api/host_volume_connection_api.rb +2 -2
- data/lib/autosde_openapi_client/api/job_api.rb +2 -2
- data/lib/autosde_openapi_client/api/native_capability_api.rb +2 -2
- data/lib/autosde_openapi_client/api/profile_api.rb +2 -2
- data/lib/autosde_openapi_client/api/provisioning_strategy_api.rb +2 -2
- data/lib/autosde_openapi_client/api/service_api.rb +2 -2
- data/lib/autosde_openapi_client/api/service_resource_attachment_api.rb +2 -2
- data/lib/autosde_openapi_client/api/snapshot_api.rb +2 -2
- data/lib/autosde_openapi_client/api/storage_host_api.rb +2 -2
- data/lib/autosde_openapi_client/api/storage_host_volume_mapping_api.rb +14 -14
- data/lib/autosde_openapi_client/api/storage_resource_api.rb +2 -2
- data/lib/autosde_openapi_client/api/storage_system_api.rb +2 -2
- data/lib/autosde_openapi_client/api/system_type_api.rb +2 -2
- data/lib/autosde_openapi_client/api/volume_api.rb +2 -2
- data/lib/autosde_openapi_client/api/volume_safe_delete_api.rb +2 -2
- data/lib/autosde_openapi_client/api_client.rb +5 -4
- data/lib/autosde_openapi_client/api_error.rb +2 -2
- data/lib/autosde_openapi_client/configuration.rb +2 -2
- data/lib/autosde_openapi_client/models/abstract_capability.rb +14 -6
- data/lib/autosde_openapi_client/models/account.rb +14 -6
- data/lib/autosde_openapi_client/models/account_post_request.rb +14 -6
- data/lib/autosde_openapi_client/models/account_post_response.rb +14 -6
- data/lib/autosde_openapi_client/models/address.rb +14 -6
- data/lib/autosde_openapi_client/models/address_create.rb +14 -6
- data/lib/autosde_openapi_client/models/auth_response.rb +14 -6
- data/lib/autosde_openapi_client/models/authentication.rb +14 -6
- data/lib/autosde_openapi_client/models/auto_sde_project.rb +14 -6
- data/lib/autosde_openapi_client/models/auto_sde_role.rb +14 -6
- data/lib/autosde_openapi_client/models/capability_translation.rb +14 -6
- data/lib/autosde_openapi_client/models/capability_translation_create.rb +14 -6
- data/lib/autosde_openapi_client/models/host.rb +14 -6
- data/lib/autosde_openapi_client/models/host_create.rb +14 -6
- data/lib/autosde_openapi_client/models/host_volume_connection.rb +14 -6
- data/lib/autosde_openapi_client/models/host_volume_connection_create.rb +14 -6
- data/lib/autosde_openapi_client/models/job.rb +14 -6
- data/lib/autosde_openapi_client/models/job_create.rb +14 -6
- data/lib/autosde_openapi_client/models/native_capability.rb +14 -6
- data/lib/autosde_openapi_client/models/profile.rb +14 -6
- data/lib/autosde_openapi_client/models/provisioning_strategy.rb +14 -6
- data/lib/autosde_openapi_client/models/service.rb +14 -6
- data/lib/autosde_openapi_client/models/service_abstract_capability_value.rb +14 -6
- data/lib/autosde_openapi_client/models/service_create.rb +14 -6
- data/lib/autosde_openapi_client/models/service_resource_attachment.rb +14 -6
- data/lib/autosde_openapi_client/models/snapshot.rb +14 -6
- data/lib/autosde_openapi_client/models/snapshot_create.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_host.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_host_create.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_host_response.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_host_update.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_host_volume_mapping.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_host_volume_mapping_create.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_host_volume_mapping_response.rb +301 -0
- data/lib/autosde_openapi_client/models/storage_resource.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_resource_create.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_resource_response.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_system.rb +14 -6
- data/lib/autosde_openapi_client/models/storage_system_create.rb +14 -6
- data/lib/autosde_openapi_client/models/system_type.rb +14 -6
- data/lib/autosde_openapi_client/models/system_type_create.rb +14 -6
- data/lib/autosde_openapi_client/models/volume.rb +14 -6
- data/lib/autosde_openapi_client/models/volume_create.rb +14 -6
- data/lib/autosde_openapi_client/models/volume_response.rb +14 -6
- data/lib/autosde_openapi_client/models/volume_safe_delete.rb +14 -6
- data/lib/autosde_openapi_client/models/volume_safe_delete_create.rb +14 -6
- data/lib/autosde_openapi_client/models/volume_update.rb +14 -6
- data/lib/autosde_openapi_client/version.rb +4 -4
- data/spec/api/abstract_capability_api_spec.rb +1 -1
- data/spec/api/account_api_spec.rb +1 -1
- data/spec/api/address_api_spec.rb +1 -1
- data/spec/api/authentication_api_spec.rb +1 -1
- data/spec/api/auto_sde_project_api_spec.rb +1 -1
- data/spec/api/auto_sde_role_api_spec.rb +1 -1
- data/spec/api/capability_translation_api_spec.rb +1 -1
- data/spec/api/host_api_spec.rb +1 -1
- data/spec/api/host_volume_connection_api_spec.rb +1 -1
- data/spec/api/job_api_spec.rb +1 -1
- data/spec/api/native_capability_api_spec.rb +1 -1
- data/spec/api/profile_api_spec.rb +1 -1
- data/spec/api/provisioning_strategy_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_host_volume_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/api/volume_safe_delete_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +30 -30
- data/spec/configuration_spec.rb +4 -4
- data/spec/models/abstract_capability_spec.rb +4 -11
- data/spec/models/account_post_request_spec.rb +4 -11
- data/spec/models/account_post_response_spec.rb +4 -11
- data/spec/models/account_spec.rb +4 -11
- data/spec/models/address_create_spec.rb +6 -13
- data/spec/models/address_spec.rb +6 -13
- data/spec/models/auth_response_spec.rb +4 -11
- data/spec/models/authentication_spec.rb +4 -11
- data/spec/models/auto_sde_project_spec.rb +4 -11
- data/spec/models/auto_sde_role_spec.rb +4 -11
- data/spec/models/capability_translation_create_spec.rb +4 -11
- data/spec/models/capability_translation_spec.rb +4 -11
- data/spec/models/host_create_spec.rb +7 -14
- data/spec/models/host_spec.rb +6 -13
- data/spec/models/host_volume_connection_create_spec.rb +5 -12
- data/spec/models/host_volume_connection_spec.rb +5 -12
- data/spec/models/job_create_spec.rb +4 -11
- data/spec/models/job_spec.rb +4 -11
- data/spec/models/native_capability_spec.rb +4 -11
- data/spec/models/profile_spec.rb +5 -12
- data/spec/models/provisioning_strategy_spec.rb +5 -12
- data/spec/models/service_abstract_capability_value_spec.rb +4 -11
- data/spec/models/service_create_spec.rb +5 -12
- data/spec/models/service_resource_attachment_spec.rb +4 -11
- data/spec/models/service_spec.rb +5 -12
- data/spec/models/snapshot_create_spec.rb +5 -12
- data/spec/models/snapshot_spec.rb +5 -12
- data/spec/models/storage_host_create_spec.rb +6 -13
- data/spec/models/storage_host_response_spec.rb +5 -12
- data/spec/models/storage_host_spec.rb +5 -12
- data/spec/models/storage_host_update_spec.rb +6 -13
- data/spec/models/storage_host_volume_mapping_create_spec.rb +5 -12
- data/spec/models/storage_host_volume_mapping_response_spec.rb +62 -0
- data/spec/models/storage_host_volume_mapping_spec.rb +5 -12
- data/spec/models/storage_resource_create_spec.rb +6 -13
- data/spec/models/storage_resource_response_spec.rb +6 -13
- data/spec/models/storage_resource_spec.rb +6 -13
- data/spec/models/storage_system_create_spec.rb +7 -14
- data/spec/models/storage_system_spec.rb +6 -13
- data/spec/models/system_type_create_spec.rb +6 -13
- data/spec/models/system_type_spec.rb +6 -13
- data/spec/models/volume_create_spec.rb +5 -12
- data/spec/models/volume_response_spec.rb +5 -12
- data/spec/models/volume_safe_delete_create_spec.rb +4 -11
- data/spec/models/volume_safe_delete_spec.rb +4 -11
- data/spec/models/volume_spec.rb +5 -12
- data/spec/models/volume_update_spec.rb +4 -11
- data/spec/spec_helper.rb +1 -1
- metadata +61 -57
@@ -1,33 +1,34 @@
|
|
1
|
-
#
|
1
|
+
# AutosdeOpenapiClient::StorageResourceResponse
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**advanced_attributes_map** | **String** | advanced_attributes_map | [optional]
|
8
|
-
**component_state** | **String** | component_state | [optional]
|
9
|
-
**logical_free** | **Integer** | logical_free | [optional]
|
10
|
-
**logical_total** | **Integer** | The Total logical capacity of this resource (gb) | [optional]
|
11
|
-
**name** | **String** | name | [optional]
|
12
|
-
**pool_name** | **String** | Pool (or slice) name | [optional]
|
13
|
-
**protocol** | **String** | protocol | [optional]
|
14
|
-
**storage_system** | **String** | !!uuid of storage_system | [optional]
|
15
|
-
**uuid** | **String** | uuid | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **advanced_attributes_map** | **String** | advanced_attributes_map | [optional] |
|
8
|
+
| **component_state** | **String** | component_state | [optional] |
|
9
|
+
| **logical_free** | **Integer** | logical_free | [optional][default to 0] |
|
10
|
+
| **logical_total** | **Integer** | The Total logical capacity of this resource (gb) | [optional][default to 0] |
|
11
|
+
| **name** | **String** | name | [optional] |
|
12
|
+
| **pool_name** | **String** | Pool (or slice) name | [optional] |
|
13
|
+
| **protocol** | **String** | protocol | [optional] |
|
14
|
+
| **storage_system** | **String** | !!uuid of storage_system | [optional] |
|
15
|
+
| **uuid** | **String** | uuid | [optional] |
|
16
16
|
|
17
|
-
##
|
17
|
+
## Example
|
18
18
|
|
19
19
|
```ruby
|
20
|
-
require '
|
20
|
+
require 'autosde_openapi_client'
|
21
21
|
|
22
|
-
instance =
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
22
|
+
instance = AutosdeOpenapiClient::StorageResourceResponse.new(
|
23
|
+
advanced_attributes_map: null,
|
24
|
+
component_state: null,
|
25
|
+
logical_free: null,
|
26
|
+
logical_total: null,
|
27
|
+
name: null,
|
28
|
+
pool_name: null,
|
29
|
+
protocol: null,
|
30
|
+
storage_system: null,
|
31
|
+
uuid: null
|
32
|
+
)
|
31
33
|
```
|
32
34
|
|
33
|
-
|
data/docs/StorageSystem.md
CHANGED
@@ -1,29 +1,30 @@
|
|
1
|
-
#
|
1
|
+
# AutosdeOpenapiClient::StorageSystem
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**component_state** | **String** | component_state | [optional]
|
8
|
-
**management_ip** | **String** | management_ip | [optional]
|
9
|
-
**name** | **String** | name | [optional]
|
10
|
-
**storage_array** | **String** | storage_array | [optional]
|
11
|
-
**storage_family** | **String** | storage_family | [optional]
|
12
|
-
**system_type** | [**SystemType**](SystemType.md) | | [optional]
|
13
|
-
**uuid** | **String** | uuid | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **component_state** | **String** | component_state | [optional] |
|
8
|
+
| **management_ip** | **String** | management_ip | [optional] |
|
9
|
+
| **name** | **String** | name | [optional] |
|
10
|
+
| **storage_array** | **String** | storage_array | [optional] |
|
11
|
+
| **storage_family** | **String** | storage_family | [optional] |
|
12
|
+
| **system_type** | [**SystemType**](SystemType.md) | | [optional] |
|
13
|
+
| **uuid** | **String** | uuid | [optional] |
|
14
14
|
|
15
|
-
##
|
15
|
+
## Example
|
16
16
|
|
17
17
|
```ruby
|
18
|
-
require '
|
18
|
+
require 'autosde_openapi_client'
|
19
19
|
|
20
|
-
instance =
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
20
|
+
instance = AutosdeOpenapiClient::StorageSystem.new(
|
21
|
+
component_state: null,
|
22
|
+
management_ip: null,
|
23
|
+
name: null,
|
24
|
+
storage_array: null,
|
25
|
+
storage_family: null,
|
26
|
+
system_type: null,
|
27
|
+
uuid: null
|
28
|
+
)
|
27
29
|
```
|
28
30
|
|
29
|
-
|
data/docs/StorageSystemApi.md
CHANGED
@@ -1,40 +1,58 @@
|
|
1
|
-
#
|
1
|
+
# AutosdeOpenapiClient::StorageSystemApi
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**storage_systems_get**](StorageSystemApi.md#storage_systems_get) | **GET** /storage-systems/ |
|
8
|
-
[**storage_systems_pk_delete**](StorageSystemApi.md#storage_systems_pk_delete) | **DELETE** /storage-systems/{pk} |
|
9
|
-
[**storage_systems_pk_get**](StorageSystemApi.md#storage_systems_pk_get) | **GET** /storage-systems/{pk} |
|
10
|
-
[**storage_systems_post**](StorageSystemApi.md#storage_systems_post) | **POST** /storage-systems/ |
|
11
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**storage_systems_get**](StorageSystemApi.md#storage_systems_get) | **GET** /storage-systems/ | |
|
8
|
+
| [**storage_systems_pk_delete**](StorageSystemApi.md#storage_systems_pk_delete) | **DELETE** /storage-systems/{pk} | |
|
9
|
+
| [**storage_systems_pk_get**](StorageSystemApi.md#storage_systems_pk_get) | **GET** /storage-systems/{pk} | |
|
10
|
+
| [**storage_systems_post**](StorageSystemApi.md#storage_systems_post) | **POST** /storage-systems/ | |
|
12
11
|
|
13
12
|
|
14
13
|
## storage_systems_get
|
15
14
|
|
16
|
-
> Array
|
15
|
+
> <Array<StorageSystem>> storage_systems_get
|
17
16
|
|
18
17
|
|
19
18
|
|
20
|
-
###
|
19
|
+
### Examples
|
21
20
|
|
22
21
|
```ruby
|
23
|
-
|
22
|
+
require 'time'
|
24
23
|
require 'autosde_openapi_client'
|
25
24
|
# setup authorization
|
26
|
-
|
25
|
+
AutosdeOpenapiClient.configure do |config|
|
27
26
|
# Configure Bearer authorization: bearerAuth
|
28
27
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
29
28
|
end
|
30
29
|
|
31
|
-
api_instance =
|
30
|
+
api_instance = AutosdeOpenapiClient::StorageSystemApi.new
|
32
31
|
|
33
32
|
begin
|
33
|
+
|
34
34
|
result = api_instance.storage_systems_get
|
35
35
|
p result
|
36
|
-
rescue
|
37
|
-
puts "
|
36
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
37
|
+
puts "Error when calling StorageSystemApi->storage_systems_get: #{e}"
|
38
|
+
end
|
39
|
+
```
|
40
|
+
|
41
|
+
#### Using the storage_systems_get_with_http_info variant
|
42
|
+
|
43
|
+
This returns an Array which contains the response data, status code and headers.
|
44
|
+
|
45
|
+
> <Array(<Array<StorageSystem>>, Integer, Hash)> storage_systems_get_with_http_info
|
46
|
+
|
47
|
+
```ruby
|
48
|
+
begin
|
49
|
+
|
50
|
+
data, status_code, headers = api_instance.storage_systems_get_with_http_info
|
51
|
+
p status_code # => 2xx
|
52
|
+
p headers # => { ... }
|
53
|
+
p data # => <Array<StorageSystem>>
|
54
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
55
|
+
puts "Error when calling StorageSystemApi->storage_systems_get_with_http_info: #{e}"
|
38
56
|
end
|
39
57
|
```
|
40
58
|
|
@@ -58,38 +76,56 @@ This endpoint does not need any parameter.
|
|
58
76
|
|
59
77
|
## storage_systems_pk_delete
|
60
78
|
|
61
|
-
> Array
|
79
|
+
> <Array<StorageSystem>> storage_systems_pk_delete(pk)
|
62
80
|
|
63
81
|
|
64
82
|
|
65
|
-
###
|
83
|
+
### Examples
|
66
84
|
|
67
85
|
```ruby
|
68
|
-
|
86
|
+
require 'time'
|
69
87
|
require 'autosde_openapi_client'
|
70
88
|
# setup authorization
|
71
|
-
|
89
|
+
AutosdeOpenapiClient.configure do |config|
|
72
90
|
# Configure Bearer authorization: bearerAuth
|
73
91
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
74
92
|
end
|
75
93
|
|
76
|
-
api_instance =
|
94
|
+
api_instance = AutosdeOpenapiClient::StorageSystemApi.new
|
77
95
|
pk = 56 # Integer |
|
78
96
|
|
79
97
|
begin
|
98
|
+
|
80
99
|
result = api_instance.storage_systems_pk_delete(pk)
|
81
100
|
p result
|
82
|
-
rescue
|
83
|
-
puts "
|
101
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
102
|
+
puts "Error when calling StorageSystemApi->storage_systems_pk_delete: #{e}"
|
84
103
|
end
|
85
104
|
```
|
86
105
|
|
87
|
-
|
106
|
+
#### Using the storage_systems_pk_delete_with_http_info variant
|
107
|
+
|
108
|
+
This returns an Array which contains the response data, status code and headers.
|
109
|
+
|
110
|
+
> <Array(<Array<StorageSystem>>, Integer, Hash)> storage_systems_pk_delete_with_http_info(pk)
|
88
111
|
|
112
|
+
```ruby
|
113
|
+
begin
|
114
|
+
|
115
|
+
data, status_code, headers = api_instance.storage_systems_pk_delete_with_http_info(pk)
|
116
|
+
p status_code # => 2xx
|
117
|
+
p headers # => { ... }
|
118
|
+
p data # => <Array<StorageSystem>>
|
119
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
120
|
+
puts "Error when calling StorageSystemApi->storage_systems_pk_delete_with_http_info: #{e}"
|
121
|
+
end
|
122
|
+
```
|
123
|
+
|
124
|
+
### Parameters
|
89
125
|
|
90
|
-
Name | Type | Description
|
91
|
-
|
92
|
-
**pk** | **Integer
|
126
|
+
| Name | Type | Description | Notes |
|
127
|
+
| ---- | ---- | ----------- | ----- |
|
128
|
+
| **pk** | **Integer** | | |
|
93
129
|
|
94
130
|
### Return type
|
95
131
|
|
@@ -107,38 +143,56 @@ Name | Type | Description | Notes
|
|
107
143
|
|
108
144
|
## storage_systems_pk_get
|
109
145
|
|
110
|
-
> Array
|
146
|
+
> <Array<StorageSystem>> storage_systems_pk_get(pk)
|
111
147
|
|
112
148
|
|
113
149
|
|
114
|
-
###
|
150
|
+
### Examples
|
115
151
|
|
116
152
|
```ruby
|
117
|
-
|
153
|
+
require 'time'
|
118
154
|
require 'autosde_openapi_client'
|
119
155
|
# setup authorization
|
120
|
-
|
156
|
+
AutosdeOpenapiClient.configure do |config|
|
121
157
|
# Configure Bearer authorization: bearerAuth
|
122
158
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
123
159
|
end
|
124
160
|
|
125
|
-
api_instance =
|
161
|
+
api_instance = AutosdeOpenapiClient::StorageSystemApi.new
|
126
162
|
pk = 56 # Integer |
|
127
163
|
|
128
164
|
begin
|
165
|
+
|
129
166
|
result = api_instance.storage_systems_pk_get(pk)
|
130
167
|
p result
|
131
|
-
rescue
|
132
|
-
puts "
|
168
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
169
|
+
puts "Error when calling StorageSystemApi->storage_systems_pk_get: #{e}"
|
133
170
|
end
|
134
171
|
```
|
135
172
|
|
136
|
-
|
173
|
+
#### Using the storage_systems_pk_get_with_http_info variant
|
174
|
+
|
175
|
+
This returns an Array which contains the response data, status code and headers.
|
176
|
+
|
177
|
+
> <Array(<Array<StorageSystem>>, Integer, Hash)> storage_systems_pk_get_with_http_info(pk)
|
137
178
|
|
179
|
+
```ruby
|
180
|
+
begin
|
181
|
+
|
182
|
+
data, status_code, headers = api_instance.storage_systems_pk_get_with_http_info(pk)
|
183
|
+
p status_code # => 2xx
|
184
|
+
p headers # => { ... }
|
185
|
+
p data # => <Array<StorageSystem>>
|
186
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
187
|
+
puts "Error when calling StorageSystemApi->storage_systems_pk_get_with_http_info: #{e}"
|
188
|
+
end
|
189
|
+
```
|
190
|
+
|
191
|
+
### Parameters
|
138
192
|
|
139
|
-
Name | Type | Description
|
140
|
-
|
141
|
-
**pk** | **Integer
|
193
|
+
| Name | Type | Description | Notes |
|
194
|
+
| ---- | ---- | ----------- | ----- |
|
195
|
+
| **pk** | **Integer** | | |
|
142
196
|
|
143
197
|
### Return type
|
144
198
|
|
@@ -156,38 +210,56 @@ Name | Type | Description | Notes
|
|
156
210
|
|
157
211
|
## storage_systems_post
|
158
212
|
|
159
|
-
> StorageSystem storage_systems_post(storage_system_create)
|
213
|
+
> <StorageSystem> storage_systems_post(storage_system_create)
|
160
214
|
|
161
215
|
|
162
216
|
|
163
|
-
###
|
217
|
+
### Examples
|
164
218
|
|
165
219
|
```ruby
|
166
|
-
|
220
|
+
require 'time'
|
167
221
|
require 'autosde_openapi_client'
|
168
222
|
# setup authorization
|
169
|
-
|
223
|
+
AutosdeOpenapiClient.configure do |config|
|
170
224
|
# Configure Bearer authorization: bearerAuth
|
171
225
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
172
226
|
end
|
173
227
|
|
174
|
-
api_instance =
|
175
|
-
storage_system_create =
|
228
|
+
api_instance = AutosdeOpenapiClient::StorageSystemApi.new
|
229
|
+
storage_system_create = AutosdeOpenapiClient::StorageSystemCreate.new # StorageSystemCreate |
|
176
230
|
|
177
231
|
begin
|
232
|
+
|
178
233
|
result = api_instance.storage_systems_post(storage_system_create)
|
179
234
|
p result
|
180
|
-
rescue
|
181
|
-
puts "
|
235
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
236
|
+
puts "Error when calling StorageSystemApi->storage_systems_post: #{e}"
|
182
237
|
end
|
183
238
|
```
|
184
239
|
|
185
|
-
|
240
|
+
#### Using the storage_systems_post_with_http_info variant
|
241
|
+
|
242
|
+
This returns an Array which contains the response data, status code and headers.
|
243
|
+
|
244
|
+
> <Array(<StorageSystem>, Integer, Hash)> storage_systems_post_with_http_info(storage_system_create)
|
186
245
|
|
246
|
+
```ruby
|
247
|
+
begin
|
248
|
+
|
249
|
+
data, status_code, headers = api_instance.storage_systems_post_with_http_info(storage_system_create)
|
250
|
+
p status_code # => 2xx
|
251
|
+
p headers # => { ... }
|
252
|
+
p data # => <StorageSystem>
|
253
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
254
|
+
puts "Error when calling StorageSystemApi->storage_systems_post_with_http_info: #{e}"
|
255
|
+
end
|
256
|
+
```
|
257
|
+
|
258
|
+
### Parameters
|
187
259
|
|
188
|
-
Name | Type | Description
|
189
|
-
|
190
|
-
**storage_system_create** | [**StorageSystemCreate**](StorageSystemCreate.md)| |
|
260
|
+
| Name | Type | Description | Notes |
|
261
|
+
| ---- | ---- | ----------- | ----- |
|
262
|
+
| **storage_system_create** | [**StorageSystemCreate**](StorageSystemCreate.md) | | |
|
191
263
|
|
192
264
|
### Return type
|
193
265
|
|
data/docs/StorageSystemCreate.md
CHANGED
@@ -1,49 +1,50 @@
|
|
1
|
-
#
|
1
|
+
# AutosdeOpenapiClient::StorageSystemCreate
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**auto_add_pools** | **Boolean** | auto_add_pools | [optional]
|
8
|
-
**auto_setup** | **Boolean** | auto_setup | [optional]
|
9
|
-
**chap_name** | **String** | chap_name | [optional]
|
10
|
-
**chap_secret** | **String** | chap_secret | [optional]
|
11
|
-
**component_state** | **String** | component_state | [optional]
|
12
|
-
**iqn** | **String** | | [optional]
|
13
|
-
**management_ip** | **String** | management_ip | [optional]
|
14
|
-
**name** | **String** | name | [optional]
|
15
|
-
**password** | **String** | password | [optional]
|
16
|
-
**port_type** | **String** | port_type | [optional]
|
17
|
-
**secondary_ip** | **String** | secondary_ip | [optional]
|
18
|
-
**storage_array** | **String** | storage_array | [optional]
|
19
|
-
**storage_driver** | **String** | storage_driver | [optional]
|
20
|
-
**storage_family** | **String** | storage_family | [optional]
|
21
|
-
**system_type** | [**SystemType**](SystemType.md) | | [optional]
|
22
|
-
**user** | **String** | user | [optional]
|
23
|
-
**wwpn** | **String** | wwpn | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **auto_add_pools** | **Boolean** | auto_add_pools | [optional][default to false] |
|
8
|
+
| **auto_setup** | **Boolean** | auto_setup | [optional][default to false] |
|
9
|
+
| **chap_name** | **String** | chap_name | [optional] |
|
10
|
+
| **chap_secret** | **String** | chap_secret | [optional] |
|
11
|
+
| **component_state** | **String** | component_state | [optional] |
|
12
|
+
| **iqn** | **String** | | [optional] |
|
13
|
+
| **management_ip** | **String** | management_ip | [optional] |
|
14
|
+
| **name** | **String** | name | [optional] |
|
15
|
+
| **password** | **String** | password | [optional] |
|
16
|
+
| **port_type** | **String** | port_type | [optional] |
|
17
|
+
| **secondary_ip** | **String** | secondary_ip | [optional] |
|
18
|
+
| **storage_array** | **String** | storage_array | [optional] |
|
19
|
+
| **storage_driver** | **String** | storage_driver | [optional] |
|
20
|
+
| **storage_family** | **String** | storage_family | [optional] |
|
21
|
+
| **system_type** | [**SystemType**](SystemType.md) | | [optional] |
|
22
|
+
| **user** | **String** | user | [optional] |
|
23
|
+
| **wwpn** | **String** | wwpn | [optional] |
|
24
24
|
|
25
|
-
##
|
25
|
+
## Example
|
26
26
|
|
27
27
|
```ruby
|
28
|
-
require '
|
28
|
+
require 'autosde_openapi_client'
|
29
29
|
|
30
|
-
instance =
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
30
|
+
instance = AutosdeOpenapiClient::StorageSystemCreate.new(
|
31
|
+
auto_add_pools: null,
|
32
|
+
auto_setup: null,
|
33
|
+
chap_name: null,
|
34
|
+
chap_secret: null,
|
35
|
+
component_state: null,
|
36
|
+
iqn: null,
|
37
|
+
management_ip: null,
|
38
|
+
name: null,
|
39
|
+
password: null,
|
40
|
+
port_type: null,
|
41
|
+
secondary_ip: null,
|
42
|
+
storage_array: null,
|
43
|
+
storage_driver: null,
|
44
|
+
storage_family: null,
|
45
|
+
system_type: null,
|
46
|
+
user: null,
|
47
|
+
wwpn: null
|
48
|
+
)
|
47
49
|
```
|
48
50
|
|
49
|
-
|