autosde_openapi_client 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +32 -7
- data/docs/AbstractCapabilityApi.md +6 -6
- data/docs/AccountApi.md +9 -9
- data/docs/AddressApi.md +6 -6
- data/docs/AuthenticationApi.md +1 -1
- data/docs/AutoSDEProjectApi.md +6 -6
- data/docs/AutoSDERoleApi.md +6 -6
- data/docs/CapabilityTranslationApi.md +6 -6
- data/docs/HostApi.md +6 -6
- data/docs/HostVolumeConnectionApi.md +6 -6
- data/docs/Job.md +29 -0
- data/docs/JobApi.md +104 -0
- data/docs/JobCreate.md +19 -0
- data/docs/NativeCapabilityApi.md +6 -6
- data/docs/ProfileApi.md +6 -6
- data/docs/ProvisioningStrategyApi.md +6 -6
- data/docs/ServiceApi.md +9 -9
- data/docs/ServiceResourceAttachmentApi.md +6 -6
- data/docs/Snapshot.md +25 -0
- data/docs/SnapshotApi.md +204 -0
- data/docs/SnapshotCreate.md +23 -0
- data/docs/StorageHost.md +29 -0
- data/docs/StorageHostApi.md +256 -0
- data/docs/StorageHostCreate.md +37 -0
- data/docs/StorageHostResponse.md +31 -0
- data/docs/StorageHostUpdate.md +21 -0
- data/docs/StorageHostVolumeMapping.md +25 -0
- data/docs/StorageHostVolumeMappingApi.md +204 -0
- data/docs/StorageHostVolumeMappingCreate.md +23 -0
- data/docs/StorageResourceApi.md +9 -9
- data/docs/StorageSystemApi.md +6 -6
- data/docs/SystemTypeApi.md +6 -6
- data/docs/Volume.md +2 -0
- data/docs/VolumeApi.md +9 -9
- data/docs/VolumeCreate.md +2 -0
- data/docs/VolumeResponse.md +2 -0
- data/docs/VolumeSafeDeleteApi.md +6 -6
- data/docs/VolumeUpdate.md +3 -1
- data/lib/openapi_client.rb +108 -0
- data/lib/{autosde_openapi_client → openapi_client}/api/abstract_capability_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/account_api.rb +25 -20
- data/lib/{autosde_openapi_client → openapi_client}/api/address_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/authentication_api.rb +5 -4
- data/lib/{autosde_openapi_client → openapi_client}/api/auto_sde_project_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/auto_sde_role_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/capability_translation_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/host_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/host_volume_connection_api.rb +19 -15
- data/lib/openapi_client/api/job_api.rb +136 -0
- data/lib/{autosde_openapi_client → openapi_client}/api/native_capability_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/profile_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/provisioning_strategy_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/service_api.rb +25 -20
- data/lib/{autosde_openapi_client → openapi_client}/api/service_resource_attachment_api.rb +19 -15
- data/lib/openapi_client/api/snapshot_api.rb +254 -0
- data/lib/openapi_client/api/storage_host_api.rb +321 -0
- data/lib/openapi_client/api/storage_host_volume_mapping_api.rb +254 -0
- data/lib/{autosde_openapi_client → openapi_client}/api/storage_resource_api.rb +25 -20
- data/lib/{autosde_openapi_client → openapi_client}/api/storage_system_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/system_type_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/volume_api.rb +25 -20
- data/lib/{autosde_openapi_client → openapi_client}/api/volume_safe_delete_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api_client.rb +46 -45
- data/lib/{autosde_openapi_client → openapi_client}/api_error.rb +1 -1
- data/lib/{autosde_openapi_client → openapi_client}/configuration.rb +34 -7
- data/lib/{autosde_openapi_client → openapi_client}/models/abstract_capability.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/account.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/account_post_request.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/account_post_response.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/address.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/address_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/auth_response.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/authentication.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/auto_sde_project.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/auto_sde_role.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/capability_translation.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/capability_translation_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/host.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/host_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/host_volume_connection.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/host_volume_connection_create.rb +9 -5
- data/lib/openapi_client/models/job.rb +272 -0
- data/lib/openapi_client/models/job_create.rb +222 -0
- data/lib/{autosde_openapi_client → openapi_client}/models/native_capability.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/profile.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/provisioning_strategy.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/service.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/service_abstract_capability_value.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/service_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/service_resource_attachment.rb +9 -5
- data/lib/openapi_client/models/snapshot.rb +290 -0
- data/lib/openapi_client/models/snapshot_create.rb +280 -0
- data/lib/openapi_client/models/storage_host.rb +309 -0
- data/lib/openapi_client/models/storage_host_create.rb +360 -0
- data/lib/openapi_client/models/storage_host_response.rb +325 -0
- data/lib/openapi_client/models/storage_host_update.rb +293 -0
- data/lib/openapi_client/models/storage_host_volume_mapping.rb +291 -0
- data/lib/openapi_client/models/storage_host_volume_mapping_create.rb +283 -0
- data/lib/{autosde_openapi_client → openapi_client}/models/storage_resource.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/storage_resource_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/storage_resource_response.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/storage_system.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/storage_system_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/system_type.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/system_type_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/volume.rb +20 -6
- data/lib/{autosde_openapi_client → openapi_client}/models/volume_create.rb +20 -6
- data/lib/{autosde_openapi_client → openapi_client}/models/volume_response.rb +20 -6
- data/lib/{autosde_openapi_client → openapi_client}/models/volume_safe_delete.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/volume_safe_delete_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/volume_update.rb +22 -6
- data/lib/{autosde_openapi_client → openapi_client}/version.rb +2 -2
- data/{autosde_openapi_client.gemspec → openapi_client.gemspec} +3 -4
- data/spec/api/abstract_capability_api_spec.rb +1 -1
- data/spec/api/account_api_spec.rb +1 -1
- data/spec/api/address_api_spec.rb +1 -1
- data/spec/api/authentication_api_spec.rb +1 -1
- data/spec/api/auto_sde_project_api_spec.rb +1 -1
- data/spec/api/auto_sde_role_api_spec.rb +1 -1
- data/spec/api/capability_translation_api_spec.rb +1 -1
- data/spec/api/host_api_spec.rb +1 -1
- data/spec/api/host_volume_connection_api_spec.rb +1 -1
- data/spec/api/job_api_spec.rb +54 -0
- data/spec/api/native_capability_api_spec.rb +1 -1
- data/spec/api/profile_api_spec.rb +1 -1
- data/spec/api/provisioning_strategy_api_spec.rb +1 -1
- data/spec/api/service_api_spec.rb +1 -1
- data/spec/api/service_resource_attachment_api_spec.rb +1 -1
- data/spec/api/snapshot_api_spec.rb +74 -0
- data/spec/api/storage_host_api_spec.rb +74 -0
- data/spec/api/storage_host_volume_mapping_api_spec.rb +74 -0
- data/spec/api/storage_resource_api_spec.rb +1 -1
- data/spec/api/storage_system_api_spec.rb +1 -1
- data/spec/api/system_type_api_spec.rb +1 -1
- data/spec/api/volume_api_spec.rb +1 -1
- data/spec/api/volume_safe_delete_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/abstract_capability_spec.rb +1 -1
- data/spec/models/account_post_request_spec.rb +1 -1
- data/spec/models/account_post_response_spec.rb +1 -1
- data/spec/models/account_spec.rb +1 -1
- data/spec/models/address_create_spec.rb +1 -1
- data/spec/models/address_spec.rb +1 -1
- data/spec/models/auth_response_spec.rb +1 -1
- data/spec/models/authentication_spec.rb +1 -1
- data/spec/models/auto_sde_project_spec.rb +1 -1
- data/spec/models/auto_sde_role_spec.rb +1 -1
- data/spec/models/capability_translation_create_spec.rb +1 -1
- data/spec/models/capability_translation_spec.rb +1 -1
- data/spec/models/host_create_spec.rb +1 -1
- data/spec/models/host_spec.rb +1 -1
- data/spec/models/host_volume_connection_create_spec.rb +1 -1
- data/spec/models/host_volume_connection_spec.rb +1 -1
- data/spec/models/job_create_spec.rb +47 -0
- data/spec/models/job_spec.rb +77 -0
- data/spec/models/native_capability_spec.rb +1 -1
- data/spec/models/profile_spec.rb +1 -1
- data/spec/models/provisioning_strategy_spec.rb +1 -1
- data/spec/models/service_abstract_capability_value_spec.rb +1 -1
- data/spec/models/service_create_spec.rb +1 -1
- data/spec/models/service_resource_attachment_spec.rb +1 -1
- data/spec/models/service_spec.rb +1 -1
- data/spec/models/snapshot_create_spec.rb +63 -0
- data/spec/models/snapshot_spec.rb +69 -0
- data/spec/models/storage_host_create_spec.rb +109 -0
- data/spec/models/storage_host_response_spec.rb +87 -0
- data/spec/models/storage_host_spec.rb +81 -0
- data/spec/models/storage_host_update_spec.rb +61 -0
- data/spec/models/storage_host_volume_mapping_create_spec.rb +63 -0
- data/spec/models/storage_host_volume_mapping_spec.rb +69 -0
- data/spec/models/storage_resource_create_spec.rb +1 -1
- data/spec/models/storage_resource_response_spec.rb +1 -1
- data/spec/models/storage_resource_spec.rb +1 -1
- data/spec/models/storage_system_create_spec.rb +1 -1
- data/spec/models/storage_system_spec.rb +1 -1
- data/spec/models/system_type_create_spec.rb +1 -1
- data/spec/models/system_type_spec.rb +1 -1
- data/spec/models/volume_create_spec.rb +1 -1
- data/spec/models/volume_response_spec.rb +1 -1
- data/spec/models/volume_safe_delete_create_spec.rb +1 -1
- data/spec/models/volume_safe_delete_spec.rb +1 -1
- data/spec/models/volume_spec.rb +1 -1
- data/spec/models/volume_update_spec.rb +7 -1
- data/spec/spec_helper.rb +2 -2
- metadata +142 -106
- data/lib/autosde_openapi_client.rb +0 -94
- data/site_manager_oas.json +0 -3992
@@ -21,7 +21,7 @@ Method | HTTP request | Description
|
|
21
21
|
|
22
22
|
```ruby
|
23
23
|
# load the gem
|
24
|
-
require '
|
24
|
+
require 'openapi_client'
|
25
25
|
# setup authorization
|
26
26
|
OpenapiClient.configure do |config|
|
27
27
|
# Configure Bearer authorization: bearerAuth
|
@@ -66,7 +66,7 @@ This endpoint does not need any parameter.
|
|
66
66
|
|
67
67
|
```ruby
|
68
68
|
# load the gem
|
69
|
-
require '
|
69
|
+
require 'openapi_client'
|
70
70
|
# setup authorization
|
71
71
|
OpenapiClient.configure do |config|
|
72
72
|
# Configure Bearer authorization: bearerAuth
|
@@ -115,7 +115,7 @@ Name | Type | Description | Notes
|
|
115
115
|
|
116
116
|
```ruby
|
117
117
|
# load the gem
|
118
|
-
require '
|
118
|
+
require 'openapi_client'
|
119
119
|
# setup authorization
|
120
120
|
OpenapiClient.configure do |config|
|
121
121
|
# Configure Bearer authorization: bearerAuth
|
@@ -156,7 +156,7 @@ Name | Type | Description | Notes
|
|
156
156
|
|
157
157
|
## service_resource_attchment_post
|
158
158
|
|
159
|
-
>
|
159
|
+
> ServiceResourceAttachment service_resource_attchment_post(service_resource_attachment)
|
160
160
|
|
161
161
|
|
162
162
|
|
@@ -164,7 +164,7 @@ Name | Type | Description | Notes
|
|
164
164
|
|
165
165
|
```ruby
|
166
166
|
# load the gem
|
167
|
-
require '
|
167
|
+
require 'openapi_client'
|
168
168
|
# setup authorization
|
169
169
|
OpenapiClient.configure do |config|
|
170
170
|
# Configure Bearer authorization: bearerAuth
|
@@ -191,7 +191,7 @@ Name | Type | Description | Notes
|
|
191
191
|
|
192
192
|
### Return type
|
193
193
|
|
194
|
-
[**
|
194
|
+
[**ServiceResourceAttachment**](ServiceResourceAttachment.md)
|
195
195
|
|
196
196
|
### Authorization
|
197
197
|
|
data/docs/Snapshot.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# OpenapiClient::Snapshot
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**component_state** | **String** | component_state | [optional]
|
8
|
+
**description** | **String** | description | [optional]
|
9
|
+
**name** | **String** | name | [optional]
|
10
|
+
**uuid** | **String** | uuid | [optional]
|
11
|
+
**volume** | [**Volume**](Volume.md) | | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'OpenapiClient'
|
17
|
+
|
18
|
+
instance = OpenapiClient::Snapshot.new(component_state: null,
|
19
|
+
description: null,
|
20
|
+
name: null,
|
21
|
+
uuid: null,
|
22
|
+
volume: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
data/docs/SnapshotApi.md
ADDED
@@ -0,0 +1,204 @@
|
|
1
|
+
# OpenapiClient::SnapshotApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**snapshots_get**](SnapshotApi.md#snapshots_get) | **GET** /snapshots/ |
|
8
|
+
[**snapshots_pk_delete**](SnapshotApi.md#snapshots_pk_delete) | **DELETE** /snapshots/{pk} |
|
9
|
+
[**snapshots_pk_get**](SnapshotApi.md#snapshots_pk_get) | **GET** /snapshots/{pk} |
|
10
|
+
[**snapshots_post**](SnapshotApi.md#snapshots_post) | **POST** /snapshots/ |
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## snapshots_get
|
15
|
+
|
16
|
+
> Array<Snapshot> snapshots_get
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
### Example
|
21
|
+
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'openapi_client'
|
25
|
+
# setup authorization
|
26
|
+
OpenapiClient.configure do |config|
|
27
|
+
# Configure Bearer authorization: bearerAuth
|
28
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
29
|
+
end
|
30
|
+
|
31
|
+
api_instance = OpenapiClient::SnapshotApi.new
|
32
|
+
|
33
|
+
begin
|
34
|
+
result = api_instance.snapshots_get
|
35
|
+
p result
|
36
|
+
rescue OpenapiClient::ApiError => e
|
37
|
+
puts "Exception when calling SnapshotApi->snapshots_get: #{e}"
|
38
|
+
end
|
39
|
+
```
|
40
|
+
|
41
|
+
### Parameters
|
42
|
+
|
43
|
+
This endpoint does not need any parameter.
|
44
|
+
|
45
|
+
### Return type
|
46
|
+
|
47
|
+
[**Array<Snapshot>**](Snapshot.md)
|
48
|
+
|
49
|
+
### Authorization
|
50
|
+
|
51
|
+
[bearerAuth](../README.md#bearerAuth)
|
52
|
+
|
53
|
+
### HTTP request headers
|
54
|
+
|
55
|
+
- **Content-Type**: Not defined
|
56
|
+
- **Accept**: */*
|
57
|
+
|
58
|
+
|
59
|
+
## snapshots_pk_delete
|
60
|
+
|
61
|
+
> Array<Snapshot> snapshots_pk_delete(pk)
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
### Example
|
66
|
+
|
67
|
+
```ruby
|
68
|
+
# load the gem
|
69
|
+
require 'openapi_client'
|
70
|
+
# setup authorization
|
71
|
+
OpenapiClient.configure do |config|
|
72
|
+
# Configure Bearer authorization: bearerAuth
|
73
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
74
|
+
end
|
75
|
+
|
76
|
+
api_instance = OpenapiClient::SnapshotApi.new
|
77
|
+
pk = 56 # Integer |
|
78
|
+
|
79
|
+
begin
|
80
|
+
result = api_instance.snapshots_pk_delete(pk)
|
81
|
+
p result
|
82
|
+
rescue OpenapiClient::ApiError => e
|
83
|
+
puts "Exception when calling SnapshotApi->snapshots_pk_delete: #{e}"
|
84
|
+
end
|
85
|
+
```
|
86
|
+
|
87
|
+
### Parameters
|
88
|
+
|
89
|
+
|
90
|
+
Name | Type | Description | Notes
|
91
|
+
------------- | ------------- | ------------- | -------------
|
92
|
+
**pk** | **Integer**| |
|
93
|
+
|
94
|
+
### Return type
|
95
|
+
|
96
|
+
[**Array<Snapshot>**](Snapshot.md)
|
97
|
+
|
98
|
+
### Authorization
|
99
|
+
|
100
|
+
[bearerAuth](../README.md#bearerAuth)
|
101
|
+
|
102
|
+
### HTTP request headers
|
103
|
+
|
104
|
+
- **Content-Type**: Not defined
|
105
|
+
- **Accept**: */*
|
106
|
+
|
107
|
+
|
108
|
+
## snapshots_pk_get
|
109
|
+
|
110
|
+
> Array<Snapshot> snapshots_pk_get(pk)
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
### Example
|
115
|
+
|
116
|
+
```ruby
|
117
|
+
# load the gem
|
118
|
+
require 'openapi_client'
|
119
|
+
# setup authorization
|
120
|
+
OpenapiClient.configure do |config|
|
121
|
+
# Configure Bearer authorization: bearerAuth
|
122
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
123
|
+
end
|
124
|
+
|
125
|
+
api_instance = OpenapiClient::SnapshotApi.new
|
126
|
+
pk = 56 # Integer |
|
127
|
+
|
128
|
+
begin
|
129
|
+
result = api_instance.snapshots_pk_get(pk)
|
130
|
+
p result
|
131
|
+
rescue OpenapiClient::ApiError => e
|
132
|
+
puts "Exception when calling SnapshotApi->snapshots_pk_get: #{e}"
|
133
|
+
end
|
134
|
+
```
|
135
|
+
|
136
|
+
### Parameters
|
137
|
+
|
138
|
+
|
139
|
+
Name | Type | Description | Notes
|
140
|
+
------------- | ------------- | ------------- | -------------
|
141
|
+
**pk** | **Integer**| |
|
142
|
+
|
143
|
+
### Return type
|
144
|
+
|
145
|
+
[**Array<Snapshot>**](Snapshot.md)
|
146
|
+
|
147
|
+
### Authorization
|
148
|
+
|
149
|
+
[bearerAuth](../README.md#bearerAuth)
|
150
|
+
|
151
|
+
### HTTP request headers
|
152
|
+
|
153
|
+
- **Content-Type**: Not defined
|
154
|
+
- **Accept**: */*
|
155
|
+
|
156
|
+
|
157
|
+
## snapshots_post
|
158
|
+
|
159
|
+
> Snapshot snapshots_post(snapshot_create)
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
### Example
|
164
|
+
|
165
|
+
```ruby
|
166
|
+
# load the gem
|
167
|
+
require 'openapi_client'
|
168
|
+
# setup authorization
|
169
|
+
OpenapiClient.configure do |config|
|
170
|
+
# Configure Bearer authorization: bearerAuth
|
171
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
172
|
+
end
|
173
|
+
|
174
|
+
api_instance = OpenapiClient::SnapshotApi.new
|
175
|
+
snapshot_create = OpenapiClient::SnapshotCreate.new # SnapshotCreate |
|
176
|
+
|
177
|
+
begin
|
178
|
+
result = api_instance.snapshots_post(snapshot_create)
|
179
|
+
p result
|
180
|
+
rescue OpenapiClient::ApiError => e
|
181
|
+
puts "Exception when calling SnapshotApi->snapshots_post: #{e}"
|
182
|
+
end
|
183
|
+
```
|
184
|
+
|
185
|
+
### Parameters
|
186
|
+
|
187
|
+
|
188
|
+
Name | Type | Description | Notes
|
189
|
+
------------- | ------------- | ------------- | -------------
|
190
|
+
**snapshot_create** | [**SnapshotCreate**](SnapshotCreate.md)| |
|
191
|
+
|
192
|
+
### Return type
|
193
|
+
|
194
|
+
[**Snapshot**](Snapshot.md)
|
195
|
+
|
196
|
+
### Authorization
|
197
|
+
|
198
|
+
[bearerAuth](../README.md#bearerAuth)
|
199
|
+
|
200
|
+
### HTTP request headers
|
201
|
+
|
202
|
+
- **Content-Type**: application/json
|
203
|
+
- **Accept**: */*
|
204
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# OpenapiClient::SnapshotCreate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**component_state** | **String** | component_state | [optional]
|
8
|
+
**description** | **String** | description | [optional]
|
9
|
+
**name** | **String** | name | [optional]
|
10
|
+
**volume** | [**Volume**](Volume.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'OpenapiClient'
|
16
|
+
|
17
|
+
instance = OpenapiClient::SnapshotCreate.new(component_state: null,
|
18
|
+
description: null,
|
19
|
+
name: null,
|
20
|
+
volume: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/StorageHost.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# OpenapiClient::StorageHost
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**component_state** | **String** | component_state | [optional]
|
8
|
+
**description** | **String** | description | [optional]
|
9
|
+
**io_groups** | **String** | io_groups | [optional]
|
10
|
+
**name** | **String** | The Storage Host Name | [optional]
|
11
|
+
**storage_system** | [**StorageSystem**](StorageSystem.md) | | [optional]
|
12
|
+
**uuid** | **String** | uuid | [optional]
|
13
|
+
**volumes** | [**Volume**](Volume.md) | | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'OpenapiClient'
|
19
|
+
|
20
|
+
instance = OpenapiClient::StorageHost.new(component_state: null,
|
21
|
+
description: null,
|
22
|
+
io_groups: null,
|
23
|
+
name: null,
|
24
|
+
storage_system: null,
|
25
|
+
uuid: null,
|
26
|
+
volumes: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,256 @@
|
|
1
|
+
# OpenapiClient::StorageHostApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**storage_hosts_get**](StorageHostApi.md#storage_hosts_get) | **GET** /storage-hosts |
|
8
|
+
[**storage_hosts_pk_delete**](StorageHostApi.md#storage_hosts_pk_delete) | **DELETE** /storage-hosts/{pk} |
|
9
|
+
[**storage_hosts_pk_get**](StorageHostApi.md#storage_hosts_pk_get) | **GET** /storage-hosts/{pk} |
|
10
|
+
[**storage_hosts_pk_put**](StorageHostApi.md#storage_hosts_pk_put) | **PUT** /storage-hosts/{pk} |
|
11
|
+
[**storage_hosts_post**](StorageHostApi.md#storage_hosts_post) | **POST** /storage-hosts |
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
## storage_hosts_get
|
16
|
+
|
17
|
+
> Array<StorageHostResponse> storage_hosts_get
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
### Example
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
# load the gem
|
25
|
+
require 'openapi_client'
|
26
|
+
# setup authorization
|
27
|
+
OpenapiClient.configure do |config|
|
28
|
+
# Configure Bearer authorization: bearerAuth
|
29
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = OpenapiClient::StorageHostApi.new
|
33
|
+
|
34
|
+
begin
|
35
|
+
result = api_instance.storage_hosts_get
|
36
|
+
p result
|
37
|
+
rescue OpenapiClient::ApiError => e
|
38
|
+
puts "Exception when calling StorageHostApi->storage_hosts_get: #{e}"
|
39
|
+
end
|
40
|
+
```
|
41
|
+
|
42
|
+
### Parameters
|
43
|
+
|
44
|
+
This endpoint does not need any parameter.
|
45
|
+
|
46
|
+
### Return type
|
47
|
+
|
48
|
+
[**Array<StorageHostResponse>**](StorageHostResponse.md)
|
49
|
+
|
50
|
+
### Authorization
|
51
|
+
|
52
|
+
[bearerAuth](../README.md#bearerAuth)
|
53
|
+
|
54
|
+
### HTTP request headers
|
55
|
+
|
56
|
+
- **Content-Type**: Not defined
|
57
|
+
- **Accept**: */*
|
58
|
+
|
59
|
+
|
60
|
+
## storage_hosts_pk_delete
|
61
|
+
|
62
|
+
> Array<StorageHost> storage_hosts_pk_delete(pk)
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
### Example
|
67
|
+
|
68
|
+
```ruby
|
69
|
+
# load the gem
|
70
|
+
require 'openapi_client'
|
71
|
+
# setup authorization
|
72
|
+
OpenapiClient.configure do |config|
|
73
|
+
# Configure Bearer authorization: bearerAuth
|
74
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
75
|
+
end
|
76
|
+
|
77
|
+
api_instance = OpenapiClient::StorageHostApi.new
|
78
|
+
pk = 56 # Integer |
|
79
|
+
|
80
|
+
begin
|
81
|
+
result = api_instance.storage_hosts_pk_delete(pk)
|
82
|
+
p result
|
83
|
+
rescue OpenapiClient::ApiError => e
|
84
|
+
puts "Exception when calling StorageHostApi->storage_hosts_pk_delete: #{e}"
|
85
|
+
end
|
86
|
+
```
|
87
|
+
|
88
|
+
### Parameters
|
89
|
+
|
90
|
+
|
91
|
+
Name | Type | Description | Notes
|
92
|
+
------------- | ------------- | ------------- | -------------
|
93
|
+
**pk** | **Integer**| |
|
94
|
+
|
95
|
+
### Return type
|
96
|
+
|
97
|
+
[**Array<StorageHost>**](StorageHost.md)
|
98
|
+
|
99
|
+
### Authorization
|
100
|
+
|
101
|
+
[bearerAuth](../README.md#bearerAuth)
|
102
|
+
|
103
|
+
### HTTP request headers
|
104
|
+
|
105
|
+
- **Content-Type**: Not defined
|
106
|
+
- **Accept**: */*
|
107
|
+
|
108
|
+
|
109
|
+
## storage_hosts_pk_get
|
110
|
+
|
111
|
+
> Array<StorageHost> storage_hosts_pk_get(pk)
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
### Example
|
116
|
+
|
117
|
+
```ruby
|
118
|
+
# load the gem
|
119
|
+
require 'openapi_client'
|
120
|
+
# setup authorization
|
121
|
+
OpenapiClient.configure do |config|
|
122
|
+
# Configure Bearer authorization: bearerAuth
|
123
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
124
|
+
end
|
125
|
+
|
126
|
+
api_instance = OpenapiClient::StorageHostApi.new
|
127
|
+
pk = 56 # Integer |
|
128
|
+
|
129
|
+
begin
|
130
|
+
result = api_instance.storage_hosts_pk_get(pk)
|
131
|
+
p result
|
132
|
+
rescue OpenapiClient::ApiError => e
|
133
|
+
puts "Exception when calling StorageHostApi->storage_hosts_pk_get: #{e}"
|
134
|
+
end
|
135
|
+
```
|
136
|
+
|
137
|
+
### Parameters
|
138
|
+
|
139
|
+
|
140
|
+
Name | Type | Description | Notes
|
141
|
+
------------- | ------------- | ------------- | -------------
|
142
|
+
**pk** | **Integer**| |
|
143
|
+
|
144
|
+
### Return type
|
145
|
+
|
146
|
+
[**Array<StorageHost>**](StorageHost.md)
|
147
|
+
|
148
|
+
### Authorization
|
149
|
+
|
150
|
+
[bearerAuth](../README.md#bearerAuth)
|
151
|
+
|
152
|
+
### HTTP request headers
|
153
|
+
|
154
|
+
- **Content-Type**: Not defined
|
155
|
+
- **Accept**: */*
|
156
|
+
|
157
|
+
|
158
|
+
## storage_hosts_pk_put
|
159
|
+
|
160
|
+
> StorageHost storage_hosts_pk_put(pk, storage_host_update)
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
### Example
|
165
|
+
|
166
|
+
```ruby
|
167
|
+
# load the gem
|
168
|
+
require 'openapi_client'
|
169
|
+
# setup authorization
|
170
|
+
OpenapiClient.configure do |config|
|
171
|
+
# Configure Bearer authorization: bearerAuth
|
172
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
173
|
+
end
|
174
|
+
|
175
|
+
api_instance = OpenapiClient::StorageHostApi.new
|
176
|
+
pk = 56 # Integer |
|
177
|
+
storage_host_update = OpenapiClient::StorageHostUpdate.new # StorageHostUpdate |
|
178
|
+
|
179
|
+
begin
|
180
|
+
result = api_instance.storage_hosts_pk_put(pk, storage_host_update)
|
181
|
+
p result
|
182
|
+
rescue OpenapiClient::ApiError => e
|
183
|
+
puts "Exception when calling StorageHostApi->storage_hosts_pk_put: #{e}"
|
184
|
+
end
|
185
|
+
```
|
186
|
+
|
187
|
+
### Parameters
|
188
|
+
|
189
|
+
|
190
|
+
Name | Type | Description | Notes
|
191
|
+
------------- | ------------- | ------------- | -------------
|
192
|
+
**pk** | **Integer**| |
|
193
|
+
**storage_host_update** | [**StorageHostUpdate**](StorageHostUpdate.md)| |
|
194
|
+
|
195
|
+
### Return type
|
196
|
+
|
197
|
+
[**StorageHost**](StorageHost.md)
|
198
|
+
|
199
|
+
### Authorization
|
200
|
+
|
201
|
+
[bearerAuth](../README.md#bearerAuth)
|
202
|
+
|
203
|
+
### HTTP request headers
|
204
|
+
|
205
|
+
- **Content-Type**: application/json
|
206
|
+
- **Accept**: */*
|
207
|
+
|
208
|
+
|
209
|
+
## storage_hosts_post
|
210
|
+
|
211
|
+
> StorageHostResponse storage_hosts_post(storage_host_create)
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
### Example
|
216
|
+
|
217
|
+
```ruby
|
218
|
+
# load the gem
|
219
|
+
require 'openapi_client'
|
220
|
+
# setup authorization
|
221
|
+
OpenapiClient.configure do |config|
|
222
|
+
# Configure Bearer authorization: bearerAuth
|
223
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
224
|
+
end
|
225
|
+
|
226
|
+
api_instance = OpenapiClient::StorageHostApi.new
|
227
|
+
storage_host_create = OpenapiClient::StorageHostCreate.new # StorageHostCreate |
|
228
|
+
|
229
|
+
begin
|
230
|
+
result = api_instance.storage_hosts_post(storage_host_create)
|
231
|
+
p result
|
232
|
+
rescue OpenapiClient::ApiError => e
|
233
|
+
puts "Exception when calling StorageHostApi->storage_hosts_post: #{e}"
|
234
|
+
end
|
235
|
+
```
|
236
|
+
|
237
|
+
### Parameters
|
238
|
+
|
239
|
+
|
240
|
+
Name | Type | Description | Notes
|
241
|
+
------------- | ------------- | ------------- | -------------
|
242
|
+
**storage_host_create** | [**StorageHostCreate**](StorageHostCreate.md)| |
|
243
|
+
|
244
|
+
### Return type
|
245
|
+
|
246
|
+
[**StorageHostResponse**](StorageHostResponse.md)
|
247
|
+
|
248
|
+
### Authorization
|
249
|
+
|
250
|
+
[bearerAuth](../README.md#bearerAuth)
|
251
|
+
|
252
|
+
### HTTP request headers
|
253
|
+
|
254
|
+
- **Content-Type**: application/json
|
255
|
+
- **Accept**: */*
|
256
|
+
|