alicloud_threat_detection_file_upload_limit

更新时间:

Provides a Threat Detection File Upload Limit resource. User-defined file upload limit.

For information about Threat Detection File Upload Limit and how to use it, see What is File Upload Limit.

-> NOTE: Available since v1.212.0.

Example Usage

Basic Usage


variable "name" {
  default = "terraform-example"
}

provider "alicloud" {
  region = "cn-hangzhou"
}


resource "alicloud_threat_detection_file_upload_limit" "default" {
  limit = "100"
}

Deleting alicloud_threat_detection_file_upload_limit or removing it from your configuration

Terraform cannot destroy resource alicloud_threat_detection_file_upload_limit. Terraform will remove this resource from the state file, however resources may remain.

Argument Reference

The following arguments are supported:

  • limit - (Required) File Upload Threshold.

Attributes Reference

The following attributes are exported:

  • id - The ID of the resource supplied above.The value is formulated as ``.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 5 mins) Used when create the File Upload Limit.
  • update - (Defaults to 5 mins) Used when update the File Upload Limit.

Import

Threat Detection File Upload Limit can be imported using the id, e.g.

$ terraform import alicloud_threat_detection_file_upload_limit.example