alicloud_threat_detection_instances
更新时间:
This data source provides Threat Detection Instance available to the user.What is Instance
-> NOTE: Available in 1.199.0+
Example Usage
data "alicloud_threat_detection_instances" "default" {
ids = ["${alicloud_threat_detection_instance.default.id}"]
}
output "alicloud_threat_detection_instance_example_id" {
value = data.alicloud_threat_detection_instances.default.instances.0.id
}
Argument Reference
The following arguments are supported:
instance_id- (ForceNew,Optional) The first ID of the resourceids- (Optional, ForceNew, Computed) A list of Instance IDs.renew_status- (Optional, ForceNew) The renewal status of the specified instance. Valid values:AutoRenewal,ManualRenewal,NotRenewal.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 Instance IDs.instances- A list of Instance Entries. Each element contains the following attributes:create_time- The creation time of the resourceinstance_id- The first ID of the resourcepayment_type- The payment type of the resource.status- The status of the resource.id- ID of the instance.
该文章对您有帮助吗?