import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::PrivateZone::Record */ export declare function getRecord(args: GetRecordArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRecord. */ export interface GetRecordArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getRecord. */ export interface GetRecordResult { /** * Creation time of the DNS record. */ readonly createdAt: string; /** * Indicates whether the DNS record is enabled. */ readonly enable: boolean; /** * Domain prefix for the subdomain. */ readonly host: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Account ID of the most recent update to the DNS record. */ readonly lastOperator: string; /** * DNS record route, only the default route 'default' is supported. */ readonly line: string; /** * DNS record ID. */ readonly recordId: string; /** * Record set list */ readonly recordSets: outputs.privatezone.GetRecordRecordSet[]; /** * Remarks. Supports UTF-8 characters. Maximum 16 characters. Default is an empty string. */ readonly remark: string; /** * DNS record TTL (time to live), in seconds. Default is 600. */ readonly ttl: number; /** * DNS record type. Valid values are: A: A record. AAAA: AAAA record. CNAME: CNAME record. TXT: TXT record. MX: MX record. PTR: PTR record. A: A record. AAAA: AAAA record. CNAME: CNAME record. TXT: TXT record. MX: MX record. PTR: PTR record. */ readonly type: string; /** * Last update time of the DNS record. */ readonly updatedAt: string; /** * Record value. */ readonly value: string; /** * Record weight. The weight takes effect only when load balancing is enabled for the domain name. */ readonly weight: number; /** * Indicates whether load balancing is enabled for this record set. */ readonly weightEnabled: boolean; /** * Domain name ID. */ readonly zid: number; } /** * Data Source schema for Volcengine::PrivateZone::Record */ export declare function getRecordOutput(args: GetRecordOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRecord. */ export interface GetRecordOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }