alicloud_express_connect_access_points
更新时间:
This data source provides the Express Connect Access Points of the current Alibaba Cloud user.
-> NOTE: Available in v1.132.0+.
Example Usage
Basic Usage
data "alicloud_express_connect_access_points" "ids" {
ids = ["ap-cn-hangzhou-yh-C"]
}
output "express_connect_access_point_id_1" {
value = data.alicloud_express_connect_access_points.ids.points.0.id
}
data "alicloud_express_connect_access_points" "nameRegex" {
name_regex = "^杭州-"
}
output "express_connect_access_point_id_2" {
value = data.alicloud_express_connect_access_points.nameRegex.points.0.id
}
Argument Reference
The following arguments are supported:
ids
- (Optional, ForceNew, Computed) A list of Access Point IDs.name_regex
- (Optional, ForceNew) A regex string to filter results by Access Point name.output_file
- (Optional) File name where to save data source results (after runningterraform plan
).status
- (Optional, ForceNew) The Physical Connection to Which the Access Point State. Valid values:disabled
,full
,hot
,recommended
.
Argument Reference
The following attributes are exported in addition to the arguments listed above:
names
- A list of Access Point names.points
- A list of Express Connect Access Points. Each element contains the following attributes:access_point_feature_models
- Query to the Access Point Feature Model.feature_key
- The Access Point Properties.feature_value
- The Access Point Characteristic Value.
access_point_id
- The Access Point ID.access_point_name
- Access Point Name.attached_region_no
- The Access Point Is Located an ID.description
- The Access Point Description.host_operator
- The Access Point Belongs to the Operator.id
- The ID of the Access Point.location
- The Location of the Access Point.status
- The Physical Connection to Which the Access Point State.type
- The Physical Connection to Which the Network Type.
文档内容是否对您有帮助?