You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use this data source to query detailed information of teo zoneAvailablePlans
8
+
---
9
+
10
+
# tencentcloud_teo_zones
11
+
12
+
Use this data source to query detailed information of teo zoneAvailablePlans
13
+
14
+
## Example Usage
15
+
16
+
```hcl
17
+
data "tencentcloud_teo_zones" "teo_zones" {
18
+
filters {
19
+
name = "zone-id"
20
+
values = ["zone-39quuimqg8r6"]
21
+
}
22
+
23
+
filters {
24
+
name = "tag-key"
25
+
values = ["createdBy"]
26
+
}
27
+
28
+
filters {
29
+
name = "tag-value"
30
+
values = ["terraform"]
31
+
}
32
+
}
33
+
```
34
+
35
+
## Argument Reference
36
+
37
+
The following arguments are supported:
38
+
39
+
*`direction` - (Optional, String) Sort direction. If the field value is a number, sort by the numeric value. If the field value is text, sort by the ascill code. Values include: `asc`: From the smallest to largest; `desc`: From the largest to smallest. Default value: `desc`.
40
+
*`filters` - (Optional, List) Filter criteria. the maximum value of Filters.Values is 20. if this parameter is left empty, all site information authorized under the current appid will be returned. detailed filter criteria are as follows: zone-name: filter by site name; zone-id: filter by site id. the site id is in the format of zone-2noz78a8ev6k; status: filter by site status; tag-key: filter by tag key; tag-value: filter by tag value; alias-zone-name: filter by identical site identifier. when performing a fuzzy query, the fields that support filtering are named zone-name or alias-zone-name.
41
+
*`order` - (Optional, String) Sort the returned results according to this field. Values include: `type`: Connection mode; `area`: Acceleration region; `create-time`: Creation time; `zone-name`: Site name; `use-time`: Last used time; `active-status` Effective status. Default value: `create-time`.
42
+
*`result_output_file` - (Optional, String) Used to save results.
43
+
44
+
The `filters` object supports the following:
45
+
46
+
*`name` - (Required, String) Field to be filtered.
47
+
*`values` - (Required, Set) Value of the filtered field.
48
+
*`fuzzy` - (Optional, Bool) Whether to enable fuzzy query.
49
+
50
+
## Attributes Reference
51
+
52
+
In addition to all arguments above, the following attributes are exported:
0 commit comments