alicloud_threat_detection_asset_bind
更新时间:
Provides a Threat Detection Asset Bind resource.
Asset Binding Information.
For information about Threat Detection Asset Bind and how to use it, see What is Asset Bind.
-> NOTE: Available since v1.247.0.
Example Usage
Basic Usage
variable "name" {
default = "terraform-example"
}
provider "alicloud" {
region = "cn-hangzhou"
}
data "alicloud_threat_detection_assets" "default" {
machine_types = "ecs"
}
resource "alicloud_threat_detection_asset_bind" "default" {
uuid = data.alicloud_threat_detection_assets.default.assets.0.uuid
auth_version = "5"
}
Deleting alicloud_threat_detection_asset_bind
or removing it from your configuration
Terraform cannot destroy resource alicloud_threat_detection_asset_bind
. Terraform will remove this resource from the state file, however resources may remain.
Argument Reference
The following arguments are supported:
auth_version
- (Optional, Int) Bind version.uuid
- (Optional, ForceNew, Computed) The first ID of the resource
Attributes Reference
The following attributes are exported:
id
- The ID of the resource supplied above.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 5 mins) Used when create the Asset Bind.update
- (Defaults to 5 mins) Used when update the Asset Bind.
Import
Threat Detection Asset Bind can be imported using the id, e.g.
$ terraform import alicloud_threat_detection_asset_bind.example <id>
该文章对您有帮助吗?