tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getTeoZones
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
Use this data source to query detailed information of teo zoneAvailablePlans
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const teoZones = tencentcloud.getTeoZones({
filters: [
{
name: "zone-id",
values: ["zone-39quuimqg8r6"],
},
{
name: "tag-key",
values: ["createdBy"],
},
{
name: "tag-value",
values: ["terraform"],
},
],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
teo_zones = tencentcloud.get_teo_zones(filters=[
{
"name": "zone-id",
"values": ["zone-39quuimqg8r6"],
},
{
"name": "tag-key",
"values": ["createdBy"],
},
{
"name": "tag-value",
"values": ["terraform"],
},
])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetTeoZones(ctx, &tencentcloud.GetTeoZonesArgs{
Filters: []tencentcloud.GetTeoZonesFilter{
{
Name: "zone-id",
Values: []string{
"zone-39quuimqg8r6",
},
},
{
Name: "tag-key",
Values: []string{
"createdBy",
},
},
{
Name: "tag-value",
Values: []string{
"terraform",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var teoZones = Tencentcloud.GetTeoZones.Invoke(new()
{
Filters = new[]
{
new Tencentcloud.Inputs.GetTeoZonesFilterInputArgs
{
Name = "zone-id",
Values = new[]
{
"zone-39quuimqg8r6",
},
},
new Tencentcloud.Inputs.GetTeoZonesFilterInputArgs
{
Name = "tag-key",
Values = new[]
{
"createdBy",
},
},
new Tencentcloud.Inputs.GetTeoZonesFilterInputArgs
{
Name = "tag-value",
Values = new[]
{
"terraform",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetTeoZonesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var teoZones = TencentcloudFunctions.getTeoZones(GetTeoZonesArgs.builder()
.filters(
GetTeoZonesFilterArgs.builder()
.name("zone-id")
.values("zone-39quuimqg8r6")
.build(),
GetTeoZonesFilterArgs.builder()
.name("tag-key")
.values("createdBy")
.build(),
GetTeoZonesFilterArgs.builder()
.name("tag-value")
.values("terraform")
.build())
.build());
}
}
variables:
teoZones:
fn::invoke:
function: tencentcloud:getTeoZones
arguments:
filters:
- name: zone-id
values:
- zone-39quuimqg8r6
- name: tag-key
values:
- createdBy
- name: tag-value
values:
- terraform
Using getTeoZones
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTeoZones(args: GetTeoZonesArgs, opts?: InvokeOptions): Promise<GetTeoZonesResult>
function getTeoZonesOutput(args: GetTeoZonesOutputArgs, opts?: InvokeOptions): Output<GetTeoZonesResult>
def get_teo_zones(direction: Optional[str] = None,
filters: Optional[Sequence[GetTeoZonesFilter]] = None,
id: Optional[str] = None,
order: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTeoZonesResult
def get_teo_zones_output(direction: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetTeoZonesFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
order: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTeoZonesResult]
func GetTeoZones(ctx *Context, args *GetTeoZonesArgs, opts ...InvokeOption) (*GetTeoZonesResult, error)
func GetTeoZonesOutput(ctx *Context, args *GetTeoZonesOutputArgs, opts ...InvokeOption) GetTeoZonesResultOutput
> Note: This function is named GetTeoZones
in the Go SDK.
public static class GetTeoZones
{
public static Task<GetTeoZonesResult> InvokeAsync(GetTeoZonesArgs args, InvokeOptions? opts = null)
public static Output<GetTeoZonesResult> Invoke(GetTeoZonesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTeoZonesResult> getTeoZones(GetTeoZonesArgs args, InvokeOptions options)
public static Output<GetTeoZonesResult> getTeoZones(GetTeoZonesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getTeoZones:getTeoZones
arguments:
# arguments dictionary
The following arguments are supported:
- Direction 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
. - Filters
List<Get
Teo Zones Filter> - 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.
- Id string
- Order 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
. - Result
Output stringFile - Used to save results.
- Direction 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
. - Filters
[]Get
Teo Zones Filter - 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.
- Id string
- Order 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
. - Result
Output stringFile - Used to save results.
- direction 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
. - filters
List<Get
Teo Zones Filter> - 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.
- id String
- order 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
. - result
Output StringFile - Used to save results.
- direction 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
. - filters
Get
Teo Zones Filter[] - 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.
- id string
- order 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
. - result
Output stringFile - Used to save results.
- direction str
- 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
. - filters
Sequence[Get
Teo Zones Filter] - 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.
- id str
- order str
- 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
. - result_
output_ strfile - Used to save results.
- direction 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
. - filters List<Property Map>
- 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.
- id String
- order 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
. - result
Output StringFile - Used to save results.
getTeoZones Result
The following output properties are available:
- Id string
- Zones
List<Get
Teo Zones Zone> - Details of sites.
- Direction string
- Filters
List<Get
Teo Zones Filter> - Order string
- Result
Output stringFile
- Id string
- Zones
[]Get
Teo Zones Zone - Details of sites.
- Direction string
- Filters
[]Get
Teo Zones Filter - Order string
- Result
Output stringFile
- id String
- zones
List<Get
Teo Zones Zone> - Details of sites.
- direction String
- filters
List<Get
Teo Zones Filter> - order String
- result
Output StringFile
- id string
- zones
Get
Teo Zones Zone[] - Details of sites.
- direction string
- filters
Get
Teo Zones Filter[] - order string
- result
Output stringFile
- id str
- zones
Sequence[Get
Teo Zones Zone] - Details of sites.
- direction str
- filters
Sequence[Get
Teo Zones Filter] - order str
- result_
output_ strfile
- id String
- zones List<Property Map>
- Details of sites.
- direction String
- filters List<Property Map>
- order String
- result
Output StringFile
Supporting Types
GetTeoZonesFilter
GetTeoZonesZone
- Active
Status string - Alias
Zone stringName - Area string
- Cname
Speed stringUp - Cname
Status string - Created
On string - Is
Fake double - Lock
Status string - Modified
On string - Name
Servers List<string> - Original
Name List<string>Servers - Ownership
Verifications List<GetTeo Zones Zone Ownership Verification> - Paused bool
- Resources
List<Get
Teo Zones Zone Resource> - Status string
- List<Get
Teo Zones Zone Tag> - Type string
- Vanity
Name List<GetServers Teo Zones Zone Vanity Name Server> - Vanity
Name List<GetServers Ips Teo Zones Zone Vanity Name Servers Ip> - Zone
Id string - Zone
Name string
- Active
Status string - Alias
Zone stringName - Area string
- Cname
Speed stringUp - Cname
Status string - Created
On string - Is
Fake float64 - Lock
Status string - Modified
On string - Name
Servers []string - Original
Name []stringServers - Ownership
Verifications []GetTeo Zones Zone Ownership Verification - Paused bool
- Resources
[]Get
Teo Zones Zone Resource - Status string
- []Get
Teo Zones Zone Tag - Type string
- Vanity
Name []GetServers Teo Zones Zone Vanity Name Server - Vanity
Name []GetServers Ips Teo Zones Zone Vanity Name Servers Ip - Zone
Id string - Zone
Name string
- active
Status String - alias
Zone StringName - area String
- cname
Speed StringUp - cname
Status String - created
On String - is
Fake Double - lock
Status String - modified
On String - name
Servers List<String> - original
Name List<String>Servers - ownership
Verifications List<GetTeo Zones Zone Ownership Verification> - paused Boolean
- resources
List<Get
Teo Zones Zone Resource> - status String
- List<Get
Teo Zones Zone Tag> - type String
- vanity
Name List<GetServers Teo Zones Zone Vanity Name Server> - vanity
Name List<GetServers Ips Teo Zones Zone Vanity Name Servers Ip> - zone
Id String - zone
Name String
- active
Status string - alias
Zone stringName - area string
- cname
Speed stringUp - cname
Status string - created
On string - is
Fake number - lock
Status string - modified
On string - name
Servers string[] - original
Name string[]Servers - ownership
Verifications GetTeo Zones Zone Ownership Verification[] - paused boolean
- resources
Get
Teo Zones Zone Resource[] - status string
- Get
Teo Zones Zone Tag[] - type string
- vanity
Name GetServers Teo Zones Zone Vanity Name Server[] - vanity
Name GetServers Ips Teo Zones Zone Vanity Name Servers Ip[] - zone
Id string - zone
Name string
- active_
status str - alias_
zone_ strname - area str
- cname_
speed_ strup - cname_
status str - created_
on str - is_
fake float - lock_
status str - modified_
on str - name_
servers Sequence[str] - original_
name_ Sequence[str]servers - ownership_
verifications Sequence[GetTeo Zones Zone Ownership Verification] - paused bool
- resources
Sequence[Get
Teo Zones Zone Resource] - status str
- Sequence[Get
Teo Zones Zone Tag] - type str
- vanity_
name_ Sequence[Getservers Teo Zones Zone Vanity Name Server] - vanity_
name_ Sequence[Getservers_ ips Teo Zones Zone Vanity Name Servers Ip] - zone_
id str - zone_
name str
- active
Status String - alias
Zone StringName - area String
- cname
Speed StringUp - cname
Status String - created
On String - is
Fake Number - lock
Status String - modified
On String - name
Servers List<String> - original
Name List<String>Servers - ownership
Verifications List<Property Map> - paused Boolean
- resources List<Property Map>
- status String
- List<Property Map>
- type String
- vanity
Name List<Property Map>Servers - vanity
Name List<Property Map>Servers Ips - zone
Id String - zone
Name String
GetTeoZonesZoneOwnershipVerification
GetTeoZonesZoneOwnershipVerificationDnsVerification
- Record
Type string - Record
Value string - Subdomain string
- Record
Type string - Record
Value string - Subdomain string
- record
Type String - record
Value String - subdomain String
- record
Type string - record
Value string - subdomain string
- record_
type str - record_
value str - subdomain str
- record
Type String - record
Value String - subdomain String
GetTeoZonesZoneOwnershipVerificationFileVerification
GetTeoZonesZoneOwnershipVerificationNsVerification
- Name
Servers List<string>
- Name
Servers []string
- name
Servers List<String>
- name
Servers string[]
- name_
servers Sequence[str]
- name
Servers List<String>
GetTeoZonesZoneResource
- Area string
- Auto
Renew doubleFlag - Create
Time string - Enable
Time string - Expire
Time string - Group string
- Id string
- Pay
Mode double - Plan
Id string - Status string
- Svs
List<Get
Teo Zones Zone Resource Sv> - Type string
- Zone
Number double
- Area string
- Auto
Renew float64Flag - Create
Time string - Enable
Time string - Expire
Time string - Group string
- Id string
- Pay
Mode float64 - Plan
Id string - Status string
- Svs
[]Get
Teo Zones Zone Resource Sv - Type string
- Zone
Number float64
- area String
- auto
Renew DoubleFlag - create
Time String - enable
Time String - expire
Time String - group String
- id String
- pay
Mode Double - plan
Id String - status String
- svs
List<Get
Teo Zones Zone Resource Sv> - type String
- zone
Number Double
- area string
- auto
Renew numberFlag - create
Time string - enable
Time string - expire
Time string - group string
- id string
- pay
Mode number - plan
Id string - status string
- svs
Get
Teo Zones Zone Resource Sv[] - type string
- zone
Number number
- area str
- auto_
renew_ floatflag - create_
time str - enable_
time str - expire_
time str - group str
- id str
- pay_
mode float - plan_
id str - status str
- svs
Sequence[Get
Teo Zones Zone Resource Sv] - type str
- zone_
number float
- area String
- auto
Renew NumberFlag - create
Time String - enable
Time String - expire
Time String - group String
- id String
- pay
Mode Number - plan
Id String - status String
- svs List<Property Map>
- type String
- zone
Number Number
GetTeoZonesZoneResourceSv
- Instance
Id string - Key string
- Pack string
- Protection
Specs string - Value string
- Instance
Id string - Key string
- Pack string
- Protection
Specs string - Value string
- instance
Id String - key String
- pack String
- protection
Specs String - value String
- instance
Id string - key string
- pack string
- protection
Specs string - value string
- instance_
id str - key str
- pack str
- protection_
specs str - value str
- instance
Id String - key String
- pack String
- protection
Specs String - value String
GetTeoZonesZoneTag
GetTeoZonesZoneVanityNameServer
GetTeoZonesZoneVanityNameServersIp
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack