autosde_openapi_client 1.0.0 → 1.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +143 -117
- data/autosde_openapi_client.gemspec +4 -5
- data/docs/AbstractCapability.md +11 -10
- data/docs/AbstractCapabilityApi.md +122 -50
- data/docs/Account.md +13 -12
- data/docs/AccountApi.md +155 -65
- data/docs/AccountPostRequest.md +11 -10
- data/docs/AccountPostResponse.md +15 -14
- data/docs/Address.md +23 -22
- data/docs/AddressApi.md +122 -50
- 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 +122 -50
- data/docs/AutoSDERole.md +11 -10
- data/docs/AutoSDERoleApi.md +122 -50
- data/docs/CapabilityTranslation.md +27 -26
- data/docs/CapabilityTranslationApi.md +122 -50
- data/docs/CapabilityTranslationCreate.md +23 -22
- data/docs/Host.md +21 -20
- data/docs/HostApi.md +122 -50
- data/docs/HostCreate.md +31 -30
- data/docs/HostVolumeConnection.md +15 -14
- data/docs/HostVolumeConnectionApi.md +122 -50
- data/docs/HostVolumeConnectionCreate.md +13 -12
- data/docs/Job.md +30 -0
- data/docs/JobApi.md +140 -0
- data/docs/JobCreate.md +20 -0
- data/docs/NativeCapability.md +15 -14
- data/docs/NativeCapabilityApi.md +122 -50
- data/docs/Profile.md +17 -16
- data/docs/ProfileApi.md +122 -50
- data/docs/ProvisioningStrategy.md +11 -10
- data/docs/ProvisioningStrategyApi.md +122 -50
- data/docs/Service.md +27 -26
- data/docs/ServiceAbstractCapabilityValue.md +13 -12
- data/docs/ServiceApi.md +155 -65
- data/docs/ServiceCreate.md +25 -24
- data/docs/ServiceResourceAttachment.md +15 -14
- data/docs/ServiceResourceAttachmentApi.md +122 -50
- data/docs/Snapshot.md +26 -0
- data/docs/SnapshotApi.md +276 -0
- data/docs/SnapshotCreate.md +24 -0
- data/docs/StorageHost.md +30 -0
- data/docs/StorageHostApi.md +346 -0
- data/docs/StorageHostCreate.md +38 -0
- data/docs/StorageHostResponse.md +32 -0
- data/docs/StorageHostUpdate.md +22 -0
- data/docs/StorageHostVolumeMapping.md +26 -0
- data/docs/StorageHostVolumeMappingApi.md +276 -0
- data/docs/StorageHostVolumeMappingCreate.md +24 -0
- data/docs/StorageHostVolumeMappingResponse.md +26 -0
- data/docs/StorageResource.md +25 -24
- data/docs/StorageResourceApi.md +155 -65
- data/docs/StorageResourceCreate.md +23 -22
- data/docs/StorageResourceResponse.md +25 -24
- data/docs/StorageSystem.md +21 -20
- data/docs/StorageSystemApi.md +122 -50
- data/docs/StorageSystemCreate.md +41 -40
- data/docs/SystemType.md +17 -16
- data/docs/SystemTypeApi.md +122 -50
- data/docs/SystemTypeCreate.md +19 -18
- data/docs/Volume.md +25 -22
- data/docs/VolumeApi.md +155 -65
- data/docs/VolumeCreate.md +21 -18
- data/docs/VolumeResponse.md +25 -22
- data/docs/VolumeSafeDelete.md +13 -12
- data/docs/VolumeSafeDeleteApi.md +122 -50
- data/docs/VolumeSafeDeleteCreate.md +9 -8
- data/docs/VolumeUpdate.md +11 -8
- data/lib/autosde_openapi_client.rb +18 -3
- data/lib/autosde_openapi_client/api/abstract_capability_api.rb +20 -16
- data/lib/autosde_openapi_client/api/account_api.rb +26 -21
- data/lib/autosde_openapi_client/api/address_api.rb +20 -16
- data/lib/autosde_openapi_client/api/authentication_api.rb +6 -5
- data/lib/autosde_openapi_client/api/auto_sde_project_api.rb +20 -16
- data/lib/autosde_openapi_client/api/auto_sde_role_api.rb +20 -16
- data/lib/autosde_openapi_client/api/capability_translation_api.rb +20 -16
- data/lib/autosde_openapi_client/api/host_api.rb +20 -16
- data/lib/autosde_openapi_client/api/host_volume_connection_api.rb +20 -16
- data/lib/autosde_openapi_client/api/job_api.rb +136 -0
- data/lib/autosde_openapi_client/api/native_capability_api.rb +20 -16
- data/lib/autosde_openapi_client/api/profile_api.rb +20 -16
- data/lib/autosde_openapi_client/api/provisioning_strategy_api.rb +20 -16
- data/lib/autosde_openapi_client/api/service_api.rb +26 -21
- data/lib/autosde_openapi_client/api/service_resource_attachment_api.rb +20 -16
- data/lib/autosde_openapi_client/api/snapshot_api.rb +254 -0
- data/lib/autosde_openapi_client/api/storage_host_api.rb +321 -0
- data/lib/autosde_openapi_client/api/storage_host_volume_mapping_api.rb +254 -0
- data/lib/autosde_openapi_client/api/storage_resource_api.rb +26 -21
- data/lib/autosde_openapi_client/api/storage_system_api.rb +20 -16
- data/lib/autosde_openapi_client/api/system_type_api.rb +20 -16
- data/lib/autosde_openapi_client/api/volume_api.rb +26 -21
- data/lib/autosde_openapi_client/api/volume_safe_delete_api.rb +20 -16
- data/lib/autosde_openapi_client/api_client.rb +50 -48
- data/lib/autosde_openapi_client/api_error.rb +2 -2
- data/lib/autosde_openapi_client/configuration.rb +35 -8
- data/lib/autosde_openapi_client/models/abstract_capability.rb +22 -10
- data/lib/autosde_openapi_client/models/account.rb +22 -10
- data/lib/autosde_openapi_client/models/account_post_request.rb +22 -10
- data/lib/autosde_openapi_client/models/account_post_response.rb +22 -10
- data/lib/autosde_openapi_client/models/address.rb +22 -10
- data/lib/autosde_openapi_client/models/address_create.rb +22 -10
- data/lib/autosde_openapi_client/models/auth_response.rb +22 -10
- data/lib/autosde_openapi_client/models/authentication.rb +22 -10
- data/lib/autosde_openapi_client/models/auto_sde_project.rb +22 -10
- data/lib/autosde_openapi_client/models/auto_sde_role.rb +22 -10
- data/lib/autosde_openapi_client/models/capability_translation.rb +22 -10
- data/lib/autosde_openapi_client/models/capability_translation_create.rb +22 -10
- data/lib/autosde_openapi_client/models/host.rb +22 -10
- data/lib/autosde_openapi_client/models/host_create.rb +22 -10
- data/lib/autosde_openapi_client/models/host_volume_connection.rb +22 -10
- data/lib/autosde_openapi_client/models/host_volume_connection_create.rb +22 -10
- data/lib/autosde_openapi_client/models/job.rb +280 -0
- data/lib/autosde_openapi_client/models/job_create.rb +230 -0
- data/lib/autosde_openapi_client/models/native_capability.rb +22 -10
- data/lib/autosde_openapi_client/models/profile.rb +22 -10
- data/lib/autosde_openapi_client/models/provisioning_strategy.rb +22 -10
- data/lib/autosde_openapi_client/models/service.rb +22 -10
- data/lib/autosde_openapi_client/models/service_abstract_capability_value.rb +22 -10
- data/lib/autosde_openapi_client/models/service_create.rb +22 -10
- data/lib/autosde_openapi_client/models/service_resource_attachment.rb +22 -10
- data/lib/autosde_openapi_client/models/snapshot.rb +298 -0
- data/lib/autosde_openapi_client/models/snapshot_create.rb +288 -0
- data/lib/autosde_openapi_client/models/storage_host.rb +317 -0
- data/lib/autosde_openapi_client/models/storage_host_create.rb +368 -0
- data/lib/autosde_openapi_client/models/storage_host_response.rb +333 -0
- data/lib/autosde_openapi_client/models/storage_host_update.rb +301 -0
- data/lib/autosde_openapi_client/models/storage_host_volume_mapping.rb +299 -0
- data/lib/autosde_openapi_client/models/storage_host_volume_mapping_create.rb +291 -0
- data/lib/autosde_openapi_client/models/storage_host_volume_mapping_response.rb +301 -0
- data/lib/autosde_openapi_client/models/storage_resource.rb +22 -10
- data/lib/autosde_openapi_client/models/storage_resource_create.rb +22 -10
- data/lib/autosde_openapi_client/models/storage_resource_response.rb +22 -10
- data/lib/autosde_openapi_client/models/storage_system.rb +22 -10
- data/lib/autosde_openapi_client/models/storage_system_create.rb +22 -10
- data/lib/autosde_openapi_client/models/system_type.rb +22 -10
- data/lib/autosde_openapi_client/models/system_type_create.rb +22 -10
- data/lib/autosde_openapi_client/models/volume.rb +33 -11
- data/lib/autosde_openapi_client/models/volume_create.rb +33 -11
- data/lib/autosde_openapi_client/models/volume_response.rb +33 -11
- data/lib/autosde_openapi_client/models/volume_safe_delete.rb +22 -10
- data/lib/autosde_openapi_client/models/volume_safe_delete_create.rb +22 -10
- data/lib/autosde_openapi_client/models/volume_update.rb +35 -11
- data/lib/autosde_openapi_client/version.rb +4 -4
- data/spec/api/abstract_capability_api_spec.rb +2 -2
- data/spec/api/account_api_spec.rb +3 -3
- data/spec/api/address_api_spec.rb +2 -2
- data/spec/api/authentication_api_spec.rb +1 -1
- data/spec/api/auto_sde_project_api_spec.rb +2 -2
- data/spec/api/auto_sde_role_api_spec.rb +2 -2
- data/spec/api/capability_translation_api_spec.rb +2 -2
- data/spec/api/host_api_spec.rb +2 -2
- data/spec/api/host_volume_connection_api_spec.rb +2 -2
- data/spec/api/job_api_spec.rb +54 -0
- data/spec/api/native_capability_api_spec.rb +2 -2
- data/spec/api/profile_api_spec.rb +2 -2
- data/spec/api/provisioning_strategy_api_spec.rb +2 -2
- data/spec/api/service_api_spec.rb +3 -3
- data/spec/api/service_resource_attachment_api_spec.rb +2 -2
- data/spec/api/snapshot_api_spec.rb +74 -0
- data/spec/api/storage_host_api_spec.rb +85 -0
- data/spec/api/storage_host_volume_mapping_api_spec.rb +74 -0
- data/spec/api/storage_resource_api_spec.rb +3 -3
- data/spec/api/storage_system_api_spec.rb +2 -2
- data/spec/api/system_type_api_spec.rb +2 -2
- data/spec/api/volume_api_spec.rb +3 -3
- data/spec/api/volume_safe_delete_api_spec.rb +2 -2
- 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 +40 -0
- data/spec/models/job_spec.rb +70 -0
- 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 +56 -0
- data/spec/models/snapshot_spec.rb +62 -0
- data/spec/models/storage_host_create_spec.rb +102 -0
- data/spec/models/storage_host_response_spec.rb +80 -0
- data/spec/models/storage_host_spec.rb +74 -0
- data/spec/models/storage_host_update_spec.rb +54 -0
- data/spec/models/storage_host_volume_mapping_create_spec.rb +56 -0
- data/spec/models/storage_host_volume_mapping_response_spec.rb +62 -0
- data/spec/models/storage_host_volume_mapping_spec.rb +62 -0
- 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 +11 -12
- data/spec/models/volume_response_spec.rb +11 -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 +11 -12
- data/spec/models/volume_update_spec.rb +10 -11
- data/spec/spec_helper.rb +1 -1
- metadata +112 -72
- data/site_manager_oas.json +0 -3992
data/docs/SystemType.md
CHANGED
@@ -1,25 +1,26 @@
|
|
1
|
-
#
|
1
|
+
# AutosdeOpenapiClient::SystemType
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**component_state** | **String** | component_state | [optional]
|
8
|
-
**name** | **String** | name | [optional]
|
9
|
-
**short_version** | **String** | short_version | [optional]
|
10
|
-
**uuid** | **String** | uuid | [optional]
|
11
|
-
**version** | **String** | SystemType version | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **component_state** | **String** | component_state | [optional] |
|
8
|
+
| **name** | **String** | name | [optional][default to 'xiv'] |
|
9
|
+
| **short_version** | **String** | short_version | [optional] |
|
10
|
+
| **uuid** | **String** | uuid | [optional] |
|
11
|
+
| **version** | **String** | SystemType version | [optional] |
|
12
12
|
|
13
|
-
##
|
13
|
+
## Example
|
14
14
|
|
15
15
|
```ruby
|
16
|
-
require '
|
16
|
+
require 'autosde_openapi_client'
|
17
17
|
|
18
|
-
instance =
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
18
|
+
instance = AutosdeOpenapiClient::SystemType.new(
|
19
|
+
component_state: null,
|
20
|
+
name: null,
|
21
|
+
short_version: null,
|
22
|
+
uuid: null,
|
23
|
+
version: null
|
24
|
+
)
|
23
25
|
```
|
24
26
|
|
25
|
-
|
data/docs/SystemTypeApi.md
CHANGED
@@ -1,40 +1,58 @@
|
|
1
|
-
#
|
1
|
+
# AutosdeOpenapiClient::SystemTypeApi
|
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
|
-
[**system_types_get**](SystemTypeApi.md#system_types_get) | **GET** /system-types/ |
|
8
|
-
[**system_types_pk_delete**](SystemTypeApi.md#system_types_pk_delete) | **DELETE** /system-types/{pk} |
|
9
|
-
[**system_types_pk_get**](SystemTypeApi.md#system_types_pk_get) | **GET** /system-types/{pk} |
|
10
|
-
[**system_types_post**](SystemTypeApi.md#system_types_post) | **POST** /system-types/ |
|
11
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**system_types_get**](SystemTypeApi.md#system_types_get) | **GET** /system-types/ | |
|
8
|
+
| [**system_types_pk_delete**](SystemTypeApi.md#system_types_pk_delete) | **DELETE** /system-types/{pk} | |
|
9
|
+
| [**system_types_pk_get**](SystemTypeApi.md#system_types_pk_get) | **GET** /system-types/{pk} | |
|
10
|
+
| [**system_types_post**](SystemTypeApi.md#system_types_post) | **POST** /system-types/ | |
|
12
11
|
|
13
12
|
|
14
13
|
## system_types_get
|
15
14
|
|
16
|
-
> Array
|
15
|
+
> <Array<SystemType>> system_types_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::SystemTypeApi.new
|
32
31
|
|
33
32
|
begin
|
33
|
+
|
34
34
|
result = api_instance.system_types_get
|
35
35
|
p result
|
36
|
-
rescue
|
37
|
-
puts "
|
36
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
37
|
+
puts "Error when calling SystemTypeApi->system_types_get: #{e}"
|
38
|
+
end
|
39
|
+
```
|
40
|
+
|
41
|
+
#### Using the system_types_get_with_http_info variant
|
42
|
+
|
43
|
+
This returns an Array which contains the response data, status code and headers.
|
44
|
+
|
45
|
+
> <Array(<Array<SystemType>>, Integer, Hash)> system_types_get_with_http_info
|
46
|
+
|
47
|
+
```ruby
|
48
|
+
begin
|
49
|
+
|
50
|
+
data, status_code, headers = api_instance.system_types_get_with_http_info
|
51
|
+
p status_code # => 2xx
|
52
|
+
p headers # => { ... }
|
53
|
+
p data # => <Array<SystemType>>
|
54
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
55
|
+
puts "Error when calling SystemTypeApi->system_types_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
|
## system_types_pk_delete
|
60
78
|
|
61
|
-
> Array
|
79
|
+
> <Array<SystemType>> system_types_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::SystemTypeApi.new
|
77
95
|
pk = 56 # Integer |
|
78
96
|
|
79
97
|
begin
|
98
|
+
|
80
99
|
result = api_instance.system_types_pk_delete(pk)
|
81
100
|
p result
|
82
|
-
rescue
|
83
|
-
puts "
|
101
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
102
|
+
puts "Error when calling SystemTypeApi->system_types_pk_delete: #{e}"
|
84
103
|
end
|
85
104
|
```
|
86
105
|
|
87
|
-
|
106
|
+
#### Using the system_types_pk_delete_with_http_info variant
|
88
107
|
|
108
|
+
This returns an Array which contains the response data, status code and headers.
|
89
109
|
|
90
|
-
|
91
|
-
|
92
|
-
|
110
|
+
> <Array(<Array<SystemType>>, Integer, Hash)> system_types_pk_delete_with_http_info(pk)
|
111
|
+
|
112
|
+
```ruby
|
113
|
+
begin
|
114
|
+
|
115
|
+
data, status_code, headers = api_instance.system_types_pk_delete_with_http_info(pk)
|
116
|
+
p status_code # => 2xx
|
117
|
+
p headers # => { ... }
|
118
|
+
p data # => <Array<SystemType>>
|
119
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
120
|
+
puts "Error when calling SystemTypeApi->system_types_pk_delete_with_http_info: #{e}"
|
121
|
+
end
|
122
|
+
```
|
123
|
+
|
124
|
+
### Parameters
|
125
|
+
|
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
|
## system_types_pk_get
|
109
145
|
|
110
|
-
> Array
|
146
|
+
> <Array<SystemType>> system_types_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::SystemTypeApi.new
|
126
162
|
pk = 56 # Integer |
|
127
163
|
|
128
164
|
begin
|
165
|
+
|
129
166
|
result = api_instance.system_types_pk_get(pk)
|
130
167
|
p result
|
131
|
-
rescue
|
132
|
-
puts "
|
168
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
169
|
+
puts "Error when calling SystemTypeApi->system_types_pk_get: #{e}"
|
133
170
|
end
|
134
171
|
```
|
135
172
|
|
136
|
-
|
173
|
+
#### Using the system_types_pk_get_with_http_info variant
|
137
174
|
|
175
|
+
This returns an Array which contains the response data, status code and headers.
|
138
176
|
|
139
|
-
|
140
|
-
|
141
|
-
|
177
|
+
> <Array(<Array<SystemType>>, Integer, Hash)> system_types_pk_get_with_http_info(pk)
|
178
|
+
|
179
|
+
```ruby
|
180
|
+
begin
|
181
|
+
|
182
|
+
data, status_code, headers = api_instance.system_types_pk_get_with_http_info(pk)
|
183
|
+
p status_code # => 2xx
|
184
|
+
p headers # => { ... }
|
185
|
+
p data # => <Array<SystemType>>
|
186
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
187
|
+
puts "Error when calling SystemTypeApi->system_types_pk_get_with_http_info: #{e}"
|
188
|
+
end
|
189
|
+
```
|
190
|
+
|
191
|
+
### Parameters
|
192
|
+
|
193
|
+
| Name | Type | Description | Notes |
|
194
|
+
| ---- | ---- | ----------- | ----- |
|
195
|
+
| **pk** | **Integer** | | |
|
142
196
|
|
143
197
|
### Return type
|
144
198
|
|
@@ -156,42 +210,60 @@ Name | Type | Description | Notes
|
|
156
210
|
|
157
211
|
## system_types_post
|
158
212
|
|
159
|
-
>
|
213
|
+
> <SystemType> system_types_post(system_type_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
|
-
system_type_create =
|
228
|
+
api_instance = AutosdeOpenapiClient::SystemTypeApi.new
|
229
|
+
system_type_create = AutosdeOpenapiClient::SystemTypeCreate.new # SystemTypeCreate |
|
176
230
|
|
177
231
|
begin
|
232
|
+
|
178
233
|
result = api_instance.system_types_post(system_type_create)
|
179
234
|
p result
|
180
|
-
rescue
|
181
|
-
puts "
|
235
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
236
|
+
puts "Error when calling SystemTypeApi->system_types_post: #{e}"
|
182
237
|
end
|
183
238
|
```
|
184
239
|
|
185
|
-
|
240
|
+
#### Using the system_types_post_with_http_info variant
|
186
241
|
|
242
|
+
This returns an Array which contains the response data, status code and headers.
|
187
243
|
|
188
|
-
|
189
|
-
|
190
|
-
|
244
|
+
> <Array(<SystemType>, Integer, Hash)> system_types_post_with_http_info(system_type_create)
|
245
|
+
|
246
|
+
```ruby
|
247
|
+
begin
|
248
|
+
|
249
|
+
data, status_code, headers = api_instance.system_types_post_with_http_info(system_type_create)
|
250
|
+
p status_code # => 2xx
|
251
|
+
p headers # => { ... }
|
252
|
+
p data # => <SystemType>
|
253
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
254
|
+
puts "Error when calling SystemTypeApi->system_types_post_with_http_info: #{e}"
|
255
|
+
end
|
256
|
+
```
|
257
|
+
|
258
|
+
### Parameters
|
259
|
+
|
260
|
+
| Name | Type | Description | Notes |
|
261
|
+
| ---- | ---- | ----------- | ----- |
|
262
|
+
| **system_type_create** | [**SystemTypeCreate**](SystemTypeCreate.md) | | |
|
191
263
|
|
192
264
|
### Return type
|
193
265
|
|
194
|
-
[**
|
266
|
+
[**SystemType**](SystemType.md)
|
195
267
|
|
196
268
|
### Authorization
|
197
269
|
|
data/docs/SystemTypeCreate.md
CHANGED
@@ -1,27 +1,28 @@
|
|
1
|
-
#
|
1
|
+
# AutosdeOpenapiClient::SystemTypeCreate
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**component_state** | **String** | component_state | [optional]
|
8
|
-
**name** | **String** | name | [optional]
|
9
|
-
**short_version** | **String** | short_version | [optional]
|
10
|
-
**super_type** | **String** | super_type | [optional]
|
11
|
-
**uuid** | **String** | uuid | [optional]
|
12
|
-
**version** | **String** | SystemType version | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **component_state** | **String** | component_state | [optional] |
|
8
|
+
| **name** | **String** | name | [optional][default to 'xiv'] |
|
9
|
+
| **short_version** | **String** | short_version | [optional] |
|
10
|
+
| **super_type** | **String** | super_type | [optional][default to 'null'] |
|
11
|
+
| **uuid** | **String** | uuid | [optional] |
|
12
|
+
| **version** | **String** | SystemType version | [optional] |
|
13
13
|
|
14
|
-
##
|
14
|
+
## Example
|
15
15
|
|
16
16
|
```ruby
|
17
|
-
require '
|
17
|
+
require 'autosde_openapi_client'
|
18
18
|
|
19
|
-
instance =
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
19
|
+
instance = AutosdeOpenapiClient::SystemTypeCreate.new(
|
20
|
+
component_state: null,
|
21
|
+
name: null,
|
22
|
+
short_version: null,
|
23
|
+
super_type: null,
|
24
|
+
uuid: null,
|
25
|
+
version: null
|
26
|
+
)
|
25
27
|
```
|
26
28
|
|
27
|
-
|
data/docs/Volume.md
CHANGED
@@ -1,31 +1,34 @@
|
|
1
|
-
#
|
1
|
+
# AutosdeOpenapiClient::Volume
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**compliant** | **Boolean** | compliant | [optional]
|
8
|
-
**component_state** | **String** | component_state | [optional]
|
9
|
-
**historical_service** | [**Service**](Service.md) | | [optional]
|
10
|
-
**name** | **String** | name | [optional]
|
11
|
-
**service** | [**Service**](Service.md) | | [optional]
|
12
|
-
**size** | **Integer** | size | [optional]
|
13
|
-
**storage_resource** | [**StorageResource**](StorageResource.md) | | [optional]
|
14
|
-
**
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **compliant** | **Boolean** | compliant | [optional][default to false] |
|
8
|
+
| **component_state** | **String** | component_state | [optional] |
|
9
|
+
| **historical_service** | [**Service**](Service.md) | | [optional] |
|
10
|
+
| **name** | **String** | name | [optional] |
|
11
|
+
| **service** | [**Service**](Service.md) | | [optional] |
|
12
|
+
| **size** | **Integer** | size | [optional] |
|
13
|
+
| **storage_resource** | [**StorageResource**](StorageResource.md) | | [optional] |
|
14
|
+
| **unmapped_since** | **Time** | unmapped_since | [optional] |
|
15
|
+
| **uuid** | **String** | uuid | [optional] |
|
15
16
|
|
16
|
-
##
|
17
|
+
## Example
|
17
18
|
|
18
19
|
```ruby
|
19
|
-
require '
|
20
|
+
require 'autosde_openapi_client'
|
20
21
|
|
21
|
-
instance =
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
22
|
+
instance = AutosdeOpenapiClient::Volume.new(
|
23
|
+
compliant: null,
|
24
|
+
component_state: null,
|
25
|
+
historical_service: null,
|
26
|
+
name: null,
|
27
|
+
service: null,
|
28
|
+
size: null,
|
29
|
+
storage_resource: null,
|
30
|
+
unmapped_since: null,
|
31
|
+
uuid: null
|
32
|
+
)
|
29
33
|
```
|
30
34
|
|
31
|
-
|
data/docs/VolumeApi.md
CHANGED
@@ -1,41 +1,59 @@
|
|
1
|
-
#
|
1
|
+
# AutosdeOpenapiClient::VolumeApi
|
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
|
-
[**volumes_get**](VolumeApi.md#volumes_get) | **GET** /volumes/ |
|
8
|
-
[**volumes_pk_delete**](VolumeApi.md#volumes_pk_delete) | **DELETE** /volumes/{pk} |
|
9
|
-
[**volumes_pk_get**](VolumeApi.md#volumes_pk_get) | **GET** /volumes/{pk} |
|
10
|
-
[**volumes_pk_put**](VolumeApi.md#volumes_pk_put) | **PUT** /volumes/{pk} |
|
11
|
-
[**volumes_post**](VolumeApi.md#volumes_post) | **POST** /volumes/ |
|
12
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**volumes_get**](VolumeApi.md#volumes_get) | **GET** /volumes/ | |
|
8
|
+
| [**volumes_pk_delete**](VolumeApi.md#volumes_pk_delete) | **DELETE** /volumes/{pk} | |
|
9
|
+
| [**volumes_pk_get**](VolumeApi.md#volumes_pk_get) | **GET** /volumes/{pk} | |
|
10
|
+
| [**volumes_pk_put**](VolumeApi.md#volumes_pk_put) | **PUT** /volumes/{pk} | |
|
11
|
+
| [**volumes_post**](VolumeApi.md#volumes_post) | **POST** /volumes/ | |
|
13
12
|
|
14
13
|
|
15
14
|
## volumes_get
|
16
15
|
|
17
|
-
> Array
|
16
|
+
> <Array<VolumeResponse>> volumes_get
|
18
17
|
|
19
18
|
|
20
19
|
|
21
|
-
###
|
20
|
+
### Examples
|
22
21
|
|
23
22
|
```ruby
|
24
|
-
|
23
|
+
require 'time'
|
25
24
|
require 'autosde_openapi_client'
|
26
25
|
# setup authorization
|
27
|
-
|
26
|
+
AutosdeOpenapiClient.configure do |config|
|
28
27
|
# Configure Bearer authorization: bearerAuth
|
29
28
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
30
29
|
end
|
31
30
|
|
32
|
-
api_instance =
|
31
|
+
api_instance = AutosdeOpenapiClient::VolumeApi.new
|
33
32
|
|
34
33
|
begin
|
34
|
+
|
35
35
|
result = api_instance.volumes_get
|
36
36
|
p result
|
37
|
-
rescue
|
38
|
-
puts "
|
37
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
38
|
+
puts "Error when calling VolumeApi->volumes_get: #{e}"
|
39
|
+
end
|
40
|
+
```
|
41
|
+
|
42
|
+
#### Using the volumes_get_with_http_info variant
|
43
|
+
|
44
|
+
This returns an Array which contains the response data, status code and headers.
|
45
|
+
|
46
|
+
> <Array(<Array<VolumeResponse>>, Integer, Hash)> volumes_get_with_http_info
|
47
|
+
|
48
|
+
```ruby
|
49
|
+
begin
|
50
|
+
|
51
|
+
data, status_code, headers = api_instance.volumes_get_with_http_info
|
52
|
+
p status_code # => 2xx
|
53
|
+
p headers # => { ... }
|
54
|
+
p data # => <Array<VolumeResponse>>
|
55
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
56
|
+
puts "Error when calling VolumeApi->volumes_get_with_http_info: #{e}"
|
39
57
|
end
|
40
58
|
```
|
41
59
|
|
@@ -59,38 +77,56 @@ This endpoint does not need any parameter.
|
|
59
77
|
|
60
78
|
## volumes_pk_delete
|
61
79
|
|
62
|
-
> Array
|
80
|
+
> <Array<Volume>> volumes_pk_delete(pk)
|
63
81
|
|
64
82
|
|
65
83
|
|
66
|
-
###
|
84
|
+
### Examples
|
67
85
|
|
68
86
|
```ruby
|
69
|
-
|
87
|
+
require 'time'
|
70
88
|
require 'autosde_openapi_client'
|
71
89
|
# setup authorization
|
72
|
-
|
90
|
+
AutosdeOpenapiClient.configure do |config|
|
73
91
|
# Configure Bearer authorization: bearerAuth
|
74
92
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
75
93
|
end
|
76
94
|
|
77
|
-
api_instance =
|
95
|
+
api_instance = AutosdeOpenapiClient::VolumeApi.new
|
78
96
|
pk = 56 # Integer |
|
79
97
|
|
80
98
|
begin
|
99
|
+
|
81
100
|
result = api_instance.volumes_pk_delete(pk)
|
82
101
|
p result
|
83
|
-
rescue
|
84
|
-
puts "
|
102
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
103
|
+
puts "Error when calling VolumeApi->volumes_pk_delete: #{e}"
|
85
104
|
end
|
86
105
|
```
|
87
106
|
|
88
|
-
|
107
|
+
#### Using the volumes_pk_delete_with_http_info variant
|
108
|
+
|
109
|
+
This returns an Array which contains the response data, status code and headers.
|
110
|
+
|
111
|
+
> <Array(<Array<Volume>>, Integer, Hash)> volumes_pk_delete_with_http_info(pk)
|
89
112
|
|
113
|
+
```ruby
|
114
|
+
begin
|
115
|
+
|
116
|
+
data, status_code, headers = api_instance.volumes_pk_delete_with_http_info(pk)
|
117
|
+
p status_code # => 2xx
|
118
|
+
p headers # => { ... }
|
119
|
+
p data # => <Array<Volume>>
|
120
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
121
|
+
puts "Error when calling VolumeApi->volumes_pk_delete_with_http_info: #{e}"
|
122
|
+
end
|
123
|
+
```
|
124
|
+
|
125
|
+
### Parameters
|
90
126
|
|
91
|
-
Name | Type | Description
|
92
|
-
|
93
|
-
**pk** | **Integer
|
127
|
+
| Name | Type | Description | Notes |
|
128
|
+
| ---- | ---- | ----------- | ----- |
|
129
|
+
| **pk** | **Integer** | | |
|
94
130
|
|
95
131
|
### Return type
|
96
132
|
|
@@ -108,38 +144,56 @@ Name | Type | Description | Notes
|
|
108
144
|
|
109
145
|
## volumes_pk_get
|
110
146
|
|
111
|
-
> Array
|
147
|
+
> <Array<VolumeResponse>> volumes_pk_get(pk)
|
112
148
|
|
113
149
|
|
114
150
|
|
115
|
-
###
|
151
|
+
### Examples
|
116
152
|
|
117
153
|
```ruby
|
118
|
-
|
154
|
+
require 'time'
|
119
155
|
require 'autosde_openapi_client'
|
120
156
|
# setup authorization
|
121
|
-
|
157
|
+
AutosdeOpenapiClient.configure do |config|
|
122
158
|
# Configure Bearer authorization: bearerAuth
|
123
159
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
124
160
|
end
|
125
161
|
|
126
|
-
api_instance =
|
162
|
+
api_instance = AutosdeOpenapiClient::VolumeApi.new
|
127
163
|
pk = 56 # Integer |
|
128
164
|
|
129
165
|
begin
|
166
|
+
|
130
167
|
result = api_instance.volumes_pk_get(pk)
|
131
168
|
p result
|
132
|
-
rescue
|
133
|
-
puts "
|
169
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
170
|
+
puts "Error when calling VolumeApi->volumes_pk_get: #{e}"
|
134
171
|
end
|
135
172
|
```
|
136
173
|
|
137
|
-
|
174
|
+
#### Using the volumes_pk_get_with_http_info variant
|
175
|
+
|
176
|
+
This returns an Array which contains the response data, status code and headers.
|
138
177
|
|
178
|
+
> <Array(<Array<VolumeResponse>>, Integer, Hash)> volumes_pk_get_with_http_info(pk)
|
139
179
|
|
140
|
-
|
141
|
-
|
142
|
-
|
180
|
+
```ruby
|
181
|
+
begin
|
182
|
+
|
183
|
+
data, status_code, headers = api_instance.volumes_pk_get_with_http_info(pk)
|
184
|
+
p status_code # => 2xx
|
185
|
+
p headers # => { ... }
|
186
|
+
p data # => <Array<VolumeResponse>>
|
187
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
188
|
+
puts "Error when calling VolumeApi->volumes_pk_get_with_http_info: #{e}"
|
189
|
+
end
|
190
|
+
```
|
191
|
+
|
192
|
+
### Parameters
|
193
|
+
|
194
|
+
| Name | Type | Description | Notes |
|
195
|
+
| ---- | ---- | ----------- | ----- |
|
196
|
+
| **pk** | **Integer** | | |
|
143
197
|
|
144
198
|
### Return type
|
145
199
|
|
@@ -157,44 +211,62 @@ Name | Type | Description | Notes
|
|
157
211
|
|
158
212
|
## volumes_pk_put
|
159
213
|
|
160
|
-
>
|
214
|
+
> <VolumeResponse> volumes_pk_put(pk, volume_update)
|
161
215
|
|
162
216
|
|
163
217
|
|
164
|
-
###
|
218
|
+
### Examples
|
165
219
|
|
166
220
|
```ruby
|
167
|
-
|
221
|
+
require 'time'
|
168
222
|
require 'autosde_openapi_client'
|
169
223
|
# setup authorization
|
170
|
-
|
224
|
+
AutosdeOpenapiClient.configure do |config|
|
171
225
|
# Configure Bearer authorization: bearerAuth
|
172
226
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
173
227
|
end
|
174
228
|
|
175
|
-
api_instance =
|
229
|
+
api_instance = AutosdeOpenapiClient::VolumeApi.new
|
176
230
|
pk = 56 # Integer |
|
177
|
-
volume_update =
|
231
|
+
volume_update = AutosdeOpenapiClient::VolumeUpdate.new # VolumeUpdate |
|
178
232
|
|
179
233
|
begin
|
234
|
+
|
180
235
|
result = api_instance.volumes_pk_put(pk, volume_update)
|
181
236
|
p result
|
182
|
-
rescue
|
183
|
-
puts "
|
237
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
238
|
+
puts "Error when calling VolumeApi->volumes_pk_put: #{e}"
|
184
239
|
end
|
185
240
|
```
|
186
241
|
|
187
|
-
|
242
|
+
#### Using the volumes_pk_put_with_http_info variant
|
243
|
+
|
244
|
+
This returns an Array which contains the response data, status code and headers.
|
245
|
+
|
246
|
+
> <Array(<VolumeResponse>, Integer, Hash)> volumes_pk_put_with_http_info(pk, volume_update)
|
188
247
|
|
248
|
+
```ruby
|
249
|
+
begin
|
250
|
+
|
251
|
+
data, status_code, headers = api_instance.volumes_pk_put_with_http_info(pk, volume_update)
|
252
|
+
p status_code # => 2xx
|
253
|
+
p headers # => { ... }
|
254
|
+
p data # => <VolumeResponse>
|
255
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
256
|
+
puts "Error when calling VolumeApi->volumes_pk_put_with_http_info: #{e}"
|
257
|
+
end
|
258
|
+
```
|
259
|
+
|
260
|
+
### Parameters
|
189
261
|
|
190
|
-
Name | Type | Description
|
191
|
-
|
192
|
-
**pk** | **Integer
|
193
|
-
**volume_update** | [**VolumeUpdate**](VolumeUpdate.md)| |
|
262
|
+
| Name | Type | Description | Notes |
|
263
|
+
| ---- | ---- | ----------- | ----- |
|
264
|
+
| **pk** | **Integer** | | |
|
265
|
+
| **volume_update** | [**VolumeUpdate**](VolumeUpdate.md) | | |
|
194
266
|
|
195
267
|
### Return type
|
196
268
|
|
197
|
-
[**
|
269
|
+
[**VolumeResponse**](VolumeResponse.md)
|
198
270
|
|
199
271
|
### Authorization
|
200
272
|
|
@@ -208,42 +280,60 @@ Name | Type | Description | Notes
|
|
208
280
|
|
209
281
|
## volumes_post
|
210
282
|
|
211
|
-
>
|
283
|
+
> <VolumeResponse> volumes_post(volume_create)
|
212
284
|
|
213
285
|
|
214
286
|
|
215
|
-
###
|
287
|
+
### Examples
|
216
288
|
|
217
289
|
```ruby
|
218
|
-
|
290
|
+
require 'time'
|
219
291
|
require 'autosde_openapi_client'
|
220
292
|
# setup authorization
|
221
|
-
|
293
|
+
AutosdeOpenapiClient.configure do |config|
|
222
294
|
# Configure Bearer authorization: bearerAuth
|
223
295
|
config.access_token = 'YOUR_BEARER_TOKEN'
|
224
296
|
end
|
225
297
|
|
226
|
-
api_instance =
|
227
|
-
volume_create =
|
298
|
+
api_instance = AutosdeOpenapiClient::VolumeApi.new
|
299
|
+
volume_create = AutosdeOpenapiClient::VolumeCreate.new # VolumeCreate |
|
228
300
|
|
229
301
|
begin
|
302
|
+
|
230
303
|
result = api_instance.volumes_post(volume_create)
|
231
304
|
p result
|
232
|
-
rescue
|
233
|
-
puts "
|
305
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
306
|
+
puts "Error when calling VolumeApi->volumes_post: #{e}"
|
234
307
|
end
|
235
308
|
```
|
236
309
|
|
237
|
-
|
310
|
+
#### Using the volumes_post_with_http_info variant
|
238
311
|
|
312
|
+
This returns an Array which contains the response data, status code and headers.
|
239
313
|
|
240
|
-
|
241
|
-
|
242
|
-
|
314
|
+
> <Array(<VolumeResponse>, Integer, Hash)> volumes_post_with_http_info(volume_create)
|
315
|
+
|
316
|
+
```ruby
|
317
|
+
begin
|
318
|
+
|
319
|
+
data, status_code, headers = api_instance.volumes_post_with_http_info(volume_create)
|
320
|
+
p status_code # => 2xx
|
321
|
+
p headers # => { ... }
|
322
|
+
p data # => <VolumeResponse>
|
323
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
324
|
+
puts "Error when calling VolumeApi->volumes_post_with_http_info: #{e}"
|
325
|
+
end
|
326
|
+
```
|
327
|
+
|
328
|
+
### Parameters
|
329
|
+
|
330
|
+
| Name | Type | Description | Notes |
|
331
|
+
| ---- | ---- | ----------- | ----- |
|
332
|
+
| **volume_create** | [**VolumeCreate**](VolumeCreate.md) | | |
|
243
333
|
|
244
334
|
### Return type
|
245
335
|
|
246
|
-
[**
|
336
|
+
[**VolumeResponse**](VolumeResponse.md)
|
247
337
|
|
248
338
|
### Authorization
|
249
339
|
|