Cloud Accounts

Contents

Cloud Accounts

Allows querying cloud accounts to discover and import resources from them into IMCO.

List Brownfield Cloud Accounts

GET /v2/brownfield/cloud_accounts

It lists the cloud accounts that support discovering and importing resources.

Inputs

None

Returns

An array of cloud accounts, each with the following fields:

Field Type Description
id String Identifier of the cloud account.
cloud_provider_id String Identifier of the cloud provider.
subscription_id String Identifier of the subscription.
name String The logical name for the cloud account.
state String The state of the cloud account. Specifically, one of the following: importing_servers, importing_vpcs, importing_floating_ips, importing_volumes, importing_policies, importing_kubernetes_clusters, idle.
remote_id String The remote id of the cloud account.
resource_type String An identifier for the type of resource, specifically "cloud_account".
supports_importing Boolean Flag to indicate whether this cloud account supports importing servers.
supports_importing_vpcs Boolean Flag to indicate whether this cloud account supports importing VPCs.
supports_importing_floating_ips Boolean Flag to indicate whether this cloud account supports importing floating IPs.
supports_importing_volumes Boolean Flag to indicate whether this cloud account supports importing volumes.
supports_importing_policies Boolean Flag to indicate whether this cloud account supports importing policy definitions and assignments.
supports_importing_kubernetes_clusters Boolean Flag to indicate whether this cloud account supports importing Kubernetes clusters and node pools.

Back to top

Show Brownfield Cloud Accounts

GET /v2/brownfield/cloud_accounts/:id

It shows a cloud account that supports discovering and importing resources, given its id.

Inputs

None

Returns

A cloud account with the following fields:

Field Type Description
id String Identifier of the cloud account.
cloud_provider_id String Identifier of the cloud provider.
subscription_id String Identifier of the subscription.
name String The logical name for the cloud account.
state String The state of the cloud account. Specifically, one of the following: importing_servers, importing_vpcs, importing_floating_ips, importing_volumes, importing_policies, importing_kubernetes_clusters, idle.
remote_id String The remote id of the cloud account.
resource_type String An identifier for the type of resource, specifically "cloud_account".
supports_importing Boolean Flag to indicate whether this cloud account supports importing servers.
supports_importing_vpcs Boolean Flag to indicate whether this cloud account supports importing VPCs.
supports_importing_floating_ips Boolean Flag to indicate whether this cloud account supports importing floating IPs.
supports_importing_volumes Boolean Flag to indicate whether this cloud account supports importing volumes.
supports_importing_policies Boolean Flag to indicate whether this cloud account supports importing policy definitions and assignments.
supports_importing_kubernetes_clusters Boolean Flag to indicate whether this cloud account supports importing Kubernetes clusters and node pools.

Back to top