autosde_openapi_client 1.0.45 → 1.0.49

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -0
  3. data/docs/HostCluster.md +34 -0
  4. data/docs/HostClusterApi.md +276 -0
  5. data/docs/HostClusterCreate.md +30 -0
  6. data/docs/HostClusterMembership.md +24 -0
  7. data/docs/HostClusterMembershipApi.md +276 -0
  8. data/docs/HostClusterVolumeMapping.md +26 -0
  9. data/docs/HostClusterVolumeMappingApi.md +276 -0
  10. data/docs/HostClusterVolumeMappingCreate.md +24 -0
  11. data/docs/HostClusterVolumeMappingResponse.md +26 -0
  12. data/docs/StorageSystemApi.md +6 -6
  13. data/docs/StorageSystemUpdate.md +24 -0
  14. data/lib/autosde_openapi_client/api/host_cluster_api.rb +254 -0
  15. data/lib/autosde_openapi_client/api/host_cluster_membership_api.rb +254 -0
  16. data/lib/autosde_openapi_client/api/host_cluster_volume_mapping_api.rb +254 -0
  17. data/lib/autosde_openapi_client/api/storage_system_api.rb +9 -9
  18. data/lib/autosde_openapi_client/models/host_cluster.rb +397 -0
  19. data/lib/autosde_openapi_client/models/host_cluster_create.rb +338 -0
  20. data/lib/autosde_openapi_client/models/host_cluster_membership.rb +287 -0
  21. data/lib/autosde_openapi_client/models/host_cluster_volume_mapping.rb +299 -0
  22. data/lib/autosde_openapi_client/models/host_cluster_volume_mapping_create.rb +291 -0
  23. data/lib/autosde_openapi_client/models/host_cluster_volume_mapping_response.rb +301 -0
  24. data/lib/autosde_openapi_client/models/storage_system_update.rb +265 -0
  25. data/lib/autosde_openapi_client/version.rb +2 -2
  26. data/lib/autosde_openapi_client.rb +10 -0
  27. data/spec/api/host_cluster_api_spec.rb +74 -0
  28. data/spec/api/host_cluster_membership_api_spec.rb +74 -0
  29. data/spec/api/host_cluster_volume_mapping_api_spec.rb +74 -0
  30. data/spec/api/storage_system_api_spec.rb +1 -1
  31. data/spec/models/host_cluster_create_spec.rb +70 -0
  32. data/spec/models/host_cluster_membership_spec.rb +56 -0
  33. data/spec/models/host_cluster_spec.rb +86 -0
  34. data/spec/models/host_cluster_volume_mapping_create_spec.rb +56 -0
  35. data/spec/models/host_cluster_volume_mapping_response_spec.rb +62 -0
  36. data/spec/models/host_cluster_volume_mapping_spec.rb +62 -0
  37. data/spec/models/storage_system_update_spec.rb +52 -0
  38. metadata +94 -54
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b3c854f346664de8542a49bccf4c2dbae554bf286fbeee529af3a22598f7c22
4
- data.tar.gz: 2da8d0996d9e203e5cf80cfb060b05205a858c29132fed0ca89ee4ec1497ec97
3
+ metadata.gz: a1c5213044fbd0322283bd46dfd2bce1edb8251883a019e6619eb80fd2bd0912
4
+ data.tar.gz: '0948801b26be6cd5ae31fc6c37a64c52f95b0fbe8916a2d914cbd77d7b4a601b'
5
5
  SHA512:
