1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. TeoZone
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.TeoZone

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a teo zone

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const zone = new tencentcloud.TeoZone("zone", {
        aliasZoneName: "teo-test",
        area: "overseas",
        paused: false,
        planId: "edgeone-2kfv1h391n6w",
        tags: {
            createdBy: "terraform",
        },
        type: "partial",
        zoneName: "tf-teo.com",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    zone = tencentcloud.TeoZone("zone",
        alias_zone_name="teo-test",
        area="overseas",
        paused=False,
        plan_id="edgeone-2kfv1h391n6w",
        tags={
            "createdBy": "terraform",
        },
        type="partial",
        zone_name="tf-teo.com")
    
    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.NewTeoZone(ctx, "zone", &tencentcloud.TeoZoneArgs{
    			AliasZoneName: pulumi.String("teo-test"),
    			Area:          pulumi.String("overseas"),
    			Paused:        pulumi.Bool(false),
    			PlanId:        pulumi.String("edgeone-2kfv1h391n6w"),
    			Tags: pulumi.StringMap{
    				"createdBy": pulumi.String("terraform"),
    			},
    			Type:     pulumi.String("partial"),
    			ZoneName: pulumi.String("tf-teo.com"),
    		})
    		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 zone = new Tencentcloud.TeoZone("zone", new()
        {
            AliasZoneName = "teo-test",
            Area = "overseas",
            Paused = false,
            PlanId = "edgeone-2kfv1h391n6w",
            Tags = 
            {
                { "createdBy", "terraform" },
            },
            Type = "partial",
            ZoneName = "tf-teo.com",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TeoZone;
    import com.pulumi.tencentcloud.TeoZoneArgs;
    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) {
            var zone = new TeoZone("zone", TeoZoneArgs.builder()
                .aliasZoneName("teo-test")
                .area("overseas")
                .paused(false)
                .planId("edgeone-2kfv1h391n6w")
                .tags(Map.of("createdBy", "terraform"))
                .type("partial")
                .zoneName("tf-teo.com")
                .build());
    
        }
    }
    
    resources:
      zone:
        type: tencentcloud:TeoZone
        properties:
          aliasZoneName: teo-test
          area: overseas
          paused: false
          planId: edgeone-2kfv1h391n6w
          tags:
            createdBy: terraform
          type: partial
          zoneName: tf-teo.com
    

    Create TeoZone Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TeoZone(name: string, args: TeoZoneArgs, opts?: CustomResourceOptions);
    @overload
    def TeoZone(resource_name: str,
                args: TeoZoneArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def TeoZone(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                area: Optional[str] = None,
                plan_id: Optional[str] = None,
                type: Optional[str] = None,
                zone_name: Optional[str] = None,
                alias_zone_name: Optional[str] = None,
                paused: Optional[bool] = None,
                tags: Optional[Mapping[str, str]] = None,
                teo_zone_id: Optional[str] = None)
    func NewTeoZone(ctx *Context, name string, args TeoZoneArgs, opts ...ResourceOption) (*TeoZone, error)
    public TeoZone(string name, TeoZoneArgs args, CustomResourceOptions? opts = null)
    public TeoZone(String name, TeoZoneArgs args)
    public TeoZone(String name, TeoZoneArgs args, CustomResourceOptions options)
    
    type: tencentcloud:TeoZone
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args TeoZoneArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TeoZoneArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TeoZoneArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TeoZoneArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TeoZoneArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    TeoZone Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The TeoZone resource accepts the following input properties:

    Area string
    When the Type value is partial/full, the acceleration region of the L7 domain name. The following are the values of this parameter, and the default value is overseas if not filled in. When the Type value is noDomainAccess, please leave this value empty:

    • global: Global availability zone.
    • mainland: Chinese mainland availability zone.
    • overseas: Global availability zone (excluding Chinese mainland).
    PlanId string
    The target Plan ID to be bound. When you have an existing Plan in your account, you can fill in this parameter to directly bind the site to the Plan. If you do not have a Plan that can be bound at the moment, please go to the console to purchase a Plan to complete the site creation.
    Type string
    Site access type. The value of this parameter is as follows, and the default is partial if not filled in:partial: CNAME access; full: NS access; noDomainAccess: No domain access.
    ZoneName string
    Site name. When accessing CNAME/NS, please pass the second-level domain (example.com) as the site name; when accessing without a domain name, please leave this value empty.
    AliasZoneName string
    Alias site identifier. Limit the input to a combination of numbers, English, - and _, within 20 characters. For details, refer to the alias site identifier. If there is no such usage scenario, leave this field empty.
    Paused bool
    Indicates whether the site is disabled.
    Tags Dictionary<string, string>
    Tag description list.
    TeoZoneId string
    ID of the resource.
    Area string
    When the Type value is partial/full, the acceleration region of the L7 domain name. The following are the values of this parameter, and the default value is overseas if not filled in. When the Type value is noDomainAccess, please leave this value empty:

    • global: Global availability zone.
    • mainland: Chinese mainland availability zone.
    • overseas: Global availability zone (excluding Chinese mainland).
    PlanId string
    The target Plan ID to be bound. When you have an existing Plan in your account, you can fill in this parameter to directly bind the site to the Plan. If you do not have a Plan that can be bound at the moment, please go to the console to purchase a Plan to complete the site creation.
    Type string
    Site access type. The value of this parameter is as follows, and the default is partial if not filled in:partial: CNAME access; full: NS access; noDomainAccess: No domain access.
    ZoneName string
    Site name. When accessing CNAME/NS, please pass the second-level domain (example.com) as the site name; when accessing without a domain name, please leave this value empty.
    AliasZoneName string
    Alias site identifier. Limit the input to a combination of numbers, English, - and _, within 20 characters. For details, refer to the alias site identifier. If there is no such usage scenario, leave this field empty.
    Paused bool
    Indicates whether the site is disabled.
    Tags map[string]string
    Tag description list.
    TeoZoneId string
    ID of the resource.
    area String
    When the Type value is partial/full, the acceleration region of the L7 domain name. The following are the values of this parameter, and the default value is overseas if not filled in. When the Type value is noDomainAccess, please leave this value empty:

    • global: Global availability zone.
    • mainland: Chinese mainland availability zone.
    • overseas: Global availability zone (excluding Chinese mainland).
    planId String
    The target Plan ID to be bound. When you have an existing Plan in your account, you can fill in this parameter to directly bind the site to the Plan. If you do not have a Plan that can be bound at the moment, please go to the console to purchase a Plan to complete the site creation.
    type String
    Site access type. The value of this parameter is as follows, and the default is partial if not filled in:partial: CNAME access; full: NS access; noDomainAccess: No domain access.
    zoneName String
    Site name. When accessing CNAME/NS, please pass the second-level domain (example.com) as the site name; when accessing without a domain name, please leave this value empty.
    aliasZoneName String
    Alias site identifier. Limit the input to a combination of numbers, English, - and _, within 20 characters. For details, refer to the alias site identifier. If there is no such usage scenario, leave this field empty.
    paused Boolean
    Indicates whether the site is disabled.
    tags Map<String,String>
    Tag description list.
    teoZoneId String
    ID of the resource.
    area string
    When the Type value is partial/full, the acceleration region of the L7 domain name. The following are the values of this parameter, and the default value is overseas if not filled in. When the Type value is noDomainAccess, please leave this value empty:

    • global: Global availability zone.
    • mainland: Chinese mainland availability zone.
    • overseas: Global availability zone (excluding Chinese mainland).
    planId string
    The target Plan ID to be bound. When you have an existing Plan in your account, you can fill in this parameter to directly bind the site to the Plan. If you do not have a Plan that can be bound at the moment, please go to the console to purchase a Plan to complete the site creation.
    type string
    Site access type. The value of this parameter is as follows, and the default is partial if not filled in:partial: CNAME access; full: NS access; noDomainAccess: No domain access.
    zoneName string
    Site name. When accessing CNAME/NS, please pass the second-level domain (example.com) as the site name; when accessing without a domain name, please leave this value empty.
    aliasZoneName string
    Alias site identifier. Limit the input to a combination of numbers, English, - and _, within 20 characters. For details, refer to the alias site identifier. If there is no such usage scenario, leave this field empty.
    paused boolean
    Indicates whether the site is disabled.
    tags {[key: string]: string}
    Tag description list.
    teoZoneId string
    ID of the resource.
    area str
    When the Type value is partial/full, the acceleration region of the L7 domain name. The following are the values of this parameter, and the default value is overseas if not filled in. When the Type value is noDomainAccess, please leave this value empty:

    • global: Global availability zone.
    • mainland: Chinese mainland availability zone.
    • overseas: Global availability zone (excluding Chinese mainland).
    plan_id str
    The target Plan ID to be bound. When you have an existing Plan in your account, you can fill in this parameter to directly bind the site to the Plan. If you do not have a Plan that can be bound at the moment, please go to the console to purchase a Plan to complete the site creation.
    type str
    Site access type. The value of this parameter is as follows, and the default is partial if not filled in:partial: CNAME access; full: NS access; noDomainAccess: No domain access.
    zone_name str
    Site name. When accessing CNAME/NS, please pass the second-level domain (example.com) as the site name; when accessing without a domain name, please leave this value empty.
    alias_zone_name str
    Alias site identifier. Limit the input to a combination of numbers, English, - and _, within 20 characters. For details, refer to the alias site identifier. If there is no such usage scenario, leave this field empty.
    paused bool
    Indicates whether the site is disabled.
    tags Mapping[str, str]
    Tag description list.
    teo_zone_id str
    ID of the resource.
    area String
    When the Type value is partial/full, the acceleration region of the L7 domain name. The following are the values of this parameter, and the default value is overseas if not filled in. When the Type value is noDomainAccess, please leave this value empty:

    • global: Global availability zone.
    • mainland: Chinese mainland availability zone.
    • overseas: Global availability zone (excluding Chinese mainland).
    planId String
    The target Plan ID to be bound. When you have an existing Plan in your account, you can fill in this parameter to directly bind the site to the Plan. If you do not have a Plan that can be bound at the moment, please go to the console to purchase a Plan to complete the site creation.
    type String
    Site access type. The value of this parameter is as follows, and the default is partial if not filled in:partial: CNAME access; full: NS access; noDomainAccess: No domain access.
    zoneName String
    Site name. When accessing CNAME/NS, please pass the second-level domain (example.com) as the site name; when accessing without a domain name, please leave this value empty.
    aliasZoneName String
    Alias site identifier. Limit the input to a combination of numbers, English, - and _, within 20 characters. For details, refer to the alias site identifier. If there is no such usage scenario, leave this field empty.
    paused Boolean
    Indicates whether the site is disabled.
    tags Map<String>
    Tag description list.
    teoZoneId String
    ID of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TeoZone resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    NameServers List<string>
    NS list allocated by Tencent Cloud.
    OwnershipVerifications List<TeoZoneOwnershipVerification>
    Ownership verification information. Note: This field may return null, indicating that no valid value can be obtained.
    Status string
    Site status. Valid values: active: NS is switched; pending: NS is not switched; moved: NS is moved; deactivated: this site is blocked.
    Id string
    The provider-assigned unique ID for this managed resource.
    NameServers []string
    NS list allocated by Tencent Cloud.
    OwnershipVerifications []TeoZoneOwnershipVerification
    Ownership verification information. Note: This field may return null, indicating that no valid value can be obtained.
    Status string
    Site status. Valid values: active: NS is switched; pending: NS is not switched; moved: NS is moved; deactivated: this site is blocked.
    id String
    The provider-assigned unique ID for this managed resource.
    nameServers List<String>
    NS list allocated by Tencent Cloud.
    ownershipVerifications List<TeoZoneOwnershipVerification>
    Ownership verification information. Note: This field may return null, indicating that no valid value can be obtained.
    status String
    Site status. Valid values: active: NS is switched; pending: NS is not switched; moved: NS is moved; deactivated: this site is blocked.
    id string
    The provider-assigned unique ID for this managed resource.
    nameServers string[]
    NS list allocated by Tencent Cloud.
    ownershipVerifications TeoZoneOwnershipVerification[]
    Ownership verification information. Note: This field may return null, indicating that no valid value can be obtained.
    status string
    Site status. Valid values: active: NS is switched; pending: NS is not switched; moved: NS is moved; deactivated: this site is blocked.
    id str
    The provider-assigned unique ID for this managed resource.
    name_servers Sequence[str]
    NS list allocated by Tencent Cloud.
    ownership_verifications Sequence[TeoZoneOwnershipVerification]
    Ownership verification information. Note: This field may return null, indicating that no valid value can be obtained.
    status str
    Site status. Valid values: active: NS is switched; pending: NS is not switched; moved: NS is moved; deactivated: this site is blocked.
    id String
    The provider-assigned unique ID for this managed resource.
    nameServers List<String>
    NS list allocated by Tencent Cloud.
    ownershipVerifications List<Property Map>
    Ownership verification information. Note: This field may return null, indicating that no valid value can be obtained.
    status String
    Site status. Valid values: active: NS is switched; pending: NS is not switched; moved: NS is moved; deactivated: this site is blocked.

    Look up Existing TeoZone Resource

    Get an existing TeoZone resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: TeoZoneState, opts?: CustomResourceOptions): TeoZone
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alias_zone_name: Optional[str] = None,
            area: Optional[str] = None,
            name_servers: Optional[Sequence[str]] = None,
            ownership_verifications: Optional[Sequence[TeoZoneOwnershipVerificationArgs]] = None,
            paused: Optional[bool] = None,
            plan_id: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            teo_zone_id: Optional[str] = None,
            type: Optional[str] = None,
            zone_name: Optional[str] = None) -> TeoZone
    func GetTeoZone(ctx *Context, name string, id IDInput, state *TeoZoneState, opts ...ResourceOption) (*TeoZone, error)
    public static TeoZone Get(string name, Input<string> id, TeoZoneState? state, CustomResourceOptions? opts = null)
    public static TeoZone get(String name, Output<String> id, TeoZoneState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TeoZone    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AliasZoneName string
    Alias site identifier. Limit the input to a combination of numbers, English, - and _, within 20 characters. For details, refer to the alias site identifier. If there is no such usage scenario, leave this field empty.
    Area string
    When the Type value is partial/full, the acceleration region of the L7 domain name. The following are the values of this parameter, and the default value is overseas if not filled in. When the Type value is noDomainAccess, please leave this value empty:

    • global: Global availability zone.
    • mainland: Chinese mainland availability zone.
    • overseas: Global availability zone (excluding Chinese mainland).
    NameServers List<string>
    NS list allocated by Tencent Cloud.
    OwnershipVerifications List<TeoZoneOwnershipVerification>
    Ownership verification information. Note: This field may return null, indicating that no valid value can be obtained.
    Paused bool
    Indicates whether the site is disabled.
    PlanId string
    The target Plan ID to be bound. When you have an existing Plan in your account, you can fill in this parameter to directly bind the site to the Plan. If you do not have a Plan that can be bound at the moment, please go to the console to purchase a Plan to complete the site creation.
    Status string
    Site status. Valid values: active: NS is switched; pending: NS is not switched; moved: NS is moved; deactivated: this site is blocked.
    Tags Dictionary<string, string>
    Tag description list.
    TeoZoneId string
    ID of the resource.
    Type string
    Site access type. The value of this parameter is as follows, and the default is partial if not filled in:partial: CNAME access; full: NS access; noDomainAccess: No domain access.
    ZoneName string
    Site name. When accessing CNAME/NS, please pass the second-level domain (example.com) as the site name; when accessing without a domain name, please leave this value empty.
    AliasZoneName string
    Alias site identifier. Limit the input to a combination of numbers, English, - and _, within 20 characters. For details, refer to the alias site identifier. If there is no such usage scenario, leave this field empty.
    Area string
    When the Type value is partial/full, the acceleration region of the L7 domain name. The following are the values of this parameter, and the default value is overseas if not filled in. When the Type value is noDomainAccess, please leave this value empty:

    • global: Global availability zone.
    • mainland: Chinese mainland availability zone.
    • overseas: Global availability zone (excluding Chinese mainland).
    NameServers []string
    NS list allocated by Tencent Cloud.
    OwnershipVerifications []TeoZoneOwnershipVerificationArgs
    Ownership verification information. Note: This field may return null, indicating that no valid value can be obtained.
    Paused bool
    Indicates whether the site is disabled.
    PlanId string
    The target Plan ID to be bound. When you have an existing Plan in your account, you can fill in this parameter to directly bind the site to the Plan. If you do not have a Plan that can be bound at the moment, please go to the console to purchase a Plan to complete the site creation.
    Status string
    Site status. Valid values: active: NS is switched; pending: NS is not switched; moved: NS is moved; deactivated: this site is blocked.
    Tags map[string]string
    Tag description list.
    TeoZoneId string
    ID of the resource.
    Type string
    Site access type. The value of this parameter is as follows, and the default is partial if not filled in:partial: CNAME access; full: NS access; noDomainAccess: No domain access.
    ZoneName string
    Site name. When accessing CNAME/NS, please pass the second-level domain (example.com) as the site name; when accessing without a domain name, please leave this value empty.
    aliasZoneName String
    Alias site identifier. Limit the input to a combination of numbers, English, - and _, within 20 characters. For details, refer to the alias site identifier. If there is no such usage scenario, leave this field empty.
    area String
    When the Type value is partial/full, the acceleration region of the L7 domain name. The following are the values of this parameter, and the default value is overseas if not filled in. When the Type value is noDomainAccess, please leave this value empty:

    • global: Global availability zone.
    • mainland: Chinese mainland availability zone.
    • overseas: Global availability zone (excluding Chinese mainland).
    nameServers List<String>
    NS list allocated by Tencent Cloud.
    ownershipVerifications List<TeoZoneOwnershipVerification>
    Ownership verification information. Note: This field may return null, indicating that no valid value can be obtained.
    paused Boolean
    Indicates whether the site is disabled.
    planId String
    The target Plan ID to be bound. When you have an existing Plan in your account, you can fill in this parameter to directly bind the site to the Plan. If you do not have a Plan that can be bound at the moment, please go to the console to purchase a Plan to complete the site creation.
    status String
    Site status. Valid values: active: NS is switched; pending: NS is not switched; moved: NS is moved; deactivated: this site is blocked.
    tags Map<String,String>
    Tag description list.
    teoZoneId String
    ID of the resource.
    type String
    Site access type. The value of this parameter is as follows, and the default is partial if not filled in:partial: CNAME access; full: NS access; noDomainAccess: No domain access.
    zoneName String
    Site name. When accessing CNAME/NS, please pass the second-level domain (example.com) as the site name; when accessing without a domain name, please leave this value empty.
    aliasZoneName string
    Alias site identifier. Limit the input to a combination of numbers, English, - and _, within 20 characters. For details, refer to the alias site identifier. If there is no such usage scenario, leave this field empty.
    area string
    When the Type value is partial/full, the acceleration region of the L7 domain name. The following are the values of this parameter, and the default value is overseas if not filled in. When the Type value is noDomainAccess, please leave this value empty:

    • global: Global availability zone.
    • mainland: Chinese mainland availability zone.
    • overseas: Global availability zone (excluding Chinese mainland).
    nameServers string[]
    NS list allocated by Tencent Cloud.
    ownershipVerifications TeoZoneOwnershipVerification[]
    Ownership verification information. Note: This field may return null, indicating that no valid value can be obtained.
    paused boolean
    Indicates whether the site is disabled.
    planId string
    The target Plan ID to be bound. When you have an existing Plan in your account, you can fill in this parameter to directly bind the site to the Plan. If you do not have a Plan that can be bound at the moment, please go to the console to purchase a Plan to complete the site creation.
    status string
    Site status. Valid values: active: NS is switched; pending: NS is not switched; moved: NS is moved; deactivated: this site is blocked.
    tags {[key: string]: string}
    Tag description list.
    teoZoneId string
    ID of the resource.
    type string
    Site access type. The value of this parameter is as follows, and the default is partial if not filled in:partial: CNAME access; full: NS access; noDomainAccess: No domain access.
    zoneName string
    Site name. When accessing CNAME/NS, please pass the second-level domain (example.com) as the site name; when accessing without a domain name, please leave this value empty.
    alias_zone_name str
    Alias site identifier. Limit the input to a combination of numbers, English, - and _, within 20 characters. For details, refer to the alias site identifier. If there is no such usage scenario, leave this field empty.
    area str
    When the Type value is partial/full, the acceleration region of the L7 domain name. The following are the values of this parameter, and the default value is overseas if not filled in. When the Type value is noDomainAccess, please leave this value empty:

    • global: Global availability zone.
    • mainland: Chinese mainland availability zone.
    • overseas: Global availability zone (excluding Chinese mainland).
    name_servers Sequence[str]
    NS list allocated by Tencent Cloud.
    ownership_verifications Sequence[TeoZoneOwnershipVerificationArgs]
    Ownership verification information. Note: This field may return null, indicating that no valid value can be obtained.
    paused bool
    Indicates whether the site is disabled.
    plan_id str
    The target Plan ID to be bound. When you have an existing Plan in your account, you can fill in this parameter to directly bind the site to the Plan. If you do not have a Plan that can be bound at the moment, please go to the console to purchase a Plan to complete the site creation.
    status str
    Site status. Valid values: active: NS is switched; pending: NS is not switched; moved: NS is moved; deactivated: this site is blocked.
    tags Mapping[str, str]
    Tag description list.
    teo_zone_id str
    ID of the resource.
    type str
    Site access type. The value of this parameter is as follows, and the default is partial if not filled in:partial: CNAME access; full: NS access; noDomainAccess: No domain access.
    zone_name str
    Site name. When accessing CNAME/NS, please pass the second-level domain (example.com) as the site name; when accessing without a domain name, please leave this value empty.
    aliasZoneName String
    Alias site identifier. Limit the input to a combination of numbers, English, - and _, within 20 characters. For details, refer to the alias site identifier. If there is no such usage scenario, leave this field empty.
    area String
    When the Type value is partial/full, the acceleration region of the L7 domain name. The following are the values of this parameter, and the default value is overseas if not filled in. When the Type value is noDomainAccess, please leave this value empty:

    • global: Global availability zone.
    • mainland: Chinese mainland availability zone.
    • overseas: Global availability zone (excluding Chinese mainland).
    nameServers List<String>
    NS list allocated by Tencent Cloud.
    ownershipVerifications List<Property Map>
    Ownership verification information. Note: This field may return null, indicating that no valid value can be obtained.
    paused Boolean
    Indicates whether the site is disabled.
    planId String
    The target Plan ID to be bound. When you have an existing Plan in your account, you can fill in this parameter to directly bind the site to the Plan. If you do not have a Plan that can be bound at the moment, please go to the console to purchase a Plan to complete the site creation.
    status String
    Site status. Valid values: active: NS is switched; pending: NS is not switched; moved: NS is moved; deactivated: this site is blocked.
    tags Map<String>
    Tag description list.
    teoZoneId String
    ID of the resource.
    type String
    Site access type. The value of this parameter is as follows, and the default is partial if not filled in:partial: CNAME access; full: NS access; noDomainAccess: No domain access.
    zoneName String
    Site name. When accessing CNAME/NS, please pass the second-level domain (example.com) as the site name; when accessing without a domain name, please leave this value empty.

    Supporting Types

    TeoZoneOwnershipVerification, TeoZoneOwnershipVerificationArgs

    DnsVerifications List<TeoZoneOwnershipVerificationDnsVerification>
    CNAME access, using DNS to resolve the information required for authentication. For details, please refer to Site/Domain Name Ownership Verification . Note: This field may return null, indicating that no valid value can be obtained.
    DnsVerifications []TeoZoneOwnershipVerificationDnsVerification
    CNAME access, using DNS to resolve the information required for authentication. For details, please refer to Site/Domain Name Ownership Verification . Note: This field may return null, indicating that no valid value can be obtained.
    dnsVerifications List<TeoZoneOwnershipVerificationDnsVerification>
    CNAME access, using DNS to resolve the information required for authentication. For details, please refer to Site/Domain Name Ownership Verification . Note: This field may return null, indicating that no valid value can be obtained.
    dnsVerifications TeoZoneOwnershipVerificationDnsVerification[]
    CNAME access, using DNS to resolve the information required for authentication. For details, please refer to Site/Domain Name Ownership Verification . Note: This field may return null, indicating that no valid value can be obtained.
    dns_verifications Sequence[TeoZoneOwnershipVerificationDnsVerification]
    CNAME access, using DNS to resolve the information required for authentication. For details, please refer to Site/Domain Name Ownership Verification . Note: This field may return null, indicating that no valid value can be obtained.
    dnsVerifications List<Property Map>
    CNAME access, using DNS to resolve the information required for authentication. For details, please refer to Site/Domain Name Ownership Verification . Note: This field may return null, indicating that no valid value can be obtained.

    TeoZoneOwnershipVerificationDnsVerification, TeoZoneOwnershipVerificationDnsVerificationArgs

    RecordType string
    Record type.
    RecordValue string
    Record the value.
    Subdomain string
    Host record.
    RecordType string
    Record type.
    RecordValue string
    Record the value.
    Subdomain string
    Host record.
    recordType String
    Record type.
    recordValue String
    Record the value.
    subdomain String
    Host record.
    recordType string
    Record type.
    recordValue string
    Record the value.
    subdomain string
    Host record.
    record_type str
    Record type.
    record_value str
    Record the value.
    subdomain str
    Host record.
    recordType String
    Record type.
    recordValue String
    Record the value.
    subdomain String
    Host record.

    Import

    teo zone can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/teoZone:TeoZone zone zone_id
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack