alicloud_eflo_vpds
更新时间:
This data source provides Eflo Vpd available to the user.What is Vpd
-> NOTE: Available in 1.201.0+
Example Usage
data "alicloud_eflo_vpds" "default" {
ids = ["${alicloud_eflo_vpd.default.id}"]
name_regex = alicloud_eflo_vpd.default.name
vpd_name = "RMC-Terraform-Test"
}
output "alicloud_eflo_vpd_example_id" {
value = data.alicloud_eflo_vpds.default.vpds.0.id
}
Argument Reference
The following arguments are supported:
resource_group_id
- (ForceNew,Optional) The Resource group idstatus
- (ForceNew,Optional) The Vpd status. Valid values:Available
,Not Available
,Executing
,Deleting
,vpd_id
- (ForceNew,Optional) The id of the vpd.vpd_name
- (ForceNew,Optional) The Name of the VPD.ids
- (Optional, ForceNew, Computed) A list of Vpd IDs.name_regex
- (Optional, ForceNew) A regex string to filter results by Group Metric Rule name.enable_details
- (Optional, ForceNew) Default tofalse
. Set it totrue
can output more details about resource attributes.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:
ids
- A list of Vpd IDs.names
- A list of name of Vpds.vpds
- A list of Vpd Entries. Each element contains the following attributes:cidr
- CIDR network segmentcreate_time
- The creation time of the resourcegmt_modified
- Modification timeid
- The id of the vpd.resource_group_id
- Resource group idstatus
- The Vpd status.vpd_id
- The id of the vpd.vpd_name
- The Name of the VPD.
文档内容是否对您有帮助?