» alicloud_cen_bandwidth_packages
This data source provides CEN Bandwidth Packages available to the user.
» Example Usage
data "alicloud_cen_bandwidth_packages" "bwp" {
instance_id = "cen-id1"
name_regex="^foo"
}
output "first_cen_bandwidth_package_id" {
value = "${data.alicloud_cen_bandwidth_packages.bwp.packages.0.id}"
}
» Argument Reference
The following arguments are supported:
-
instance_id
- (Optional) ID of a CEN instance. -
ids
- (Optional) Limit search to a list of specific CEN Bandwidth Package IDs. -
name_regex
- (Optional) A regex string to filter CEN Bandwidth Package by name. -
output_file
- (Optional) File name where to save data source results (after runningterraform plan
).
» Attributes Reference
The following attributes are exported in addition to the arguments listed above:
-
packages
- A list of CEN bandwidth package. Each element contains the following attributes:-
id
- ID of the CEN Bandwidth Package. -
instance_id
- ID of CEN instance that owns the CEN Bandwidth Package. -
name
- Name of the CEN Bandwidth Package. -
description
- Description of the CEN Bandwidth Package. -
business_status
- Status of the CEN Bandwidth Package, including "Normal", "FinancialLocked" and "SecurityLocked". -
status
- Status of the CEN Bandwidth Package in CEN instance, including "Idle" and "InUse". -
bandwidth
- The bandwidth in Mbps of the CEN bandwidth package. -
creation_time
- Creation time of the CEN bandwidth package. -
bandwidth_package_charge_type
- The billing method, including "POSTPAY" and "PREPAY". -
geographic_region_a_id
- Region ID of the interconnected regions. -
geographic_region_b_id
- Region ID of the interconnected regions.
-