» alicloud_api_gateway_groups
This data source provides the api groups of the current Alibaba Cloud user.
» Example Usage
data "alicloud_api_gateway_groups" "data_apigatway"{
output_file = "outgroups"
}
output "first_group_id" {
value = "${data.alicloud_api_gateway_groups.data_apigatway.groups.0.id}"
}
» Argument Reference
The following arguments are supported:
-
name_regex
- (Optional) A regex string to filter api gateway groups by name. -
output_file
- (Optional) File name where to save data source results (after runningterraform plan
).
» Attributes Reference
The following attributes are exported in addition to the arguments listed above:
* groups
- A list of api groups. Each element contains the following attributes:
* id
- API group ID, which is generated by the system and globally unique.
* name
- API group name.
* description
- API group description.
* region_id
- The ID of the region where the API group is located.
* sub_domain
- Second-level domain name automatically assigned to the API group.
* created_time
- Creation time (Greenwich mean time).
* modified_time
- Last modification time (Greenwich mean time).
* traffic_limit
- Upper QPS limit of the API group; default value: 500, which can be increased by submitting an application.
* billing_status
- Billing status.
- NORMAL: The API group is normal.
- LOCKED: Locked due to outstanding payment.
* illegal_status
- Locking in invalid state.
- NORMAL: The API group is normal.
- LOCKED: Locked due to illegality.