autosde_openapi_client 1.0.47 → 1.0.51

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.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -0
  3. data/docs/HostCluster.md +3 -1
  4. data/docs/HostClusterCreate.md +3 -1
  5. data/docs/HostClusterMembership.md +24 -0
  6. data/docs/HostClusterMembershipApi.md +276 -0
  7. data/docs/HostClusterVolumeMapping.md +26 -0
  8. data/docs/HostClusterVolumeMappingApi.md +276 -0
  9. data/docs/HostClusterVolumeMappingCreate.md +24 -0
  10. data/docs/HostClusterVolumeMappingResponse.md +26 -0
  11. data/docs/VolumeCreate.md +2 -0
  12. data/lib/autosde_openapi_client/api/host_cluster_membership_api.rb +254 -0
  13. data/lib/autosde_openapi_client/api/host_cluster_volume_mapping_api.rb +254 -0
  14. data/lib/autosde_openapi_client/models/host_cluster.rb +13 -4
  15. data/lib/autosde_openapi_client/models/host_cluster_create.rb +13 -4
  16. data/lib/autosde_openapi_client/models/host_cluster_membership.rb +287 -0
  17. data/lib/autosde_openapi_client/models/host_cluster_volume_mapping.rb +299 -0
  18. data/lib/autosde_openapi_client/models/host_cluster_volume_mapping_create.rb +291 -0
  19. data/lib/autosde_openapi_client/models/host_cluster_volume_mapping_response.rb +301 -0
  20. data/lib/autosde_openapi_client/models/storage_system.rb +0 -15
  21. data/lib/autosde_openapi_client/models/storage_system_create.rb +0 -15
  22. data/lib/autosde_openapi_client/models/volume_create.rb +13 -1
  23. data/lib/autosde_openapi_client/version.rb +2 -2
  24. data/lib/autosde_openapi_client.rb +6 -0
  25. data/spec/api/host_cluster_membership_api_spec.rb +74 -0
  26. data/spec/api/host_cluster_volume_mapping_api_spec.rb +74 -0
  27. data/spec/models/host_cluster_create_spec.rb +6 -0
  28. data/spec/models/host_cluster_membership_spec.rb +56 -0
  29. data/spec/models/host_cluster_spec.rb +6 -0
  30. data/spec/models/host_cluster_volume_mapping_create_spec.rb +56 -0
  31. data/spec/models/host_cluster_volume_mapping_response_spec.rb +62 -0
  32. data/spec/models/host_cluster_volume_mapping_spec.rb +62 -0
  33. data/spec/models/volume_create_spec.rb +6 -0
  34. metadata +26 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2aabee272580cee1d8f1983265ba817fd564b2aa37dd5893a9dc5adeae1c79ed
4
- data.tar.gz: f3bda2c5f92a3a8a3fd2399891ba4b5b3c252cf90697907106bb6aa588725c6f
3
+ metadata.gz: 1d6792218712b856c8f3aa301231a1f4ed7b90ca94901c89f2010f973d15ecb1
4
+ data.tar.gz: bd0e47bb02f36a06c456418edc1ce597cb90400c8f8b7ffefa303ebb071368b9
5
5
  SHA512:
