import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DnspodRecordConfig extends cdktf.TerraformMetaArguments { /** * The Domain. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnspod_record#domain DnspodRecord#domain} */ readonly domain: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnspod_record#id DnspodRecord#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * MX priority, valid when the record type is MX, range 1-20. Note: must set when record type equal MX. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnspod_record#mx DnspodRecord#mx} */ readonly mx?: number; /** * The record line. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnspod_record#record_line DnspodRecord#record_line} */ readonly recordLine: string; /** * The record type. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnspod_record#record_type DnspodRecord#record_type} */ readonly recordType: string; /** * The Remark of record. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnspod_record#remark DnspodRecord#remark} */ readonly remark?: string; /** * Records the initial state, with values ranging from ENABLE and DISABLE. The default is ENABLE, and if DISABLE is passed in, resolution will not take effect and the limits of load balancing will not be verified. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnspod_record#status DnspodRecord#status} */ readonly status?: string; /** * The host records, default value is `@`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnspod_record#sub_domain DnspodRecord#sub_domain} */ readonly subDomain?: string; /** * TTL, the range is 1-604800, and the minimum value of different levels of domain names is different. Default is 600. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnspod_record#ttl DnspodRecord#ttl} */ readonly ttl?: number; /** * The record value. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnspod_record#value DnspodRecord#value} */ readonly value: string; /** * Weight information. An integer from 1 to 100. Only enterprise VIP domain names are available, does not pass this parameter, means that the weight information is not set. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnspod_record#weight DnspodRecord#weight} */ readonly weight?: number; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnspod_record tencentcloud_dnspod_record} */ export declare class DnspodRecord extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_dnspod_record"; /** * Generates CDKTF code for importing a DnspodRecord resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the DnspodRecord to import * @param importFromId The id of the existing DnspodRecord that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnspod_record#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DnspodRecord to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/dnspod_record tencentcloud_dnspod_record} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options DnspodRecordConfig */ constructor(scope: Construct, id: string, config: DnspodRecordConfig); private _domain?; get domain(): string; set domain(value: string); get domainInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; get monitorStatus(): any; private _mx?; get mx(): number; set mx(value: number); resetMx(): void; get mxInput(): number; private _recordLine?; get recordLine(): string; set recordLine(value: string); get recordLineInput(): string; private _recordType?; get recordType(): string; set recordType(value: string); get recordTypeInput(): string; private _remark?; get remark(): string; set remark(value: string); resetRemark(): void; get remarkInput(): string; private _status?; get status(): string; set status(value: string); resetStatus(): void; get statusInput(): string; private _subDomain?; get subDomain(): string; set subDomain(value: string); resetSubDomain(): void; get subDomainInput(): string; private _ttl?; get ttl(): number; set ttl(value: number); resetTtl(): void; get ttlInput(): number; private _value?; get value(): string; set value(value: string); get valueInput(): string; private _weight?; get weight(): number; set weight(value: number); resetWeight(): void; get weightInput(): number; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }