topological_inventory-api-client 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (262) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/LICENSE.txt +201 -0
  4. data/README.md +89 -0
  5. data/Rakefile +10 -0
  6. data/client-meta.json +8 -0
  7. data/docs/AppliedInventoriesParametersServicePlan.md +17 -0
  8. data/docs/AvailabilitiesCollection.md +21 -0
  9. data/docs/Availability.md +35 -0
  10. data/docs/Cluster.md +39 -0
  11. data/docs/ClustersCollection.md +21 -0
  12. data/docs/CollectionLinks.md +23 -0
  13. data/docs/CollectionMetadata.md +21 -0
  14. data/docs/Container.md +39 -0
  15. data/docs/ContainerGroup.md +43 -0
  16. data/docs/ContainerGroupsCollection.md +21 -0
  17. data/docs/ContainerImage.md +39 -0
  18. data/docs/ContainerImagesCollection.md +21 -0
  19. data/docs/ContainerNode.md +59 -0
  20. data/docs/ContainerNodesCollection.md +21 -0
  21. data/docs/ContainerProject.md +41 -0
  22. data/docs/ContainerProjectsCollection.md +21 -0
  23. data/docs/ContainerResourceQuota.md +43 -0
  24. data/docs/ContainerResourceQuotaCollection.md +21 -0
  25. data/docs/ContainerTemplate.md +39 -0
  26. data/docs/ContainerTemplatesCollection.md +21 -0
  27. data/docs/ContainersCollection.md +21 -0
  28. data/docs/Datastore.md +47 -0
  29. data/docs/DatastoresCollection.md +21 -0
  30. data/docs/DefaultApi.md +10871 -0
  31. data/docs/ErrorNotFound.md +17 -0
  32. data/docs/ErrorNotFoundErrors.md +19 -0
  33. data/docs/Flavor.md +41 -0
  34. data/docs/FlavorsCollection.md +21 -0
  35. data/docs/GraphQLRequest.md +21 -0
  36. data/docs/GraphQLResponse.md +19 -0
  37. data/docs/Host.md +51 -0
  38. data/docs/HostsCollection.md +21 -0
  39. data/docs/InlineResponse200.md +17 -0
  40. data/docs/Ipaddress.md +49 -0
  41. data/docs/IpaddressesCollection.md +21 -0
  42. data/docs/Network.md +47 -0
  43. data/docs/NetworkAdapter.md +47 -0
  44. data/docs/NetworkAdaptersCollection.md +21 -0
  45. data/docs/NetworksCollection.md +21 -0
  46. data/docs/OrchestrationStack.md +43 -0
  47. data/docs/OrchestrationStacksCollection.md +21 -0
  48. data/docs/OrderParametersServiceOffering.md +21 -0
  49. data/docs/OrderParametersServicePlan.md +19 -0
  50. data/docs/SecurityGroup.md +47 -0
  51. data/docs/SecurityGroupsCollection.md +21 -0
  52. data/docs/ServiceInstance.md +51 -0
  53. data/docs/ServiceInstanceNode.md +43 -0
  54. data/docs/ServiceInstanceNodesCollection.md +21 -0
  55. data/docs/ServiceInstancesCollection.md +21 -0
  56. data/docs/ServiceInventoriesCollection.md +21 -0
  57. data/docs/ServiceInventory.md +39 -0
  58. data/docs/ServiceOffering.md +57 -0
  59. data/docs/ServiceOfferingIcon.md +29 -0
  60. data/docs/ServiceOfferingIconsCollection.md +21 -0
  61. data/docs/ServiceOfferingNode.md +43 -0
  62. data/docs/ServiceOfferingNodesCollection.md +21 -0
  63. data/docs/ServiceOfferingsCollection.md +21 -0
  64. data/docs/ServicePlan.md +51 -0
  65. data/docs/ServicePlansCollection.md +21 -0
  66. data/docs/Source.md +25 -0
  67. data/docs/SourceRegion.md +33 -0
  68. data/docs/SourceRegionsCollection.md +21 -0
  69. data/docs/SourcesCollection.md +21 -0
  70. data/docs/Subnet.md +49 -0
  71. data/docs/SubnetsCollection.md +21 -0
  72. data/docs/Subscription.md +31 -0
  73. data/docs/SubscriptionsCollection.md +21 -0
  74. data/docs/Tag.md +29 -0
  75. data/docs/Tagging.md +21 -0
  76. data/docs/TagsCollection.md +21 -0
  77. data/docs/Task.md +31 -0
  78. data/docs/TasksCollection.md +21 -0
  79. data/docs/Tenant.md +23 -0
  80. data/docs/Vm.md +61 -0
  81. data/docs/VmsCollection.md +21 -0
  82. data/docs/Volume.md +49 -0
  83. data/docs/VolumeAttachment.md +27 -0
  84. data/docs/VolumeAttachmentsCollection.md +21 -0
  85. data/docs/VolumeType.md +35 -0
  86. data/docs/VolumeTypesCollection.md +21 -0
  87. data/docs/VolumesCollection.md +21 -0
  88. data/git_push.sh +58 -0
  89. data/lib/topological_inventory-api-client/api/default_api.rb +14822 -0
  90. data/lib/topological_inventory-api-client/api_client.rb +386 -0
  91. data/lib/topological_inventory-api-client/api_error.rb +57 -0
  92. data/lib/topological_inventory-api-client/configuration.rb +268 -0
  93. data/lib/topological_inventory-api-client/models/applied_inventories_parameters_service_plan.rb +207 -0
  94. data/lib/topological_inventory-api-client/models/availabilities_collection.rb +226 -0
  95. data/lib/topological_inventory-api-client/models/availability.rb +323 -0
  96. data/lib/topological_inventory-api-client/models/cluster.rb +341 -0
  97. data/lib/topological_inventory-api-client/models/clusters_collection.rb +226 -0
  98. data/lib/topological_inventory-api-client/models/collection_links.rb +233 -0
  99. data/lib/topological_inventory-api-client/models/collection_metadata.rb +224 -0
  100. data/lib/topological_inventory-api-client/models/container.rb +359 -0
  101. data/lib/topological_inventory-api-client/models/container_group.rb +395 -0
  102. data/lib/topological_inventory-api-client/models/container_groups_collection.rb +226 -0
  103. data/lib/topological_inventory-api-client/models/container_image.rb +341 -0
  104. data/lib/topological_inventory-api-client/models/container_images_collection.rb +226 -0
  105. data/lib/topological_inventory-api-client/models/container_node.rb +449 -0
  106. data/lib/topological_inventory-api-client/models/container_nodes_collection.rb +226 -0
  107. data/lib/topological_inventory-api-client/models/container_project.rb +350 -0
  108. data/lib/topological_inventory-api-client/models/container_projects_collection.rb +226 -0
  109. data/lib/topological_inventory-api-client/models/container_resource_quota.rb +377 -0
  110. data/lib/topological_inventory-api-client/models/container_resource_quota_collection.rb +226 -0
  111. data/lib/topological_inventory-api-client/models/container_template.rb +359 -0
  112. data/lib/topological_inventory-api-client/models/container_templates_collection.rb +226 -0
  113. data/lib/topological_inventory-api-client/models/containers_collection.rb +226 -0
  114. data/lib/topological_inventory-api-client/models/datastore.rb +377 -0
  115. data/lib/topological_inventory-api-client/models/datastores_collection.rb +226 -0
  116. data/lib/topological_inventory-api-client/models/error_not_found.rb +208 -0
  117. data/lib/topological_inventory-api-client/models/error_not_found_errors.rb +215 -0
  118. data/lib/topological_inventory-api-client/models/flavor.rb +354 -0
  119. data/lib/topological_inventory-api-client/models/flavors_collection.rb +226 -0
  120. data/lib/topological_inventory-api-client/models/graph_ql_request.rb +237 -0
  121. data/lib/topological_inventory-api-client/models/graph_ql_response.rb +219 -0
  122. data/lib/topological_inventory-api-client/models/host.rb +413 -0
  123. data/lib/topological_inventory-api-client/models/hosts_collection.rb +226 -0
  124. data/lib/topological_inventory-api-client/models/inline_response200.rb +206 -0
  125. data/lib/topological_inventory-api-client/models/ipaddress.rb +476 -0
  126. data/lib/topological_inventory-api-client/models/ipaddresses_collection.rb +226 -0
  127. data/lib/topological_inventory-api-client/models/network.rb +431 -0
  128. data/lib/topological_inventory-api-client/models/network_adapter.rb +449 -0
  129. data/lib/topological_inventory-api-client/models/network_adapters_collection.rb +226 -0
  130. data/lib/topological_inventory-api-client/models/networks_collection.rb +226 -0
  131. data/lib/topological_inventory-api-client/models/orchestration_stack.rb +414 -0
  132. data/lib/topological_inventory-api-client/models/orchestration_stacks_collection.rb +226 -0
  133. data/lib/topological_inventory-api-client/models/order_parameters_service_offering.rb +244 -0
  134. data/lib/topological_inventory-api-client/models/order_parameters_service_plan.rb +217 -0
  135. data/lib/topological_inventory-api-client/models/security_group.rb +449 -0
  136. data/lib/topological_inventory-api-client/models/security_groups_collection.rb +226 -0
  137. data/lib/topological_inventory-api-client/models/service_instance.rb +504 -0
  138. data/lib/topological_inventory-api-client/models/service_instance_node.rb +413 -0
  139. data/lib/topological_inventory-api-client/models/service_instance_nodes_collection.rb +226 -0
  140. data/lib/topological_inventory-api-client/models/service_instances_collection.rb +226 -0
  141. data/lib/topological_inventory-api-client/models/service_inventories_collection.rb +226 -0
  142. data/lib/topological_inventory-api-client/models/service_inventory.rb +341 -0
  143. data/lib/topological_inventory-api-client/models/service_offering.rb +496 -0
  144. data/lib/topological_inventory-api-client/models/service_offering_icon.rb +297 -0
  145. data/lib/topological_inventory-api-client/models/service_offering_icons_collection.rb +226 -0
  146. data/lib/topological_inventory-api-client/models/service_offering_node.rb +413 -0
  147. data/lib/topological_inventory-api-client/models/service_offering_nodes_collection.rb +226 -0
  148. data/lib/topological_inventory-api-client/models/service_offerings_collection.rb +226 -0
  149. data/lib/topological_inventory-api-client/models/service_plan.rb +450 -0
  150. data/lib/topological_inventory-api-client/models/service_plans_collection.rb +226 -0
  151. data/lib/topological_inventory-api-client/models/source.rb +260 -0
  152. data/lib/topological_inventory-api-client/models/source_region.rb +314 -0
  153. data/lib/topological_inventory-api-client/models/source_regions_collection.rb +226 -0
  154. data/lib/topological_inventory-api-client/models/sources_collection.rb +226 -0
  155. data/lib/topological_inventory-api-client/models/subnet.rb +458 -0
  156. data/lib/topological_inventory-api-client/models/subnets_collection.rb +226 -0
  157. data/lib/topological_inventory-api-client/models/subscription.rb +305 -0
  158. data/lib/topological_inventory-api-client/models/subscriptions_collection.rb +226 -0
  159. data/lib/topological_inventory-api-client/models/tag.rb +278 -0
  160. data/lib/topological_inventory-api-client/models/tagging.rb +242 -0
  161. data/lib/topological_inventory-api-client/models/tags_collection.rb +226 -0
  162. data/lib/topological_inventory-api-client/models/task.rb +287 -0
  163. data/lib/topological_inventory-api-client/models/tasks_collection.rb +226 -0
  164. data/lib/topological_inventory-api-client/models/tenant.rb +251 -0
  165. data/lib/topological_inventory-api-client/models/vm.rb +518 -0
  166. data/lib/topological_inventory-api-client/models/vms_collection.rb +226 -0
  167. data/lib/topological_inventory-api-client/models/volume.rb +459 -0
  168. data/lib/topological_inventory-api-client/models/volume_attachment.rb +305 -0
  169. data/lib/topological_inventory-api-client/models/volume_attachments_collection.rb +226 -0
  170. data/lib/topological_inventory-api-client/models/volume_type.rb +323 -0
  171. data/lib/topological_inventory-api-client/models/volume_types_collection.rb +226 -0
  172. data/lib/topological_inventory-api-client/models/volumes_collection.rb +226 -0
  173. data/lib/topological_inventory-api-client/version.rb +15 -0
  174. data/lib/topological_inventory-api-client.rb +120 -0
  175. data/pkg/topological_inventory-api-client-1.0.0.gem +0 -0
  176. data/spec/api/default_api_spec.rb +2676 -0
  177. data/spec/api_client_spec.rb +226 -0
  178. data/spec/configuration_spec.rb +42 -0
  179. data/spec/models/applied_inventories_parameters_service_plan_spec.rb +41 -0
  180. data/spec/models/availabilities_collection_spec.rb +53 -0
  181. data/spec/models/availability_spec.rb +95 -0
  182. data/spec/models/cluster_spec.rb +107 -0
  183. data/spec/models/clusters_collection_spec.rb +53 -0
  184. data/spec/models/collection_links_spec.rb +59 -0
  185. data/spec/models/collection_metadata_spec.rb +53 -0
  186. data/spec/models/container_group_spec.rb +119 -0
  187. data/spec/models/container_groups_collection_spec.rb +53 -0
  188. data/spec/models/container_image_spec.rb +107 -0
  189. data/spec/models/container_images_collection_spec.rb +53 -0
  190. data/spec/models/container_node_spec.rb +167 -0
  191. data/spec/models/container_nodes_collection_spec.rb +53 -0
  192. data/spec/models/container_project_spec.rb +113 -0
  193. data/spec/models/container_projects_collection_spec.rb +53 -0
  194. data/spec/models/container_resource_quota_collection_spec.rb +53 -0
  195. data/spec/models/container_resource_quota_spec.rb +119 -0
  196. data/spec/models/container_spec.rb +107 -0
  197. data/spec/models/container_template_spec.rb +107 -0
  198. data/spec/models/container_templates_collection_spec.rb +53 -0
  199. data/spec/models/containers_collection_spec.rb +53 -0
  200. data/spec/models/datastore_spec.rb +131 -0
  201. data/spec/models/datastores_collection_spec.rb +53 -0
  202. data/spec/models/error_not_found_errors_spec.rb +47 -0
  203. data/spec/models/error_not_found_spec.rb +41 -0
  204. data/spec/models/flavor_spec.rb +113 -0
  205. data/spec/models/flavors_collection_spec.rb +53 -0
  206. data/spec/models/graph_ql_request_spec.rb +53 -0
  207. data/spec/models/graph_ql_response_spec.rb +47 -0
  208. data/spec/models/host_spec.rb +143 -0
  209. data/spec/models/hosts_collection_spec.rb +53 -0
  210. data/spec/models/inline_response200_spec.rb +41 -0
  211. data/spec/models/ipaddress_spec.rb +137 -0
  212. data/spec/models/ipaddresses_collection_spec.rb +53 -0
  213. data/spec/models/network_adapter_spec.rb +131 -0
  214. data/spec/models/network_adapters_collection_spec.rb +53 -0
  215. data/spec/models/network_spec.rb +131 -0
  216. data/spec/models/networks_collection_spec.rb +53 -0
  217. data/spec/models/orchestration_stack_spec.rb +119 -0
  218. data/spec/models/orchestration_stacks_collection_spec.rb +53 -0
  219. data/spec/models/order_parameters_service_offering_spec.rb +53 -0
  220. data/spec/models/order_parameters_service_plan_spec.rb +47 -0
  221. data/spec/models/security_group_spec.rb +131 -0
  222. data/spec/models/security_groups_collection_spec.rb +53 -0
  223. data/spec/models/service_instance_node_spec.rb +119 -0
  224. data/spec/models/service_instance_nodes_collection_spec.rb +53 -0
  225. data/spec/models/service_instance_spec.rb +143 -0
  226. data/spec/models/service_instances_collection_spec.rb +53 -0
  227. data/spec/models/service_inventories_collection_spec.rb +53 -0
  228. data/spec/models/service_inventory_spec.rb +107 -0
  229. data/spec/models/service_offering_icon_spec.rb +77 -0
  230. data/spec/models/service_offering_icons_collection_spec.rb +53 -0
  231. data/spec/models/service_offering_node_spec.rb +119 -0
  232. data/spec/models/service_offering_nodes_collection_spec.rb +53 -0
  233. data/spec/models/service_offering_spec.rb +161 -0
  234. data/spec/models/service_offerings_collection_spec.rb +53 -0
  235. data/spec/models/service_plan_spec.rb +143 -0
  236. data/spec/models/service_plans_collection_spec.rb +53 -0
  237. data/spec/models/source_region_spec.rb +89 -0
  238. data/spec/models/source_regions_collection_spec.rb +53 -0
  239. data/spec/models/source_spec.rb +65 -0
  240. data/spec/models/sources_collection_spec.rb +53 -0
  241. data/spec/models/subnet_spec.rb +137 -0
  242. data/spec/models/subnets_collection_spec.rb +53 -0
  243. data/spec/models/subscription_spec.rb +83 -0
  244. data/spec/models/subscriptions_collection_spec.rb +53 -0
  245. data/spec/models/tag_spec.rb +77 -0
  246. data/spec/models/tagging_spec.rb +53 -0
  247. data/spec/models/tags_collection_spec.rb +53 -0
  248. data/spec/models/task_spec.rb +83 -0
  249. data/spec/models/tasks_collection_spec.rb +53 -0
  250. data/spec/models/tenant_spec.rb +59 -0
  251. data/spec/models/vm_spec.rb +173 -0
  252. data/spec/models/vms_collection_spec.rb +53 -0
  253. data/spec/models/volume_attachment_spec.rb +71 -0
  254. data/spec/models/volume_attachments_collection_spec.rb +53 -0
  255. data/spec/models/volume_spec.rb +137 -0
  256. data/spec/models/volume_type_spec.rb +95 -0
  257. data/spec/models/volume_types_collection_spec.rb +53 -0
  258. data/spec/models/volumes_collection_spec.rb +53 -0
  259. data/spec/spec_helper.rb +111 -0
  260. data/topological_inventory-api-client-2.0.0.gem +0 -0
  261. data/topological_inventory-api-client.gemspec +39 -0
  262. metadata +447 -0
@@ -0,0 +1,31 @@
1
+ # TopologicalInventoryApiClient::Subscription
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **archived_at** | **DateTime** | | [optional] [readonly]
8
+ **created_at** | **DateTime** | | [optional] [readonly]
9
+ **id** | **String** | ID of the resource | [optional] [readonly]
10
+ **last_seen_at** | **DateTime** | | [optional] [readonly]
11
+ **name** | **String** | | [optional]
12
+ **source_id** | **String** | ID of the resource | [optional] [readonly]
13
+ **source_ref** | **String** | | [optional]
14
+ **updated_at** | **DateTime** | | [optional] [readonly]
15
+
16
+ ## Code Sample
17
+
18
+ ```ruby
19
+ require 'TopologicalInventoryApiClient'
20
+
21
+ instance = TopologicalInventoryApiClient::Subscription.new(archived_at: null,
22
+ created_at: null,
23
+ id: null,
24
+ last_seen_at: null,
25
+ name: null,
26
+ source_id: null,
27
+ source_ref: null,
28
+ updated_at: null)
29
+ ```
30
+
31
+
@@ -0,0 +1,21 @@
1
+ # TopologicalInventoryApiClient::SubscriptionsCollection
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **meta** | [**CollectionMetadata**](CollectionMetadata.md) | | [optional]
8
+ **links** | [**CollectionLinks**](CollectionLinks.md) | | [optional]
9
+ **data** | [**Array<Subscription>**](Subscription.md) | | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'TopologicalInventoryApiClient'
15
+
16
+ instance = TopologicalInventoryApiClient::SubscriptionsCollection.new(meta: null,
17
+ links: null,
18
+ data: null)
19
+ ```
20
+
21
+
data/docs/Tag.md ADDED
@@ -0,0 +1,29 @@
1
+ # TopologicalInventoryApiClient::Tag
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **created_at** | **DateTime** | | [optional] [readonly]
8
+ **description** | **String** | | [optional] [readonly]
9
+ **id** | **String** | ID of the resource | [optional] [readonly]
10
+ **last_seen_at** | **DateTime** | | [optional] [readonly]
11
+ **name** | **String** | | [optional] [readonly]
12
+ **namespace** | **String** | | [optional] [readonly]
13
+ **value** | **String** | | [optional] [readonly]
14
+
15
+ ## Code Sample
16
+
17
+ ```ruby
18
+ require 'TopologicalInventoryApiClient'
19
+
20
+ instance = TopologicalInventoryApiClient::Tag.new(created_at: null,
21
+ description: Instruction set architecture,
22
+ id: null,
23
+ last_seen_at: null,
24
+ name: architecture,
25
+ namespace: openshift,
26
+ value: null)
27
+ ```
28
+
29
+
data/docs/Tagging.md ADDED
@@ -0,0 +1,21 @@
1
+ # TopologicalInventoryApiClient::Tagging
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **tag_id** | **String** | ID of the resource | [optional] [readonly]
8
+ **name** | **String** | | [optional] [readonly]
9
+ **value** | **String** | | [optional] [readonly]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'TopologicalInventoryApiClient'
15
+
16
+ instance = TopologicalInventoryApiClient::Tagging.new(tag_id: null,
17
+ name: architecture,
18
+ value: x86_64)
19
+ ```
20
+
21
+
@@ -0,0 +1,21 @@
1
+ # TopologicalInventoryApiClient::TagsCollection
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **meta** | [**CollectionMetadata**](CollectionMetadata.md) | | [optional]
8
+ **links** | [**CollectionLinks**](CollectionLinks.md) | | [optional]
9
+ **data** | [**Array<Tag>**](Tag.md) | | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'TopologicalInventoryApiClient'
15
+
16
+ instance = TopologicalInventoryApiClient::TagsCollection.new(meta: null,
17
+ links: null,
18
+ data: null)
19
+ ```
20
+
21
+
data/docs/Task.md ADDED
@@ -0,0 +1,31 @@
1
+ # TopologicalInventoryApiClient::Task
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **completed_at** | **DateTime** | | [optional]
8
+ **context** | [**Object**](.md) | | [optional]
9
+ **created_at** | **DateTime** | | [optional] [readonly]
10
+ **id** | **String** | ID of the resource | [optional] [readonly]
11
+ **name** | **String** | | [optional]
12
+ **state** | **String** | | [optional]
13
+ **status** | **String** | | [optional]
14
+ **updated_at** | **DateTime** | | [optional] [readonly]
15
+
16
+ ## Code Sample
17
+
18
+ ```ruby
19
+ require 'TopologicalInventoryApiClient'
20
+
21
+ instance = TopologicalInventoryApiClient::Task.new(completed_at: null,
22
+ context: Extra information about this task, e.g. new inventory items created by this task,
23
+ created_at: null,
24
+ id: null,
25
+ name: Order Service Plan,
26
+ state: Running,
27
+ status: Error,
28
+ updated_at: null)
29
+ ```
30
+
31
+
@@ -0,0 +1,21 @@
1
+ # TopologicalInventoryApiClient::TasksCollection
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **meta** | [**CollectionMetadata**](CollectionMetadata.md) | | [optional]
8
+ **links** | [**CollectionLinks**](CollectionLinks.md) | | [optional]
9
+ **data** | [**Array<Task>**](Task.md) | | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'TopologicalInventoryApiClient'
15
+
16
+ instance = TopologicalInventoryApiClient::TasksCollection.new(meta: null,
17
+ links: null,
18
+ data: null)
19
+ ```
20
+
21
+
data/docs/Tenant.md ADDED
@@ -0,0 +1,23 @@
1
+ # TopologicalInventoryApiClient::Tenant
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **String** | ID of the resource | [optional] [readonly]
8
+ **name** | **String** | | [optional] [readonly]
9
+ **description** | **String** | | [optional] [readonly]
10
+ **external_tenant** | **String** | | [optional] [readonly]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'TopologicalInventoryApiClient'
16
+
17
+ instance = TopologicalInventoryApiClient::Tenant.new(id: null,
18
+ name: Sample Tenant,
19
+ description: Description of the Tenant,
20
+ external_tenant: External tenant identifier)
21
+ ```
22
+
23
+
data/docs/Vm.md ADDED
@@ -0,0 +1,61 @@
1
+ # TopologicalInventoryApiClient::Vm
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **archived_at** | **DateTime** | | [optional] [readonly]
8
+ **cpus** | **Integer** | Total number of CPUs | [optional] [readonly]
9
+ **created_at** | **DateTime** | | [optional] [readonly]
10
+ **description** | **String** | Description of the Vm | [optional] [readonly]
11
+ **extra** | [**Object**](.md) | | [optional] [readonly]
12
+ **flavor_id** | **String** | ID of the resource | [optional] [readonly]
13
+ **host_inventory_uuid** | **String** | | [optional] [readonly]
14
+ **hostname** | **String** | | [optional] [readonly]
15
+ **id** | **String** | ID of the resource | [optional] [readonly]
16
+ **last_seen_at** | **DateTime** | | [optional] [readonly]
17
+ **mac_addresses** | **Array<String>** | | [optional] [readonly]
18
+ **memory** | **Integer** | Total RAM in bytes | [optional] [readonly]
19
+ **name** | **String** | | [optional] [readonly]
20
+ **orchestration_stack_id** | **String** | ID of the resource | [optional] [readonly]
21
+ **power_state** | **String** | | [optional] [readonly]
22
+ **source_created_at** | **DateTime** | | [optional] [readonly]
23
+ **source_deleted_at** | **DateTime** | | [optional] [readonly]
24
+ **source_id** | **String** | ID of the resource | [optional] [readonly]
25
+ **source_ref** | **String** | | [optional] [readonly]
26
+ **source_region_id** | **String** | ID of the resource | [optional] [readonly]
27
+ **subscription_id** | **String** | ID of the resource | [optional] [readonly]
28
+ **uid_ems** | **String** | Cross-Source Unique Reference | [optional] [readonly]
29
+ **updated_at** | **DateTime** | | [optional] [readonly]
30
+
31
+ ## Code Sample
32
+
33
+ ```ruby
34
+ require 'TopologicalInventoryApiClient'
35
+
36
+ instance = TopologicalInventoryApiClient::Vm.new(archived_at: null,
37
+ cpus: 2,
38
+ created_at: null,
39
+ description: null,
40
+ extra: null,
41
+ flavor_id: null,
42
+ host_inventory_uuid: null,
43
+ hostname: localhost.localdomain,
44
+ id: null,
45
+ last_seen_at: null,
46
+ mac_addresses: null,
47
+ memory: 17179869184,
48
+ name: Sample Vm,
49
+ orchestration_stack_id: null,
50
+ power_state: running,
51
+ source_created_at: null,
52
+ source_deleted_at: null,
53
+ source_id: null,
54
+ source_ref: null,
55
+ source_region_id: null,
56
+ subscription_id: null,
57
+ uid_ems: null,
58
+ updated_at: null)
59
+ ```
60
+
61
+
@@ -0,0 +1,21 @@
1
+ # TopologicalInventoryApiClient::VmsCollection
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **meta** | [**CollectionMetadata**](CollectionMetadata.md) | | [optional]
8
+ **links** | [**CollectionLinks**](CollectionLinks.md) | | [optional]
9
+ **data** | [**Array<Vm>**](Vm.md) | | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'TopologicalInventoryApiClient'
15
+
16
+ instance = TopologicalInventoryApiClient::VmsCollection.new(meta: null,
17
+ links: null,
18
+ data: null)
19
+ ```
20
+
21
+
data/docs/Volume.md ADDED
@@ -0,0 +1,49 @@
1
+ # TopologicalInventoryApiClient::Volume
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **archived_at** | **DateTime** | | [optional] [readonly]
8
+ **created_at** | **DateTime** | | [optional] [readonly]
9
+ **extra** | [**Object**](.md) | | [optional] [readonly]
10
+ **id** | **String** | ID of the resource | [optional] [readonly]
11
+ **last_seen_at** | **DateTime** | | [optional] [readonly]
12
+ **name** | **String** | | [optional] [readonly]
13
+ **orchestration_stack_id** | **String** | ID of the resource | [optional] [readonly]
14
+ **size** | **Integer** | Size of the volume in bytes | [optional] [readonly]
15
+ **source_created_at** | **DateTime** | | [optional] [readonly]
16
+ **source_deleted_at** | **DateTime** | | [optional] [readonly]
17
+ **source_id** | **String** | ID of the resource | [optional] [readonly]
18
+ **source_ref** | **String** | | [optional] [readonly]
19
+ **source_region_id** | **String** | ID of the resource | [optional] [readonly]
20
+ **state** | **String** | | [optional] [readonly]
21
+ **subscription_id** | **String** | ID of the resource | [optional] [readonly]
22
+ **updated_at** | **DateTime** | | [optional] [readonly]
23
+ **volume_type_id** | **String** | ID of the resource | [optional] [readonly]
24
+
25
+ ## Code Sample
26
+
27
+ ```ruby
28
+ require 'TopologicalInventoryApiClient'
29
+
30
+ instance = TopologicalInventoryApiClient::Volume.new(archived_at: null,
31
+ created_at: null,
32
+ extra: null,
33
+ id: null,
34
+ last_seen_at: null,
35
+ name: vol-00627bf31217a7bc0,
36
+ orchestration_stack_id: null,
37
+ size: 8589934592,
38
+ source_created_at: null,
39
+ source_deleted_at: null,
40
+ source_id: null,
41
+ source_ref: null,
42
+ source_region_id: null,
43
+ state: in-use,
44
+ subscription_id: null,
45
+ updated_at: null,
46
+ volume_type_id: null)
47
+ ```
48
+
49
+
@@ -0,0 +1,27 @@
1
+ # TopologicalInventoryApiClient::VolumeAttachment
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **device** | **String** | | [optional] [readonly]
8
+ **id** | **String** | ID of the resource | [optional] [readonly]
9
+ **last_seen_at** | **DateTime** | | [optional] [readonly]
10
+ **state** | **String** | | [optional] [readonly]
11
+ **vm_id** | **String** | ID of the resource | [optional] [readonly]
12
+ **volume_id** | **String** | ID of the resource | [optional] [readonly]
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'TopologicalInventoryApiClient'
18
+
19
+ instance = TopologicalInventoryApiClient::VolumeAttachment.new(device: /dev/xvda,
20
+ id: null,
21
+ last_seen_at: null,
22
+ state: attached,
23
+ vm_id: null,
24
+ volume_id: null)
25
+ ```
26
+
27
+
@@ -0,0 +1,21 @@
1
+ # TopologicalInventoryApiClient::VolumeAttachmentsCollection
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **meta** | [**CollectionMetadata**](CollectionMetadata.md) | | [optional]
8
+ **links** | [**CollectionLinks**](CollectionLinks.md) | | [optional]
9
+ **data** | [**Array<VolumeAttachment>**](VolumeAttachment.md) | | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'TopologicalInventoryApiClient'
15
+
16
+ instance = TopologicalInventoryApiClient::VolumeAttachmentsCollection.new(meta: null,
17
+ links: null,
18
+ data: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,35 @@
1
+ # TopologicalInventoryApiClient::VolumeType
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **archived_at** | **DateTime** | | [optional] [readonly]
8
+ **created_at** | **DateTime** | | [optional] [readonly]
9
+ **description** | **String** | | [optional] [readonly]
10
+ **extra** | [**Object**](.md) | | [optional] [readonly]
11
+ **id** | **String** | ID of the resource | [optional] [readonly]
12
+ **last_seen_at** | **DateTime** | | [optional] [readonly]
13
+ **name** | **String** | | [optional] [readonly]
14
+ **source_id** | **String** | ID of the resource | [optional] [readonly]
15
+ **source_ref** | **String** | | [optional] [readonly]
16
+ **updated_at** | **DateTime** | | [optional] [readonly]
17
+
18
+ ## Code Sample
19
+
20
+ ```ruby
21
+ require 'TopologicalInventoryApiClient'
22
+
23
+ instance = TopologicalInventoryApiClient::VolumeType.new(archived_at: null,
24
+ created_at: null,
25
+ description: Magnetic,
26
+ extra: null,
27
+ id: null,
28
+ last_seen_at: null,
29
+ name: standard,
30
+ source_id: null,
31
+ source_ref: null,
32
+ updated_at: null)
33
+ ```
34
+
35
+
@@ -0,0 +1,21 @@
1
+ # TopologicalInventoryApiClient::VolumeTypesCollection
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **meta** | [**CollectionMetadata**](CollectionMetadata.md) | | [optional]
8
+ **links** | [**CollectionLinks**](CollectionLinks.md) | | [optional]
9
+ **data** | [**Array<VolumeType>**](VolumeType.md) | | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'TopologicalInventoryApiClient'
15
+
16
+ instance = TopologicalInventoryApiClient::VolumeTypesCollection.new(meta: null,
17
+ links: null,
18
+ data: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,21 @@
1
+ # TopologicalInventoryApiClient::VolumesCollection
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **meta** | [**CollectionMetadata**](CollectionMetadata.md) | | [optional]
8
+ **links** | [**CollectionLinks**](CollectionLinks.md) | | [optional]
9
+ **data** | [**Array<Volume>**](Volume.md) | | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'TopologicalInventoryApiClient'
15
+
16
+ instance = TopologicalInventoryApiClient::VolumesCollection.new(meta: null,
17
+ links: null,
18
+ data: null)
19
+ ```
20
+
21
+
data/git_push.sh ADDED
@@ -0,0 +1,58 @@
1
+ #!/bin/sh
2
+ # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
3
+ #
4
+ # Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
5
+
6
+ git_user_id=$1
7
+ git_repo_id=$2
8
+ release_note=$3
9
+ git_host=$4
10
+
11
+ if [ "$git_host" = "" ]; then
12
+ git_host="github.com"
13
+ echo "[INFO] No command line input provided. Set \$git_host to $git_host"
14
+ fi
15
+
16
+ if [ "$git_user_id" = "" ]; then
17
+ git_user_id="GIT_USER_ID"
18
+ echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
19
+ fi
20
+
21
+ if [ "$git_repo_id" = "" ]; then
22
+ git_repo_id="GIT_REPO_ID"
23
+ echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
24
+ fi
25
+
26
+ if [ "$release_note" = "" ]; then
27
+ release_note="Minor update"
28
+ echo "[INFO] No command line input provided. Set \$release_note to $release_note"
29
+ fi
30
+
31
+ # Initialize the local directory as a Git repository
32
+ git init
33
+
34
+ # Adds the files in the local repository and stages them for commit.
35
+ git add .
36
+
37
+ # Commits the tracked changes and prepares them to be pushed to a remote repository.
38
+ git commit -m "$release_note"
39
+
40
+ # Sets the new remote
41
+ git_remote=`git remote`
42
+ if [ "$git_remote" = "" ]; then # git remote not defined
43
+
44
+ if [ "$GIT_TOKEN" = "" ]; then
45
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
46
+ git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
47
+ else
48
+ git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
49
+ fi
50
+
51
+ fi
52
+
53
+ git pull origin master
54
+
55
+ # Pushes (Forces) the changes in the local repository up to the remote repository
56
+ echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
57
+ git push origin master 2>&1 | grep -v 'To https'
58
+