eilam_test 1.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/LICENSE.txt +21 -0
- data/README.md +271 -0
- data/Rakefile +10 -0
- data/docs/AbstractCapability.md +20 -0
- data/docs/AbstractCapabilityApi.md +276 -0
- data/docs/Account.md +22 -0
- data/docs/AccountApi.md +346 -0
- data/docs/AccountPostRequest.md +20 -0
- data/docs/AccountPostResponse.md +24 -0
- data/docs/Address.md +32 -0
- data/docs/AddressApi.md +276 -0
- data/docs/AddressCreate.md +32 -0
- data/docs/AuthResponse.md +18 -0
- data/docs/Authentication.md +20 -0
- data/docs/AuthenticationApi.md +70 -0
- data/docs/AutoSDEProject.md +56 -0
- data/docs/AutoSDEProjectApi.md +276 -0
- data/docs/AutoSDERole.md +20 -0
- data/docs/AutoSDERoleApi.md +276 -0
- data/docs/CapabilityTranslation.md +36 -0
- data/docs/CapabilityTranslationApi.md +276 -0
- data/docs/CapabilityTranslationCreate.md +32 -0
- data/docs/Event.md +32 -0
- data/docs/EventApi.md +276 -0
- data/docs/Host.md +30 -0
- data/docs/HostApi.md +276 -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/HostClusterResponse.md +34 -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/HostCreate.md +40 -0
- data/docs/HostVolumeConnection.md +24 -0
- data/docs/HostVolumeConnectionApi.md +276 -0
- data/docs/HostVolumeConnectionCreate.md +22 -0
- data/docs/Job.md +30 -0
- data/docs/JobApi.md +140 -0
- data/docs/JobCreate.md +20 -0
- data/docs/NativeCapability.md +24 -0
- data/docs/NativeCapabilityApi.md +276 -0
- data/docs/Profile.md +26 -0
- data/docs/ProfileApi.md +276 -0
- data/docs/ProvisioningStrategy.md +20 -0
- data/docs/ProvisioningStrategyApi.md +276 -0
- data/docs/Service.md +36 -0
- data/docs/ServiceAbstractCapabilityValue.md +22 -0
- data/docs/ServiceApi.md +346 -0
- data/docs/ServiceCreate.md +34 -0
- data/docs/ServiceResourceAttachment.md +24 -0
- data/docs/ServiceResourceAttachmentApi.md +276 -0
- data/docs/Snapshot.md +26 -0
- data/docs/SnapshotApi.md +276 -0
- data/docs/SnapshotCreate.md +24 -0
- data/docs/StorageHost.md +36 -0
- data/docs/StorageHostApi.md +346 -0
- data/docs/StorageHostCreate.md +42 -0
- data/docs/StorageHostResponse.md +38 -0
- data/docs/StorageHostUpdate.md +22 -0
- data/docs/StorageHostVolumeMapping.md +26 -0
- data/docs/StorageHostVolumeMappingApi.md +276 -0
- data/docs/StorageHostVolumeMappingCreate.md +24 -0
- data/docs/StorageHostVolumeMappingResponse.md +26 -0
- data/docs/StorageHostWWPNCandidates.md +20 -0
- data/docs/StorageHostWWPNCandidatesApi.md +72 -0
- data/docs/StorageResource.md +34 -0
- data/docs/StorageResourceApi.md +346 -0
- data/docs/StorageResourceCreate.md +32 -0
- data/docs/StorageResourceResponse.md +34 -0
- data/docs/StorageSystem.md +34 -0
- data/docs/StorageSystemApi.md +346 -0
- data/docs/StorageSystemCreate.md +52 -0
- data/docs/StorageSystemUpdate.md +24 -0
- data/docs/SystemType.md +26 -0
- data/docs/SystemTypeApi.md +276 -0
- data/docs/SystemTypeCreate.md +28 -0
- data/docs/User.md +38 -0
- data/docs/UserApi.md +346 -0
- data/docs/UserCreate.md +38 -0
- data/docs/UserUpdate.md +30 -0
- data/docs/ValidateSystem.md +26 -0
- data/docs/ValidateSystemApi.md +75 -0
- data/docs/Volume.md +36 -0
- data/docs/VolumeApi.md +346 -0
- data/docs/VolumeCreate.md +34 -0
- data/docs/VolumeResponse.md +36 -0
- data/docs/VolumeSafeDelete.md +22 -0
- data/docs/VolumeSafeDeleteApi.md +276 -0
- data/docs/VolumeSafeDeleteCreate.md +18 -0
- data/docs/VolumeUpdate.md +20 -0
- data/eilam_test.gemspec +38 -0
- data/git_push.sh +58 -0
- data/lib/.DS_Store +0 -0
- data/lib/eilam_test/.DS_Store +0 -0
- data/lib/eilam_test/api/abstract_capability_api.rb +254 -0
- data/lib/eilam_test/api/account_api.rb +321 -0
- data/lib/eilam_test/api/address_api.rb +254 -0
- data/lib/eilam_test/api/authentication_api.rb +83 -0
- data/lib/eilam_test/api/auto_sde_project_api.rb +254 -0
- data/lib/eilam_test/api/auto_sde_role_api.rb +254 -0
- data/lib/eilam_test/api/capability_translation_api.rb +254 -0
- data/lib/eilam_test/api/event_api.rb +254 -0
- data/lib/eilam_test/api/host_api.rb +254 -0
- data/lib/eilam_test/api/host_cluster_api.rb +254 -0
- data/lib/eilam_test/api/host_cluster_membership_api.rb +254 -0
- data/lib/eilam_test/api/host_cluster_volume_mapping_api.rb +254 -0
- data/lib/eilam_test/api/host_volume_connection_api.rb +254 -0
- data/lib/eilam_test/api/job_api.rb +136 -0
- data/lib/eilam_test/api/native_capability_api.rb +254 -0
- data/lib/eilam_test/api/profile_api.rb +254 -0
- data/lib/eilam_test/api/provisioning_strategy_api.rb +254 -0
- data/lib/eilam_test/api/service_api.rb +321 -0
- data/lib/eilam_test/api/service_resource_attachment_api.rb +254 -0
- data/lib/eilam_test/api/snapshot_api.rb +254 -0
- data/lib/eilam_test/api/storage_host_api.rb +321 -0
- data/lib/eilam_test/api/storage_host_volume_mapping_api.rb +254 -0
- data/lib/eilam_test/api/storage_host_wwpn_candidates_api.rb +75 -0
- data/lib/eilam_test/api/storage_resource_api.rb +321 -0
- data/lib/eilam_test/api/storage_system_api.rb +321 -0
- data/lib/eilam_test/api/system_type_api.rb +254 -0
- data/lib/eilam_test/api/user_api.rb +321 -0
- data/lib/eilam_test/api/validate_system_api.rb +83 -0
- data/lib/eilam_test/api/volume_api.rb +321 -0
- data/lib/eilam_test/api/volume_safe_delete_api.rb +254 -0
- data/lib/eilam_test/api_client.rb +390 -0
- data/lib/eilam_test/api_error.rb +57 -0
- data/lib/eilam_test/configuration.rb +293 -0
- data/lib/eilam_test/models/abstract_capability.rb +230 -0
- data/lib/eilam_test/models/account.rb +240 -0
- data/lib/eilam_test/models/account_post_request.rb +230 -0
- data/lib/eilam_test/models/account_post_response.rb +250 -0
- data/lib/eilam_test/models/address.rb +340 -0
- data/lib/eilam_test/models/address_create.rb +342 -0
- data/lib/eilam_test/models/auth_response.rb +220 -0
- data/lib/eilam_test/models/authentication.rb +230 -0
- data/lib/eilam_test/models/auto_sde_project.rb +410 -0
- data/lib/eilam_test/models/auto_sde_role.rb +230 -0
- data/lib/eilam_test/models/capability_translation.rb +340 -0
- data/lib/eilam_test/models/capability_translation_create.rb +322 -0
- data/lib/eilam_test/models/event.rb +289 -0
- data/lib/eilam_test/models/host.rb +333 -0
- data/lib/eilam_test/models/host_cluster.rb +397 -0
- data/lib/eilam_test/models/host_cluster_create.rb +338 -0
- data/lib/eilam_test/models/host_cluster_membership.rb +287 -0
- data/lib/eilam_test/models/host_cluster_response.rb +398 -0
- data/lib/eilam_test/models/host_cluster_volume_mapping.rb +299 -0
- data/lib/eilam_test/models/host_cluster_volume_mapping_create.rb +291 -0
- data/lib/eilam_test/models/host_cluster_volume_mapping_response.rb +301 -0
- data/lib/eilam_test/models/host_create.rb +394 -0
- data/lib/eilam_test/models/host_volume_connection.rb +287 -0
- data/lib/eilam_test/models/host_volume_connection_create.rb +277 -0
- data/lib/eilam_test/models/job.rb +280 -0
- data/lib/eilam_test/models/job_create.rb +230 -0
- data/lib/eilam_test/models/native_capability.rb +251 -0
- data/lib/eilam_test/models/profile.rb +295 -0
- data/lib/eilam_test/models/provisioning_strategy.rb +269 -0
- data/lib/eilam_test/models/service.rb +351 -0
- data/lib/eilam_test/models/service_abstract_capability_value.rb +239 -0
- data/lib/eilam_test/models/service_create.rb +339 -0
- data/lib/eilam_test/models/service_resource_attachment.rb +250 -0
- data/lib/eilam_test/models/snapshot.rb +298 -0
- data/lib/eilam_test/models/snapshot_create.rb +288 -0
- data/lib/eilam_test/models/storage_host.rb +346 -0
- data/lib/eilam_test/models/storage_host_create.rb +388 -0
- data/lib/eilam_test/models/storage_host_response.rb +363 -0
- data/lib/eilam_test/models/storage_host_update.rb +301 -0
- data/lib/eilam_test/models/storage_host_volume_mapping.rb +299 -0
- data/lib/eilam_test/models/storage_host_volume_mapping_create.rb +291 -0
- data/lib/eilam_test/models/storage_host_volume_mapping_response.rb +301 -0
- data/lib/eilam_test/models/storage_host_wwpn_candidates.rb +230 -0
- data/lib/eilam_test/models/storage_resource.rb +354 -0
- data/lib/eilam_test/models/storage_resource_create.rb +345 -0
- data/lib/eilam_test/models/storage_resource_response.rb +355 -0
- data/lib/eilam_test/models/storage_system.rb +352 -0
- data/lib/eilam_test/models/storage_system_create.rb +455 -0
- data/lib/eilam_test/models/storage_system_update.rb +265 -0
- data/lib/eilam_test/models/system_type.rb +333 -0
- data/lib/eilam_test/models/system_type_create.rb +345 -0
- data/lib/eilam_test/models/user.rb +395 -0
- data/lib/eilam_test/models/user_create.rb +395 -0
- data/lib/eilam_test/models/user_update.rb +280 -0
- data/lib/eilam_test/models/validate_system.rb +260 -0
- data/lib/eilam_test/models/volume.rb +348 -0
- data/lib/eilam_test/models/volume_create.rb +343 -0
- data/lib/eilam_test/models/volume_response.rb +350 -0
- data/lib/eilam_test/models/volume_safe_delete.rb +239 -0
- data/lib/eilam_test/models/volume_safe_delete_create.rb +219 -0
- data/lib/eilam_test/models/volume_update.rb +232 -0
- data/lib/eilam_test/version.rb +15 -0
- data/lib/eilam_test.rb +130 -0
- data/spec/api/abstract_capability_api_spec.rb +74 -0
- data/spec/api/account_api_spec.rb +85 -0
- data/spec/api/address_api_spec.rb +74 -0
- data/spec/api/authentication_api_spec.rb +45 -0
- data/spec/api/auto_sde_project_api_spec.rb +74 -0
- data/spec/api/auto_sde_role_api_spec.rb +74 -0
- data/spec/api/capability_translation_api_spec.rb +74 -0
- data/spec/api/event_api_spec.rb +74 -0
- data/spec/api/host_api_spec.rb +74 -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/api/host_volume_connection_api_spec.rb +74 -0
- data/spec/api/job_api_spec.rb +54 -0
- data/spec/api/native_capability_api_spec.rb +74 -0
- data/spec/api/profile_api_spec.rb +74 -0
- data/spec/api/provisioning_strategy_api_spec.rb +74 -0
- data/spec/api/service_api_spec.rb +85 -0
- data/spec/api/service_resource_attachment_api_spec.rb +74 -0
- data/spec/api/snapshot_api_spec.rb +74 -0
- data/spec/api/storage_host_api_spec.rb +85 -0
- data/spec/api/storage_host_volume_mapping_api_spec.rb +74 -0
- data/spec/api/storage_host_wwpn_candidates_api_spec.rb +44 -0
- data/spec/api/storage_resource_api_spec.rb +85 -0
- data/spec/api/storage_system_api_spec.rb +85 -0
- data/spec/api/system_type_api_spec.rb +74 -0
- data/spec/api/user_api_spec.rb +85 -0
- data/spec/api/validate_system_api_spec.rb +45 -0
- data/spec/api/volume_api_spec.rb +85 -0
- data/spec/api/volume_safe_delete_api_spec.rb +74 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/abstract_capability_spec.rb +40 -0
- data/spec/models/account_post_request_spec.rb +40 -0
- data/spec/models/account_post_response_spec.rb +52 -0
- data/spec/models/account_spec.rb +46 -0
- data/spec/models/address_create_spec.rb +84 -0
- data/spec/models/address_spec.rb +84 -0
- data/spec/models/auth_response_spec.rb +34 -0
- data/spec/models/authentication_spec.rb +40 -0
- data/spec/models/auto_sde_project_spec.rb +148 -0
- data/spec/models/auto_sde_role_spec.rb +40 -0
- data/spec/models/capability_translation_create_spec.rb +76 -0
- data/spec/models/capability_translation_spec.rb +88 -0
- data/spec/models/event_spec.rb +76 -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_response_spec.rb +86 -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/host_create_spec.rb +112 -0
- data/spec/models/host_spec.rb +78 -0
- data/spec/models/host_volume_connection_create_spec.rb +50 -0
- data/spec/models/host_volume_connection_spec.rb +56 -0
- data/spec/models/job_create_spec.rb +40 -0
- data/spec/models/job_spec.rb +70 -0
- data/spec/models/native_capability_spec.rb +52 -0
- data/spec/models/profile_spec.rb +62 -0
- data/spec/models/provisioning_strategy_spec.rb +44 -0
- data/spec/models/service_abstract_capability_value_spec.rb +46 -0
- data/spec/models/service_create_spec.rb +86 -0
- data/spec/models/service_resource_attachment_spec.rb +52 -0
- data/spec/models/service_spec.rb +92 -0
- data/spec/models/snapshot_create_spec.rb +56 -0
- data/spec/models/snapshot_spec.rb +62 -0
- data/spec/models/storage_host_create_spec.rb +114 -0
- data/spec/models/storage_host_response_spec.rb +98 -0
- data/spec/models/storage_host_spec.rb +92 -0
- data/spec/models/storage_host_update_spec.rb +54 -0
- data/spec/models/storage_host_volume_mapping_create_spec.rb +56 -0
- data/spec/models/storage_host_volume_mapping_response_spec.rb +62 -0
- data/spec/models/storage_host_volume_mapping_spec.rb +62 -0
- data/spec/models/storage_host_wwpn_candidates_spec.rb +40 -0
- data/spec/models/storage_resource_create_spec.rb +84 -0
- data/spec/models/storage_resource_response_spec.rb +90 -0
- data/spec/models/storage_resource_spec.rb +90 -0
- data/spec/models/storage_system_create_spec.rb +148 -0
- data/spec/models/storage_system_spec.rb +90 -0
- data/spec/models/storage_system_update_spec.rb +52 -0
- data/spec/models/system_type_create_spec.rb +72 -0
- data/spec/models/system_type_spec.rb +66 -0
- data/spec/models/user_create_spec.rb +94 -0
- data/spec/models/user_spec.rb +94 -0
- data/spec/models/user_update_spec.rb +70 -0
- data/spec/models/validate_system_spec.rb +58 -0
- data/spec/models/volume_create_spec.rb +86 -0
- data/spec/models/volume_response_spec.rb +92 -0
- data/spec/models/volume_safe_delete_create_spec.rb +34 -0
- data/spec/models/volume_safe_delete_spec.rb +46 -0
- data/spec/models/volume_spec.rb +92 -0
- data/spec/models/volume_update_spec.rb +40 -0
- data/spec/spec_helper.rb +111 -0
- metadata +466 -0
@@ -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<HostClusterResponse>> 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<HostClusterResponse>>, 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<HostClusterResponse>>
|
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<HostClusterResponse>**](HostClusterResponse.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
|
+
> <HostClusterResponse> 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(<HostClusterResponse>, 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 # => <HostClusterResponse>
|
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
|
+
[**HostClusterResponse**](HostClusterResponse.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
|
+
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# AutosdeOpenapiClient::HostClusterResponse
|
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** | **String** | !!uuid of storage_system | [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::HostClusterResponse.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,26 @@
|
|
1
|
+
# AutosdeOpenapiClient::HostClusterVolumeMapping
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **cluster** | [**HostCluster**](HostCluster.md) | | [optional] |
|
8
|
+
| **component_state** | **String** | component_state | [optional] |
|
9
|
+
| **lun** | **Integer** | lun | [optional][default to 0] |
|
10
|
+
| **uuid** | **String** | uuid | [optional] |
|
11
|
+
| **volume** | [**Volume**](Volume.md) | | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'autosde_openapi_client'
|
17
|
+
|
18
|
+
instance = AutosdeOpenapiClient::HostClusterVolumeMapping.new(
|
19
|
+
cluster: null,
|
20
|
+
component_state: null,
|
21
|
+
lun: null,
|
22
|
+
uuid: null,
|
23
|
+
volume: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|