alicloud_quotas_template_applications

This data source provides Quotas Template Applications available to the user.What is Template Applications

Example Usage

data "alicloud_resource_manager_accounts" "default" {
  status = "CreateSuccess"
}

resource "alicloud_quotas_template_applications" "default" {
  quota_action_code = "vpc_whitelist/ha_vip_whitelist"
  product_code      = "vpc"
  quota_category    = "FlowControl"
  aliyun_uids       = ["${data.alicloud_resource_manager_accounts.default.ids.0}"]
  desire_value      = 6
  notice_type       = "0"
  env_language      = "zh"
  reason            = "example"
  dimensions {
    key   = "apiName"
    value = "GetProductQuotaDimension"
  }
  dimensions {
    key   = "apiVersion"
    value = "2020-05-10"
  }
  dimensions {
    key   = "regionId"
    value = "cn-hangzhou"
  }
}

data "alicloud_quotas_template_applications" "default" {
  ids               = ["${alicloud_quotas_template_applications.default.id}"]
  product_code      = "vpc"
  quota_action_code = "vpc_whitelist/ha_vip_whitelist"
  quota_category    = "FlowControl"
}

output "alicloud_quotas_template_applications_example_id" {
  value = data.alicloud_quotas_template_applications.default.applications.0.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported in addition to the arguments listed above: