topological_inventory-api-client 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/LICENSE.txt +201 -0
- data/README.md +89 -0
- data/Rakefile +10 -0
- data/client-meta.json +8 -0
- data/docs/AppliedInventoriesParametersServicePlan.md +17 -0
- data/docs/AvailabilitiesCollection.md +21 -0
- data/docs/Availability.md +35 -0
- data/docs/Cluster.md +39 -0
- data/docs/ClustersCollection.md +21 -0
- data/docs/CollectionLinks.md +23 -0
- data/docs/CollectionMetadata.md +21 -0
- data/docs/Container.md +39 -0
- data/docs/ContainerGroup.md +43 -0
- data/docs/ContainerGroupsCollection.md +21 -0
- data/docs/ContainerImage.md +39 -0
- data/docs/ContainerImagesCollection.md +21 -0
- data/docs/ContainerNode.md +59 -0
- data/docs/ContainerNodesCollection.md +21 -0
- data/docs/ContainerProject.md +41 -0
- data/docs/ContainerProjectsCollection.md +21 -0
- data/docs/ContainerResourceQuota.md +43 -0
- data/docs/ContainerResourceQuotaCollection.md +21 -0
- data/docs/ContainerTemplate.md +39 -0
- data/docs/ContainerTemplatesCollection.md +21 -0
- data/docs/ContainersCollection.md +21 -0
- data/docs/Datastore.md +47 -0
- data/docs/DatastoresCollection.md +21 -0
- data/docs/DefaultApi.md +10871 -0
- data/docs/ErrorNotFound.md +17 -0
- data/docs/ErrorNotFoundErrors.md +19 -0
- data/docs/Flavor.md +41 -0
- data/docs/FlavorsCollection.md +21 -0
- data/docs/GraphQLRequest.md +21 -0
- data/docs/GraphQLResponse.md +19 -0
- data/docs/Host.md +51 -0
- data/docs/HostsCollection.md +21 -0
- data/docs/InlineResponse200.md +17 -0
- data/docs/Ipaddress.md +49 -0
- data/docs/IpaddressesCollection.md +21 -0
- data/docs/Network.md +47 -0
- data/docs/NetworkAdapter.md +47 -0
- data/docs/NetworkAdaptersCollection.md +21 -0
- data/docs/NetworksCollection.md +21 -0
- data/docs/OrchestrationStack.md +43 -0
- data/docs/OrchestrationStacksCollection.md +21 -0
- data/docs/OrderParametersServiceOffering.md +21 -0
- data/docs/OrderParametersServicePlan.md +19 -0
- data/docs/SecurityGroup.md +47 -0
- data/docs/SecurityGroupsCollection.md +21 -0
- data/docs/ServiceInstance.md +51 -0
- data/docs/ServiceInstanceNode.md +43 -0
- data/docs/ServiceInstanceNodesCollection.md +21 -0
- data/docs/ServiceInstancesCollection.md +21 -0
- data/docs/ServiceInventoriesCollection.md +21 -0
- data/docs/ServiceInventory.md +39 -0
- data/docs/ServiceOffering.md +57 -0
- data/docs/ServiceOfferingIcon.md +29 -0
- data/docs/ServiceOfferingIconsCollection.md +21 -0
- data/docs/ServiceOfferingNode.md +43 -0
- data/docs/ServiceOfferingNodesCollection.md +21 -0
- data/docs/ServiceOfferingsCollection.md +21 -0
- data/docs/ServicePlan.md +51 -0
- data/docs/ServicePlansCollection.md +21 -0
- data/docs/Source.md +25 -0
- data/docs/SourceRegion.md +33 -0
- data/docs/SourceRegionsCollection.md +21 -0
- data/docs/SourcesCollection.md +21 -0
- data/docs/Subnet.md +49 -0
- data/docs/SubnetsCollection.md +21 -0
- data/docs/Subscription.md +31 -0
- data/docs/SubscriptionsCollection.md +21 -0
- data/docs/Tag.md +29 -0
- data/docs/Tagging.md +21 -0
- data/docs/TagsCollection.md +21 -0
- data/docs/Task.md +31 -0
- data/docs/TasksCollection.md +21 -0
- data/docs/Tenant.md +23 -0
- data/docs/Vm.md +61 -0
- data/docs/VmsCollection.md +21 -0
- data/docs/Volume.md +49 -0
- data/docs/VolumeAttachment.md +27 -0
- data/docs/VolumeAttachmentsCollection.md +21 -0
- data/docs/VolumeType.md +35 -0
- data/docs/VolumeTypesCollection.md +21 -0
- data/docs/VolumesCollection.md +21 -0
- data/git_push.sh +58 -0
- data/lib/topological_inventory-api-client/api/default_api.rb +14822 -0
- data/lib/topological_inventory-api-client/api_client.rb +386 -0
- data/lib/topological_inventory-api-client/api_error.rb +57 -0
- data/lib/topological_inventory-api-client/configuration.rb +268 -0
- data/lib/topological_inventory-api-client/models/applied_inventories_parameters_service_plan.rb +207 -0
- data/lib/topological_inventory-api-client/models/availabilities_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/availability.rb +323 -0
- data/lib/topological_inventory-api-client/models/cluster.rb +341 -0
- data/lib/topological_inventory-api-client/models/clusters_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/collection_links.rb +233 -0
- data/lib/topological_inventory-api-client/models/collection_metadata.rb +224 -0
- data/lib/topological_inventory-api-client/models/container.rb +359 -0
- data/lib/topological_inventory-api-client/models/container_group.rb +395 -0
- data/lib/topological_inventory-api-client/models/container_groups_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/container_image.rb +341 -0
- data/lib/topological_inventory-api-client/models/container_images_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/container_node.rb +449 -0
- data/lib/topological_inventory-api-client/models/container_nodes_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/container_project.rb +350 -0
- data/lib/topological_inventory-api-client/models/container_projects_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/container_resource_quota.rb +377 -0
- data/lib/topological_inventory-api-client/models/container_resource_quota_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/container_template.rb +359 -0
- data/lib/topological_inventory-api-client/models/container_templates_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/containers_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/datastore.rb +377 -0
- data/lib/topological_inventory-api-client/models/datastores_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/error_not_found.rb +208 -0
- data/lib/topological_inventory-api-client/models/error_not_found_errors.rb +215 -0
- data/lib/topological_inventory-api-client/models/flavor.rb +354 -0
- data/lib/topological_inventory-api-client/models/flavors_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/graph_ql_request.rb +237 -0
- data/lib/topological_inventory-api-client/models/graph_ql_response.rb +219 -0
- data/lib/topological_inventory-api-client/models/host.rb +413 -0
- data/lib/topological_inventory-api-client/models/hosts_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/inline_response200.rb +206 -0
- data/lib/topological_inventory-api-client/models/ipaddress.rb +476 -0
- data/lib/topological_inventory-api-client/models/ipaddresses_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/network.rb +431 -0
- data/lib/topological_inventory-api-client/models/network_adapter.rb +449 -0
- data/lib/topological_inventory-api-client/models/network_adapters_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/networks_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/orchestration_stack.rb +414 -0
- data/lib/topological_inventory-api-client/models/orchestration_stacks_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/order_parameters_service_offering.rb +244 -0
- data/lib/topological_inventory-api-client/models/order_parameters_service_plan.rb +217 -0
- data/lib/topological_inventory-api-client/models/security_group.rb +449 -0
- data/lib/topological_inventory-api-client/models/security_groups_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/service_instance.rb +504 -0
- data/lib/topological_inventory-api-client/models/service_instance_node.rb +413 -0
- data/lib/topological_inventory-api-client/models/service_instance_nodes_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/service_instances_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/service_inventories_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/service_inventory.rb +341 -0
- data/lib/topological_inventory-api-client/models/service_offering.rb +496 -0
- data/lib/topological_inventory-api-client/models/service_offering_icon.rb +297 -0
- data/lib/topological_inventory-api-client/models/service_offering_icons_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/service_offering_node.rb +413 -0
- data/lib/topological_inventory-api-client/models/service_offering_nodes_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/service_offerings_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/service_plan.rb +450 -0
- data/lib/topological_inventory-api-client/models/service_plans_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/source.rb +260 -0
- data/lib/topological_inventory-api-client/models/source_region.rb +314 -0
- data/lib/topological_inventory-api-client/models/source_regions_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/sources_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/subnet.rb +458 -0
- data/lib/topological_inventory-api-client/models/subnets_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/subscription.rb +305 -0
- data/lib/topological_inventory-api-client/models/subscriptions_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/tag.rb +278 -0
- data/lib/topological_inventory-api-client/models/tagging.rb +242 -0
- data/lib/topological_inventory-api-client/models/tags_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/task.rb +287 -0
- data/lib/topological_inventory-api-client/models/tasks_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/tenant.rb +251 -0
- data/lib/topological_inventory-api-client/models/vm.rb +518 -0
- data/lib/topological_inventory-api-client/models/vms_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/volume.rb +459 -0
- data/lib/topological_inventory-api-client/models/volume_attachment.rb +305 -0
- data/lib/topological_inventory-api-client/models/volume_attachments_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/volume_type.rb +323 -0
- data/lib/topological_inventory-api-client/models/volume_types_collection.rb +226 -0
- data/lib/topological_inventory-api-client/models/volumes_collection.rb +226 -0
- data/lib/topological_inventory-api-client/version.rb +15 -0
- data/lib/topological_inventory-api-client.rb +120 -0
- data/pkg/topological_inventory-api-client-1.0.0.gem +0 -0
- data/spec/api/default_api_spec.rb +2676 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/applied_inventories_parameters_service_plan_spec.rb +41 -0
- data/spec/models/availabilities_collection_spec.rb +53 -0
- data/spec/models/availability_spec.rb +95 -0
- data/spec/models/cluster_spec.rb +107 -0
- data/spec/models/clusters_collection_spec.rb +53 -0
- data/spec/models/collection_links_spec.rb +59 -0
- data/spec/models/collection_metadata_spec.rb +53 -0
- data/spec/models/container_group_spec.rb +119 -0
- data/spec/models/container_groups_collection_spec.rb +53 -0
- data/spec/models/container_image_spec.rb +107 -0
- data/spec/models/container_images_collection_spec.rb +53 -0
- data/spec/models/container_node_spec.rb +167 -0
- data/spec/models/container_nodes_collection_spec.rb +53 -0
- data/spec/models/container_project_spec.rb +113 -0
- data/spec/models/container_projects_collection_spec.rb +53 -0
- data/spec/models/container_resource_quota_collection_spec.rb +53 -0
- data/spec/models/container_resource_quota_spec.rb +119 -0
- data/spec/models/container_spec.rb +107 -0
- data/spec/models/container_template_spec.rb +107 -0
- data/spec/models/container_templates_collection_spec.rb +53 -0
- data/spec/models/containers_collection_spec.rb +53 -0
- data/spec/models/datastore_spec.rb +131 -0
- data/spec/models/datastores_collection_spec.rb +53 -0
- data/spec/models/error_not_found_errors_spec.rb +47 -0
- data/spec/models/error_not_found_spec.rb +41 -0
- data/spec/models/flavor_spec.rb +113 -0
- data/spec/models/flavors_collection_spec.rb +53 -0
- data/spec/models/graph_ql_request_spec.rb +53 -0
- data/spec/models/graph_ql_response_spec.rb +47 -0
- data/spec/models/host_spec.rb +143 -0
- data/spec/models/hosts_collection_spec.rb +53 -0
- data/spec/models/inline_response200_spec.rb +41 -0
- data/spec/models/ipaddress_spec.rb +137 -0
- data/spec/models/ipaddresses_collection_spec.rb +53 -0
- data/spec/models/network_adapter_spec.rb +131 -0
- data/spec/models/network_adapters_collection_spec.rb +53 -0
- data/spec/models/network_spec.rb +131 -0
- data/spec/models/networks_collection_spec.rb +53 -0
- data/spec/models/orchestration_stack_spec.rb +119 -0
- data/spec/models/orchestration_stacks_collection_spec.rb +53 -0
- data/spec/models/order_parameters_service_offering_spec.rb +53 -0
- data/spec/models/order_parameters_service_plan_spec.rb +47 -0
- data/spec/models/security_group_spec.rb +131 -0
- data/spec/models/security_groups_collection_spec.rb +53 -0
- data/spec/models/service_instance_node_spec.rb +119 -0
- data/spec/models/service_instance_nodes_collection_spec.rb +53 -0
- data/spec/models/service_instance_spec.rb +143 -0
- data/spec/models/service_instances_collection_spec.rb +53 -0
- data/spec/models/service_inventories_collection_spec.rb +53 -0
- data/spec/models/service_inventory_spec.rb +107 -0
- data/spec/models/service_offering_icon_spec.rb +77 -0
- data/spec/models/service_offering_icons_collection_spec.rb +53 -0
- data/spec/models/service_offering_node_spec.rb +119 -0
- data/spec/models/service_offering_nodes_collection_spec.rb +53 -0
- data/spec/models/service_offering_spec.rb +161 -0
- data/spec/models/service_offerings_collection_spec.rb +53 -0
- data/spec/models/service_plan_spec.rb +143 -0
- data/spec/models/service_plans_collection_spec.rb +53 -0
- data/spec/models/source_region_spec.rb +89 -0
- data/spec/models/source_regions_collection_spec.rb +53 -0
- data/spec/models/source_spec.rb +65 -0
- data/spec/models/sources_collection_spec.rb +53 -0
- data/spec/models/subnet_spec.rb +137 -0
- data/spec/models/subnets_collection_spec.rb +53 -0
- data/spec/models/subscription_spec.rb +83 -0
- data/spec/models/subscriptions_collection_spec.rb +53 -0
- data/spec/models/tag_spec.rb +77 -0
- data/spec/models/tagging_spec.rb +53 -0
- data/spec/models/tags_collection_spec.rb +53 -0
- data/spec/models/task_spec.rb +83 -0
- data/spec/models/tasks_collection_spec.rb +53 -0
- data/spec/models/tenant_spec.rb +59 -0
- data/spec/models/vm_spec.rb +173 -0
- data/spec/models/vms_collection_spec.rb +53 -0
- data/spec/models/volume_attachment_spec.rb +71 -0
- data/spec/models/volume_attachments_collection_spec.rb +53 -0
- data/spec/models/volume_spec.rb +137 -0
- data/spec/models/volume_type_spec.rb +95 -0
- data/spec/models/volume_types_collection_spec.rb +53 -0
- data/spec/models/volumes_collection_spec.rb +53 -0
- data/spec/spec_helper.rb +111 -0
- data/topological_inventory-api-client-2.0.0.gem +0 -0
- data/topological_inventory-api-client.gemspec +39 -0
- 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
|
+
|
data/docs/VolumeType.md
ADDED
@@ -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
|
+
|