Provides a Quotas Quota Application resource. Details of Quota Application.
For information about Quotas Quota Application and how to use it, see What is Quota Application.
Basic Usage
variable "name" {
default = "terraform-example"
}
resource "alicloud_quotas_quota_application" "default" {
quota_action_code = "q_desktop-count"
product_code = "gws"
quota_category = "CommonQuota"
notice_type = 3
dimensions {
key = "regionId"
value = "cn-hangzhou"
}
desire_value = 1001
reason = "测试"
env_language = "zh"
}
alicloud_quotas_quota_application
or removing it from your configurationTerraform cannot destroy resource alicloud_quotas_quota_application
. Terraform will remove this resource from the state file, however resources may remain.
The following arguments are supported:
audit_mode
- (Optional, ForceNew, Computed) Quota audit mode. Value:
dimensions
The dimensions support the following:
key
- (Optional, ForceNew) Key.value
- (Optional, ForceNew) Value.The following attributes are exported:
id
- The ID of the resource supplied above.approve_value
- The approve value of the quota application.audit_reason
- The audit reason.create_time
- Resource attribute field representing creation time.quota_description
- The description of the quota application.quota_name
- The name of the quota application.quota_unit
- The unit of the quota application.status
- Application Status:
The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 5 mins) Used when create the Quota Application.Quotas Quota Application can be imported using the id, e.g.
$ terraform import alicloud_quotas_quota_application.example <id>