tencentcloud.TeoZone
Explore with Pulumi AI
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).
- Plan
Id 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.
- Zone
Name 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 stringName - 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.
- Dictionary<string, string>
- Tag description list.
- Teo
Zone stringId - 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).
- Plan
Id 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.
- Zone
Name 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 stringName - 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.
- map[string]string
- Tag description list.
- Teo
Zone stringId - 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).
- plan
Id 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.
- zone
Name 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 StringName - 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.
- Map<String,String>
- Tag description list.
- teo
Zone StringId - 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).
- plan
Id 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.
- zone
Name 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 stringName - 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.
- {[key: string]: string}
- Tag description list.
- teo
Zone stringId - 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_ strname - 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.
- Mapping[str, str]
- Tag description list.
- teo_
zone_ strid - 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).
- plan
Id 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.
- zone
Name 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 StringName - 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.
- Map<String>
- Tag description list.
- teo
Zone StringId - 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.
- Name
Servers List<string> - NS list allocated by Tencent Cloud.
- Ownership
Verifications List<TeoZone Ownership Verification> - 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.
- Name
Servers []string - NS list allocated by Tencent Cloud.
- Ownership
Verifications []TeoZone Ownership Verification - 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.
- name
Servers List<String> - NS list allocated by Tencent Cloud.
- ownership
Verifications List<TeoZone Ownership Verification> - 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.
- name
Servers string[] - NS list allocated by Tencent Cloud.
- ownership
Verifications TeoZone Ownership Verification[] - 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[TeoZone Ownership Verification] - 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.
- name
Servers List<String> - NS list allocated by Tencent Cloud.
- ownership
Verifications 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.
- Alias
Zone stringName - 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).
- Name
Servers List<string> - NS list allocated by Tencent Cloud.
- Ownership
Verifications List<TeoZone Ownership Verification> - 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 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. - Dictionary<string, string>
- Tag description list.
- Teo
Zone stringId - 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.
- Zone
Name 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 stringName - 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).
- Name
Servers []string - NS list allocated by Tencent Cloud.
- Ownership
Verifications []TeoZone Ownership Verification Args - 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 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. - map[string]string
- Tag description list.
- Teo
Zone stringId - 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.
- Zone
Name 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 StringName - 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).
- name
Servers List<String> - NS list allocated by Tencent Cloud.
- ownership
Verifications List<TeoZone Ownership Verification> - 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.
- plan
Id 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. - Map<String,String>
- Tag description list.
- teo
Zone StringId - 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.
- zone
Name 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 stringName - 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).
- name
Servers string[] - NS list allocated by Tencent Cloud.
- ownership
Verifications TeoZone Ownership Verification[] - 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.
- plan
Id 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. - {[key: string]: string}
- Tag description list.
- teo
Zone stringId - 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.
- zone
Name 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_ strname - 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[TeoZone Ownership Verification Args] - 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. - Mapping[str, str]
- Tag description list.
- teo_
zone_ strid - 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.
- alias
Zone StringName - 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).
- name
Servers List<String> - NS list allocated by Tencent Cloud.
- ownership
Verifications 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.
- plan
Id 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. - Map<String>
- Tag description list.
- teo
Zone StringId - 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.
- zone
Name 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
- Dns
Verifications List<TeoZone Ownership Verification Dns Verification> - 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 []TeoZone Ownership Verification Dns Verification - 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 List<TeoZone Ownership Verification Dns Verification> - 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 TeoZone Ownership Verification Dns Verification[] - 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[TeoZone Ownership Verification Dns Verification] - 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 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
- Record
Type string - Record type.
- Record
Value string - Record the value.
- Subdomain string
- Host record.
- Record
Type string - Record type.
- Record
Value string - Record the value.
- Subdomain string
- Host record.
- record
Type String - Record type.
- record
Value String - Record the value.
- subdomain String
- Host record.
- record
Type string - Record type.
- record
Value string - Record the value.
- subdomain string
- Host record.
- record_
type str - Record type.
- record_
value str - Record the value.
- subdomain str
- Host record.
- record
Type String - Record type.
- record
Value 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.