eryph-compute 0.1.1
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 +7 -0
- data/CHANGELOG.md +47 -0
- data/LICENSE +21 -0
- data/README.md +144 -0
- data/eryph-clientruntime.gemspec +42 -0
- data/eryph-compute.gemspec +44 -0
- data/lib/eryph/clientruntime/client_credentials_lookup.rb +295 -0
- data/lib/eryph/clientruntime/config_store.rb +206 -0
- data/lib/eryph/clientruntime/config_stores_reader.rb +211 -0
- data/lib/eryph/clientruntime/endpoint_lookup.rb +226 -0
- data/lib/eryph/clientruntime/environment.rb +440 -0
- data/lib/eryph/clientruntime/local_identity_provider_info.rb +153 -0
- data/lib/eryph/clientruntime/token_provider.rb +275 -0
- data/lib/eryph/clientruntime/version.rb +6 -0
- data/lib/eryph/clientruntime.rb +79 -0
- data/lib/eryph/compute/client.rb +442 -0
- data/lib/eryph/compute/generated/Gemfile +9 -0
- data/lib/eryph/compute/generated/README.md +206 -0
- data/lib/eryph/compute/generated/Rakefile +10 -0
- data/lib/eryph/compute/generated/compute_client.gemspec +41 -0
- data/lib/eryph/compute/generated/docs/ApiVersion.md +20 -0
- data/lib/eryph/compute/generated/docs/ApiVersionResponse.md +18 -0
- data/lib/eryph/compute/generated/docs/Catlet.md +32 -0
- data/lib/eryph/compute/generated/docs/CatletConfigOperationResult.md +18 -0
- data/lib/eryph/compute/generated/docs/CatletConfigValidationResult.md +20 -0
- data/lib/eryph/compute/generated/docs/CatletConfiguration.md +18 -0
- data/lib/eryph/compute/generated/docs/CatletDrive.md +20 -0
- data/lib/eryph/compute/generated/docs/CatletDriveType.md +15 -0
- data/lib/eryph/compute/generated/docs/CatletList.md +18 -0
- data/lib/eryph/compute/generated/docs/CatletNetwork.md +30 -0
- data/lib/eryph/compute/generated/docs/CatletNetworkAdapter.md +20 -0
- data/lib/eryph/compute/generated/docs/CatletStatus.md +15 -0
- data/lib/eryph/compute/generated/docs/CatletStopMode.md +15 -0
- data/lib/eryph/compute/generated/docs/CatletsApi.md +863 -0
- data/lib/eryph/compute/generated/docs/DiskStatus.md +15 -0
- data/lib/eryph/compute/generated/docs/ExpandCatletConfigRequestBody.md +22 -0
- data/lib/eryph/compute/generated/docs/ExpandNewCatletConfigRequest.md +22 -0
- data/lib/eryph/compute/generated/docs/FloatingNetworkPort.md +26 -0
- data/lib/eryph/compute/generated/docs/Gene.md +30 -0
- data/lib/eryph/compute/generated/docs/GeneList.md +18 -0
- data/lib/eryph/compute/generated/docs/GeneType.md +15 -0
- data/lib/eryph/compute/generated/docs/GeneWithUsage.md +34 -0
- data/lib/eryph/compute/generated/docs/GenesApi.md +281 -0
- data/lib/eryph/compute/generated/docs/NewCatletRequest.md +20 -0
- data/lib/eryph/compute/generated/docs/NewProjectMemberBody.md +22 -0
- data/lib/eryph/compute/generated/docs/NewProjectRequest.md +20 -0
- data/lib/eryph/compute/generated/docs/NewVirtualDiskRequest.md +30 -0
- data/lib/eryph/compute/generated/docs/Operation.md +32 -0
- data/lib/eryph/compute/generated/docs/OperationList.md +18 -0
- data/lib/eryph/compute/generated/docs/OperationLogEntry.md +24 -0
- data/lib/eryph/compute/generated/docs/OperationResource.md +22 -0
- data/lib/eryph/compute/generated/docs/OperationResult.md +18 -0
- data/lib/eryph/compute/generated/docs/OperationStatus.md +15 -0
- data/lib/eryph/compute/generated/docs/OperationTask.md +30 -0
- data/lib/eryph/compute/generated/docs/OperationTaskReference.md +22 -0
- data/lib/eryph/compute/generated/docs/OperationTaskStatus.md +15 -0
- data/lib/eryph/compute/generated/docs/OperationsApi.md +157 -0
- data/lib/eryph/compute/generated/docs/PopulateCatletConfigVariablesRequest.md +20 -0
- data/lib/eryph/compute/generated/docs/ProblemDetails.md +26 -0
- data/lib/eryph/compute/generated/docs/Project.md +22 -0
- data/lib/eryph/compute/generated/docs/ProjectList.md +18 -0
- data/lib/eryph/compute/generated/docs/ProjectMemberRole.md +26 -0
- data/lib/eryph/compute/generated/docs/ProjectMemberRoleList.md +18 -0
- data/lib/eryph/compute/generated/docs/ProjectMembersApi.md +293 -0
- data/lib/eryph/compute/generated/docs/ProjectsApi.md +286 -0
- data/lib/eryph/compute/generated/docs/ResourceType.md +15 -0
- data/lib/eryph/compute/generated/docs/StopCatletRequestBody.md +18 -0
- data/lib/eryph/compute/generated/docs/TaskReferenceType.md +15 -0
- data/lib/eryph/compute/generated/docs/UpdateCatletRequestBody.md +20 -0
- data/lib/eryph/compute/generated/docs/UpdateProjectNetworksRequestBody.md +20 -0
- data/lib/eryph/compute/generated/docs/ValidateConfigRequest.md +18 -0
- data/lib/eryph/compute/generated/docs/ValidationIssue.md +20 -0
- data/lib/eryph/compute/generated/docs/VersionApi.md +69 -0
- data/lib/eryph/compute/generated/docs/VirtualDisk.md +42 -0
- data/lib/eryph/compute/generated/docs/VirtualDiskAttachedCatlet.md +20 -0
- data/lib/eryph/compute/generated/docs/VirtualDiskGeneInfo.md +22 -0
- data/lib/eryph/compute/generated/docs/VirtualDiskList.md +18 -0
- data/lib/eryph/compute/generated/docs/VirtualDisksApi.md +291 -0
- data/lib/eryph/compute/generated/docs/VirtualNetwork.md +28 -0
- data/lib/eryph/compute/generated/docs/VirtualNetworkConfiguration.md +18 -0
- data/lib/eryph/compute/generated/docs/VirtualNetworkList.md +18 -0
- data/lib/eryph/compute/generated/docs/VirtualNetworksApi.md +291 -0
- data/lib/eryph/compute/generated/git_push.sh +57 -0
- data/lib/eryph/compute/generated/lib/compute_client/api/catlets_api.rb +812 -0
- data/lib/eryph/compute/generated/lib/compute_client/api/genes_api.rb +262 -0
- data/lib/eryph/compute/generated/lib/compute_client/api/operations_api.rb +154 -0
- data/lib/eryph/compute/generated/lib/compute_client/api/project_members_api.rb +297 -0
- data/lib/eryph/compute/generated/lib/compute_client/api/projects_api.rb +269 -0
- data/lib/eryph/compute/generated/lib/compute_client/api/version_api.rb +79 -0
- data/lib/eryph/compute/generated/lib/compute_client/api/virtual_disks_api.rb +272 -0
- data/lib/eryph/compute/generated/lib/compute_client/api/virtual_networks_api.rb +282 -0
- data/lib/eryph/compute/generated/lib/compute_client/api_client.rb +437 -0
- data/lib/eryph/compute/generated/lib/compute_client/api_error.rb +58 -0
- data/lib/eryph/compute/generated/lib/compute_client/configuration.rb +392 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/api_version.rb +263 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/api_version_response.rb +237 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/catlet.rb +400 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/catlet_config_operation_result.rb +234 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/catlet_config_validation_result.rb +251 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/catlet_configuration.rb +223 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/catlet_drive.rb +270 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/catlet_drive_type.rb +43 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/catlet_list.rb +239 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/catlet_network.rb +318 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/catlet_network_adapter.rb +247 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/catlet_status.rb +43 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/catlet_stop_mode.rb +41 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/disk_status.rb +40 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/expand_catlet_config_request_body.rb +243 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/expand_new_catlet_config_request.rb +243 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/floating_network_port.rb +313 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/gene.rb +415 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/gene_list.rb +239 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/gene_type.rb +41 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/gene_with_usage.rb +439 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/new_catlet_request.rb +233 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/new_project_member_body.rb +273 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/new_project_request.rb +247 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/new_virtual_disk_request.rb +345 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/operation.rb +352 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/operation_list.rb +239 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/operation_log_entry.rb +299 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/operation_resource.rb +311 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/operation_result.rb +242 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/operation_status.rb +42 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/operation_task.rb +366 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/operation_task_reference.rb +311 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/operation_task_status.rb +42 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/populate_catlet_config_variables_request.rb +233 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/problem_details.rb +261 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/project.rb +289 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/project_list.rb +239 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/project_member_role.rb +341 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/project_member_role_list.rb +239 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/resource_type.rb +42 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/stop_catlet_request_body.rb +259 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/task_reference_type.rb +40 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/update_catlet_request_body.rb +233 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/update_project_networks_request_body.rb +233 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/validate_config_request.rb +223 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/validation_issue.rb +249 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/virtual_disk.rb +479 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/virtual_disk_attached_catlet.rb +285 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/virtual_disk_gene_info.rb +289 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/virtual_disk_list.rb +239 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/virtual_network.rb +351 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/virtual_network_configuration.rb +223 -0
- data/lib/eryph/compute/generated/lib/compute_client/models/virtual_network_list.rb +239 -0
- data/lib/eryph/compute/generated/lib/compute_client/version.rb +15 -0
- data/lib/eryph/compute/generated/lib/compute_client.rb +101 -0
- data/lib/eryph/compute/generated/spec/api/catlets_api_spec.rb +182 -0
- data/lib/eryph/compute/generated/spec/api/genes_api_spec.rb +81 -0
- data/lib/eryph/compute/generated/spec/api/operations_api_spec.rb +62 -0
- data/lib/eryph/compute/generated/spec/api/project_members_api_spec.rb +86 -0
- data/lib/eryph/compute/generated/spec/api/projects_api_spec.rb +82 -0
- data/lib/eryph/compute/generated/spec/api/version_api_spec.rb +46 -0
- data/lib/eryph/compute/generated/spec/api/virtual_disks_api_spec.rb +83 -0
- data/lib/eryph/compute/generated/spec/api/virtual_networks_api_spec.rb +84 -0
- data/lib/eryph/compute/generated/spec/models/api_version_response_spec.rb +36 -0
- data/lib/eryph/compute/generated/spec/models/api_version_spec.rb +42 -0
- data/lib/eryph/compute/generated/spec/models/catlet_config_operation_result_spec.rb +36 -0
- data/lib/eryph/compute/generated/spec/models/catlet_config_validation_result_spec.rb +42 -0
- data/lib/eryph/compute/generated/spec/models/catlet_configuration_spec.rb +36 -0
- data/lib/eryph/compute/generated/spec/models/catlet_drive_spec.rb +42 -0
- data/lib/eryph/compute/generated/spec/models/catlet_drive_type_spec.rb +30 -0
- data/lib/eryph/compute/generated/spec/models/catlet_list_spec.rb +36 -0
- data/lib/eryph/compute/generated/spec/models/catlet_network_adapter_spec.rb +42 -0
- data/lib/eryph/compute/generated/spec/models/catlet_network_spec.rb +72 -0
- data/lib/eryph/compute/generated/spec/models/catlet_spec.rb +78 -0
- data/lib/eryph/compute/generated/spec/models/catlet_status_spec.rb +30 -0
- data/lib/eryph/compute/generated/spec/models/catlet_stop_mode_spec.rb +30 -0
- data/lib/eryph/compute/generated/spec/models/disk_status_spec.rb +30 -0
- data/lib/eryph/compute/generated/spec/models/expand_catlet_config_request_body_spec.rb +48 -0
- data/lib/eryph/compute/generated/spec/models/expand_new_catlet_config_request_spec.rb +48 -0
- data/lib/eryph/compute/generated/spec/models/floating_network_port_spec.rb +60 -0
- data/lib/eryph/compute/generated/spec/models/gene_list_spec.rb +36 -0
- data/lib/eryph/compute/generated/spec/models/gene_spec.rb +72 -0
- data/lib/eryph/compute/generated/spec/models/gene_type_spec.rb +30 -0
- data/lib/eryph/compute/generated/spec/models/gene_with_usage_spec.rb +84 -0
- data/lib/eryph/compute/generated/spec/models/new_catlet_request_spec.rb +42 -0
- data/lib/eryph/compute/generated/spec/models/new_project_member_body_spec.rb +48 -0
- data/lib/eryph/compute/generated/spec/models/new_project_request_spec.rb +42 -0
- data/lib/eryph/compute/generated/spec/models/new_virtual_disk_request_spec.rb +72 -0
- data/lib/eryph/compute/generated/spec/models/operation_list_spec.rb +36 -0
- data/lib/eryph/compute/generated/spec/models/operation_log_entry_spec.rb +54 -0
- data/lib/eryph/compute/generated/spec/models/operation_resource_spec.rb +48 -0
- data/lib/eryph/compute/generated/spec/models/operation_result_spec.rb +36 -0
- data/lib/eryph/compute/generated/spec/models/operation_spec.rb +78 -0
- data/lib/eryph/compute/generated/spec/models/operation_status_spec.rb +30 -0
- data/lib/eryph/compute/generated/spec/models/operation_task_reference_spec.rb +48 -0
- data/lib/eryph/compute/generated/spec/models/operation_task_spec.rb +72 -0
- data/lib/eryph/compute/generated/spec/models/operation_task_status_spec.rb +30 -0
- data/lib/eryph/compute/generated/spec/models/populate_catlet_config_variables_request_spec.rb +42 -0
- data/lib/eryph/compute/generated/spec/models/problem_details_spec.rb +60 -0
- data/lib/eryph/compute/generated/spec/models/project_list_spec.rb +36 -0
- data/lib/eryph/compute/generated/spec/models/project_member_role_list_spec.rb +36 -0
- data/lib/eryph/compute/generated/spec/models/project_member_role_spec.rb +60 -0
- data/lib/eryph/compute/generated/spec/models/project_spec.rb +48 -0
- data/lib/eryph/compute/generated/spec/models/resource_type_spec.rb +30 -0
- data/lib/eryph/compute/generated/spec/models/stop_catlet_request_body_spec.rb +36 -0
- data/lib/eryph/compute/generated/spec/models/task_reference_type_spec.rb +30 -0
- data/lib/eryph/compute/generated/spec/models/update_catlet_request_body_spec.rb +42 -0
- data/lib/eryph/compute/generated/spec/models/update_project_networks_request_body_spec.rb +42 -0
- data/lib/eryph/compute/generated/spec/models/validate_config_request_spec.rb +36 -0
- data/lib/eryph/compute/generated/spec/models/validation_issue_spec.rb +42 -0
- data/lib/eryph/compute/generated/spec/models/virtual_disk_attached_catlet_spec.rb +42 -0
- data/lib/eryph/compute/generated/spec/models/virtual_disk_gene_info_spec.rb +48 -0
- data/lib/eryph/compute/generated/spec/models/virtual_disk_list_spec.rb +36 -0
- data/lib/eryph/compute/generated/spec/models/virtual_disk_spec.rb +108 -0
- data/lib/eryph/compute/generated/spec/models/virtual_network_configuration_spec.rb +36 -0
- data/lib/eryph/compute/generated/spec/models/virtual_network_list_spec.rb +36 -0
- data/lib/eryph/compute/generated/spec/models/virtual_network_spec.rb +66 -0
- data/lib/eryph/compute/generated/spec/spec_helper.rb +111 -0
- data/lib/eryph/compute/generated.rb +137 -0
- data/lib/eryph/compute/operation_result.rb +255 -0
- data/lib/eryph/compute/operation_tracker.rb +247 -0
- data/lib/eryph/compute/problem_details_error.rb +139 -0
- data/lib/eryph/compute/version.rb +6 -0
- data/lib/eryph/compute.rb +40 -0
- data/lib/eryph/version.rb +4 -0
- data/lib/eryph.rb +68 -0
- metadata +329 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
# ComputeClient::ExpandCatletConfigRequestBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **correlation_id** | **String** | | [optional] |
|
8
|
+
| **configuration** | **Object** | | |
|
9
|
+
| **show_secrets** | **Boolean** | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'compute_client'
|
15
|
+
|
16
|
+
instance = ComputeClient::ExpandCatletConfigRequestBody.new(
|
17
|
+
correlation_id: null,
|
18
|
+
configuration: null,
|
19
|
+
show_secrets: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# ComputeClient::ExpandNewCatletConfigRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **correlation_id** | **String** | | [optional] |
|
8
|
+
| **configuration** | **Object** | | |
|
9
|
+
| **show_secrets** | **Boolean** | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'compute_client'
|
15
|
+
|
16
|
+
instance = ComputeClient::ExpandNewCatletConfigRequest.new(
|
17
|
+
correlation_id: null,
|
18
|
+
configuration: null,
|
19
|
+
show_secrets: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# ComputeClient::FloatingNetworkPort
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | | |
|
8
|
+
| **provider** | **String** | | |
|
9
|
+
| **subnet** | **String** | | |
|
10
|
+
| **ip_v4_addresses** | **Array<String>** | | [optional] |
|
11
|
+
| **ip_v4_subnets** | **Array<String>** | | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'compute_client'
|
17
|
+
|
18
|
+
instance = ComputeClient::FloatingNetworkPort.new(
|
19
|
+
name: null,
|
20
|
+
provider: null,
|
21
|
+
subnet: null,
|
22
|
+
ip_v4_addresses: null,
|
23
|
+
ip_v4_subnets: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# ComputeClient::Gene
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | |
|
8
|
+
| **gene_type** | [**GeneType**](GeneType.md) | | |
|
9
|
+
| **gene_set** | **String** | | |
|
10
|
+
| **name** | **String** | | |
|
11
|
+
| **architecture** | **String** | | |
|
12
|
+
| **size** | **Integer** | | |
|
13
|
+
| **hash** | **String** | | |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'compute_client'
|
19
|
+
|
20
|
+
instance = ComputeClient::Gene.new(
|
21
|
+
id: null,
|
22
|
+
gene_type: null,
|
23
|
+
gene_set: null,
|
24
|
+
name: null,
|
25
|
+
architecture: null,
|
26
|
+
size: null,
|
27
|
+
hash: null
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# ComputeClient::GeneList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **value** | [**Array<Gene>**](Gene.md) | | |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'compute_client'
|
13
|
+
|
14
|
+
instance = ComputeClient::GeneList.new(
|
15
|
+
value: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# ComputeClient::GeneWithUsage
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | |
|
8
|
+
| **gene_type** | [**GeneType**](GeneType.md) | | |
|
9
|
+
| **gene_set** | **String** | | |
|
10
|
+
| **name** | **String** | | |
|
11
|
+
| **architecture** | **String** | | |
|
12
|
+
| **size** | **Integer** | | |
|
13
|
+
| **hash** | **String** | | |
|
14
|
+
| **catlets** | **Array<String>** | | [optional] |
|
15
|
+
| **disks** | **Array<String>** | | [optional] |
|
16
|
+
|
17
|
+
## Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'compute_client'
|
21
|
+
|
22
|
+
instance = ComputeClient::GeneWithUsage.new(
|
23
|
+
id: null,
|
24
|
+
gene_type: null,
|
25
|
+
gene_set: null,
|
26
|
+
name: null,
|
27
|
+
architecture: null,
|
28
|
+
size: null,
|
29
|
+
hash: null,
|
30
|
+
catlets: null,
|
31
|
+
disks: null
|
32
|
+
)
|
33
|
+
```
|
34
|
+
|
@@ -0,0 +1,281 @@
|
|
1
|
+
# ComputeClient::GenesApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://localhost:8000/compute*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**genes_cleanup**](GenesApi.md#genes_cleanup) | **DELETE** /v1/genes | Remove all unused genes |
|
8
|
+
| [**genes_delete**](GenesApi.md#genes_delete) | **DELETE** /v1/genes/{id} | Remove a gene |
|
9
|
+
| [**genes_get**](GenesApi.md#genes_get) | **GET** /v1/genes/{id} | Get a gene |
|
10
|
+
| [**genes_list**](GenesApi.md#genes_list) | **GET** /v1/genes | List all genes |
|
11
|
+
|
12
|
+
|
13
|
+
## genes_cleanup
|
14
|
+
|
15
|
+
> <Operation> genes_cleanup
|
16
|
+
|
17
|
+
Remove all unused genes
|
18
|
+
|
19
|
+
Remove all unused genes from the local gene pool
|
20
|
+
|
21
|
+
### Examples
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
require 'time'
|
25
|
+
require 'compute_client'
|
26
|
+
# setup authorization
|
27
|
+
ComputeClient.configure do |config|
|
28
|
+
# Configure OAuth2 access token for authorization: oauth2
|
29
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = ComputeClient::GenesApi.new
|
33
|
+
|
34
|
+
begin
|
35
|
+
# Remove all unused genes
|
36
|
+
result = api_instance.genes_cleanup
|
37
|
+
p result
|
38
|
+
rescue ComputeClient::ApiError => e
|
39
|
+
puts "Error when calling GenesApi->genes_cleanup: #{e}"
|
40
|
+
end
|
41
|
+
```
|
42
|
+
|
43
|
+
#### Using the genes_cleanup_with_http_info variant
|
44
|
+
|
45
|
+
This returns an Array which contains the response data, status code and headers.
|
46
|
+
|
47
|
+
> <Array(<Operation>, Integer, Hash)> genes_cleanup_with_http_info
|
48
|
+
|
49
|
+
```ruby
|
50
|
+
begin
|
51
|
+
# Remove all unused genes
|
52
|
+
data, status_code, headers = api_instance.genes_cleanup_with_http_info
|
53
|
+
p status_code # => 2xx
|
54
|
+
p headers # => { ... }
|
55
|
+
p data # => <Operation>
|
56
|
+
rescue ComputeClient::ApiError => e
|
57
|
+
puts "Error when calling GenesApi->genes_cleanup_with_http_info: #{e}"
|
58
|
+
end
|
59
|
+
```
|
60
|
+
|
61
|
+
### Parameters
|
62
|
+
|
63
|
+
This endpoint does not need any parameter.
|
64
|
+
|
65
|
+
### Return type
|
66
|
+
|
67
|
+
[**Operation**](Operation.md)
|
68
|
+
|
69
|
+
### Authorization
|
70
|
+
|
71
|
+
[oauth2](../README.md#oauth2)
|
72
|
+
|
73
|
+
### HTTP request headers
|
74
|
+
|
75
|
+
- **Content-Type**: Not defined
|
76
|
+
- **Accept**: application/json, application/problem+json
|
77
|
+
|
78
|
+
|
79
|
+
## genes_delete
|
80
|
+
|
81
|
+
> <Operation> genes_delete(id)
|
82
|
+
|
83
|
+
Remove a gene
|
84
|
+
|
85
|
+
Remove a gene from the local gene pool
|
86
|
+
|
87
|
+
### Examples
|
88
|
+
|
89
|
+
```ruby
|
90
|
+
require 'time'
|
91
|
+
require 'compute_client'
|
92
|
+
# setup authorization
|
93
|
+
ComputeClient.configure do |config|
|
94
|
+
# Configure OAuth2 access token for authorization: oauth2
|
95
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
96
|
+
end
|
97
|
+
|
98
|
+
api_instance = ComputeClient::GenesApi.new
|
99
|
+
id = 'id_example' # String |
|
100
|
+
|
101
|
+
begin
|
102
|
+
# Remove a gene
|
103
|
+
result = api_instance.genes_delete(id)
|
104
|
+
p result
|
105
|
+
rescue ComputeClient::ApiError => e
|
106
|
+
puts "Error when calling GenesApi->genes_delete: #{e}"
|
107
|
+
end
|
108
|
+
```
|
109
|
+
|
110
|
+
#### Using the genes_delete_with_http_info variant
|
111
|
+
|
112
|
+
This returns an Array which contains the response data, status code and headers.
|
113
|
+
|
114
|
+
> <Array(<Operation>, Integer, Hash)> genes_delete_with_http_info(id)
|
115
|
+
|
116
|
+
```ruby
|
117
|
+
begin
|
118
|
+
# Remove a gene
|
119
|
+
data, status_code, headers = api_instance.genes_delete_with_http_info(id)
|
120
|
+
p status_code # => 2xx
|
121
|
+
p headers # => { ... }
|
122
|
+
p data # => <Operation>
|
123
|
+
rescue ComputeClient::ApiError => e
|
124
|
+
puts "Error when calling GenesApi->genes_delete_with_http_info: #{e}"
|
125
|
+
end
|
126
|
+
```
|
127
|
+
|
128
|
+
### Parameters
|
129
|
+
|
130
|
+
| Name | Type | Description | Notes |
|
131
|
+
| ---- | ---- | ----------- | ----- |
|
132
|
+
| **id** | **String** | | |
|
133
|
+
|
134
|
+
### Return type
|
135
|
+
|
136
|
+
[**Operation**](Operation.md)
|
137
|
+
|
138
|
+
### Authorization
|
139
|
+
|
140
|
+
[oauth2](../README.md#oauth2)
|
141
|
+
|
142
|
+
### HTTP request headers
|
143
|
+
|
144
|
+
- **Content-Type**: Not defined
|
145
|
+
- **Accept**: application/json, application/problem+json
|
146
|
+
|
147
|
+
|
148
|
+
## genes_get
|
149
|
+
|
150
|
+
> <GeneWithUsage> genes_get(id)
|
151
|
+
|
152
|
+
Get a gene
|
153
|
+
|
154
|
+
Get a gene
|
155
|
+
|
156
|
+
### Examples
|
157
|
+
|
158
|
+
```ruby
|
159
|
+
require 'time'
|
160
|
+
require 'compute_client'
|
161
|
+
# setup authorization
|
162
|
+
ComputeClient.configure do |config|
|
163
|
+
# Configure OAuth2 access token for authorization: oauth2
|
164
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
165
|
+
end
|
166
|
+
|
167
|
+
api_instance = ComputeClient::GenesApi.new
|
168
|
+
id = 'id_example' # String |
|
169
|
+
|
170
|
+
begin
|
171
|
+
# Get a gene
|
172
|
+
result = api_instance.genes_get(id)
|
173
|
+
p result
|
174
|
+
rescue ComputeClient::ApiError => e
|
175
|
+
puts "Error when calling GenesApi->genes_get: #{e}"
|
176
|
+
end
|
177
|
+
```
|
178
|
+
|
179
|
+
#### Using the genes_get_with_http_info variant
|
180
|
+
|
181
|
+
This returns an Array which contains the response data, status code and headers.
|
182
|
+
|
183
|
+
> <Array(<GeneWithUsage>, Integer, Hash)> genes_get_with_http_info(id)
|
184
|
+
|
185
|
+
```ruby
|
186
|
+
begin
|
187
|
+
# Get a gene
|
188
|
+
data, status_code, headers = api_instance.genes_get_with_http_info(id)
|
189
|
+
p status_code # => 2xx
|
190
|
+
p headers # => { ... }
|
191
|
+
p data # => <GeneWithUsage>
|
192
|
+
rescue ComputeClient::ApiError => e
|
193
|
+
puts "Error when calling GenesApi->genes_get_with_http_info: #{e}"
|
194
|
+
end
|
195
|
+
```
|
196
|
+
|
197
|
+
### Parameters
|
198
|
+
|
199
|
+
| Name | Type | Description | Notes |
|
200
|
+
| ---- | ---- | ----------- | ----- |
|
201
|
+
| **id** | **String** | | |
|
202
|
+
|
203
|
+
### Return type
|
204
|
+
|
205
|
+
[**GeneWithUsage**](GeneWithUsage.md)
|
206
|
+
|
207
|
+
### Authorization
|
208
|
+
|
209
|
+
[oauth2](../README.md#oauth2)
|
210
|
+
|
211
|
+
### HTTP request headers
|
212
|
+
|
213
|
+
- **Content-Type**: Not defined
|
214
|
+
- **Accept**: application/json, application/problem+json
|
215
|
+
|
216
|
+
|
217
|
+
## genes_list
|
218
|
+
|
219
|
+
> <GeneList> genes_list
|
220
|
+
|
221
|
+
List all genes
|
222
|
+
|
223
|
+
List all genes
|
224
|
+
|
225
|
+
### Examples
|
226
|
+
|
227
|
+
```ruby
|
228
|
+
require 'time'
|
229
|
+
require 'compute_client'
|
230
|
+
# setup authorization
|
231
|
+
ComputeClient.configure do |config|
|
232
|
+
# Configure OAuth2 access token for authorization: oauth2
|
233
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
234
|
+
end
|
235
|
+
|
236
|
+
api_instance = ComputeClient::GenesApi.new
|
237
|
+
|
238
|
+
begin
|
239
|
+
# List all genes
|
240
|
+
result = api_instance.genes_list
|
241
|
+
p result
|
242
|
+
rescue ComputeClient::ApiError => e
|
243
|
+
puts "Error when calling GenesApi->genes_list: #{e}"
|
244
|
+
end
|
245
|
+
```
|
246
|
+
|
247
|
+
#### Using the genes_list_with_http_info variant
|
248
|
+
|
249
|
+
This returns an Array which contains the response data, status code and headers.
|
250
|
+
|
251
|
+
> <Array(<GeneList>, Integer, Hash)> genes_list_with_http_info
|
252
|
+
|
253
|
+
```ruby
|
254
|
+
begin
|
255
|
+
# List all genes
|
256
|
+
data, status_code, headers = api_instance.genes_list_with_http_info
|
257
|
+
p status_code # => 2xx
|
258
|
+
p headers # => { ... }
|
259
|
+
p data # => <GeneList>
|
260
|
+
rescue ComputeClient::ApiError => e
|
261
|
+
puts "Error when calling GenesApi->genes_list_with_http_info: #{e}"
|
262
|
+
end
|
263
|
+
```
|
264
|
+
|
265
|
+
### Parameters
|
266
|
+
|
267
|
+
This endpoint does not need any parameter.
|
268
|
+
|
269
|
+
### Return type
|
270
|
+
|
271
|
+
[**GeneList**](GeneList.md)
|
272
|
+
|
273
|
+
### Authorization
|
274
|
+
|
275
|
+
[oauth2](../README.md#oauth2)
|
276
|
+
|
277
|
+
### HTTP request headers
|
278
|
+
|
279
|
+
- **Content-Type**: Not defined
|
280
|
+
- **Accept**: application/json, application/problem+json
|
281
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# ComputeClient::NewCatletRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **correlation_id** | **String** | | [optional] |
|
8
|
+
| **configuration** | **Object** | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'compute_client'
|
14
|
+
|
15
|
+
instance = ComputeClient::NewCatletRequest.new(
|
16
|
+
correlation_id: null,
|
17
|
+
configuration: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# ComputeClient::NewProjectMemberBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **correlation_id** | **String** | | [optional] |
|
8
|
+
| **member_id** | **String** | | |
|
9
|
+
| **role_id** | **String** | | |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'compute_client'
|
15
|
+
|
16
|
+
instance = ComputeClient::NewProjectMemberBody.new(
|
17
|
+
correlation_id: null,
|
18
|
+
member_id: null,
|
19
|
+
role_id: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# ComputeClient::NewProjectRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **correlation_id** | **String** | | [optional] |
|
8
|
+
| **name** | **String** | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'compute_client'
|
14
|
+
|
15
|
+
instance = ComputeClient::NewProjectRequest.new(
|
16
|
+
correlation_id: null,
|
17
|
+
name: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# ComputeClient::NewVirtualDiskRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **correlation_id** | **String** | | [optional] |
|
8
|
+
| **project_id** | **String** | | |
|
9
|
+
| **name** | **String** | | |
|
10
|
+
| **location** | **String** | | |
|
11
|
+
| **size** | **Integer** | | |
|
12
|
+
| **environment** | **String** | | [optional] |
|
13
|
+
| **store** | **String** | | [optional] |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'compute_client'
|
19
|
+
|
20
|
+
instance = ComputeClient::NewVirtualDiskRequest.new(
|
21
|
+
correlation_id: null,
|
22
|
+
project_id: null,
|
23
|
+
name: null,
|
24
|
+
location: null,
|
25
|
+
size: null,
|
26
|
+
environment: null,
|
27
|
+
store: null
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# ComputeClient::Operation
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | |
|
8
|
+
| **status** | [**OperationStatus**](OperationStatus.md) | | |
|
9
|
+
| **status_message** | **String** | | [optional] |
|
10
|
+
| **resources** | [**Array<OperationResource>**](OperationResource.md) | | [optional] |
|
11
|
+
| **log_entries** | [**Array<OperationLogEntry>**](OperationLogEntry.md) | | [optional] |
|
12
|
+
| **projects** | [**Array<Project>**](Project.md) | | [optional] |
|
13
|
+
| **tasks** | [**Array<OperationTask>**](OperationTask.md) | | [optional] |
|
14
|
+
| **result** | [**OperationResult**](OperationResult.md) | | [optional] |
|
15
|
+
|
16
|
+
## Example
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'compute_client'
|
20
|
+
|
21
|
+
instance = ComputeClient::Operation.new(
|
22
|
+
id: null,
|
23
|
+
status: null,
|
24
|
+
status_message: null,
|
25
|
+
resources: null,
|
26
|
+
log_entries: null,
|
27
|
+
projects: null,
|
28
|
+
tasks: null,
|
29
|
+
result: null
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# ComputeClient::OperationList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **value** | [**Array<Operation>**](Operation.md) | | |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'compute_client'
|
13
|
+
|
14
|
+
instance = ComputeClient::OperationList.new(
|
15
|
+
value: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# ComputeClient::OperationLogEntry
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | |
|
8
|
+
| **task_id** | **String** | | |
|
9
|
+
| **message** | **String** | | [optional] |
|
10
|
+
| **timestamp** | **Time** | | |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'compute_client'
|
16
|
+
|
17
|
+
instance = ComputeClient::OperationLogEntry.new(
|
18
|
+
id: null,
|
19
|
+
task_id: null,
|
20
|
+
message: null,
|
21
|
+
timestamp: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# ComputeClient::OperationResource
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | |
|
8
|
+
| **resource_id** | **String** | | |
|
9
|
+
| **resource_type** | [**ResourceType**](ResourceType.md) | | |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'compute_client'
|
15
|
+
|
16
|
+
instance = ComputeClient::OperationResource.new(
|
17
|
+
id: null,
|
18
|
+
resource_id: null,
|
19
|
+
resource_type: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# ComputeClient::OperationResult
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **result_type** | **String** | | |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'compute_client'
|
13
|
+
|
14
|
+
instance = ComputeClient::OperationResult.new(
|
15
|
+
result_type: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# ComputeClient::OperationStatus
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'compute_client'
|
12
|
+
|
13
|
+
instance = ComputeClient::OperationStatus.new()
|
14
|
+
```
|
15
|
+
|