Table: alicloud_ecs_zone - Query Alibaba Cloud Elastic Compute Service Zones using SQL
Alibaba Cloud Elastic Compute Service (ECS) provides fast memory and flexible compute power. An ECS Zone is a physical area with independent power grids and networks inside an Alibaba Cloud region. Zones are designed to ensure that failures are isolated within Zones and are physically separated within a typical metropolitan region.
Table Usage Guide
The alicloud_ecs_zone
table provides insights into the zones within Alibaba Cloud Elastic Compute Service (ECS). As a system administrator, explore zone-specific details through this table, including zone availability, network type, and resource specifications. Utilize it to uncover information about zones, such as their capacities and capabilities, the network types they support, and the resources available within them.
Examples
Basic info
Explore which resources, volume categories, and instance types are available in specific zones of your Alicloud Elastic Compute Service. This can help you make informed decisions about where to deploy your resources based on the capabilities of each zone.
select zone_id, local_name, available_resource_creation, available_volume_categories, available_instance_typesfrom alicloud_ecs_zone;
select zone_id, local_name, available_resource_creation, available_volume_categories, available_instance_typesfrom alicloud_ecs_zone;
Get details for a specific region
Determine the resources available in a specific geographical region. This is useful for planning and optimizing resource allocation for your operations in that region.
select zone_id, local_name, available_resource_creation, available_volume_categories, available_instance_typesfrom alicloud_ecs_zonewhere zone_id = 'ap-south-1b';
select zone_id, local_name, available_resource_creation, available_volume_categories, available_instance_typesfrom alicloud_ecs_zonewhere zone_id = 'ap-south-1b';
Schema for alicloud_ecs_zone
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
account_id | text | =, !=, ~~, ~~*, !~~, !~~* | The Alicloud Account ID in which the resource is located. |
akas | jsonb | Array of globally unique identifier strings (also known as) for the resource. | |
available_dedicated_host_types | jsonb | The supported types of dedicated hosts. The data type of this parameter is List. | |
available_disk_categories | jsonb | The supported disk categories. The data type of this parameter is List. | |
available_instance_types | jsonb | The instance types of instances that can be created. The data type of this parameter is List. | |
available_resource_creation | jsonb | The types of the resources that can be created. The data type of this parameter is List. | |
available_resources | jsonb | An array consisting of ResourcesInfo data. | |
available_volume_categories | jsonb | The categories of available shared storage. The data type of this parameter is List. | |
dedicated_host_generations | jsonb | The generation numbers of dedicated hosts. The data type of this parameter is List. | |
local_name | text | The name of the zone in the local language. | |
region | text | The Alicloud region in which the resource is located. | |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
title | text | Title of the resource. | |
zone_id | text | The zone ID. |
Export
This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.
You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh
script:
/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- alicloud
You can pass the configuration to the command with the --config
argument:
steampipe_export_alicloud --config '<your_config>' alicloud_ecs_zone