6
- metadata.gz: 631c71d4df24d3c19fe0695c7c134b5aa396eeb75381d0143e01da871e00c71d582a06a3bcd68aea7a2717b1f6e8ab53a4f3faaf461192f334bb15e48230a0c3
7
- data.tar.gz: a0bd107ddb03dc6242b776eef0cb1f68c8c0e848ed56fc3fc91b6a2347c907cdcd480e4ab5cffe589a1cb0a3126c6058d43fa075e5cccf6f65f35f924628cfc3
6
+ metadata.gz: eec3fd2c3965e48a499044e4b9cc6250f90bfdabd03fcd66fc9c02f0c12303ba1a37452935ad8ef18d6878ef4f7832183a76a05fd542aa80c9aab930c86eaed6
7
+ data.tar.gz: a3b82ee53ce19756efc71ca2bc736e47ffb0113d9234f6793645dc87a0fa36708b61ca97c1940ff497c4a8620b1686a1c3603aa82225fa8fe5062c0b6215d5cc
data/README.md CHANGED
@@ -113,6 +113,14 @@ Class | Method | HTTP request | Description
113
113
  *AutosdeOpenapiClient::HostClusterApi* | [**host_clusters_pk_delete**](docs/HostClusterApi.md#host_clusters_pk_delete) | **DELETE** /host-clusters/{pk} |
114
114
  *AutosdeOpenapiClient::HostClusterApi* | [**host_clusters_pk_get**](docs/HostClusterApi.md#host_clusters_pk_get) | **GET** /host-clusters/{pk} |
115
115
  *AutosdeOpenapiClient::HostClusterApi* | [**host_clusters_post**](docs/HostClusterApi.md#host_clusters_post) | **POST** /host-clusters |
116
+ *AutosdeOpenapiClient::HostClusterMembershipApi* | [**host_cluster_membership_get**](docs/HostClusterMembershipApi.md#host_cluster_membership_get) | **GET** /host-cluster-membership |
117
+ *AutosdeOpenapiClient::HostClusterMembershipApi* | [**host_cluster_membership_pk_delete**](docs/HostClusterMembershipApi.md#host_cluster_membership_pk_delete) | **DELETE** /host-cluster-membership/{pk} |
118
+ *AutosdeOpenapiClient::HostClusterMembershipApi* | [**host_cluster_membership_pk_get**](docs/HostClusterMembershipApi.md#host_cluster_membership_pk_get) | **GET** /host-cluster-membership/{pk} |
119
+ *AutosdeOpenapiClient::HostClusterMembershipApi* | [**host_cluster_membership_post**](docs/HostClusterMembershipApi.md#host_cluster_membership_post) | **POST** /host-cluster-membership |
120
+ *AutosdeOpenapiClient::HostClusterVolumeMappingApi* | [**host_clusters_mapping_get**](docs/HostClusterVolumeMappingApi.md#host_clusters_mapping_get) | **GET** /host-clusters-mapping |
121
+ *AutosdeOpenapiClient::HostClusterVolumeMappingApi* | [**host_clusters_mapping_pk_delete**](docs/HostClusterVolumeMappingApi.md#host_clusters_mapping_pk_delete) | **DELETE** /host-clusters-mapping/{pk} |
122
+ *AutosdeOpenapiClient::HostClusterVolumeMappingApi* | [**host_clusters_mapping_pk_get**](docs/HostClusterVolumeMappingApi.md#host_clusters_mapping_pk_get) | **GET** /host-clusters-mapping/{pk} |
123
+ *AutosdeOpenapiClient::HostClusterVolumeMappingApi* | [**host_clusters_mapping_post**](docs/HostClusterVolumeMappingApi.md#host_clusters_mapping_post) | **POST** /host-clusters-mapping |
116
124
  *AutosdeOpenapiClient::HostVolumeConnectionApi* | [**host_volume_connection_get**](docs/HostVolumeConnectionApi.md#host_volume_connection_get) | **GET** /host-volume-connection |
117
125
  *AutosdeOpenapiClient::HostVolumeConnectionApi* | [**host_volume_connection_pk_delete**](docs/HostVolumeConnectionApi.md#host_volume_connection_pk_delete) | **DELETE** /host-volume-connection/{pk} |
118
126
  *AutosdeOpenapiClient::HostVolumeConnectionApi* | [**host_volume_connection_pk_get**](docs/HostVolumeConnectionApi.md#host_volume_connection_pk_get) | **GET** /host-volume-connection/{pk} |
@@ -196,6 +204,10 @@ Class | Method | HTTP request | Description
196
204
  - [AutosdeOpenapiClient::Host](docs/Host.md)
197
205
  - [AutosdeOpenapiClient::HostCluster](docs/HostCluster.md)
198
206
  - [AutosdeOpenapiClient::HostClusterCreate](docs/HostClusterCreate.md)
207
+ - [AutosdeOpenapiClient::HostClusterMembership](docs/HostClusterMembership.md)
208
+ - [AutosdeOpenapiClient::HostClusterVolumeMapping](docs/HostClusterVolumeMapping.md)
209
+ - [AutosdeOpenapiClient::HostClusterVolumeMappingCreate](docs/HostClusterVolumeMappingCreate.md)
210
+ - [AutosdeOpenapiClient::HostClusterVolumeMappingResponse](docs/HostClusterVolumeMappingResponse.md)
199
211
  - [AutosdeOpenapiClient::HostCreate](docs/HostCreate.md)
200
212
  - [AutosdeOpenapiClient::HostVolumeConnection](docs/HostVolumeConnection.md)
201
213
  - [AutosdeOpenapiClient::HostVolumeConnectionCreate](docs/HostVolumeConnectionCreate.md)
data/docs/HostCluster.md CHANGED
@@ -12,6 +12,7 @@
12
12
  | **status** | **String** | status | [optional] |
13
13
  | **storage_system** | [**StorageSystem**](StorageSystem.md) | | [optional] |
14
14
  | **uuid** | **String** | uuid | [optional] |
15
+ | **volumes** | [**Volume**](Volume.md) | | [optional] |
15
16
 
16
17
  ## Example
17
18
 
@@ -26,7 +27,8 @@ instance = AutosdeOpenapiClient::HostCluster.new(
26
27
  protocol: null,
27
28
  status: null,
28
29
  storage_system: null,
29
- uuid: null
30
+ uuid: null,
31
+ volumes: null
30
32
  )
31
33
  ```
32
34
 
@@ -10,6 +10,7 @@
10
10
  | **protocol** | **String** | protocol | [optional] |
11
11
  | **status** | **String** | status | [optional] |
12
12
  | **storage_system** | [**StorageSystem**](StorageSystem.md) | | [optional] |
13
+ | **volumes** | [**Volume**](Volume.md) | | [optional] |
13
14
 
14
15
  ## Example
15
16
 
@@ -22,7 +23,8 @@ instance = AutosdeOpenapiClient::HostClusterCreate.new(
22
23
  owner_name: null,
23
24
  protocol: null,
24
25
  status: null,
25
- storage_system: null
26
+ storage_system: null,
27
+ volumes: null
26
28
  )
27
29
  ```
28
30
 
@@ -0,0 +1,24 @@
1
+ # AutosdeOpenapiClient::HostClusterMembership
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **cluster** | [**HostCluster**](HostCluster.md) | | [optional] |
8
+ | **component_state** | **String** | component_state | [optional] |
9
+ | **host** | [**StorageHost**](StorageHost.md) | | [optional] |
10
+ | **uuid** | **String** | uuid | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'autosde_openapi_client'
16
+
17
+ instance = AutosdeOpenapiClient::HostClusterMembership.new(
18
+ cluster: null,
19
+ component_state: null,
20
+ host: null,
21
+ uuid: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,276 @@
1
+ # AutosdeOpenapiClient::HostClusterMembershipApi
2
+
3
+ All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**host_cluster_membership_get**](HostClusterMembershipApi.md#host_cluster_membership_get) | **GET** /host-cluster-membership | |
8
+ | [**host_cluster_membership_pk_delete**](HostClusterMembershipApi.md#host_cluster_membership_pk_delete) | **DELETE** /host-cluster-membership/{pk} | |
9
+ | [**host_cluster_membership_pk_get**](HostClusterMembershipApi.md#host_cluster_membership_pk_get) | **GET** /host-cluster-membership/{pk} | |
10
+ | [**host_cluster_membership_post**](HostClusterMembershipApi.md#host_cluster_membership_post) | **POST** /host-cluster-membership | |
11
+
12
+
13
+ ## host_cluster_membership_get
14
+
15
+ > <Array<HostClusterMembership>> host_cluster_membership_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::HostClusterMembershipApi.new
31
+
32
+ begin
33
+
34
+ result = api_instance.host_cluster_membership_get
35
+ p result
36
+ rescue AutosdeOpenapiClient::ApiError => e
37
+ puts "Error when calling HostClusterMembershipApi->host_cluster_membership_get: #{e}"
38
+ end
39
+ ```
40
+
41
+ #### Using the host_cluster_membership_get_with_http_info variant
42
+
43
+ This returns an Array which contains the response data, status code and headers.
44
+
45
+ > <Array(<Array<HostClusterMembership>>, Integer, Hash)> host_cluster_membership_get_with_http_info
46
+
47
+ ```ruby
48
+ begin
49
+
50
+ data, status_code, headers = api_instance.host_cluster_membership_get_with_http_info
51
+ p status_code # => 2xx
52
+ p headers # => { ... }
53
+ p data # => <Array<HostClusterMembership>>
54
+ rescue AutosdeOpenapiClient::ApiError => e
55
+ puts "Error when calling HostClusterMembershipApi->host_cluster_membership_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&lt;HostClusterMembership&gt;**](HostClusterMembership.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
+ ## host_cluster_membership_pk_delete
78
+
79
+ > <Array<HostClusterMembership>> host_cluster_membership_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::HostClusterMembershipApi.new
95
+ pk = 56 # Integer |
96
+
97
+ begin
98
+
99
+ result = api_instance.host_cluster_membership_pk_delete(pk)
100
+ p result
101
+ rescue AutosdeOpenapiClient::ApiError => e
102
+ puts "Error when calling HostClusterMembershipApi->host_cluster_membership_pk_delete: #{e}"
103
+ end
104
+ ```
105
+
106
+ #### Using the host_cluster_membership_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<HostClusterMembership>>, Integer, Hash)> host_cluster_membership_pk_delete_with_http_info(pk)
111
+
112
+ ```ruby
113
+ begin
114
+
115
+ data, status_code, headers = api_instance.host_cluster_membership_pk_delete_with_http_info(pk)
116
+ p status_code # => 2xx
117
+ p headers # => { ... }
118
+ p data # => <Array<HostClusterMembership>>
119
+ rescue AutosdeOpenapiClient::ApiError => e
120
+ puts "Error when calling HostClusterMembershipApi->host_cluster_membership_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
+ [**Array&lt;HostClusterMembership&gt;**](HostClusterMembership.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
+ ## host_cluster_membership_pk_get
145
+
146
+ > <Array<HostClusterMembership>> host_cluster_membership_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::HostClusterMembershipApi.new
162
+ pk = 56 # Integer |
163
+
164
+ begin
165
+
166
+ result = api_instance.host_cluster_membership_pk_get(pk)
167
+ p result
168
+ rescue AutosdeOpenapiClient::ApiError => e
169
+ puts "Error when calling HostClusterMembershipApi->host_cluster_membership_pk_get: #{e}"
170
+ end
171
+ ```
172
+
173
+ #### Using the host_cluster_membership_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<HostClusterMembership>>, Integer, Hash)> host_cluster_membership_pk_get_with_http_info(pk)
178
+
179
+ ```ruby
180
+ begin
181
+
182
+ data, status_code, headers = api_instance.host_cluster_membership_pk_get_with_http_info(pk)
183
+ p status_code # => 2xx
184
+ p headers # => { ... }
185
+ p data # => <Array<HostClusterMembership>>
186
+ rescue AutosdeOpenapiClient::ApiError => e
187
+ puts "Error when calling HostClusterMembershipApi->host_cluster_membership_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
+ [**Array&lt;HostClusterMembership&gt;**](HostClusterMembership.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
+ ## host_cluster_membership_post
212
+
213
+ > <HostClusterMembership> host_cluster_membership_post(host_cluster_membership)
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::HostClusterMembershipApi.new
229
+ host_cluster_membership = AutosdeOpenapiClient::HostClusterMembership.new # HostClusterMembership |
230
+
231
+ begin
232
+
233
+ result = api_instance.host_cluster_membership_post(host_cluster_membership)
234
+ p result
235
+ rescue AutosdeOpenapiClient::ApiError => e
236
+ puts "Error when calling HostClusterMembershipApi->host_cluster_membership_post: #{e}"
237
+ end
238
+ ```
239
+
240
+ #### Using the host_cluster_membership_post_with_http_info variant
241
+
242
+ This returns an Array which contains the response data, status code and headers.
243
+
244
+ > <Array(<HostClusterMembership>, Integer, Hash)> host_cluster_membership_post_with_http_info(host_cluster_membership)
245
+
246
+ ```ruby
247
+ begin
248
+
249
+ data, status_code, headers = api_instance.host_cluster_membership_post_with_http_info(host_cluster_membership)
250
+ p status_code # => 2xx
251
+ p headers # => { ... }
252
+ p data # => <HostClusterMembership>
253
+ rescue AutosdeOpenapiClient::ApiError => e
254
+ puts "Error when calling HostClusterMembershipApi->host_cluster_membership_post_with_http_info: #{e}"
255
+ end
256
+ ```
257
+
258
+ ### Parameters
259
+
260
+ | Name | Type | Description | Notes |
261
+ | ---- | ---- | ----------- | ----- |
262
+ | **host_cluster_membership** | [**HostClusterMembership**](HostClusterMembership.md) | | |
263
+
264
+ ### Return type
265
+
266
+ [**HostClusterMembership**](HostClusterMembership.md)
267
+
268
+ ### Authorization
269
+
270
+ [bearerAuth](../README.md#bearerAuth)
271
+
272
+ ### HTTP request headers
273
+
274
+ - **Content-Type**: application/json
275
+ - **Accept**: */*
276
+
@@ -0,0 +1,26 @@
1
+ # AutosdeOpenapiClient::HostClusterVolumeMapping
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **cluster** | [**HostCluster**](HostCluster.md) | | [optional] |
8
+ | **component_state** | **String** | component_state | [optional] |
9
+ | **lun** | **Integer** | lun | [optional][default to 0] |
10
+ | **uuid** | **String** | uuid | [optional] |
11
+ | **volume** | [**Volume**](Volume.md) | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'autosde_openapi_client'
17
+
18
+ instance = AutosdeOpenapiClient::HostClusterVolumeMapping.new(
19
+ cluster: null,
20
+ component_state: null,
21
+ lun: null,
22
+ uuid: null,
23
+ volume: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,276 @@
1
+ # AutosdeOpenapiClient::HostClusterVolumeMappingApi
2
+
3
+ All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**host_clusters_mapping_get**](HostClusterVolumeMappingApi.md#host_clusters_mapping_get) | **GET** /host-clusters-mapping | |
8
+ | [**host_clusters_mapping_pk_delete**](HostClusterVolumeMappingApi.md#host_clusters_mapping_pk_delete) | **DELETE** /host-clusters-mapping/{pk} | |
9
+ | [**host_clusters_mapping_pk_get**](HostClusterVolumeMappingApi.md#host_clusters_mapping_pk_get) | **GET** /host-clusters-mapping/{pk} | |
10
+ | [**host_clusters_mapping_post**](HostClusterVolumeMappingApi.md#host_clusters_mapping_post) | **POST** /host-clusters-mapping | |
11
+
12
+
13
+ ## host_clusters_mapping_get
14
+
15
+ > <Array<HostClusterVolumeMappingResponse>> host_clusters_mapping_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::HostClusterVolumeMappingApi.new
31
+
32
+ begin
33
+
34
+ result = api_instance.host_clusters_mapping_get
35
+ p result
36
+ rescue AutosdeOpenapiClient::ApiError => e
37
+ puts "Error when calling HostClusterVolumeMappingApi->host_clusters_mapping_get: #{e}"
38
+ end
39
+ ```
40
+
41
+ #### Using the host_clusters_mapping_get_with_http_info variant
42
+
43
+ This returns an Array which contains the response data, status code and headers.
44
+
45
+ > <Array(<Array<HostClusterVolumeMappingResponse>>, Integer, Hash)> host_clusters_mapping_get_with_http_info
46
+
47
+ ```ruby
48
+ begin
49
+
50
+ data, status_code, headers = api_instance.host_clusters_mapping_get_with_http_info
51
+ p status_code # => 2xx
52
+ p headers # => { ... }
53
+ p data # => <Array<HostClusterVolumeMappingResponse>>
54
+ rescue AutosdeOpenapiClient::ApiError => e
55
+ puts "Error when calling HostClusterVolumeMappingApi->host_clusters_mapping_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&lt;HostClusterVolumeMappingResponse&gt;**](HostClusterVolumeMappingResponse.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
+ ## host_clusters_mapping_pk_delete
78
+
79
+ > <Array<HostClusterVolumeMappingResponse>> host_clusters_mapping_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::HostClusterVolumeMappingApi.new
95
+ pk = 56 # Integer |
96
+
97
+ begin
98
+
99
+ result = api_instance.host_clusters_mapping_pk_delete(pk)
100
+ p result
101
+ rescue AutosdeOpenapiClient::ApiError => e
102
+ puts "Error when calling HostClusterVolumeMappingApi->host_clusters_mapping_pk_delete: #{e}"
103
+ end
104
+ ```
105
+
106
+ #### Using the host_clusters_mapping_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<HostClusterVolumeMappingResponse>>, Integer, Hash)> host_clusters_mapping_pk_delete_with_http_info(pk)
111
+
112
+ ```ruby
113
+ begin
114
+
115
+ data, status_code, headers = api_instance.host_clusters_mapping_pk_delete_with_http_info(pk)
116
+ p status_code # => 2xx
117
+ p headers # => { ... }
118
+ p data # => <Array<HostClusterVolumeMappingResponse>>
119
+ rescue AutosdeOpenapiClient::ApiError => e
120
+ puts "Error when calling HostClusterVolumeMappingApi->host_clusters_mapping_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
+ [**Array&lt;HostClusterVolumeMappingResponse&gt;**](HostClusterVolumeMappingResponse.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
+ ## host_clusters_mapping_pk_get
145
+
146
+ > <Array<HostClusterVolumeMappingResponse>> host_clusters_mapping_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::HostClusterVolumeMappingApi.new
162
+ pk = 56 # Integer |
163
+
164
+ begin
165
+
166
+ result = api_instance.host_clusters_mapping_pk_get(pk)
167
+ p result
168
+ rescue AutosdeOpenapiClient::ApiError => e
169
+ puts "Error when calling HostClusterVolumeMappingApi->host_clusters_mapping_pk_get: #{e}"
170
+ end
171
+ ```
172
+
173
+ #### Using the host_clusters_mapping_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<HostClusterVolumeMappingResponse>>, Integer, Hash)> host_clusters_mapping_pk_get_with_http_info(pk)
178
+
179
+ ```ruby
180
+ begin
181
+
182
+ data, status_code, headers = api_instance.host_clusters_mapping_pk_get_with_http_info(pk)
183
+ p status_code # => 2xx
184
+ p headers # => { ... }
185
+ p data # => <Array<HostClusterVolumeMappingResponse>>
186
+ rescue AutosdeOpenapiClient::ApiError => e
187
+ puts "Error when calling HostClusterVolumeMappingApi->host_clusters_mapping_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
+ [**Array&lt;HostClusterVolumeMappingResponse&gt;**](HostClusterVolumeMappingResponse.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
+ ## host_clusters_mapping_post
212
+
213
+ > <HostClusterVolumeMapping> host_clusters_mapping_post(host_cluster_volume_mapping_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::HostClusterVolumeMappingApi.new
229
+ host_cluster_volume_mapping_create = AutosdeOpenapiClient::HostClusterVolumeMappingCreate.new # HostClusterVolumeMappingCreate |
230
+
231
+ begin
232
+
233
+ result = api_instance.host_clusters_mapping_post(host_cluster_volume_mapping_create)
234
+ p result
235
+ rescue AutosdeOpenapiClient::ApiError => e
236
+ puts "Error when calling HostClusterVolumeMappingApi->host_clusters_mapping_post: #{e}"
237
+ end
238
+ ```
239
+
240
+ #### Using the host_clusters_mapping_post_with_http_info variant
241
+
242
+ This returns an Array which contains the response data, status code and headers.
243
+
244
+ > <Array(<HostClusterVolumeMapping>, Integer, Hash)> host_clusters_mapping_post_with_http_info(host_cluster_volume_mapping_create)
245
+
246
+ ```ruby
247
+ begin
248
+
249
+ data, status_code, headers = api_instance.host_clusters_mapping_post_with_http_info(host_cluster_volume_mapping_create)
250
+ p status_code # => 2xx
251
+ p headers # => { ... }
252
+ p data # => <HostClusterVolumeMapping>
253
+ rescue AutosdeOpenapiClient::ApiError => e
254
+ puts "Error when calling HostClusterVolumeMappingApi->host_clusters_mapping_post_with_http_info: #{e}"
255
+ end
256
+ ```
257
+
258
+ ### Parameters
259
+
260
+ | Name | Type | Description | Notes |
261
+ | ---- | ---- | ----------- | ----- |
262
+ | **host_cluster_volume_mapping_create** | [**HostClusterVolumeMappingCreate**](HostClusterVolumeMappingCreate.md) | | |
263
+
264
+ ### Return type
265
+
266
+ [**HostClusterVolumeMapping**](HostClusterVolumeMapping.md)
267
+
268
+ ### Authorization
269
+
270
+ [bearerAuth](../README.md#bearerAuth)
271
+
272
+ ### HTTP request headers
273
+
274
+ - **Content-Type**: application/json
275
+ - **Accept**: */*
276
+
@@ -0,0 +1,24 @@
1
+ # AutosdeOpenapiClient::HostClusterVolumeMappingCreate
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **cluster** | **String** | !!uuid of cluster | [optional] |
8
+ | **component_state** | **String** | component_state | [optional] |
9
+ | **lun** | **Integer** | lun | [optional][default to 0] |
10
+ | **volume** | **String** | !!uuid of volume | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'autosde_openapi_client'
16
+
17
+ instance = AutosdeOpenapiClient::HostClusterVolumeMappingCreate.new(
18
+ cluster: null,
19
+ component_state: null,
20
+ lun: null,
21
+ volume: null
22
+ )
23
+ ```
24
+