This data source provides Threat Detection Instance available to the user.What is Instance
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
}
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 running terraform plan
).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.