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,286 @@
1
+ # ComputeClient::ProjectsApi
2
+
3
+ All URIs are relative to *https://localhost:8000/compute*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**projects_create**](ProjectsApi.md#projects_create) | **POST** /v1/projects | Create a new project |
8
+ | [**projects_delete**](ProjectsApi.md#projects_delete) | **DELETE** /v1/projects/{id} | Delete a project |
9
+ | [**projects_get**](ProjectsApi.md#projects_get) | **GET** /v1/projects/{id} | Get a project |
10
+ | [**projects_list**](ProjectsApi.md#projects_list) | **GET** /v1/projects | List all projects |
11
+
12
+
13
+ ## projects_create
14
+
15
+ > <Operation> projects_create(opts)
16
+
17
+ Create a new project
18
+
19
+ Create a project
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::ProjectsApi.new
33
+ opts = {
34
+ new_project_request: ComputeClient::NewProjectRequest.new({name: 'name_example'}) # NewProjectRequest |
35
+ }
36
+
37
+ begin
38
+ # Create a new project
39
+ result = api_instance.projects_create(opts)
40
+ p result
41
+ rescue ComputeClient::ApiError => e
42
+ puts "Error when calling ProjectsApi->projects_create: #{e}"
43
+ end
44
+ ```
45
+
46
+ #### Using the projects_create_with_http_info variant
47
+
48
+ This returns an Array which contains the response data, status code and headers.
49
+
50
+ > <Array(<Operation>, Integer, Hash)> projects_create_with_http_info(opts)
51
+
52
+ ```ruby
53
+ begin
54
+ # Create a new project
55
+ data, status_code, headers = api_instance.projects_create_with_http_info(opts)
56
+ p status_code # => 2xx
57
+ p headers # => { ... }
58
+ p data # => <Operation>
59
+ rescue ComputeClient::ApiError => e
60
+ puts "Error when calling ProjectsApi->projects_create_with_http_info: #{e}"
61
+ end
62
+ ```
63
+
64
+ ### Parameters
65
+
66
+ | Name | Type | Description | Notes |
67
+ | ---- | ---- | ----------- | ----- |
68
+ | **new_project_request** | [**NewProjectRequest**](NewProjectRequest.md) | | [optional] |
69
+
70
+ ### Return type
71
+
72
+ [**Operation**](Operation.md)
73
+
74
+ ### Authorization
75
+
76
+ [oauth2](../README.md#oauth2)
77
+
78
+ ### HTTP request headers
79
+
80
+ - **Content-Type**: application/json
81
+ - **Accept**: application/json, application/problem+json
82
+
83
+
84
+ ## projects_delete
85
+
86
+ > <Operation> projects_delete(id)
87
+
88
+ Delete a project
89
+
90
+ Delete a project
91
+
92
+ ### Examples
93
+
94
+ ```ruby
95
+ require 'time'
96
+ require 'compute_client'
97
+ # setup authorization
98
+ ComputeClient.configure do |config|
99
+ # Configure OAuth2 access token for authorization: oauth2
100
+ config.access_token = 'YOUR ACCESS TOKEN'
101
+ end
102
+
103
+ api_instance = ComputeClient::ProjectsApi.new
104
+ id = 'id_example' # String |
105
+
106
+ begin
107
+ # Delete a project
108
+ result = api_instance.projects_delete(id)
109
+ p result
110
+ rescue ComputeClient::ApiError => e
111
+ puts "Error when calling ProjectsApi->projects_delete: #{e}"
112
+ end
113
+ ```
114
+
115
+ #### Using the projects_delete_with_http_info variant
116
+
117
+ This returns an Array which contains the response data, status code and headers.
118
+
119
+ > <Array(<Operation>, Integer, Hash)> projects_delete_with_http_info(id)
120
+
121
+ ```ruby
122
+ begin
123
+ # Delete a project
124
+ data, status_code, headers = api_instance.projects_delete_with_http_info(id)
125
+ p status_code # => 2xx
126
+ p headers # => { ... }
127
+ p data # => <Operation>
128
+ rescue ComputeClient::ApiError => e
129
+ puts "Error when calling ProjectsApi->projects_delete_with_http_info: #{e}"
130
+ end
131
+ ```
132
+
133
+ ### Parameters
134
+
135
+ | Name | Type | Description | Notes |
136
+ | ---- | ---- | ----------- | ----- |
137
+ | **id** | **String** | | |
138
+
139
+ ### Return type
140
+
141
+ [**Operation**](Operation.md)
142
+
143
+ ### Authorization
144
+
145
+ [oauth2](../README.md#oauth2)
146
+
147
+ ### HTTP request headers
148
+
149
+ - **Content-Type**: Not defined
150
+ - **Accept**: application/json, application/problem+json
151
+
152
+
153
+ ## projects_get
154
+
155
+ > <Project> projects_get(id)
156
+
157
+ Get a project
158
+
159
+ Get a project
160
+
161
+ ### Examples
162
+
163
+ ```ruby
164
+ require 'time'
165
+ require 'compute_client'
166
+ # setup authorization
167
+ ComputeClient.configure do |config|
168
+ # Configure OAuth2 access token for authorization: oauth2
169
+ config.access_token = 'YOUR ACCESS TOKEN'
170
+ end
171
+
172
+ api_instance = ComputeClient::ProjectsApi.new
173
+ id = 'id_example' # String |
174
+
175
+ begin
176
+ # Get a project
177
+ result = api_instance.projects_get(id)
178
+ p result
179
+ rescue ComputeClient::ApiError => e
180
+ puts "Error when calling ProjectsApi->projects_get: #{e}"
181
+ end
182
+ ```
183
+
184
+ #### Using the projects_get_with_http_info variant
185
+
186
+ This returns an Array which contains the response data, status code and headers.
187
+
188
+ > <Array(<Project>, Integer, Hash)> projects_get_with_http_info(id)
189
+
190
+ ```ruby
191
+ begin
192
+ # Get a project
193
+ data, status_code, headers = api_instance.projects_get_with_http_info(id)
194
+ p status_code # => 2xx
195
+ p headers # => { ... }
196
+ p data # => <Project>
197
+ rescue ComputeClient::ApiError => e
198
+ puts "Error when calling ProjectsApi->projects_get_with_http_info: #{e}"
199
+ end
200
+ ```
201
+
202
+ ### Parameters
203
+
204
+ | Name | Type | Description | Notes |
205
+ | ---- | ---- | ----------- | ----- |
206
+ | **id** | **String** | | |
207
+
208
+ ### Return type
209
+
210
+ [**Project**](Project.md)
211
+
212
+ ### Authorization
213
+
214
+ [oauth2](../README.md#oauth2)
215
+
216
+ ### HTTP request headers
217
+
218
+ - **Content-Type**: Not defined
219
+ - **Accept**: application/json, application/problem+json
220
+
221
+
222
+ ## projects_list
223
+
224
+ > <ProjectList> projects_list
225
+
226
+ List all projects
227
+
228
+ List all projects
229
+
230
+ ### Examples
231
+
232
+ ```ruby
233
+ require 'time'
234
+ require 'compute_client'
235
+ # setup authorization
236
+ ComputeClient.configure do |config|
237
+ # Configure OAuth2 access token for authorization: oauth2
238
+ config.access_token = 'YOUR ACCESS TOKEN'
239
+ end
240
+
241
+ api_instance = ComputeClient::ProjectsApi.new
242
+
243
+ begin
244
+ # List all projects
245
+ result = api_instance.projects_list
246
+ p result
247
+ rescue ComputeClient::ApiError => e
248
+ puts "Error when calling ProjectsApi->projects_list: #{e}"
249
+ end
250
+ ```
251
+
252
+ #### Using the projects_list_with_http_info variant
253
+
254
+ This returns an Array which contains the response data, status code and headers.
255
+
256
+ > <Array(<ProjectList>, Integer, Hash)> projects_list_with_http_info
257
+
258
+ ```ruby
259
+ begin
260
+ # List all projects
261
+ data, status_code, headers = api_instance.projects_list_with_http_info
262
+ p status_code # => 2xx
263
+ p headers # => { ... }
264
+ p data # => <ProjectList>
265
+ rescue ComputeClient::ApiError => e
266
+ puts "Error when calling ProjectsApi->projects_list_with_http_info: #{e}"
267
+ end
268
+ ```
269
+
270
+ ### Parameters
271
+
272
+ This endpoint does not need any parameter.
273
+
274
+ ### Return type
275
+
276
+ [**ProjectList**](ProjectList.md)
277
+
278
+ ### Authorization
279
+
280
+ [oauth2](../README.md#oauth2)
281
+
282
+ ### HTTP request headers
283
+
284
+ - **Content-Type**: Not defined
285
+ - **Accept**: application/json, application/problem+json
286
+
@@ -0,0 +1,15 @@
1
+ # ComputeClient::ResourceType
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'compute_client'
12
+
13
+ instance = ComputeClient::ResourceType.new()
14
+ ```
15
+
@@ -0,0 +1,18 @@
1
+ # ComputeClient::StopCatletRequestBody
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **mode** | [**CatletStopMode**](CatletStopMode.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'compute_client'
13
+
14
+ instance = ComputeClient::StopCatletRequestBody.new(
15
+ mode: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,15 @@
1
+ # ComputeClient::TaskReferenceType
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'compute_client'
12
+
13
+ instance = ComputeClient::TaskReferenceType.new()
14
+ ```
15
+
@@ -0,0 +1,20 @@
1
+ # ComputeClient::UpdateCatletRequestBody
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::UpdateCatletRequestBody.new(
16
+ correlation_id: null,
17
+ configuration: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # ComputeClient::UpdateProjectNetworksRequestBody
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::UpdateProjectNetworksRequestBody.new(
16
+ correlation_id: null,
17
+ configuration: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,18 @@
1
+ # ComputeClient::ValidateConfigRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **configuration** | **Object** | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'compute_client'
13
+
14
+ instance = ComputeClient::ValidateConfigRequest.new(
15
+ configuration: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,20 @@
1
+ # ComputeClient::ValidationIssue
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **member** | **String** | The JSON path which identifies the member which has the issue. Can be null when the issue is not related to a specific member. | [optional] |
8
+ | **message** | **String** | The details of the issue. | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'compute_client'
14
+
15
+ instance = ComputeClient::ValidationIssue.new(
16
+ member: null,
17
+ message: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,69 @@
1
+ # ComputeClient::VersionApi
2
+
3
+ All URIs are relative to *https://localhost:8000/compute*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**version_get**](VersionApi.md#version_get) | **GET** /v1/version | Get the API version |
8
+
9
+
10
+ ## version_get
11
+
12
+ > <ApiVersionResponse> version_get
13
+
14
+ Get the API version
15
+
16
+ Gets the API version which can be used by clients for compatibility checks. This endpoint was added with eryph v0.3.
17
+
18
+ ### Examples
19
+
20
+ ```ruby
21
+ require 'time'
22
+ require 'compute_client'
23
+
24
+ api_instance = ComputeClient::VersionApi.new
25
+
26
+ begin
27
+ # Get the API version
28
+ result = api_instance.version_get
29
+ p result
30
+ rescue ComputeClient::ApiError => e
31
+ puts "Error when calling VersionApi->version_get: #{e}"
32
+ end
33
+ ```
34
+
35
+ #### Using the version_get_with_http_info variant
36
+
37
+ This returns an Array which contains the response data, status code and headers.
38
+
39
+ > <Array(<ApiVersionResponse>, Integer, Hash)> version_get_with_http_info
40
+
41
+ ```ruby
42
+ begin
43
+ # Get the API version
44
+ data, status_code, headers = api_instance.version_get_with_http_info
45
+ p status_code # => 2xx
46
+ p headers # => { ... }
47
+ p data # => <ApiVersionResponse>
48
+ rescue ComputeClient::ApiError => e
49
+ puts "Error when calling VersionApi->version_get_with_http_info: #{e}"
50
+ end
51
+ ```
52
+
53
+ ### Parameters
54
+
55
+ This endpoint does not need any parameter.
56
+
57
+ ### Return type
58
+
59
+ [**ApiVersionResponse**](ApiVersionResponse.md)
60
+
61
+ ### Authorization
62
+
63
+ No authorization required
64
+
65
+ ### HTTP request headers
66
+
67
+ - **Content-Type**: Not defined
68
+ - **Accept**: application/json, application/problem+json
69
+
@@ -0,0 +1,42 @@
1
+ # ComputeClient::VirtualDisk
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | |
8
+ | **name** | **String** | | |
9
+ | **location** | **String** | | |
10
+ | **data_store** | **String** | | |
11
+ | **project** | [**Project**](Project.md) | | |
12
+ | **environment** | **String** | | |
13
+ | **status** | [**DiskStatus**](DiskStatus.md) | | |
14
+ | **gene** | [**VirtualDiskGeneInfo**](VirtualDiskGeneInfo.md) | | [optional] |
15
+ | **path** | **String** | The file system path of the virtual disk. This information is only available to administrators. | [optional] |
16
+ | **size_bytes** | **Integer** | | [optional] |
17
+ | **parent_id** | **String** | The ID of the parent disk when this disk is a differential disk. | [optional] |
18
+ | **parent_path** | **String** | The file system path of the virtual disk&#39;s parent. This information is only available to administrators. The ParentPath might be populated even if the ParentId is missing. In this case, the disk chain is corrupted. | [optional] |
19
+ | **attached_catlets** | [**Array&lt;VirtualDiskAttachedCatlet&gt;**](VirtualDiskAttachedCatlet.md) | | [optional] |
20
+
21
+ ## Example
22
+
23
+ ```ruby
24
+ require 'compute_client'
25
+
26
+ instance = ComputeClient::VirtualDisk.new(
27
+ id: null,
28
+ name: null,
29
+ location: null,
30
+ data_store: null,
31
+ project: null,
32
+ environment: null,
33
+ status: null,
34
+ gene: null,
35
+ path: null,
36
+ size_bytes: null,
37
+ parent_id: null,
38
+ parent_path: null,
39
+ attached_catlets: null
40
+ )
41
+ ```
42
+
@@ -0,0 +1,20 @@
1
+ # ComputeClient::VirtualDiskAttachedCatlet
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | [**CatletDriveType**](CatletDriveType.md) | | |
8
+ | **catlet_id** | **String** | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'compute_client'
14
+
15
+ instance = ComputeClient::VirtualDiskAttachedCatlet.new(
16
+ type: null,
17
+ catlet_id: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,22 @@
1
+ # ComputeClient::VirtualDiskGeneInfo
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **gene_set** | **String** | | |
8
+ | **name** | **String** | | |
9
+ | **architecture** | **String** | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'compute_client'
15
+
16
+ instance = ComputeClient::VirtualDiskGeneInfo.new(
17
+ gene_set: null,
18
+ name: null,
19
+ architecture: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,18 @@
1
+ # ComputeClient::VirtualDiskList
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **value** | [**Array&lt;VirtualDisk&gt;**](VirtualDisk.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'compute_client'
13
+
14
+ instance = ComputeClient::VirtualDiskList.new(
15
+ value: null
16
+ )
17
+ ```
18
+