autosde_openapi_client 1.0.46 → 1.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +18 -0
- data/docs/HostCluster.md +34 -0
- data/docs/HostClusterApi.md +276 -0
- data/docs/HostClusterCreate.md +30 -0
- data/docs/HostClusterMembership.md +24 -0
- data/docs/HostClusterMembershipApi.md +276 -0
- data/docs/HostClusterVolumeMapping.md +26 -0
- data/docs/HostClusterVolumeMappingApi.md +276 -0
- data/docs/HostClusterVolumeMappingCreate.md +24 -0
- data/docs/HostClusterVolumeMappingResponse.md +26 -0
- data/docs/VolumeCreate.md +2 -0
- data/lib/autosde_openapi_client/api/host_cluster_api.rb +254 -0
- data/lib/autosde_openapi_client/api/host_cluster_membership_api.rb +254 -0
- data/lib/autosde_openapi_client/api/host_cluster_volume_mapping_api.rb +254 -0
- data/lib/autosde_openapi_client/models/host_cluster.rb +397 -0
- data/lib/autosde_openapi_client/models/host_cluster_create.rb +338 -0
- data/lib/autosde_openapi_client/models/host_cluster_membership.rb +287 -0
- data/lib/autosde_openapi_client/models/host_cluster_volume_mapping.rb +299 -0
- data/lib/autosde_openapi_client/models/host_cluster_volume_mapping_create.rb +291 -0
- data/lib/autosde_openapi_client/models/host_cluster_volume_mapping_response.rb +301 -0
- data/lib/autosde_openapi_client/models/volume_create.rb +13 -1
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/lib/autosde_openapi_client.rb +9 -0
- data/spec/api/host_cluster_api_spec.rb +74 -0
- data/spec/api/host_cluster_membership_api_spec.rb +74 -0
- data/spec/api/host_cluster_volume_mapping_api_spec.rb +74 -0
- data/spec/models/host_cluster_create_spec.rb +70 -0
- data/spec/models/host_cluster_membership_spec.rb +56 -0
- data/spec/models/host_cluster_spec.rb +86 -0
- data/spec/models/host_cluster_volume_mapping_create_spec.rb +56 -0
- data/spec/models/host_cluster_volume_mapping_response_spec.rb +62 -0
- data/spec/models/host_cluster_volume_mapping_spec.rb +62 -0
- data/spec/models/volume_create_spec.rb +6 -0
- metadata +91 -55
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e142f39acfbe1d3e4cec68d4a6c827799b98cc5c8065e812fb74d4a5b805b74d
|
4
|
+
data.tar.gz: 7e6a12fb115d6d08c27ba6190f3ccf6cdcd8c9e6c1bb0166349442fadebd04f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a7fdff16a07b53b85375323498fd10af829b12998deded113d03188fce0cd001c7e811db36fda275d4e93aece5686c2f9dbb651106408d35a8b49ceecf3000b
|
7
|
+
data.tar.gz: 964443ca9dcb42940d3adf5ee0d9339deebebd122af17eca63657daf67be5f6519fdb501a3bb59b0f7c2e7ebf9eb9bc43349127474f5db21f0051c5434e6a76a
|
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)
|
data/docs/HostCluster.md
ADDED
@@ -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<HostCluster>**](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<HostCluster>**](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<HostCluster>**](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<HostClusterMembership>**](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<HostClusterMembership>**](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<HostClusterMembership>**](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
|
+
|