autosde_openapi_client 1.2.1 → 1.2.4
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 +5 -4
- data/docs/AbstractCapabilityApi.md +8 -8
- data/docs/AccountApi.md +8 -8
- data/docs/AddressApi.md +12 -12
- data/docs/AsyncResponse.md +20 -0
- data/docs/AutoSDEProjectApi.md +8 -8
- data/docs/AutoSDERoleApi.md +8 -8
- data/docs/CapabilityTranslationApi.md +8 -8
- data/docs/EventApi.md +12 -12
- data/docs/HostApi.md +12 -12
- data/docs/HostClusterApi.md +8 -8
- data/docs/HostClusterMembershipApi.md +12 -12
- data/docs/HostClusterVolumeMappingApi.md +8 -8
- data/docs/HostVolumeConnectionApi.md +12 -12
- data/docs/JobApi.md +8 -8
- data/docs/NativeCapabilityApi.md +8 -8
- data/docs/ProfileApi.md +8 -8
- data/docs/ProvisioningStrategyApi.md +8 -8
- data/docs/ServiceApi.md +12 -12
- data/docs/ServiceResourceAttachmentApi.md +42 -42
- data/docs/SnapshotApi.md +12 -12
- data/docs/StorageHostApi.md +16 -16
- data/docs/StorageHostsMappingApi.md +12 -12
- data/docs/StorageResourceApi.md +12 -12
- data/docs/StorageSystemApi.md +16 -16
- data/docs/SystemTypeApi.md +12 -12
- data/docs/UserApi.md +8 -8
- data/docs/VolumeApi.md +16 -16
- data/docs/VolumeSafeDeleteApi.md +8 -8
- data/lib/autosde_openapi_client/api/abstract_capability_api.rb +6 -6
- data/lib/autosde_openapi_client/api/account_api.rb +6 -6
- data/lib/autosde_openapi_client/api/address_api.rb +9 -9
- data/lib/autosde_openapi_client/api/auto_sde_project_api.rb +6 -6
- data/lib/autosde_openapi_client/api/auto_sde_role_api.rb +6 -6
- data/lib/autosde_openapi_client/api/capability_translation_api.rb +6 -6
- data/lib/autosde_openapi_client/api/event_api.rb +9 -9
- data/lib/autosde_openapi_client/api/host_api.rb +9 -9
- data/lib/autosde_openapi_client/api/host_cluster_api.rb +6 -6
- data/lib/autosde_openapi_client/api/host_cluster_membership_api.rb +9 -9
- data/lib/autosde_openapi_client/api/host_cluster_volume_mapping_api.rb +6 -6
- data/lib/autosde_openapi_client/api/host_volume_connection_api.rb +9 -9
- data/lib/autosde_openapi_client/api/job_api.rb +6 -6
- data/lib/autosde_openapi_client/api/native_capability_api.rb +6 -6
- data/lib/autosde_openapi_client/api/profile_api.rb +6 -6
- data/lib/autosde_openapi_client/api/provisioning_strategy_api.rb +6 -6
- data/lib/autosde_openapi_client/api/service_api.rb +9 -9
- data/lib/autosde_openapi_client/api/service_resource_attachment_api.rb +40 -40
- data/lib/autosde_openapi_client/api/snapshot_api.rb +9 -9
- data/lib/autosde_openapi_client/api/storage_host_api.rb +12 -12
- data/lib/autosde_openapi_client/api/storage_hosts_mapping_api.rb +9 -9
- data/lib/autosde_openapi_client/api/storage_resource_api.rb +9 -9
- data/lib/autosde_openapi_client/api/storage_system_api.rb +12 -12
- data/lib/autosde_openapi_client/api/system_type_api.rb +9 -9
- data/lib/autosde_openapi_client/api/user_api.rb +6 -6
- data/lib/autosde_openapi_client/api/volume_api.rb +12 -12
- data/lib/autosde_openapi_client/api/volume_safe_delete_api.rb +6 -6
- data/lib/autosde_openapi_client/models/async_response.rb +230 -0
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/lib/autosde_openapi_client.rb +1 -0
- data/spec/api/abstract_capability_api_spec.rb +2 -2
- data/spec/api/account_api_spec.rb +2 -2
- data/spec/api/address_api_spec.rb +3 -3
- 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/event_api_spec.rb +3 -3
- data/spec/api/host_api_spec.rb +3 -3
- data/spec/api/host_cluster_api_spec.rb +2 -2
- data/spec/api/host_cluster_membership_api_spec.rb +3 -3
- data/spec/api/host_cluster_volume_mapping_api_spec.rb +2 -2
- data/spec/api/host_volume_connection_api_spec.rb +3 -3
- data/spec/api/job_api_spec.rb +2 -2
- 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 +11 -11
- data/spec/api/snapshot_api_spec.rb +3 -3
- data/spec/api/storage_host_api_spec.rb +4 -4
- data/spec/api/storage_hosts_mapping_api_spec.rb +3 -3
- data/spec/api/storage_resource_api_spec.rb +3 -3
- data/spec/api/storage_system_api_spec.rb +4 -4
- data/spec/api/system_type_api_spec.rb +3 -3
- data/spec/api/user_api_spec.rb +2 -2
- data/spec/api/volume_api_spec.rb +4 -4
- data/spec/api/volume_safe_delete_api_spec.rb +2 -2
- data/spec/models/async_response_spec.rb +40 -0
- metadata +81 -77
|
@@ -76,7 +76,7 @@ This endpoint does not need any parameter.
|
|
|
76
76
|
|
|
77
77
|
## provisioning_strategy_pk_delete
|
|
78
78
|
|
|
79
|
-
> <
|
|
79
|
+
> <ProvisioningStrategy> provisioning_strategy_pk_delete(pk)
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
|
|
@@ -107,7 +107,7 @@ end
|
|
|
107
107
|
|
|
108
108
|
This returns an Array which contains the response data, status code and headers.
|
|
109
109
|
|
|
110
|
-
> <Array(<
|
|
110
|
+
> <Array(<ProvisioningStrategy>, Integer, Hash)> provisioning_strategy_pk_delete_with_http_info(pk)
|
|
111
111
|
|
|
112
112
|
```ruby
|
|
113
113
|
begin
|
|
@@ -115,7 +115,7 @@ begin
|
|
|
115
115
|
data, status_code, headers = api_instance.provisioning_strategy_pk_delete_with_http_info(pk)
|
|
116
116
|
p status_code # => 2xx
|
|
117
117
|
p headers # => { ... }
|
|
118
|
-
p data # => <
|
|
118
|
+
p data # => <ProvisioningStrategy>
|
|
119
119
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
120
120
|
puts "Error when calling ProvisioningStrategyApi->provisioning_strategy_pk_delete_with_http_info: #{e}"
|
|
121
121
|
end
|
|
@@ -129,7 +129,7 @@ end
|
|
|
129
129
|
|
|
130
130
|
### Return type
|
|
131
131
|
|
|
132
|
-
[**
|
|
132
|
+
[**ProvisioningStrategy**](ProvisioningStrategy.md)
|
|
133
133
|
|
|
134
134
|
### Authorization
|
|
135
135
|
|
|
@@ -143,7 +143,7 @@ end
|
|
|
143
143
|
|
|
144
144
|
## provisioning_strategy_pk_get
|
|
145
145
|
|
|
146
|
-
> <
|
|
146
|
+
> <ProvisioningStrategy> provisioning_strategy_pk_get(pk)
|
|
147
147
|
|
|
148
148
|
|
|
149
149
|
|
|
@@ -174,7 +174,7 @@ end
|
|
|
174
174
|
|
|
175
175
|
This returns an Array which contains the response data, status code and headers.
|
|
176
176
|
|
|
177
|
-
> <Array(<
|
|
177
|
+
> <Array(<ProvisioningStrategy>, Integer, Hash)> provisioning_strategy_pk_get_with_http_info(pk)
|
|
178
178
|
|
|
179
179
|
```ruby
|
|
180
180
|
begin
|
|
@@ -182,7 +182,7 @@ begin
|
|
|
182
182
|
data, status_code, headers = api_instance.provisioning_strategy_pk_get_with_http_info(pk)
|
|
183
183
|
p status_code # => 2xx
|
|
184
184
|
p headers # => { ... }
|
|
185
|
-
p data # => <
|
|
185
|
+
p data # => <ProvisioningStrategy>
|
|
186
186
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
187
187
|
puts "Error when calling ProvisioningStrategyApi->provisioning_strategy_pk_get_with_http_info: #{e}"
|
|
188
188
|
end
|
|
@@ -196,7 +196,7 @@ end
|
|
|
196
196
|
|
|
197
197
|
### Return type
|
|
198
198
|
|
|
199
|
-
[**
|
|
199
|
+
[**ProvisioningStrategy**](ProvisioningStrategy.md)
|
|
200
200
|
|
|
201
201
|
### Authorization
|
|
202
202
|
|
data/docs/ServiceApi.md
CHANGED
|
@@ -77,7 +77,7 @@ This endpoint does not need any parameter.
|
|
|
77
77
|
|
|
78
78
|
## services_pk_delete
|
|
79
79
|
|
|
80
|
-
> <
|
|
80
|
+
> <AsyncResponse> services_pk_delete(pk)
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
|
|
@@ -108,7 +108,7 @@ end
|
|
|
108
108
|
|
|
109
109
|
This returns an Array which contains the response data, status code and headers.
|
|
110
110
|
|
|
111
|
-
> <Array(<
|
|
111
|
+
> <Array(<AsyncResponse>, Integer, Hash)> services_pk_delete_with_http_info(pk)
|
|
112
112
|
|
|
113
113
|
```ruby
|
|
114
114
|
begin
|
|
@@ -116,7 +116,7 @@ begin
|
|
|
116
116
|
data, status_code, headers = api_instance.services_pk_delete_with_http_info(pk)
|
|
117
117
|
p status_code # => 2xx
|
|
118
118
|
p headers # => { ... }
|
|
119
|
-
p data # => <
|
|
119
|
+
p data # => <AsyncResponse>
|
|
120
120
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
121
121
|
puts "Error when calling ServiceApi->services_pk_delete_with_http_info: #{e}"
|
|
122
122
|
end
|
|
@@ -130,7 +130,7 @@ end
|
|
|
130
130
|
|
|
131
131
|
### Return type
|
|
132
132
|
|
|
133
|
-
[**
|
|
133
|
+
[**AsyncResponse**](AsyncResponse.md)
|
|
134
134
|
|
|
135
135
|
### Authorization
|
|
136
136
|
|
|
@@ -144,7 +144,7 @@ end
|
|
|
144
144
|
|
|
145
145
|
## services_pk_get
|
|
146
146
|
|
|
147
|
-
> <
|
|
147
|
+
> <Service> services_pk_get(pk)
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
|
|
@@ -175,7 +175,7 @@ end
|
|
|
175
175
|
|
|
176
176
|
This returns an Array which contains the response data, status code and headers.
|
|
177
177
|
|
|
178
|
-
> <Array(<
|
|
178
|
+
> <Array(<Service>, Integer, Hash)> services_pk_get_with_http_info(pk)
|
|
179
179
|
|
|
180
180
|
```ruby
|
|
181
181
|
begin
|
|
@@ -183,7 +183,7 @@ begin
|
|
|
183
183
|
data, status_code, headers = api_instance.services_pk_get_with_http_info(pk)
|
|
184
184
|
p status_code # => 2xx
|
|
185
185
|
p headers # => { ... }
|
|
186
|
-
p data # => <
|
|
186
|
+
p data # => <Service>
|
|
187
187
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
188
188
|
puts "Error when calling ServiceApi->services_pk_get_with_http_info: #{e}"
|
|
189
189
|
end
|
|
@@ -197,7 +197,7 @@ end
|
|
|
197
197
|
|
|
198
198
|
### Return type
|
|
199
199
|
|
|
200
|
-
[**
|
|
200
|
+
[**Service**](Service.md)
|
|
201
201
|
|
|
202
202
|
### Authorization
|
|
203
203
|
|
|
@@ -280,7 +280,7 @@ end
|
|
|
280
280
|
|
|
281
281
|
## services_post
|
|
282
282
|
|
|
283
|
-
> <
|
|
283
|
+
> <AsyncResponse> services_post(service_create)
|
|
284
284
|
|
|
285
285
|
|
|
286
286
|
|
|
@@ -311,7 +311,7 @@ end
|
|
|
311
311
|
|
|
312
312
|
This returns an Array which contains the response data, status code and headers.
|
|
313
313
|
|
|
314
|
-
> <Array(<
|
|
314
|
+
> <Array(<AsyncResponse>, Integer, Hash)> services_post_with_http_info(service_create)
|
|
315
315
|
|
|
316
316
|
```ruby
|
|
317
317
|
begin
|
|
@@ -319,7 +319,7 @@ begin
|
|
|
319
319
|
data, status_code, headers = api_instance.services_post_with_http_info(service_create)
|
|
320
320
|
p status_code # => 2xx
|
|
321
321
|
p headers # => { ... }
|
|
322
|
-
p data # => <
|
|
322
|
+
p data # => <AsyncResponse>
|
|
323
323
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
324
324
|
puts "Error when calling ServiceApi->services_post_with_http_info: #{e}"
|
|
325
325
|
end
|
|
@@ -333,7 +333,7 @@ end
|
|
|
333
333
|
|
|
334
334
|
### Return type
|
|
335
335
|
|
|
336
|
-
[**
|
|
336
|
+
[**AsyncResponse**](AsyncResponse.md)
|
|
337
337
|
|
|
338
338
|
### Authorization
|
|
339
339
|
|
|
@@ -4,15 +4,15 @@ All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
| ------ | ------------ | ----------- |
|
|
7
|
-
| [**
|
|
8
|
-
| [**
|
|
9
|
-
| [**
|
|
10
|
-
| [**
|
|
7
|
+
| [**service_resource_attachment_get**](ServiceResourceAttachmentApi.md#service_resource_attachment_get) | **GET** /service-resource-attachment | |
|
|
8
|
+
| [**service_resource_attachment_pk_delete**](ServiceResourceAttachmentApi.md#service_resource_attachment_pk_delete) | **DELETE** /service-resource-attachment/{pk} | |
|
|
9
|
+
| [**service_resource_attachment_pk_get**](ServiceResourceAttachmentApi.md#service_resource_attachment_pk_get) | **GET** /service-resource-attachment/{pk} | |
|
|
10
|
+
| [**service_resource_attachment_post**](ServiceResourceAttachmentApi.md#service_resource_attachment_post) | **POST** /service-resource-attachment | |
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## service_resource_attachment_get
|
|
14
14
|
|
|
15
|
-
> <Array<ServiceResourceAttachment>>
|
|
15
|
+
> <Array<ServiceResourceAttachment>> service_resource_attachment_get
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -31,28 +31,28 @@ api_instance = AutosdeOpenapiClient::ServiceResourceAttachmentApi.new
|
|
|
31
31
|
|
|
32
32
|
begin
|
|
33
33
|
|
|
34
|
-
result = api_instance.
|
|
34
|
+
result = api_instance.service_resource_attachment_get
|
|
35
35
|
p result
|
|
36
36
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
37
|
-
puts "Error when calling ServiceResourceAttachmentApi->
|
|
37
|
+
puts "Error when calling ServiceResourceAttachmentApi->service_resource_attachment_get: #{e}"
|
|
38
38
|
end
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
#### Using the
|
|
41
|
+
#### Using the service_resource_attachment_get_with_http_info variant
|
|
42
42
|
|
|
43
43
|
This returns an Array which contains the response data, status code and headers.
|
|
44
44
|
|
|
45
|
-
> <Array(<Array<ServiceResourceAttachment>>, Integer, Hash)>
|
|
45
|
+
> <Array(<Array<ServiceResourceAttachment>>, Integer, Hash)> service_resource_attachment_get_with_http_info
|
|
46
46
|
|
|
47
47
|
```ruby
|
|
48
48
|
begin
|
|
49
49
|
|
|
50
|
-
data, status_code, headers = api_instance.
|
|
50
|
+
data, status_code, headers = api_instance.service_resource_attachment_get_with_http_info
|
|
51
51
|
p status_code # => 2xx
|
|
52
52
|
p headers # => { ... }
|
|
53
53
|
p data # => <Array<ServiceResourceAttachment>>
|
|
54
54
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
55
|
-
puts "Error when calling ServiceResourceAttachmentApi->
|
|
55
|
+
puts "Error when calling ServiceResourceAttachmentApi->service_resource_attachment_get_with_http_info: #{e}"
|
|
56
56
|
end
|
|
57
57
|
```
|
|
58
58
|
|
|
@@ -74,9 +74,9 @@ This endpoint does not need any parameter.
|
|
|
74
74
|
- **Accept**: */*
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
##
|
|
77
|
+
## service_resource_attachment_pk_delete
|
|
78
78
|
|
|
79
|
-
> <
|
|
79
|
+
> <AsyncResponse> service_resource_attachment_pk_delete(pk)
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
|
|
@@ -96,28 +96,28 @@ pk = 56 # Integer |
|
|
|
96
96
|
|
|
97
97
|
begin
|
|
98
98
|
|
|
99
|
-
result = api_instance.
|
|
99
|
+
result = api_instance.service_resource_attachment_pk_delete(pk)
|
|
100
100
|
p result
|
|
101
101
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
102
|
-
puts "Error when calling ServiceResourceAttachmentApi->
|
|
102
|
+
puts "Error when calling ServiceResourceAttachmentApi->service_resource_attachment_pk_delete: #{e}"
|
|
103
103
|
end
|
|
104
104
|
```
|
|
105
105
|
|
|
106
|
-
#### Using the
|
|
106
|
+
#### Using the service_resource_attachment_pk_delete_with_http_info variant
|
|
107
107
|
|
|
108
108
|
This returns an Array which contains the response data, status code and headers.
|
|
109
109
|
|
|
110
|
-
> <Array(<
|
|
110
|
+
> <Array(<AsyncResponse>, Integer, Hash)> service_resource_attachment_pk_delete_with_http_info(pk)
|
|
111
111
|
|
|
112
112
|
```ruby
|
|
113
113
|
begin
|
|
114
114
|
|
|
115
|
-
data, status_code, headers = api_instance.
|
|
115
|
+
data, status_code, headers = api_instance.service_resource_attachment_pk_delete_with_http_info(pk)
|
|
116
116
|
p status_code # => 2xx
|
|
117
117
|
p headers # => { ... }
|
|
118
|
-
p data # => <
|
|
118
|
+
p data # => <AsyncResponse>
|
|
119
119
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
120
|
-
puts "Error when calling ServiceResourceAttachmentApi->
|
|
120
|
+
puts "Error when calling ServiceResourceAttachmentApi->service_resource_attachment_pk_delete_with_http_info: #{e}"
|
|
121
121
|
end
|
|
122
122
|
```
|
|
123
123
|
|
|
@@ -129,7 +129,7 @@ end
|
|
|
129
129
|
|
|
130
130
|
### Return type
|
|
131
131
|
|
|
132
|
-
[**
|
|
132
|
+
[**AsyncResponse**](AsyncResponse.md)
|
|
133
133
|
|
|
134
134
|
### Authorization
|
|
135
135
|
|
|
@@ -141,9 +141,9 @@ end
|
|
|
141
141
|
- **Accept**: */*
|
|
142
142
|
|
|
143
143
|
|
|
144
|
-
##
|
|
144
|
+
## service_resource_attachment_pk_get
|
|
145
145
|
|
|
146
|
-
> <
|
|
146
|
+
> <ServiceResourceAttachment> service_resource_attachment_pk_get(pk)
|
|
147
147
|
|
|
148
148
|
|
|
149
149
|
|
|
@@ -163,28 +163,28 @@ pk = 56 # Integer |
|
|
|
163
163
|
|
|
164
164
|
begin
|
|
165
165
|
|
|
166
|
-
result = api_instance.
|
|
166
|
+
result = api_instance.service_resource_attachment_pk_get(pk)
|
|
167
167
|
p result
|
|
168
168
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
169
|
-
puts "Error when calling ServiceResourceAttachmentApi->
|
|
169
|
+
puts "Error when calling ServiceResourceAttachmentApi->service_resource_attachment_pk_get: #{e}"
|
|
170
170
|
end
|
|
171
171
|
```
|
|
172
172
|
|
|
173
|
-
#### Using the
|
|
173
|
+
#### Using the service_resource_attachment_pk_get_with_http_info variant
|
|
174
174
|
|
|
175
175
|
This returns an Array which contains the response data, status code and headers.
|
|
176
176
|
|
|
177
|
-
> <Array(<
|
|
177
|
+
> <Array(<ServiceResourceAttachment>, Integer, Hash)> service_resource_attachment_pk_get_with_http_info(pk)
|
|
178
178
|
|
|
179
179
|
```ruby
|
|
180
180
|
begin
|
|
181
181
|
|
|
182
|
-
data, status_code, headers = api_instance.
|
|
182
|
+
data, status_code, headers = api_instance.service_resource_attachment_pk_get_with_http_info(pk)
|
|
183
183
|
p status_code # => 2xx
|
|
184
184
|
p headers # => { ... }
|
|
185
|
-
p data # => <
|
|
185
|
+
p data # => <ServiceResourceAttachment>
|
|
186
186
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
187
|
-
puts "Error when calling ServiceResourceAttachmentApi->
|
|
187
|
+
puts "Error when calling ServiceResourceAttachmentApi->service_resource_attachment_pk_get_with_http_info: #{e}"
|
|
188
188
|
end
|
|
189
189
|
```
|
|
190
190
|
|
|
@@ -196,7 +196,7 @@ end
|
|
|
196
196
|
|
|
197
197
|
### Return type
|
|
198
198
|
|
|
199
|
-
[**
|
|
199
|
+
[**ServiceResourceAttachment**](ServiceResourceAttachment.md)
|
|
200
200
|
|
|
201
201
|
### Authorization
|
|
202
202
|
|
|
@@ -208,9 +208,9 @@ end
|
|
|
208
208
|
- **Accept**: */*
|
|
209
209
|
|
|
210
210
|
|
|
211
|
-
##
|
|
211
|
+
## service_resource_attachment_post
|
|
212
212
|
|
|
213
|
-
> <
|
|
213
|
+
> <AsyncResponse> service_resource_attachment_post(service_resource_attachment)
|
|
214
214
|
|
|
215
215
|
|
|
216
216
|
|
|
@@ -230,28 +230,28 @@ service_resource_attachment = AutosdeOpenapiClient::ServiceResourceAttachment.ne
|
|
|
230
230
|
|
|
231
231
|
begin
|
|
232
232
|
|
|
233
|
-
result = api_instance.
|
|
233
|
+
result = api_instance.service_resource_attachment_post(service_resource_attachment)
|
|
234
234
|
p result
|
|
235
235
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
236
|
-
puts "Error when calling ServiceResourceAttachmentApi->
|
|
236
|
+
puts "Error when calling ServiceResourceAttachmentApi->service_resource_attachment_post: #{e}"
|
|
237
237
|
end
|
|
238
238
|
```
|
|
239
239
|
|
|
240
|
-
#### Using the
|
|
240
|
+
#### Using the service_resource_attachment_post_with_http_info variant
|
|
241
241
|
|
|
242
242
|
This returns an Array which contains the response data, status code and headers.
|
|
243
243
|
|
|
244
|
-
> <Array(<
|
|
244
|
+
> <Array(<AsyncResponse>, Integer, Hash)> service_resource_attachment_post_with_http_info(service_resource_attachment)
|
|
245
245
|
|
|
246
246
|
```ruby
|
|
247
247
|
begin
|
|
248
248
|
|
|
249
|
-
data, status_code, headers = api_instance.
|
|
249
|
+
data, status_code, headers = api_instance.service_resource_attachment_post_with_http_info(service_resource_attachment)
|
|
250
250
|
p status_code # => 2xx
|
|
251
251
|
p headers # => { ... }
|
|
252
|
-
p data # => <
|
|
252
|
+
p data # => <AsyncResponse>
|
|
253
253
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
254
|
-
puts "Error when calling ServiceResourceAttachmentApi->
|
|
254
|
+
puts "Error when calling ServiceResourceAttachmentApi->service_resource_attachment_post_with_http_info: #{e}"
|
|
255
255
|
end
|
|
256
256
|
```
|
|
257
257
|
|
|
@@ -263,7 +263,7 @@ end
|
|
|
263
263
|
|
|
264
264
|
### Return type
|
|
265
265
|
|
|
266
|
-
[**
|
|
266
|
+
[**AsyncResponse**](AsyncResponse.md)
|
|
267
267
|
|
|
268
268
|
### Authorization
|
|
269
269
|
|
data/docs/SnapshotApi.md
CHANGED
|
@@ -76,7 +76,7 @@ This endpoint does not need any parameter.
|
|
|
76
76
|
|
|
77
77
|
## snapshots_pk_delete
|
|
78
78
|
|
|
79
|
-
> <
|
|
79
|
+
> <AsyncResponse> snapshots_pk_delete(pk)
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
|
|
@@ -107,7 +107,7 @@ end
|
|
|
107
107
|
|
|
108
108
|
This returns an Array which contains the response data, status code and headers.
|
|
109
109
|
|
|
110
|
-
> <Array(<
|
|
110
|
+
> <Array(<AsyncResponse>, Integer, Hash)> snapshots_pk_delete_with_http_info(pk)
|
|
111
111
|
|
|
112
112
|
```ruby
|
|
113
113
|
begin
|
|
@@ -115,7 +115,7 @@ begin
|
|
|
115
115
|
data, status_code, headers = api_instance.snapshots_pk_delete_with_http_info(pk)
|
|
116
116
|
p status_code # => 2xx
|
|
117
117
|
p headers # => { ... }
|
|
118
|
-
p data # => <
|
|
118
|
+
p data # => <AsyncResponse>
|
|
119
119
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
120
120
|
puts "Error when calling SnapshotApi->snapshots_pk_delete_with_http_info: #{e}"
|
|
121
121
|
end
|
|
@@ -129,7 +129,7 @@ end
|
|
|
129
129
|
|
|
130
130
|
### Return type
|
|
131
131
|
|
|
132
|
-
[**
|
|
132
|
+
[**AsyncResponse**](AsyncResponse.md)
|
|
133
133
|
|
|
134
134
|
### Authorization
|
|
135
135
|
|
|
@@ -143,7 +143,7 @@ end
|
|
|
143
143
|
|
|
144
144
|
## snapshots_pk_get
|
|
145
145
|
|
|
146
|
-
> <
|
|
146
|
+
> <Snapshot> snapshots_pk_get(pk)
|
|
147
147
|
|
|
148
148
|
|
|
149
149
|
|
|
@@ -174,7 +174,7 @@ end
|
|
|
174
174
|
|
|
175
175
|
This returns an Array which contains the response data, status code and headers.
|
|
176
176
|
|
|
177
|
-
> <Array(<
|
|
177
|
+
> <Array(<Snapshot>, Integer, Hash)> snapshots_pk_get_with_http_info(pk)
|
|
178
178
|
|
|
179
179
|
```ruby
|
|
180
180
|
begin
|
|
@@ -182,7 +182,7 @@ begin
|
|
|
182
182
|
data, status_code, headers = api_instance.snapshots_pk_get_with_http_info(pk)
|
|
183
183
|
p status_code # => 2xx
|
|
184
184
|
p headers # => { ... }
|
|
185
|
-
p data # => <
|
|
185
|
+
p data # => <Snapshot>
|
|
186
186
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
187
187
|
puts "Error when calling SnapshotApi->snapshots_pk_get_with_http_info: #{e}"
|
|
188
188
|
end
|
|
@@ -196,7 +196,7 @@ end
|
|
|
196
196
|
|
|
197
197
|
### Return type
|
|
198
198
|
|
|
199
|
-
[**
|
|
199
|
+
[**Snapshot**](Snapshot.md)
|
|
200
200
|
|
|
201
201
|
### Authorization
|
|
202
202
|
|
|
@@ -210,7 +210,7 @@ end
|
|
|
210
210
|
|
|
211
211
|
## snapshots_post
|
|
212
212
|
|
|
213
|
-
> <
|
|
213
|
+
> <AsyncResponse> snapshots_post(snapshot_create)
|
|
214
214
|
|
|
215
215
|
|
|
216
216
|
|
|
@@ -241,7 +241,7 @@ end
|
|
|
241
241
|
|
|
242
242
|
This returns an Array which contains the response data, status code and headers.
|
|
243
243
|
|
|
244
|
-
> <Array(<
|
|
244
|
+
> <Array(<AsyncResponse>, Integer, Hash)> snapshots_post_with_http_info(snapshot_create)
|
|
245
245
|
|
|
246
246
|
```ruby
|
|
247
247
|
begin
|
|
@@ -249,7 +249,7 @@ begin
|
|
|
249
249
|
data, status_code, headers = api_instance.snapshots_post_with_http_info(snapshot_create)
|
|
250
250
|
p status_code # => 2xx
|
|
251
251
|
p headers # => { ... }
|
|
252
|
-
p data # => <
|
|
252
|
+
p data # => <AsyncResponse>
|
|
253
253
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
254
254
|
puts "Error when calling SnapshotApi->snapshots_post_with_http_info: #{e}"
|
|
255
255
|
end
|
|
@@ -263,7 +263,7 @@ end
|
|
|
263
263
|
|
|
264
264
|
### Return type
|
|
265
265
|
|
|
266
|
-
[**
|
|
266
|
+
[**AsyncResponse**](AsyncResponse.md)
|
|
267
267
|
|
|
268
268
|
### Authorization
|
|
269
269
|
|
data/docs/StorageHostApi.md
CHANGED
|
@@ -77,7 +77,7 @@ This endpoint does not need any parameter.
|
|
|
77
77
|
|
|
78
78
|
## storage_hosts_pk_delete
|
|
79
79
|
|
|
80
|
-
> <
|
|
80
|
+
> <AsyncResponse> storage_hosts_pk_delete(pk)
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
|
|
@@ -108,7 +108,7 @@ end
|
|
|
108
108
|
|
|
109
109
|
This returns an Array which contains the response data, status code and headers.
|
|
110
110
|
|
|
111
|
-
> <Array(<
|
|
111
|
+
> <Array(<AsyncResponse>, Integer, Hash)> storage_hosts_pk_delete_with_http_info(pk)
|
|
112
112
|
|
|
113
113
|
```ruby
|
|
114
114
|
begin
|
|
@@ -116,7 +116,7 @@ begin
|
|
|
116
116
|
data, status_code, headers = api_instance.storage_hosts_pk_delete_with_http_info(pk)
|
|
117
117
|
p status_code # => 2xx
|
|
118
118
|
p headers # => { ... }
|
|
119
|
-
p data # => <
|
|
119
|
+
p data # => <AsyncResponse>
|
|
120
120
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
121
121
|
puts "Error when calling StorageHostApi->storage_hosts_pk_delete_with_http_info: #{e}"
|
|
122
122
|
end
|
|
@@ -130,7 +130,7 @@ end
|
|
|
130
130
|
|
|
131
131
|
### Return type
|
|
132
132
|
|
|
133
|
-
[**
|
|
133
|
+
[**AsyncResponse**](AsyncResponse.md)
|
|
134
134
|
|
|
135
135
|
### Authorization
|
|
136
136
|
|
|
@@ -144,7 +144,7 @@ end
|
|
|
144
144
|
|
|
145
145
|
## storage_hosts_pk_get
|
|
146
146
|
|
|
147
|
-
> <
|
|
147
|
+
> <StorageHost> storage_hosts_pk_get(pk)
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
|
|
@@ -175,7 +175,7 @@ end
|
|
|
175
175
|
|
|
176
176
|
This returns an Array which contains the response data, status code and headers.
|
|
177
177
|
|
|
178
|
-
> <Array(<
|
|
178
|
+
> <Array(<StorageHost>, Integer, Hash)> storage_hosts_pk_get_with_http_info(pk)
|
|
179
179
|
|
|
180
180
|
```ruby
|
|
181
181
|
begin
|
|
@@ -183,7 +183,7 @@ begin
|
|
|
183
183
|
data, status_code, headers = api_instance.storage_hosts_pk_get_with_http_info(pk)
|
|
184
184
|
p status_code # => 2xx
|
|
185
185
|
p headers # => { ... }
|
|
186
|
-
p data # => <
|
|
186
|
+
p data # => <StorageHost>
|
|
187
187
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
188
188
|
puts "Error when calling StorageHostApi->storage_hosts_pk_get_with_http_info: #{e}"
|
|
189
189
|
end
|
|
@@ -197,7 +197,7 @@ end
|
|
|
197
197
|
|
|
198
198
|
### Return type
|
|
199
199
|
|
|
200
|
-
[**
|
|
200
|
+
[**StorageHost**](StorageHost.md)
|
|
201
201
|
|
|
202
202
|
### Authorization
|
|
203
203
|
|
|
@@ -211,7 +211,7 @@ end
|
|
|
211
211
|
|
|
212
212
|
## storage_hosts_pk_put
|
|
213
213
|
|
|
214
|
-
> <
|
|
214
|
+
> <AsyncResponse> storage_hosts_pk_put(pk, storage_host_update)
|
|
215
215
|
|
|
216
216
|
|
|
217
217
|
|
|
@@ -243,7 +243,7 @@ end
|
|
|
243
243
|
|
|
244
244
|
This returns an Array which contains the response data, status code and headers.
|
|
245
245
|
|
|
246
|
-
> <Array(<
|
|
246
|
+
> <Array(<AsyncResponse>, Integer, Hash)> storage_hosts_pk_put_with_http_info(pk, storage_host_update)
|
|
247
247
|
|
|
248
248
|
```ruby
|
|
249
249
|
begin
|
|
@@ -251,7 +251,7 @@ begin
|
|
|
251
251
|
data, status_code, headers = api_instance.storage_hosts_pk_put_with_http_info(pk, storage_host_update)
|
|
252
252
|
p status_code # => 2xx
|
|
253
253
|
p headers # => { ... }
|
|
254
|
-
p data # => <
|
|
254
|
+
p data # => <AsyncResponse>
|
|
255
255
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
256
256
|
puts "Error when calling StorageHostApi->storage_hosts_pk_put_with_http_info: #{e}"
|
|
257
257
|
end
|
|
@@ -266,7 +266,7 @@ end
|
|
|
266
266
|
|
|
267
267
|
### Return type
|
|
268
268
|
|
|
269
|
-
[**
|
|
269
|
+
[**AsyncResponse**](AsyncResponse.md)
|
|
270
270
|
|
|
271
271
|
### Authorization
|
|
272
272
|
|
|
@@ -280,7 +280,7 @@ end
|
|
|
280
280
|
|
|
281
281
|
## storage_hosts_post
|
|
282
282
|
|
|
283
|
-
> <
|
|
283
|
+
> <AsyncResponse> storage_hosts_post(storage_host_create)
|
|
284
284
|
|
|
285
285
|
|
|
286
286
|
|
|
@@ -311,7 +311,7 @@ end
|
|
|
311
311
|
|
|
312
312
|
This returns an Array which contains the response data, status code and headers.
|
|
313
313
|
|
|
314
|
-
> <Array(<
|
|
314
|
+
> <Array(<AsyncResponse>, Integer, Hash)> storage_hosts_post_with_http_info(storage_host_create)
|
|
315
315
|
|
|
316
316
|
```ruby
|
|
317
317
|
begin
|
|
@@ -319,7 +319,7 @@ begin
|
|
|
319
319
|
data, status_code, headers = api_instance.storage_hosts_post_with_http_info(storage_host_create)
|
|
320
320
|
p status_code # => 2xx
|
|
321
321
|
p headers # => { ... }
|
|
322
|
-
p data # => <
|
|
322
|
+
p data # => <AsyncResponse>
|
|
323
323
|
rescue AutosdeOpenapiClient::ApiError => e
|
|
324
324
|
puts "Error when calling StorageHostApi->storage_hosts_post_with_http_info: #{e}"
|
|
325
325
|
end
|
|
@@ -333,7 +333,7 @@ end
|
|
|
333
333
|
|
|
334
334
|
### Return type
|
|
335
335
|
|
|
336
|
-
[**
|
|
336
|
+
[**AsyncResponse**](AsyncResponse.md)
|
|
337
337
|
|
|
338
338
|
### Authorization
|
|
339
339
|
|