import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::DNS::Zone */ export declare function getZone(args: GetZoneArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getZone. */ export interface GetZoneArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getZone. */ export interface GetZoneResult { /** * List of DNS servers assigned to the domain by Cloud DNS */ readonly allocateDnsServerLists: string[]; /** * Whether domain auto-renewal is enabled. true: Auto-renewal enabled. false: Auto-renewal disabled. */ readonly autoRenew: boolean; /** * Domain ownership status. This parameter has the following values: 0: You are the domain owner. After adding this domain, you can manage its DNS resolution. 1: You are not the domain owner. After adding this domain, its status is 'domain reclaim pending.' To manage DNS resolution, you must verify domain ownership in the console as prompted. */ readonly cacheStage: number; /** * Domain creation time. */ readonly createdTime: string; /** * Version of DNS DDoS protection service. dns*security*standard_inner: Standard protection edition. "": No protection edition. */ readonly dnsSecurity: string; /** * Instance expiration time. Format is Unix timestamp. For Cloud DNS Free Edition, this field is null. */ readonly expiredTime: number; /** * Uniquely identifies the resource. */ readonly id: string; /** * Instance ID. For Cloud DNS Free Edition, this field is null. */ readonly instanceId: string; /** * Instance ID. For Cloud DNS Free Edition, this field is null. */ readonly instanceNo: string; /** * Whether the DNS server configuration is correct. If configured correctly, the domain status in Cloud DNS is Normal. This parameter has the following values: true: The DNS server list in RealDNSServerList includes all DNS servers in AllocateDNSServerList. In this case, the DNS server configuration is correct. false: The DNS server list in RealDNSServerList includes only some or none of the DNS servers in AllocateDNSServerList. In this case, the DNS server configuration is incorrect. */ readonly isNsCorrect: boolean; /** * Whether it is a subdomain. true: Subdomain. false: Primary domain. */ readonly isSubDomain: boolean; /** * ID of the account that created the domain. */ readonly lastOperator: string; /** * Domain project. */ readonly projectName: string; /** * List of DNS servers actually used by the domain. */ readonly realDnsServerLists: string[]; /** * Total number of DNS records contained in the domain. */ readonly recordCount: number; /** * Domain notes */ readonly remark: string; /** * Domain status. This parameter has the following values: 0: Normal. In this state, the domain's DNS resolution records are active. 1: Domain reclaim pending. In this state, the domain's DNS resolution records are inactive. This status indicates you are not the owner of the domain. If you need to manage DNS resolution, you must verify domain ownership. 2: TrafficRoute not used for resolution. In this state, the domain's DNS resolution records are inactive. This status means the DNS server assigned to the domain is not a Cloud DNS server. 3: Abnormal. In this state, the domain's DNS resolution records are inactive. Common causes for this status include: the domain is disabled by the registry or registrar due to lack of real-name verification; DNS server not configured; domain not registered; API timeout when querying the domain, possibly due to network issues. 5: Please change DNS server. This status means you need to update the domain's DNS server to the newly assigned Cloud DNS server due to service upgrade or change. */ readonly stage: number; /** * Prefix of the subdomain. If the domain is not a subdomain, this parameter is null. */ readonly subDomainHost: string; /** * Tags for the domain. Default is empty. */ readonly tags: outputs.dns.GetZoneTag[]; /** * Domain feature version. This parameter has the following values: free*inner: Free Edition; professional*inner: Professional Edition; enterprise*inner: Enterprise Edition; ultimate*inner: Flagship Edition; ultimate*exclusive*inner: Premium Edition. */ readonly tradeCode: string; /** * Last update time for the domain. Update operations include: updating domain remarks, creating DNS records under the domain. */ readonly updatedTime: string; /** * Domain ID. */ readonly zid: string; /** * Domain name. */ readonly zoneName: string; } /** * Data Source schema for Volcengine::DNS::Zone */ export declare function getZoneOutput(args: GetZoneOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getZone. */ export interface GetZoneOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }