1. Packages
  2. Bytepluscc Provider
  3. API Docs
  4. dns
  5. Zone
bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus
bytepluscc logo
bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus

    资源里的zone就是域名,可以是主域名 例如 example.com,也可以是子域名 例如 abc.example.com

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
    
    const dnsZoneDemo = new bytepluscc.dns.Zone("DnsZoneDemo", {
        zoneName: "DnsZoneDemo",
        remark: "test",
        projectName: "default",
        tags: [{
            key: "env",
            value: "test",
        }],
    });
    
    import pulumi
    import pulumi_bytepluscc as bytepluscc
    
    dns_zone_demo = bytepluscc.dns.Zone("DnsZoneDemo",
        zone_name="DnsZoneDemo",
        remark="test",
        project_name="default",
        tags=[{
            "key": "env",
            "value": "test",
        }])
    
    package main
    
    import (
    	"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/dns"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dns.NewZone(ctx, "DnsZoneDemo", &dns.ZoneArgs{
    			ZoneName:    pulumi.String("DnsZoneDemo"),
    			Remark:      pulumi.String("test"),
    			ProjectName: pulumi.String("default"),
    			Tags: dns.ZoneTagArray{
    				&dns.ZoneTagArgs{
    					Key:   pulumi.String("env"),
    					Value: pulumi.String("test"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Bytepluscc = Byteplus.Pulumi.Bytepluscc;
    
    return await Deployment.RunAsync(() => 
    {
        var dnsZoneDemo = new Bytepluscc.Dns.Zone("DnsZoneDemo", new()
        {
            ZoneName = "DnsZoneDemo",
            Remark = "test",
            ProjectName = "default",
            Tags = new[]
            {
                new Bytepluscc.Dns.Inputs.ZoneTagArgs
                {
                    Key = "env",
                    Value = "test",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.byteplus.bytepluscc.dns.Zone;
    import com.byteplus.bytepluscc.dns.ZoneArgs;
    import com.pulumi.bytepluscc.dns.inputs.ZoneTagArgs;
    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 dnsZoneDemo = new Zone("dnsZoneDemo", ZoneArgs.builder()
                .zoneName("DnsZoneDemo")
                .remark("test")
                .projectName("default")
                .tags(ZoneTagArgs.builder()
                    .key("env")
                    .value("test")
                    .build())
                .build());
    
        }
    }
    
    resources:
      dnsZoneDemo:
        type: bytepluscc:dns:Zone
        name: DnsZoneDemo
        properties:
          zoneName: DnsZoneDemo
          remark: test
          projectName: default
          tags:
            - key: env
              value: test
    

    Create Zone Resource

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

    Constructor syntax

    new Zone(name: string, args: ZoneArgs, opts?: CustomResourceOptions);
    @overload
    def Zone(resource_name: str,
             args: ZoneArgs,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Zone(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             zone_name: Optional[str] = None,
             project_name: Optional[str] = None,
             remark: Optional[str] = None,
             tags: Optional[Sequence[ZoneTagArgs]] = None)
    func NewZone(ctx *Context, name string, args ZoneArgs, opts ...ResourceOption) (*Zone, error)
    public Zone(string name, ZoneArgs args, CustomResourceOptions? opts = null)
    public Zone(String name, ZoneArgs args)
    public Zone(String name, ZoneArgs args, CustomResourceOptions options)
    
    type: bytepluscc:dns:Zone
    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 ZoneArgs
    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 ZoneArgs
    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 ZoneArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ZoneArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ZoneArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var zoneResource = new Bytepluscc.Dns.Zone("zoneResource", new()
    {
        ZoneName = "string",
        ProjectName = "string",
        Remark = "string",
        Tags = new[]
        {
            new Bytepluscc.Dns.Inputs.ZoneTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    });
    
    example, err := dns.NewZone(ctx, "zoneResource", &dns.ZoneArgs{
    	ZoneName:    pulumi.String("string"),
    	ProjectName: pulumi.String("string"),
    	Remark:      pulumi.String("string"),
    	Tags: dns.ZoneTagArray{
    		&dns.ZoneTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    })
    
    var zoneResource = new Zone("zoneResource", ZoneArgs.builder()
        .zoneName("string")
        .projectName("string")
        .remark("string")
        .tags(ZoneTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build());
    
    zone_resource = bytepluscc.dns.Zone("zoneResource",
        zone_name="string",
        project_name="string",
        remark="string",
        tags=[{
            "key": "string",
            "value": "string",
        }])
    
    const zoneResource = new bytepluscc.dns.Zone("zoneResource", {
        zoneName: "string",
        projectName: "string",
        remark: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    type: bytepluscc:dns:Zone
    properties:
        projectName: string
        remark: string
        tags:
            - key: string
              value: string
        zoneName: string
    

    Zone 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 Zone resource accepts the following input properties:

    ZoneName string
    域名。
    ProjectName string
    域名的项目。
    Remark string
    域名的备注。
    Tags List<Byteplus.ZoneTag>
    ZoneName string
    域名。
    ProjectName string
    域名的项目。
    Remark string
    域名的备注。
    Tags []ZoneTagArgs
    zoneName String
    域名。
    projectName String
    域名的项目。
    remark String
    域名的备注。
    tags List<ZoneTag>
    zoneName string
    域名。
    projectName string
    域名的项目。
    remark string
    域名的备注。
    tags ZoneTag[]
    zone_name str
    域名。
    project_name str
    域名的项目。
    remark str
    域名的备注。
    tags Sequence[ZoneTagArgs]
    zoneName String
    域名。
    projectName String
    域名的项目。
    remark String
    域名的备注。
    tags List<Property Map>

    Outputs

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

    AllocateDnsServerLists List<string>
    云解析 DNS 分配给域名的 DNS 服务器列表。
    AutoRenew bool
    是否开启域名自动续费。true:开启域名自动续费。false:关闭域名自动续费。
    CacheStage int
    域名所有权的状态。该参数有以下取值:0:表示您是域名的所有者。您添加此域名后,就可以管理该域名的 DNS 解析。1:表示您不是域名的所有者。您添加此域名后,该域名的状态是 域名待找回。如果您要管理该域名的 DNS 解析,您需要在控制台根据提示验证您的域名所有权。
    CreatedTime string
    域名的创建时间。
    DnsSecurity string
    DNS DDoS 防护服务的版本。dnssecuritystandard_inner:安全防护标准版。"":无安全防护版。
    ExpiredTime int
    实例的过期时间。格式是 Unix 时间戳。对于云解析 DNS 免费版,该字段的值为 null。
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    InstanceNo string
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    IsNsCorrect bool
    DNS 服务器的配置是否正确。如果配置正确,该域名在云解析 DNS 中的状态是 正常。该参数有以下取值:true: RealDNSServerList的 DNS 服务器列表包含所有 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是正确的。false: RealDNSServerList的 DNS 服务器列表包含部分或者未包含 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是不正确的。
    IsSubDomain bool
    是否是子域名。true:子域名。false:主域名。
    LastOperator string
    创建该域名的用户的账号的 ID。
    RealDnsServerLists List<string>
    域名实际使用的 DNS 服务器列表。
    RecordCount int
    域名所包含的解析记录的总数。
    Stage int
    域名的状态。该参数有以下取值:0:正常。在该状态下,该域名的解析记录处于生效状态。1:域名待找回。在该状态下,该域名的解析记录不生效。该状态表示您不是该域名的所有者。如果您需要管理域名解析,您需要验证您的域名所有权。2:未使用TrafficRoute解析。在该状态下,该域名的解析记录不生效。该状态表示分配给该域名的 DNS 服务器不是云解析 DNS 的 DNS 服务器。3:异常。在该状态下,该域名的解析记录不生效。引起该状态的常见原因如下:域名未实名认证导致域名被注册局或注册商停用。域名未配置 DNS 服务器。域名未注册。API 在查询域名时超时。超时原因可能是网络问题。5:请变更DNS服务器。该状态表示由于云解析 DNS 的服务升级或变更,您需要把域名的 DNS 服务器更新为云解析 DNS 新分配的 DNS 服务器。
    SubDomainHost string
    子域名的域名前缀。如果该域名不是子域名,那么该参数为 null。
    TradeCode string
    域名的功能版本。该参数有以下取值:freeinner:免费版。professionalinner:专业版。enterpriseinner:企业版。ultimateinner:旗舰版。ultimateexclusiveinner:尊享版。
    UpdatedTime string
    域名最近一次的更新时间。更新操作包括:更新域名备注在域名下创建解析记录。
    Zid string
    域名的 ID。
    AllocateDnsServerLists []string
    云解析 DNS 分配给域名的 DNS 服务器列表。
    AutoRenew bool
    是否开启域名自动续费。true:开启域名自动续费。false:关闭域名自动续费。
    CacheStage int
    域名所有权的状态。该参数有以下取值:0:表示您是域名的所有者。您添加此域名后,就可以管理该域名的 DNS 解析。1:表示您不是域名的所有者。您添加此域名后,该域名的状态是 域名待找回。如果您要管理该域名的 DNS 解析,您需要在控制台根据提示验证您的域名所有权。
    CreatedTime string
    域名的创建时间。
    DnsSecurity string
    DNS DDoS 防护服务的版本。dnssecuritystandard_inner:安全防护标准版。"":无安全防护版。
    ExpiredTime int
    实例的过期时间。格式是 Unix 时间戳。对于云解析 DNS 免费版,该字段的值为 null。
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    InstanceNo string
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    IsNsCorrect bool
    DNS 服务器的配置是否正确。如果配置正确,该域名在云解析 DNS 中的状态是 正常。该参数有以下取值:true: RealDNSServerList的 DNS 服务器列表包含所有 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是正确的。false: RealDNSServerList的 DNS 服务器列表包含部分或者未包含 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是不正确的。
    IsSubDomain bool
    是否是子域名。true:子域名。false:主域名。
    LastOperator string
    创建该域名的用户的账号的 ID。
    RealDnsServerLists []string
    域名实际使用的 DNS 服务器列表。
    RecordCount int
    域名所包含的解析记录的总数。
    Stage int
    域名的状态。该参数有以下取值:0:正常。在该状态下,该域名的解析记录处于生效状态。1:域名待找回。在该状态下,该域名的解析记录不生效。该状态表示您不是该域名的所有者。如果您需要管理域名解析,您需要验证您的域名所有权。2:未使用TrafficRoute解析。在该状态下,该域名的解析记录不生效。该状态表示分配给该域名的 DNS 服务器不是云解析 DNS 的 DNS 服务器。3:异常。在该状态下,该域名的解析记录不生效。引起该状态的常见原因如下:域名未实名认证导致域名被注册局或注册商停用。域名未配置 DNS 服务器。域名未注册。API 在查询域名时超时。超时原因可能是网络问题。5:请变更DNS服务器。该状态表示由于云解析 DNS 的服务升级或变更,您需要把域名的 DNS 服务器更新为云解析 DNS 新分配的 DNS 服务器。
    SubDomainHost string
    子域名的域名前缀。如果该域名不是子域名,那么该参数为 null。
    TradeCode string
    域名的功能版本。该参数有以下取值:freeinner:免费版。professionalinner:专业版。enterpriseinner:企业版。ultimateinner:旗舰版。ultimateexclusiveinner:尊享版。
    UpdatedTime string
    域名最近一次的更新时间。更新操作包括:更新域名备注在域名下创建解析记录。
    Zid string
    域名的 ID。
    allocateDnsServerLists List<String>
    云解析 DNS 分配给域名的 DNS 服务器列表。
    autoRenew Boolean
    是否开启域名自动续费。true:开启域名自动续费。false:关闭域名自动续费。
    cacheStage Integer
    域名所有权的状态。该参数有以下取值:0:表示您是域名的所有者。您添加此域名后,就可以管理该域名的 DNS 解析。1:表示您不是域名的所有者。您添加此域名后,该域名的状态是 域名待找回。如果您要管理该域名的 DNS 解析,您需要在控制台根据提示验证您的域名所有权。
    createdTime String
    域名的创建时间。
    dnsSecurity String
    DNS DDoS 防护服务的版本。dnssecuritystandard_inner:安全防护标准版。"":无安全防护版。
    expiredTime Integer
    实例的过期时间。格式是 Unix 时间戳。对于云解析 DNS 免费版,该字段的值为 null。
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    instanceNo String
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    isNsCorrect Boolean
    DNS 服务器的配置是否正确。如果配置正确,该域名在云解析 DNS 中的状态是 正常。该参数有以下取值:true: RealDNSServerList的 DNS 服务器列表包含所有 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是正确的。false: RealDNSServerList的 DNS 服务器列表包含部分或者未包含 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是不正确的。
    isSubDomain Boolean
    是否是子域名。true:子域名。false:主域名。
    lastOperator String
    创建该域名的用户的账号的 ID。
    realDnsServerLists List<String>
    域名实际使用的 DNS 服务器列表。
    recordCount Integer
    域名所包含的解析记录的总数。
    stage Integer
    域名的状态。该参数有以下取值:0:正常。在该状态下,该域名的解析记录处于生效状态。1:域名待找回。在该状态下,该域名的解析记录不生效。该状态表示您不是该域名的所有者。如果您需要管理域名解析,您需要验证您的域名所有权。2:未使用TrafficRoute解析。在该状态下,该域名的解析记录不生效。该状态表示分配给该域名的 DNS 服务器不是云解析 DNS 的 DNS 服务器。3:异常。在该状态下,该域名的解析记录不生效。引起该状态的常见原因如下:域名未实名认证导致域名被注册局或注册商停用。域名未配置 DNS 服务器。域名未注册。API 在查询域名时超时。超时原因可能是网络问题。5:请变更DNS服务器。该状态表示由于云解析 DNS 的服务升级或变更,您需要把域名的 DNS 服务器更新为云解析 DNS 新分配的 DNS 服务器。
    subDomainHost String
    子域名的域名前缀。如果该域名不是子域名,那么该参数为 null。
    tradeCode String
    域名的功能版本。该参数有以下取值:freeinner:免费版。professionalinner:专业版。enterpriseinner:企业版。ultimateinner:旗舰版。ultimateexclusiveinner:尊享版。
    updatedTime String
    域名最近一次的更新时间。更新操作包括:更新域名备注在域名下创建解析记录。
    zid String
    域名的 ID。
    allocateDnsServerLists string[]
    云解析 DNS 分配给域名的 DNS 服务器列表。
    autoRenew boolean
    是否开启域名自动续费。true:开启域名自动续费。false:关闭域名自动续费。
    cacheStage number
    域名所有权的状态。该参数有以下取值:0:表示您是域名的所有者。您添加此域名后,就可以管理该域名的 DNS 解析。1:表示您不是域名的所有者。您添加此域名后,该域名的状态是 域名待找回。如果您要管理该域名的 DNS 解析,您需要在控制台根据提示验证您的域名所有权。
    createdTime string
    域名的创建时间。
    dnsSecurity string
    DNS DDoS 防护服务的版本。dnssecuritystandard_inner:安全防护标准版。"":无安全防护版。
    expiredTime number
    实例的过期时间。格式是 Unix 时间戳。对于云解析 DNS 免费版,该字段的值为 null。
    id string
    The provider-assigned unique ID for this managed resource.
    instanceId string
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    instanceNo string
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    isNsCorrect boolean
    DNS 服务器的配置是否正确。如果配置正确,该域名在云解析 DNS 中的状态是 正常。该参数有以下取值:true: RealDNSServerList的 DNS 服务器列表包含所有 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是正确的。false: RealDNSServerList的 DNS 服务器列表包含部分或者未包含 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是不正确的。
    isSubDomain boolean
    是否是子域名。true:子域名。false:主域名。
    lastOperator string
    创建该域名的用户的账号的 ID。
    realDnsServerLists string[]
    域名实际使用的 DNS 服务器列表。
    recordCount number
    域名所包含的解析记录的总数。
    stage number
    域名的状态。该参数有以下取值:0:正常。在该状态下,该域名的解析记录处于生效状态。1:域名待找回。在该状态下,该域名的解析记录不生效。该状态表示您不是该域名的所有者。如果您需要管理域名解析,您需要验证您的域名所有权。2:未使用TrafficRoute解析。在该状态下,该域名的解析记录不生效。该状态表示分配给该域名的 DNS 服务器不是云解析 DNS 的 DNS 服务器。3:异常。在该状态下,该域名的解析记录不生效。引起该状态的常见原因如下:域名未实名认证导致域名被注册局或注册商停用。域名未配置 DNS 服务器。域名未注册。API 在查询域名时超时。超时原因可能是网络问题。5:请变更DNS服务器。该状态表示由于云解析 DNS 的服务升级或变更,您需要把域名的 DNS 服务器更新为云解析 DNS 新分配的 DNS 服务器。
    subDomainHost string
    子域名的域名前缀。如果该域名不是子域名,那么该参数为 null。
    tradeCode string
    域名的功能版本。该参数有以下取值:freeinner:免费版。professionalinner:专业版。enterpriseinner:企业版。ultimateinner:旗舰版。ultimateexclusiveinner:尊享版。
    updatedTime string
    域名最近一次的更新时间。更新操作包括:更新域名备注在域名下创建解析记录。
    zid string
    域名的 ID。
    allocate_dns_server_lists Sequence[str]
    云解析 DNS 分配给域名的 DNS 服务器列表。
    auto_renew bool
    是否开启域名自动续费。true:开启域名自动续费。false:关闭域名自动续费。
    cache_stage int
    域名所有权的状态。该参数有以下取值:0:表示您是域名的所有者。您添加此域名后,就可以管理该域名的 DNS 解析。1:表示您不是域名的所有者。您添加此域名后,该域名的状态是 域名待找回。如果您要管理该域名的 DNS 解析,您需要在控制台根据提示验证您的域名所有权。
    created_time str
    域名的创建时间。
    dns_security str
    DNS DDoS 防护服务的版本。dnssecuritystandard_inner:安全防护标准版。"":无安全防护版。
    expired_time int
    实例的过期时间。格式是 Unix 时间戳。对于云解析 DNS 免费版,该字段的值为 null。
    id str
    The provider-assigned unique ID for this managed resource.
    instance_id str
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    instance_no str
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    is_ns_correct bool
    DNS 服务器的配置是否正确。如果配置正确,该域名在云解析 DNS 中的状态是 正常。该参数有以下取值:true: RealDNSServerList的 DNS 服务器列表包含所有 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是正确的。false: RealDNSServerList的 DNS 服务器列表包含部分或者未包含 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是不正确的。
    is_sub_domain bool
    是否是子域名。true:子域名。false:主域名。
    last_operator str
    创建该域名的用户的账号的 ID。
    real_dns_server_lists Sequence[str]
    域名实际使用的 DNS 服务器列表。
    record_count int
    域名所包含的解析记录的总数。
    stage int
    域名的状态。该参数有以下取值:0:正常。在该状态下,该域名的解析记录处于生效状态。1:域名待找回。在该状态下,该域名的解析记录不生效。该状态表示您不是该域名的所有者。如果您需要管理域名解析,您需要验证您的域名所有权。2:未使用TrafficRoute解析。在该状态下,该域名的解析记录不生效。该状态表示分配给该域名的 DNS 服务器不是云解析 DNS 的 DNS 服务器。3:异常。在该状态下,该域名的解析记录不生效。引起该状态的常见原因如下:域名未实名认证导致域名被注册局或注册商停用。域名未配置 DNS 服务器。域名未注册。API 在查询域名时超时。超时原因可能是网络问题。5:请变更DNS服务器。该状态表示由于云解析 DNS 的服务升级或变更,您需要把域名的 DNS 服务器更新为云解析 DNS 新分配的 DNS 服务器。
    sub_domain_host str
    子域名的域名前缀。如果该域名不是子域名,那么该参数为 null。
    trade_code str
    域名的功能版本。该参数有以下取值:freeinner:免费版。professionalinner:专业版。enterpriseinner:企业版。ultimateinner:旗舰版。ultimateexclusiveinner:尊享版。
    updated_time str
    域名最近一次的更新时间。更新操作包括:更新域名备注在域名下创建解析记录。
    zid str
    域名的 ID。
    allocateDnsServerLists List<String>
    云解析 DNS 分配给域名的 DNS 服务器列表。
    autoRenew Boolean
    是否开启域名自动续费。true:开启域名自动续费。false:关闭域名自动续费。
    cacheStage Number
    域名所有权的状态。该参数有以下取值:0:表示您是域名的所有者。您添加此域名后,就可以管理该域名的 DNS 解析。1:表示您不是域名的所有者。您添加此域名后,该域名的状态是 域名待找回。如果您要管理该域名的 DNS 解析,您需要在控制台根据提示验证您的域名所有权。
    createdTime String
    域名的创建时间。
    dnsSecurity String
    DNS DDoS 防护服务的版本。dnssecuritystandard_inner:安全防护标准版。"":无安全防护版。
    expiredTime Number
    实例的过期时间。格式是 Unix 时间戳。对于云解析 DNS 免费版,该字段的值为 null。
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    instanceNo String
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    isNsCorrect Boolean
    DNS 服务器的配置是否正确。如果配置正确,该域名在云解析 DNS 中的状态是 正常。该参数有以下取值:true: RealDNSServerList的 DNS 服务器列表包含所有 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是正确的。false: RealDNSServerList的 DNS 服务器列表包含部分或者未包含 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是不正确的。
    isSubDomain Boolean
    是否是子域名。true:子域名。false:主域名。
    lastOperator String
    创建该域名的用户的账号的 ID。
    realDnsServerLists List<String>
    域名实际使用的 DNS 服务器列表。
    recordCount Number
    域名所包含的解析记录的总数。
    stage Number
    域名的状态。该参数有以下取值:0:正常。在该状态下,该域名的解析记录处于生效状态。1:域名待找回。在该状态下,该域名的解析记录不生效。该状态表示您不是该域名的所有者。如果您需要管理域名解析,您需要验证您的域名所有权。2:未使用TrafficRoute解析。在该状态下,该域名的解析记录不生效。该状态表示分配给该域名的 DNS 服务器不是云解析 DNS 的 DNS 服务器。3:异常。在该状态下,该域名的解析记录不生效。引起该状态的常见原因如下:域名未实名认证导致域名被注册局或注册商停用。域名未配置 DNS 服务器。域名未注册。API 在查询域名时超时。超时原因可能是网络问题。5:请变更DNS服务器。该状态表示由于云解析 DNS 的服务升级或变更,您需要把域名的 DNS 服务器更新为云解析 DNS 新分配的 DNS 服务器。
    subDomainHost String
    子域名的域名前缀。如果该域名不是子域名,那么该参数为 null。
    tradeCode String
    域名的功能版本。该参数有以下取值:freeinner:免费版。professionalinner:专业版。enterpriseinner:企业版。ultimateinner:旗舰版。ultimateexclusiveinner:尊享版。
    updatedTime String
    域名最近一次的更新时间。更新操作包括:更新域名备注在域名下创建解析记录。
    zid String
    域名的 ID。

    Look up Existing Zone Resource

    Get an existing Zone 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?: ZoneState, opts?: CustomResourceOptions): Zone
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allocate_dns_server_lists: Optional[Sequence[str]] = None,
            auto_renew: Optional[bool] = None,
            cache_stage: Optional[int] = None,
            created_time: Optional[str] = None,
            dns_security: Optional[str] = None,
            expired_time: Optional[int] = None,
            instance_id: Optional[str] = None,
            instance_no: Optional[str] = None,
            is_ns_correct: Optional[bool] = None,
            is_sub_domain: Optional[bool] = None,
            last_operator: Optional[str] = None,
            project_name: Optional[str] = None,
            real_dns_server_lists: Optional[Sequence[str]] = None,
            record_count: Optional[int] = None,
            remark: Optional[str] = None,
            stage: Optional[int] = None,
            sub_domain_host: Optional[str] = None,
            tags: Optional[Sequence[ZoneTagArgs]] = None,
            trade_code: Optional[str] = None,
            updated_time: Optional[str] = None,
            zid: Optional[str] = None,
            zone_name: Optional[str] = None) -> Zone
    func GetZone(ctx *Context, name string, id IDInput, state *ZoneState, opts ...ResourceOption) (*Zone, error)
    public static Zone Get(string name, Input<string> id, ZoneState? state, CustomResourceOptions? opts = null)
    public static Zone get(String name, Output<String> id, ZoneState state, CustomResourceOptions options)
    resources:  _:    type: bytepluscc:dns:Zone    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:
    AllocateDnsServerLists List<string>
    云解析 DNS 分配给域名的 DNS 服务器列表。
    AutoRenew bool
    是否开启域名自动续费。true:开启域名自动续费。false:关闭域名自动续费。
    CacheStage int
    域名所有权的状态。该参数有以下取值:0:表示您是域名的所有者。您添加此域名后,就可以管理该域名的 DNS 解析。1:表示您不是域名的所有者。您添加此域名后,该域名的状态是 域名待找回。如果您要管理该域名的 DNS 解析,您需要在控制台根据提示验证您的域名所有权。
    CreatedTime string
    域名的创建时间。
    DnsSecurity string
    DNS DDoS 防护服务的版本。dnssecuritystandard_inner:安全防护标准版。"":无安全防护版。
    ExpiredTime int
    实例的过期时间。格式是 Unix 时间戳。对于云解析 DNS 免费版,该字段的值为 null。
    InstanceId string
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    InstanceNo string
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    IsNsCorrect bool
    DNS 服务器的配置是否正确。如果配置正确,该域名在云解析 DNS 中的状态是 正常。该参数有以下取值:true: RealDNSServerList的 DNS 服务器列表包含所有 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是正确的。false: RealDNSServerList的 DNS 服务器列表包含部分或者未包含 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是不正确的。
    IsSubDomain bool
    是否是子域名。true:子域名。false:主域名。
    LastOperator string
    创建该域名的用户的账号的 ID。
    ProjectName string
    域名的项目。
    RealDnsServerLists List<string>
    域名实际使用的 DNS 服务器列表。
    RecordCount int
    域名所包含的解析记录的总数。
    Remark string
    域名的备注。
    Stage int
    域名的状态。该参数有以下取值:0:正常。在该状态下,该域名的解析记录处于生效状态。1:域名待找回。在该状态下,该域名的解析记录不生效。该状态表示您不是该域名的所有者。如果您需要管理域名解析,您需要验证您的域名所有权。2:未使用TrafficRoute解析。在该状态下,该域名的解析记录不生效。该状态表示分配给该域名的 DNS 服务器不是云解析 DNS 的 DNS 服务器。3:异常。在该状态下,该域名的解析记录不生效。引起该状态的常见原因如下:域名未实名认证导致域名被注册局或注册商停用。域名未配置 DNS 服务器。域名未注册。API 在查询域名时超时。超时原因可能是网络问题。5:请变更DNS服务器。该状态表示由于云解析 DNS 的服务升级或变更,您需要把域名的 DNS 服务器更新为云解析 DNS 新分配的 DNS 服务器。
    SubDomainHost string
    子域名的域名前缀。如果该域名不是子域名,那么该参数为 null。
    Tags List<Byteplus.ZoneTag>
    TradeCode string
    域名的功能版本。该参数有以下取值:freeinner:免费版。professionalinner:专业版。enterpriseinner:企业版。ultimateinner:旗舰版。ultimateexclusiveinner:尊享版。
    UpdatedTime string
    域名最近一次的更新时间。更新操作包括:更新域名备注在域名下创建解析记录。
    Zid string
    域名的 ID。
    ZoneName string
    域名。
    AllocateDnsServerLists []string
    云解析 DNS 分配给域名的 DNS 服务器列表。
    AutoRenew bool
    是否开启域名自动续费。true:开启域名自动续费。false:关闭域名自动续费。
    CacheStage int
    域名所有权的状态。该参数有以下取值:0:表示您是域名的所有者。您添加此域名后,就可以管理该域名的 DNS 解析。1:表示您不是域名的所有者。您添加此域名后,该域名的状态是 域名待找回。如果您要管理该域名的 DNS 解析,您需要在控制台根据提示验证您的域名所有权。
    CreatedTime string
    域名的创建时间。
    DnsSecurity string
    DNS DDoS 防护服务的版本。dnssecuritystandard_inner:安全防护标准版。"":无安全防护版。
    ExpiredTime int
    实例的过期时间。格式是 Unix 时间戳。对于云解析 DNS 免费版,该字段的值为 null。
    InstanceId string
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    InstanceNo string
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    IsNsCorrect bool
    DNS 服务器的配置是否正确。如果配置正确,该域名在云解析 DNS 中的状态是 正常。该参数有以下取值:true: RealDNSServerList的 DNS 服务器列表包含所有 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是正确的。false: RealDNSServerList的 DNS 服务器列表包含部分或者未包含 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是不正确的。
    IsSubDomain bool
    是否是子域名。true:子域名。false:主域名。
    LastOperator string
    创建该域名的用户的账号的 ID。
    ProjectName string
    域名的项目。
    RealDnsServerLists []string
    域名实际使用的 DNS 服务器列表。
    RecordCount int
    域名所包含的解析记录的总数。
    Remark string
    域名的备注。
    Stage int
    域名的状态。该参数有以下取值:0:正常。在该状态下,该域名的解析记录处于生效状态。1:域名待找回。在该状态下,该域名的解析记录不生效。该状态表示您不是该域名的所有者。如果您需要管理域名解析,您需要验证您的域名所有权。2:未使用TrafficRoute解析。在该状态下,该域名的解析记录不生效。该状态表示分配给该域名的 DNS 服务器不是云解析 DNS 的 DNS 服务器。3:异常。在该状态下,该域名的解析记录不生效。引起该状态的常见原因如下:域名未实名认证导致域名被注册局或注册商停用。域名未配置 DNS 服务器。域名未注册。API 在查询域名时超时。超时原因可能是网络问题。5:请变更DNS服务器。该状态表示由于云解析 DNS 的服务升级或变更,您需要把域名的 DNS 服务器更新为云解析 DNS 新分配的 DNS 服务器。
    SubDomainHost string
    子域名的域名前缀。如果该域名不是子域名,那么该参数为 null。
    Tags []ZoneTagArgs
    TradeCode string
    域名的功能版本。该参数有以下取值:freeinner:免费版。professionalinner:专业版。enterpriseinner:企业版。ultimateinner:旗舰版。ultimateexclusiveinner:尊享版。
    UpdatedTime string
    域名最近一次的更新时间。更新操作包括:更新域名备注在域名下创建解析记录。
    Zid string
    域名的 ID。
    ZoneName string
    域名。
    allocateDnsServerLists List<String>
    云解析 DNS 分配给域名的 DNS 服务器列表。
    autoRenew Boolean
    是否开启域名自动续费。true:开启域名自动续费。false:关闭域名自动续费。
    cacheStage Integer
    域名所有权的状态。该参数有以下取值:0:表示您是域名的所有者。您添加此域名后,就可以管理该域名的 DNS 解析。1:表示您不是域名的所有者。您添加此域名后,该域名的状态是 域名待找回。如果您要管理该域名的 DNS 解析,您需要在控制台根据提示验证您的域名所有权。
    createdTime String
    域名的创建时间。
    dnsSecurity String
    DNS DDoS 防护服务的版本。dnssecuritystandard_inner:安全防护标准版。"":无安全防护版。
    expiredTime Integer
    实例的过期时间。格式是 Unix 时间戳。对于云解析 DNS 免费版,该字段的值为 null。
    instanceId String
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    instanceNo String
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    isNsCorrect Boolean
    DNS 服务器的配置是否正确。如果配置正确,该域名在云解析 DNS 中的状态是 正常。该参数有以下取值:true: RealDNSServerList的 DNS 服务器列表包含所有 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是正确的。false: RealDNSServerList的 DNS 服务器列表包含部分或者未包含 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是不正确的。
    isSubDomain Boolean
    是否是子域名。true:子域名。false:主域名。
    lastOperator String
    创建该域名的用户的账号的 ID。
    projectName String
    域名的项目。
    realDnsServerLists List<String>
    域名实际使用的 DNS 服务器列表。
    recordCount Integer
    域名所包含的解析记录的总数。
    remark String
    域名的备注。
    stage Integer
    域名的状态。该参数有以下取值:0:正常。在该状态下,该域名的解析记录处于生效状态。1:域名待找回。在该状态下,该域名的解析记录不生效。该状态表示您不是该域名的所有者。如果您需要管理域名解析,您需要验证您的域名所有权。2:未使用TrafficRoute解析。在该状态下,该域名的解析记录不生效。该状态表示分配给该域名的 DNS 服务器不是云解析 DNS 的 DNS 服务器。3:异常。在该状态下,该域名的解析记录不生效。引起该状态的常见原因如下:域名未实名认证导致域名被注册局或注册商停用。域名未配置 DNS 服务器。域名未注册。API 在查询域名时超时。超时原因可能是网络问题。5:请变更DNS服务器。该状态表示由于云解析 DNS 的服务升级或变更,您需要把域名的 DNS 服务器更新为云解析 DNS 新分配的 DNS 服务器。
    subDomainHost String
    子域名的域名前缀。如果该域名不是子域名,那么该参数为 null。
    tags List<ZoneTag>
    tradeCode String
    域名的功能版本。该参数有以下取值:freeinner:免费版。professionalinner:专业版。enterpriseinner:企业版。ultimateinner:旗舰版。ultimateexclusiveinner:尊享版。
    updatedTime String
    域名最近一次的更新时间。更新操作包括:更新域名备注在域名下创建解析记录。
    zid String
    域名的 ID。
    zoneName String
    域名。
    allocateDnsServerLists string[]
    云解析 DNS 分配给域名的 DNS 服务器列表。
    autoRenew boolean
    是否开启域名自动续费。true:开启域名自动续费。false:关闭域名自动续费。
    cacheStage number
    域名所有权的状态。该参数有以下取值:0:表示您是域名的所有者。您添加此域名后,就可以管理该域名的 DNS 解析。1:表示您不是域名的所有者。您添加此域名后,该域名的状态是 域名待找回。如果您要管理该域名的 DNS 解析,您需要在控制台根据提示验证您的域名所有权。
    createdTime string
    域名的创建时间。
    dnsSecurity string
    DNS DDoS 防护服务的版本。dnssecuritystandard_inner:安全防护标准版。"":无安全防护版。
    expiredTime number
    实例的过期时间。格式是 Unix 时间戳。对于云解析 DNS 免费版,该字段的值为 null。
    instanceId string
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    instanceNo string
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    isNsCorrect boolean
    DNS 服务器的配置是否正确。如果配置正确,该域名在云解析 DNS 中的状态是 正常。该参数有以下取值:true: RealDNSServerList的 DNS 服务器列表包含所有 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是正确的。false: RealDNSServerList的 DNS 服务器列表包含部分或者未包含 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是不正确的。
    isSubDomain boolean
    是否是子域名。true:子域名。false:主域名。
    lastOperator string
    创建该域名的用户的账号的 ID。
    projectName string
    域名的项目。
    realDnsServerLists string[]
    域名实际使用的 DNS 服务器列表。
    recordCount number
    域名所包含的解析记录的总数。
    remark string
    域名的备注。
    stage number
    域名的状态。该参数有以下取值:0:正常。在该状态下,该域名的解析记录处于生效状态。1:域名待找回。在该状态下,该域名的解析记录不生效。该状态表示您不是该域名的所有者。如果您需要管理域名解析,您需要验证您的域名所有权。2:未使用TrafficRoute解析。在该状态下,该域名的解析记录不生效。该状态表示分配给该域名的 DNS 服务器不是云解析 DNS 的 DNS 服务器。3:异常。在该状态下,该域名的解析记录不生效。引起该状态的常见原因如下:域名未实名认证导致域名被注册局或注册商停用。域名未配置 DNS 服务器。域名未注册。API 在查询域名时超时。超时原因可能是网络问题。5:请变更DNS服务器。该状态表示由于云解析 DNS 的服务升级或变更,您需要把域名的 DNS 服务器更新为云解析 DNS 新分配的 DNS 服务器。
    subDomainHost string
    子域名的域名前缀。如果该域名不是子域名,那么该参数为 null。
    tags ZoneTag[]
    tradeCode string
    域名的功能版本。该参数有以下取值:freeinner:免费版。professionalinner:专业版。enterpriseinner:企业版。ultimateinner:旗舰版。ultimateexclusiveinner:尊享版。
    updatedTime string
    域名最近一次的更新时间。更新操作包括:更新域名备注在域名下创建解析记录。
    zid string
    域名的 ID。
    zoneName string
    域名。
    allocate_dns_server_lists Sequence[str]
    云解析 DNS 分配给域名的 DNS 服务器列表。
    auto_renew bool
    是否开启域名自动续费。true:开启域名自动续费。false:关闭域名自动续费。
    cache_stage int
    域名所有权的状态。该参数有以下取值:0:表示您是域名的所有者。您添加此域名后,就可以管理该域名的 DNS 解析。1:表示您不是域名的所有者。您添加此域名后,该域名的状态是 域名待找回。如果您要管理该域名的 DNS 解析,您需要在控制台根据提示验证您的域名所有权。
    created_time str
    域名的创建时间。
    dns_security str
    DNS DDoS 防护服务的版本。dnssecuritystandard_inner:安全防护标准版。"":无安全防护版。
    expired_time int
    实例的过期时间。格式是 Unix 时间戳。对于云解析 DNS 免费版,该字段的值为 null。
    instance_id str
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    instance_no str
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    is_ns_correct bool
    DNS 服务器的配置是否正确。如果配置正确,该域名在云解析 DNS 中的状态是 正常。该参数有以下取值:true: RealDNSServerList的 DNS 服务器列表包含所有 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是正确的。false: RealDNSServerList的 DNS 服务器列表包含部分或者未包含 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是不正确的。
    is_sub_domain bool
    是否是子域名。true:子域名。false:主域名。
    last_operator str
    创建该域名的用户的账号的 ID。
    project_name str
    域名的项目。
    real_dns_server_lists Sequence[str]
    域名实际使用的 DNS 服务器列表。
    record_count int
    域名所包含的解析记录的总数。
    remark str
    域名的备注。
    stage int
    域名的状态。该参数有以下取值:0:正常。在该状态下,该域名的解析记录处于生效状态。1:域名待找回。在该状态下,该域名的解析记录不生效。该状态表示您不是该域名的所有者。如果您需要管理域名解析,您需要验证您的域名所有权。2:未使用TrafficRoute解析。在该状态下,该域名的解析记录不生效。该状态表示分配给该域名的 DNS 服务器不是云解析 DNS 的 DNS 服务器。3:异常。在该状态下,该域名的解析记录不生效。引起该状态的常见原因如下:域名未实名认证导致域名被注册局或注册商停用。域名未配置 DNS 服务器。域名未注册。API 在查询域名时超时。超时原因可能是网络问题。5:请变更DNS服务器。该状态表示由于云解析 DNS 的服务升级或变更,您需要把域名的 DNS 服务器更新为云解析 DNS 新分配的 DNS 服务器。
    sub_domain_host str
    子域名的域名前缀。如果该域名不是子域名,那么该参数为 null。
    tags Sequence[ZoneTagArgs]
    trade_code str
    域名的功能版本。该参数有以下取值:freeinner:免费版。professionalinner:专业版。enterpriseinner:企业版。ultimateinner:旗舰版。ultimateexclusiveinner:尊享版。
    updated_time str
    域名最近一次的更新时间。更新操作包括:更新域名备注在域名下创建解析记录。
    zid str
    域名的 ID。
    zone_name str
    域名。
    allocateDnsServerLists List<String>
    云解析 DNS 分配给域名的 DNS 服务器列表。
    autoRenew Boolean
    是否开启域名自动续费。true:开启域名自动续费。false:关闭域名自动续费。
    cacheStage Number
    域名所有权的状态。该参数有以下取值:0:表示您是域名的所有者。您添加此域名后,就可以管理该域名的 DNS 解析。1:表示您不是域名的所有者。您添加此域名后,该域名的状态是 域名待找回。如果您要管理该域名的 DNS 解析,您需要在控制台根据提示验证您的域名所有权。
    createdTime String
    域名的创建时间。
    dnsSecurity String
    DNS DDoS 防护服务的版本。dnssecuritystandard_inner:安全防护标准版。"":无安全防护版。
    expiredTime Number
    实例的过期时间。格式是 Unix 时间戳。对于云解析 DNS 免费版,该字段的值为 null。
    instanceId String
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    instanceNo String
    实例的 ID。对于云解析 DNS 免费版,该字段的值为 null。
    isNsCorrect Boolean
    DNS 服务器的配置是否正确。如果配置正确,该域名在云解析 DNS 中的状态是 正常。该参数有以下取值:true: RealDNSServerList的 DNS 服务器列表包含所有 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是正确的。false: RealDNSServerList的 DNS 服务器列表包含部分或者未包含 AllocateDNSServerList中的 DNS 服务器。此时,DNS 服务器的配置是不正确的。
    isSubDomain Boolean
    是否是子域名。true:子域名。false:主域名。
    lastOperator String
    创建该域名的用户的账号的 ID。
    projectName String
    域名的项目。
    realDnsServerLists List<String>
    域名实际使用的 DNS 服务器列表。
    recordCount Number
    域名所包含的解析记录的总数。
    remark String
    域名的备注。
    stage Number
    域名的状态。该参数有以下取值:0:正常。在该状态下,该域名的解析记录处于生效状态。1:域名待找回。在该状态下,该域名的解析记录不生效。该状态表示您不是该域名的所有者。如果您需要管理域名解析,您需要验证您的域名所有权。2:未使用TrafficRoute解析。在该状态下,该域名的解析记录不生效。该状态表示分配给该域名的 DNS 服务器不是云解析 DNS 的 DNS 服务器。3:异常。在该状态下,该域名的解析记录不生效。引起该状态的常见原因如下:域名未实名认证导致域名被注册局或注册商停用。域名未配置 DNS 服务器。域名未注册。API 在查询域名时超时。超时原因可能是网络问题。5:请变更DNS服务器。该状态表示由于云解析 DNS 的服务升级或变更,您需要把域名的 DNS 服务器更新为云解析 DNS 新分配的 DNS 服务器。
    subDomainHost String
    子域名的域名前缀。如果该域名不是子域名,那么该参数为 null。
    tags List<Property Map>
    tradeCode String
    域名的功能版本。该参数有以下取值:freeinner:免费版。professionalinner:专业版。enterpriseinner:企业版。ultimateinner:旗舰版。ultimateexclusiveinner:尊享版。
    updatedTime String
    域名最近一次的更新时间。更新操作包括:更新域名备注在域名下创建解析记录。
    zid String
    域名的 ID。
    zoneName String
    域名。

    Supporting Types

    ZoneTag, ZoneTagArgs

    Key string
    标签的键。
    Value string
    标签的值。
    Key string
    标签的键。
    Value string
    标签的值。
    key String
    标签的键。
    value String
    标签的值。
    key string
    标签的键。
    value string
    标签的值。
    key str
    标签的键。
    value str
    标签的值。
    key String
    标签的键。
    value String
    标签的值。

    Import

    $ pulumi import bytepluscc:dns/zone:Zone example "zid"
    

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

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    bytepluscc v0.0.11 published on Wednesday, Jan 21, 2026 by Byteplus
      Meet Neo: Your AI Platform Teammate