6
- metadata.gz: ef8265a10510f88a7120e85e2111f4ffec5d762b05849222188c33f14c40b67f6752907c0100875983d1e131af7ebc494323fb9b5281c63ef98c2d655fb8f2d9
7
- data.tar.gz: 0d1a66dea59646f5d478e6407bccdc81efd2702cae5b7508cb13fb9247f92a53344352d11f1a2342e7ccc0b197a1a695a9b507c7dc0722ed5f74bf2d0df8d671
6
+ metadata.gz: a86f2e8ad20fd2b739a15623393e433d4b6f20115096bd6af05cddee737953060e19441f74814c295c40bbdefbb1eea6058df1717ad3aca1ae238befd1ac8294
7
+ data.tar.gz: 4b1ee8e053dff5c8c6c7cdea02e1b18aa691bf0c9b7ca79b4065b9015e162807944e92db3abf07fd30df813a39d34c2f68af589d94a58b3798fdb5ed341a353e
data/README.md CHANGED
@@ -109,6 +109,18 @@ Class | Method | HTTP request | Description
109
109
  *AutosdeOpenapiClient::HostApi* | [**hosts_pk_delete**](docs/HostApi.md#hosts_pk_delete) | **DELETE** /hosts/{pk} |
110
110
  *AutosdeOpenapiClient::HostApi* | [**hosts_pk_get**](docs/HostApi.md#hosts_pk_get) | **GET** /hosts/{pk} |
111
111
  *AutosdeOpenapiClient::HostApi* | [**hosts_post**](docs/HostApi.md#hosts_post) | **POST** /hosts |
112
+ *AutosdeOpenapiClient::HostClusterApi* | [**host_clusters_get**](docs/HostClusterApi.md#host_clusters_get) | **GET** /host-clusters |
113
+ *AutosdeOpenapiClient::HostClusterApi* | [**host_clusters_pk_delete**](docs/HostClusterApi.md#host_clusters_pk_delete) | **DELETE** /host-clusters/{pk} |
114
+ *AutosdeOpenapiClient::HostClusterApi* | [**host_clusters_pk_get**](docs/HostClusterApi.md#host_clusters_pk_get) | **GET** /host-clusters/{pk} |
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 |
112
124
  *AutosdeOpenapiClient::HostVolumeConnectionApi* | [**host_volume_connection_get**](docs/HostVolumeConnectionApi.md#host_volume_connection_get) | **GET** /host-volume-connection |
113
125
  *AutosdeOpenapiClient::HostVolumeConnectionApi* | [**host_volume_connection_pk_delete**](docs/HostVolumeConnectionApi.md#host_volume_connection_pk_delete) | **DELETE** /host-volume-connection/{pk} |
114
126
  *AutosdeOpenapiClient::HostVolumeConnectionApi* | [**host_volume_connection_pk_get**](docs/HostVolumeConnectionApi.md#host_volume_connection_pk_get) | **GET** /host-volume-connection/{pk} |
@@ -190,6 +202,12 @@ Class | Method | HTTP request | Description
190
202
  - [AutosdeOpenapiClient::CapabilityTranslation](docs/CapabilityTranslation.md)
191
203
  - [AutosdeOpenapiClient::CapabilityTranslationCreate](docs/CapabilityTranslationCreate.md)
192
204
  - [AutosdeOpenapiClient::Host](docs/Host.md)
205
+ - [AutosdeOpenapiClient::HostCluster](docs/HostCluster.md)
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)
193
211
  - [AutosdeOpenapiClient::HostCreate](docs/HostCreate.md)
194
212
  - [AutosdeOpenapiClient::HostVolumeConnection](docs/HostVolumeConnection.md)
195
213
  - [AutosdeOpenapiClient::HostVolumeConnectionCreate](docs/HostVolumeConnectionCreate.md)
@@ -217,6 +235,7 @@ Class | Method | HTTP request | Description
217
235
  - [AutosdeOpenapiClient::StorageResourceResponse](docs/StorageResourceResponse.md)
218
236
  - [AutosdeOpenapiClient::StorageSystem](docs/StorageSystem.md)
219
237
  - [AutosdeOpenapiClient::StorageSystemCreate](docs/StorageSystemCreate.md)
238
+ - [AutosdeOpenapiClient::StorageSystemUpdate](docs/StorageSystemUpdate.md)
220
239
  - [AutosdeOpenapiClient::SystemType](docs/SystemType.md)
221
240
  - [AutosdeOpenapiClient::SystemTypeCreate](docs/SystemTypeCreate.md)
222
241
  - [AutosdeOpenapiClient::Volume](docs/Volume.md)
@@ -0,0 +1,34 @@
1
+ # AutosdeOpenapiClient::HostCluster
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **component_state** | **String** | component_state | [optional] |
8
+ | **name** | **String** | name | [optional] |
9
+ | **owner_id** | **String** | owner_id | [optional] |
10
+ | **owner_name** | **String** | owner_name | [optional] |
11
+ | **protocol** | **String** | protocol | [optional] |
12
+ | **status** | **String** | status | [optional] |
13
+ | **storage_system** | [**StorageSystem**](StorageSystem.md) | | [optional] |
14
+ | **uuid** | **String** | uuid | [optional] |
15
+ | **volumes** | [**Volume**](Volume.md) | | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'autosde_openapi_client'
21
+
22
+ instance = AutosdeOpenapiClient::HostCluster.new(
23
+ component_state: null,
24
+ name: null,
25
+ owner_id: null,
26
+ owner_name: null,
27
+ protocol: null,
28
+ status: null,
29
+ storage_system: null,
30
+ uuid: null,
31
+ volumes: null
32
+ )
33
+ ```
34
+
@@ -0,0 +1,276 @@
1
+ # AutosdeOpenapiClient::HostClusterApi
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_get**](HostClusterApi.md#host_clusters_get) | **GET** /host-clusters | |
8
+ | [**host_clusters_pk_delete**](HostClusterApi.md#host_clusters_pk_delete) | **DELETE** /host-clusters/{pk} | |
9
+ | [**host_clusters_pk_get**](HostClusterApi.md#host_clusters_pk_get) | **GET** /host-clusters/{pk} | |
10
+ | [**host_clusters_post**](HostClusterApi.md#host_clusters_post) | **POST** /host-clusters | |
11
+
12
+
13
+ ## host_clusters_get
14
+
15
+ > <Array<HostCluster>> host_clusters_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::HostClusterApi.new
31
+
32
+ begin
33
+
34
+ result = api_instance.host_clusters_get
35
+ p result
36
+ rescue AutosdeOpenapiClient::ApiError => e
37
+ puts "Error when calling HostClusterApi->host_clusters_get: #{e}"
38
+ end
39
+ ```
40
+
41
+ #### Using the host_clusters_get_with_http_info variant
42
+
43
+ This returns an Array which contains the response data, status code and headers.
44
+
45
+ > <Array(<Array<HostCluster>>, Integer, Hash)> host_clusters_get_with_http_info
46
+
47
+ ```ruby
48
+ begin
49
+
50
+ data, status_code, headers = api_instance.host_clusters_get_with_http_info
51
+ p status_code # => 2xx
52
+ p headers # => { ... }
53
+ p data # => <Array<HostCluster>>
54
+ rescue AutosdeOpenapiClient::ApiError => e
55
+ puts "Error when calling HostClusterApi->host_clusters_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;HostCluster&gt;**](HostCluster.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_pk_delete
78
+
79
+ > <Array<HostCluster>> host_clusters_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::HostClusterApi.new
95
+ pk = 56 # Integer |
96
+
97
+ begin
98
+
99
+ result = api_instance.host_clusters_pk_delete(pk)
100
+ p result
101
+ rescue AutosdeOpenapiClient::ApiError => e
102
+ puts "Error when calling HostClusterApi->host_clusters_pk_delete: #{e}"
103
+ end
104
+ ```
105
+
106
+ #### Using the host_clusters_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<HostCluster>>, Integer, Hash)> host_clusters_pk_delete_with_http_info(pk)
111
+
112
+ ```ruby
113
+ begin
114
+
115
+ data, status_code, headers = api_instance.host_clusters_pk_delete_with_http_info(pk)
116
+ p status_code # => 2xx
117
+ p headers # => { ... }
118
+ p data # => <Array<HostCluster>>
119
+ rescue AutosdeOpenapiClient::ApiError => e
120
+ puts "Error when calling HostClusterApi->host_clusters_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;HostCluster&gt;**](HostCluster.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_pk_get
145
+
146
+ > <Array<HostCluster>> host_clusters_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::HostClusterApi.new
162
+ pk = 56 # Integer |
163
+
164
+ begin
165
+
166
+ result = api_instance.host_clusters_pk_get(pk)
167
+ p result
168
+ rescue AutosdeOpenapiClient::ApiError => e
169
+ puts "Error when calling HostClusterApi->host_clusters_pk_get: #{e}"
170
+ end
171
+ ```
172
+
173
+ #### Using the host_clusters_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<HostCluster>>, Integer, Hash)> host_clusters_pk_get_with_http_info(pk)
178
+
179
+ ```ruby
180
+ begin
181
+
182
+ data, status_code, headers = api_instance.host_clusters_pk_get_with_http_info(pk)
183
+ p status_code # => 2xx
184
+ p headers # => { ... }
185
+ p data # => <Array<HostCluster>>
186
+ rescue AutosdeOpenapiClient::ApiError => e
187
+ puts "Error when calling HostClusterApi->host_clusters_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;HostCluster&gt;**](HostCluster.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_post
212
+
213
+ > <HostCluster> host_clusters_post(host_cluster_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::HostClusterApi.new
229
+ host_cluster_create = AutosdeOpenapiClient::HostClusterCreate.new # HostClusterCreate |
230
+
231
+ begin
232
+
233
+ result = api_instance.host_clusters_post(host_cluster_create)
234
+ p result
235
+ rescue AutosdeOpenapiClient::ApiError => e
236
+ puts "Error when calling HostClusterApi->host_clusters_post: #{e}"
237
+ end
238
+ ```
239
+
240
+ #### Using the host_clusters_post_with_http_info variant
241
+
242
+ This returns an Array which contains the response data, status code and headers.
243
+
244
+ > <Array(<HostCluster>, Integer, Hash)> host_clusters_post_with_http_info(host_cluster_create)
245
+
246
+ ```ruby
247
+ begin
248
+
249
+ data, status_code, headers = api_instance.host_clusters_post_with_http_info(host_cluster_create)
250
+ p status_code # => 2xx
251
+ p headers # => { ... }
252
+ p data # => <HostCluster>
253
+ rescue AutosdeOpenapiClient::ApiError => e
254
+ puts "Error when calling HostClusterApi->host_clusters_post_with_http_info: #{e}"
255
+ end
256
+ ```
257
+
258
+ ### Parameters
259
+
260
+ | Name | Type | Description | Notes |
261
+ | ---- | ---- | ----------- | ----- |
262
+ | **host_cluster_create** | [**HostClusterCreate**](HostClusterCreate.md) | | |
263
+
264
+ ### Return type
265
+
266
+ [**HostCluster**](HostCluster.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,30 @@
1
+ # AutosdeOpenapiClient::HostClusterCreate
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | name | [optional] |
8
+ | **owner_id** | **String** | owner_id | [optional] |
9
+ | **owner_name** | **String** | owner_name | [optional] |
10
+ | **protocol** | **String** | protocol | [optional] |
11
+ | **status** | **String** | status | [optional] |
12
+ | **storage_system** | [**StorageSystem**](StorageSystem.md) | | [optional] |
13
+ | **volumes** | [**Volume**](Volume.md) | | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'autosde_openapi_client'
19
+
20
+ instance = AutosdeOpenapiClient::HostClusterCreate.new(
21
+ name: null,
22
+ owner_id: null,
23
+ owner_name: null,
24
+ protocol: null,
25
+ status: null,
26
+ storage_system: null,
27
+ volumes: null
28
+ )
29
+ ```
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
+