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.
Files changed (222) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +47 -0
  3. data/LICENSE +21 -0
  4. data/README.md +144 -0
  5. data/eryph-clientruntime.gemspec +42 -0
  6. data/eryph-compute.gemspec +44 -0
  7. data/lib/eryph/clientruntime/client_credentials_lookup.rb +295 -0
  8. data/lib/eryph/clientruntime/config_store.rb +206 -0
  9. data/lib/eryph/clientruntime/config_stores_reader.rb +211 -0
  10. data/lib/eryph/clientruntime/endpoint_lookup.rb +226 -0
  11. data/lib/eryph/clientruntime/environment.rb +440 -0
  12. data/lib/eryph/clientruntime/local_identity_provider_info.rb +153 -0
  13. data/lib/eryph/clientruntime/token_provider.rb +275 -0
  14. data/lib/eryph/clientruntime/version.rb +6 -0
  15. data/lib/eryph/clientruntime.rb +79 -0
  16. data/lib/eryph/compute/client.rb +442 -0
  17. data/lib/eryph/compute/generated/Gemfile +9 -0
  18. data/lib/eryph/compute/generated/README.md +206 -0
  19. data/lib/eryph/compute/generated/Rakefile +10 -0
  20. data/lib/eryph/compute/generated/compute_client.gemspec +41 -0
  21. data/lib/eryph/compute/generated/docs/ApiVersion.md +20 -0
  22. data/lib/eryph/compute/generated/docs/ApiVersionResponse.md +18 -0
  23. data/lib/eryph/compute/generated/docs/Catlet.md +32 -0
  24. data/lib/eryph/compute/generated/docs/CatletConfigOperationResult.md +18 -0
  25. data/lib/eryph/compute/generated/docs/CatletConfigValidationResult.md +20 -0
  26. data/lib/eryph/compute/generated/docs/CatletConfiguration.md +18 -0
  27. data/lib/eryph/compute/generated/docs/CatletDrive.md +20 -0
  28. data/lib/eryph/compute/generated/docs/CatletDriveType.md +15 -0
  29. data/lib/eryph/compute/generated/docs/CatletList.md +18 -0
  30. data/lib/eryph/compute/generated/docs/CatletNetwork.md +30 -0
  31. data/lib/eryph/compute/generated/docs/CatletNetworkAdapter.md +20 -0
  32. data/lib/eryph/compute/generated/docs/CatletStatus.md +15 -0
  33. data/lib/eryph/compute/generated/docs/CatletStopMode.md +15 -0
  34. data/lib/eryph/compute/generated/docs/CatletsApi.md +863 -0
  35. data/lib/eryph/compute/generated/docs/DiskStatus.md +15 -0
  36. data/lib/eryph/compute/generated/docs/ExpandCatletConfigRequestBody.md +22 -0
  37. data/lib/eryph/compute/generated/docs/ExpandNewCatletConfigRequest.md +22 -0
  38. data/lib/eryph/compute/generated/docs/FloatingNetworkPort.md +26 -0
  39. data/lib/eryph/compute/generated/docs/Gene.md +30 -0
  40. data/lib/eryph/compute/generated/docs/GeneList.md +18 -0
  41. data/lib/eryph/compute/generated/docs/GeneType.md +15 -0
  42. data/lib/eryph/compute/generated/docs/GeneWithUsage.md +34 -0
  43. data/lib/eryph/compute/generated/docs/GenesApi.md +281 -0
  44. data/lib/eryph/compute/generated/docs/NewCatletRequest.md +20 -0
  45. data/lib/eryph/compute/generated/docs/NewProjectMemberBody.md +22 -0
  46. data/lib/eryph/compute/generated/docs/NewProjectRequest.md +20 -0
  47. data/lib/eryph/compute/generated/docs/NewVirtualDiskRequest.md +30 -0
  48. data/lib/eryph/compute/generated/docs/Operation.md +32 -0
  49. data/lib/eryph/compute/generated/docs/OperationList.md +18 -0
  50. data/lib/eryph/compute/generated/docs/OperationLogEntry.md +24 -0
  51. data/lib/eryph/compute/generated/docs/OperationResource.md +22 -0
  52. data/lib/eryph/compute/generated/docs/OperationResult.md +18 -0
  53. data/lib/eryph/compute/generated/docs/OperationStatus.md +15 -0
  54. data/lib/eryph/compute/generated/docs/OperationTask.md +30 -0
  55. data/lib/eryph/compute/generated/docs/OperationTaskReference.md +22 -0
  56. data/lib/eryph/compute/generated/docs/OperationTaskStatus.md +15 -0
  57. data/lib/eryph/compute/generated/docs/OperationsApi.md +157 -0
  58. data/lib/eryph/compute/generated/docs/PopulateCatletConfigVariablesRequest.md +20 -0
  59. data/lib/eryph/compute/generated/docs/ProblemDetails.md +26 -0
  60. data/lib/eryph/compute/generated/docs/Project.md +22 -0
  61. data/lib/eryph/compute/generated/docs/ProjectList.md +18 -0
  62. data/lib/eryph/compute/generated/docs/ProjectMemberRole.md +26 -0
  63. data/lib/eryph/compute/generated/docs/ProjectMemberRoleList.md +18 -0
  64. data/lib/eryph/compute/generated/docs/ProjectMembersApi.md +293 -0
  65. data/lib/eryph/compute/generated/docs/ProjectsApi.md +286 -0
  66. data/lib/eryph/compute/generated/docs/ResourceType.md +15 -0
  67. data/lib/eryph/compute/generated/docs/StopCatletRequestBody.md +18 -0
  68. data/lib/eryph/compute/generated/docs/TaskReferenceType.md +15 -0
  69. data/lib/eryph/compute/generated/docs/UpdateCatletRequestBody.md +20 -0
  70. data/lib/eryph/compute/generated/docs/UpdateProjectNetworksRequestBody.md +20 -0
  71. data/lib/eryph/compute/generated/docs/ValidateConfigRequest.md +18 -0
  72. data/lib/eryph/compute/generated/docs/ValidationIssue.md +20 -0
  73. data/lib/eryph/compute/generated/docs/VersionApi.md +69 -0
  74. data/lib/eryph/compute/generated/docs/VirtualDisk.md +42 -0
  75. data/lib/eryph/compute/generated/docs/VirtualDiskAttachedCatlet.md +20 -0
  76. data/lib/eryph/compute/generated/docs/VirtualDiskGeneInfo.md +22 -0
  77. data/lib/eryph/compute/generated/docs/VirtualDiskList.md +18 -0
  78. data/lib/eryph/compute/generated/docs/VirtualDisksApi.md +291 -0
  79. data/lib/eryph/compute/generated/docs/VirtualNetwork.md +28 -0
  80. data/lib/eryph/compute/generated/docs/VirtualNetworkConfiguration.md +18 -0
  81. data/lib/eryph/compute/generated/docs/VirtualNetworkList.md +18 -0
  82. data/lib/eryph/compute/generated/docs/VirtualNetworksApi.md +291 -0
  83. data/lib/eryph/compute/generated/git_push.sh +57 -0
  84. data/lib/eryph/compute/generated/lib/compute_client/api/catlets_api.rb +812 -0
  85. data/lib/eryph/compute/generated/lib/compute_client/api/genes_api.rb +262 -0
  86. data/lib/eryph/compute/generated/lib/compute_client/api/operations_api.rb +154 -0
  87. data/lib/eryph/compute/generated/lib/compute_client/api/project_members_api.rb +297 -0
  88. data/lib/eryph/compute/generated/lib/compute_client/api/projects_api.rb +269 -0
  89. data/lib/eryph/compute/generated/lib/compute_client/api/version_api.rb +79 -0
  90. data/lib/eryph/compute/generated/lib/compute_client/api/virtual_disks_api.rb +272 -0
  91. data/lib/eryph/compute/generated/lib/compute_client/api/virtual_networks_api.rb +282 -0
  92. data/lib/eryph/compute/generated/lib/compute_client/api_client.rb +437 -0
  93. data/lib/eryph/compute/generated/lib/compute_client/api_error.rb +58 -0
  94. data/lib/eryph/compute/generated/lib/compute_client/configuration.rb +392 -0
  95. data/lib/eryph/compute/generated/lib/compute_client/models/api_version.rb +263 -0
  96. data/lib/eryph/compute/generated/lib/compute_client/models/api_version_response.rb +237 -0
  97. data/lib/eryph/compute/generated/lib/compute_client/models/catlet.rb +400 -0
  98. data/lib/eryph/compute/generated/lib/compute_client/models/catlet_config_operation_result.rb +234 -0
  99. data/lib/eryph/compute/generated/lib/compute_client/models/catlet_config_validation_result.rb +251 -0
  100. data/lib/eryph/compute/generated/lib/compute_client/models/catlet_configuration.rb +223 -0
  101. data/lib/eryph/compute/generated/lib/compute_client/models/catlet_drive.rb +270 -0
  102. data/lib/eryph/compute/generated/lib/compute_client/models/catlet_drive_type.rb +43 -0
  103. data/lib/eryph/compute/generated/lib/compute_client/models/catlet_list.rb +239 -0
  104. data/lib/eryph/compute/generated/lib/compute_client/models/catlet_network.rb +318 -0
  105. data/lib/eryph/compute/generated/lib/compute_client/models/catlet_network_adapter.rb +247 -0
  106. data/lib/eryph/compute/generated/lib/compute_client/models/catlet_status.rb +43 -0
  107. data/lib/eryph/compute/generated/lib/compute_client/models/catlet_stop_mode.rb +41 -0
  108. data/lib/eryph/compute/generated/lib/compute_client/models/disk_status.rb +40 -0
  109. data/lib/eryph/compute/generated/lib/compute_client/models/expand_catlet_config_request_body.rb +243 -0
  110. data/lib/eryph/compute/generated/lib/compute_client/models/expand_new_catlet_config_request.rb +243 -0
  111. data/lib/eryph/compute/generated/lib/compute_client/models/floating_network_port.rb +313 -0
  112. data/lib/eryph/compute/generated/lib/compute_client/models/gene.rb +415 -0
  113. data/lib/eryph/compute/generated/lib/compute_client/models/gene_list.rb +239 -0
  114. data/lib/eryph/compute/generated/lib/compute_client/models/gene_type.rb +41 -0
  115. data/lib/eryph/compute/generated/lib/compute_client/models/gene_with_usage.rb +439 -0
  116. data/lib/eryph/compute/generated/lib/compute_client/models/new_catlet_request.rb +233 -0
  117. data/lib/eryph/compute/generated/lib/compute_client/models/new_project_member_body.rb +273 -0
  118. data/lib/eryph/compute/generated/lib/compute_client/models/new_project_request.rb +247 -0
  119. data/lib/eryph/compute/generated/lib/compute_client/models/new_virtual_disk_request.rb +345 -0
  120. data/lib/eryph/compute/generated/lib/compute_client/models/operation.rb +352 -0
  121. data/lib/eryph/compute/generated/lib/compute_client/models/operation_list.rb +239 -0
  122. data/lib/eryph/compute/generated/lib/compute_client/models/operation_log_entry.rb +299 -0
  123. data/lib/eryph/compute/generated/lib/compute_client/models/operation_resource.rb +311 -0
  124. data/lib/eryph/compute/generated/lib/compute_client/models/operation_result.rb +242 -0
  125. data/lib/eryph/compute/generated/lib/compute_client/models/operation_status.rb +42 -0
  126. data/lib/eryph/compute/generated/lib/compute_client/models/operation_task.rb +366 -0
  127. data/lib/eryph/compute/generated/lib/compute_client/models/operation_task_reference.rb +311 -0
  128. data/lib/eryph/compute/generated/lib/compute_client/models/operation_task_status.rb +42 -0
  129. data/lib/eryph/compute/generated/lib/compute_client/models/populate_catlet_config_variables_request.rb +233 -0
  130. data/lib/eryph/compute/generated/lib/compute_client/models/problem_details.rb +261 -0
  131. data/lib/eryph/compute/generated/lib/compute_client/models/project.rb +289 -0
  132. data/lib/eryph/compute/generated/lib/compute_client/models/project_list.rb +239 -0
  133. data/lib/eryph/compute/generated/lib/compute_client/models/project_member_role.rb +341 -0
  134. data/lib/eryph/compute/generated/lib/compute_client/models/project_member_role_list.rb +239 -0
  135. data/lib/eryph/compute/generated/lib/compute_client/models/resource_type.rb +42 -0
  136. data/lib/eryph/compute/generated/lib/compute_client/models/stop_catlet_request_body.rb +259 -0
  137. data/lib/eryph/compute/generated/lib/compute_client/models/task_reference_type.rb +40 -0
  138. data/lib/eryph/compute/generated/lib/compute_client/models/update_catlet_request_body.rb +233 -0
  139. data/lib/eryph/compute/generated/lib/compute_client/models/update_project_networks_request_body.rb +233 -0
  140. data/lib/eryph/compute/generated/lib/compute_client/models/validate_config_request.rb +223 -0
  141. data/lib/eryph/compute/generated/lib/compute_client/models/validation_issue.rb +249 -0
  142. data/lib/eryph/compute/generated/lib/compute_client/models/virtual_disk.rb +479 -0
  143. data/lib/eryph/compute/generated/lib/compute_client/models/virtual_disk_attached_catlet.rb +285 -0
  144. data/lib/eryph/compute/generated/lib/compute_client/models/virtual_disk_gene_info.rb +289 -0
  145. data/lib/eryph/compute/generated/lib/compute_client/models/virtual_disk_list.rb +239 -0
  146. data/lib/eryph/compute/generated/lib/compute_client/models/virtual_network.rb +351 -0
  147. data/lib/eryph/compute/generated/lib/compute_client/models/virtual_network_configuration.rb +223 -0
  148. data/lib/eryph/compute/generated/lib/compute_client/models/virtual_network_list.rb +239 -0
  149. data/lib/eryph/compute/generated/lib/compute_client/version.rb +15 -0
  150. data/lib/eryph/compute/generated/lib/compute_client.rb +101 -0
  151. data/lib/eryph/compute/generated/spec/api/catlets_api_spec.rb +182 -0
  152. data/lib/eryph/compute/generated/spec/api/genes_api_spec.rb +81 -0
  153. data/lib/eryph/compute/generated/spec/api/operations_api_spec.rb +62 -0
  154. data/lib/eryph/compute/generated/spec/api/project_members_api_spec.rb +86 -0
  155. data/lib/eryph/compute/generated/spec/api/projects_api_spec.rb +82 -0
  156. data/lib/eryph/compute/generated/spec/api/version_api_spec.rb +46 -0
  157. data/lib/eryph/compute/generated/spec/api/virtual_disks_api_spec.rb +83 -0
  158. data/lib/eryph/compute/generated/spec/api/virtual_networks_api_spec.rb +84 -0
  159. data/lib/eryph/compute/generated/spec/models/api_version_response_spec.rb +36 -0
  160. data/lib/eryph/compute/generated/spec/models/api_version_spec.rb +42 -0
  161. data/lib/eryph/compute/generated/spec/models/catlet_config_operation_result_spec.rb +36 -0
  162. data/lib/eryph/compute/generated/spec/models/catlet_config_validation_result_spec.rb +42 -0
  163. data/lib/eryph/compute/generated/spec/models/catlet_configuration_spec.rb +36 -0
  164. data/lib/eryph/compute/generated/spec/models/catlet_drive_spec.rb +42 -0
  165. data/lib/eryph/compute/generated/spec/models/catlet_drive_type_spec.rb +30 -0
  166. data/lib/eryph/compute/generated/spec/models/catlet_list_spec.rb +36 -0
  167. data/lib/eryph/compute/generated/spec/models/catlet_network_adapter_spec.rb +42 -0
  168. data/lib/eryph/compute/generated/spec/models/catlet_network_spec.rb +72 -0
  169. data/lib/eryph/compute/generated/spec/models/catlet_spec.rb +78 -0
  170. data/lib/eryph/compute/generated/spec/models/catlet_status_spec.rb +30 -0
  171. data/lib/eryph/compute/generated/spec/models/catlet_stop_mode_spec.rb +30 -0
  172. data/lib/eryph/compute/generated/spec/models/disk_status_spec.rb +30 -0
  173. data/lib/eryph/compute/generated/spec/models/expand_catlet_config_request_body_spec.rb +48 -0
  174. data/lib/eryph/compute/generated/spec/models/expand_new_catlet_config_request_spec.rb +48 -0
  175. data/lib/eryph/compute/generated/spec/models/floating_network_port_spec.rb +60 -0
  176. data/lib/eryph/compute/generated/spec/models/gene_list_spec.rb +36 -0
  177. data/lib/eryph/compute/generated/spec/models/gene_spec.rb +72 -0
  178. data/lib/eryph/compute/generated/spec/models/gene_type_spec.rb +30 -0
  179. data/lib/eryph/compute/generated/spec/models/gene_with_usage_spec.rb +84 -0
  180. data/lib/eryph/compute/generated/spec/models/new_catlet_request_spec.rb +42 -0
  181. data/lib/eryph/compute/generated/spec/models/new_project_member_body_spec.rb +48 -0
  182. data/lib/eryph/compute/generated/spec/models/new_project_request_spec.rb +42 -0
  183. data/lib/eryph/compute/generated/spec/models/new_virtual_disk_request_spec.rb +72 -0
  184. data/lib/eryph/compute/generated/spec/models/operation_list_spec.rb +36 -0
  185. data/lib/eryph/compute/generated/spec/models/operation_log_entry_spec.rb +54 -0
  186. data/lib/eryph/compute/generated/spec/models/operation_resource_spec.rb +48 -0
  187. data/lib/eryph/compute/generated/spec/models/operation_result_spec.rb +36 -0
  188. data/lib/eryph/compute/generated/spec/models/operation_spec.rb +78 -0
  189. data/lib/eryph/compute/generated/spec/models/operation_status_spec.rb +30 -0
  190. data/lib/eryph/compute/generated/spec/models/operation_task_reference_spec.rb +48 -0
  191. data/lib/eryph/compute/generated/spec/models/operation_task_spec.rb +72 -0
  192. data/lib/eryph/compute/generated/spec/models/operation_task_status_spec.rb +30 -0
  193. data/lib/eryph/compute/generated/spec/models/populate_catlet_config_variables_request_spec.rb +42 -0
  194. data/lib/eryph/compute/generated/spec/models/problem_details_spec.rb +60 -0
  195. data/lib/eryph/compute/generated/spec/models/project_list_spec.rb +36 -0
  196. data/lib/eryph/compute/generated/spec/models/project_member_role_list_spec.rb +36 -0
  197. data/lib/eryph/compute/generated/spec/models/project_member_role_spec.rb +60 -0
  198. data/lib/eryph/compute/generated/spec/models/project_spec.rb +48 -0
  199. data/lib/eryph/compute/generated/spec/models/resource_type_spec.rb +30 -0
  200. data/lib/eryph/compute/generated/spec/models/stop_catlet_request_body_spec.rb +36 -0
  201. data/lib/eryph/compute/generated/spec/models/task_reference_type_spec.rb +30 -0
  202. data/lib/eryph/compute/generated/spec/models/update_catlet_request_body_spec.rb +42 -0
  203. data/lib/eryph/compute/generated/spec/models/update_project_networks_request_body_spec.rb +42 -0
  204. data/lib/eryph/compute/generated/spec/models/validate_config_request_spec.rb +36 -0
  205. data/lib/eryph/compute/generated/spec/models/validation_issue_spec.rb +42 -0
  206. data/lib/eryph/compute/generated/spec/models/virtual_disk_attached_catlet_spec.rb +42 -0
  207. data/lib/eryph/compute/generated/spec/models/virtual_disk_gene_info_spec.rb +48 -0
  208. data/lib/eryph/compute/generated/spec/models/virtual_disk_list_spec.rb +36 -0
  209. data/lib/eryph/compute/generated/spec/models/virtual_disk_spec.rb +108 -0
  210. data/lib/eryph/compute/generated/spec/models/virtual_network_configuration_spec.rb +36 -0
  211. data/lib/eryph/compute/generated/spec/models/virtual_network_list_spec.rb +36 -0
  212. data/lib/eryph/compute/generated/spec/models/virtual_network_spec.rb +66 -0
  213. data/lib/eryph/compute/generated/spec/spec_helper.rb +111 -0
  214. data/lib/eryph/compute/generated.rb +137 -0
  215. data/lib/eryph/compute/operation_result.rb +255 -0
  216. data/lib/eryph/compute/operation_tracker.rb +247 -0
  217. data/lib/eryph/compute/problem_details_error.rb +139 -0
  218. data/lib/eryph/compute/version.rb +6 -0
  219. data/lib/eryph/compute.rb +40 -0
  220. data/lib/eryph/version.rb +4 -0
  221. data/lib/eryph.rb +68 -0
  222. metadata +329 -0
@@ -0,0 +1,15 @@
1
+ # ComputeClient::DiskStatus
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'compute_client'
12
+
13
+ instance = ComputeClient::DiskStatus.new()
14
+ ```
15
+
@@ -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,15 @@
1
+ # ComputeClient::GeneType
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'compute_client'
12
+
13
+ instance = ComputeClient::GeneType.new()
14
+ ```
15
+
@@ -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&lt;OperationResource&gt;**](OperationResource.md) | | [optional] |
11
+ | **log_entries** | [**Array&lt;OperationLogEntry&gt;**](OperationLogEntry.md) | | [optional] |
12
+ | **projects** | [**Array&lt;Project&gt;**](Project.md) | | [optional] |
13
+ | **tasks** | [**Array&lt;OperationTask&gt;**](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&lt;Operation&gt;**](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
+