import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DomainRecordConfig extends cdktf.TerraformMetaArguments { /** * The record value. Format follows specific record type. For example SRV record format would be ` ` * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/domain_record#content DomainRecord#content} */ readonly content: string; /** * ❗ The parent [exoscale_domain](./domain.md) to attach the record to. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/domain_record#domain DomainRecord#domain} */ readonly domain: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/domain_record#id DomainRecord#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; /** * The record name, Leave blank (`""`) to create a root record (similar to using `@` in a DNS zone file). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/domain_record#name DomainRecord#name} */ readonly name: string; /** * The record priority (for types that support it; minimum `0`). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/domain_record#prio DomainRecord#prio} */ readonly prio?: number; /** * ❗ The record type (`A`, `AAAA`, `ALIAS`, `CAA`, `CNAME`, `HINFO`, `MX`, `NAPTR`, `NS`, `POOL`, `SPF`, `SRV`, `SSHFP`, `TXT`, `URL`). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/domain_record#record_type DomainRecord#record_type} */ readonly recordType: string; /** * The record TTL (seconds; minimum `0`; default: `3600`). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/domain_record#ttl DomainRecord#ttl} */ readonly ttl?: number; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/domain_record#timeouts DomainRecord#timeouts} */ readonly timeouts?: DomainRecordTimeouts; } export interface DomainRecordTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/domain_record#create DomainRecord#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/domain_record#delete DomainRecord#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/domain_record#read DomainRecord#read} */ readonly read?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/domain_record#update DomainRecord#update} */ readonly update?: string; } export declare function domainRecordTimeoutsToTerraform(struct?: DomainRecordTimeouts | cdktf.IResolvable): any; export declare function domainRecordTimeoutsToHclTerraform(struct?: DomainRecordTimeouts | cdktf.IResolvable): any; export declare class DomainRecordTimeoutsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): DomainRecordTimeouts | cdktf.IResolvable | undefined; set internalValue(value: DomainRecordTimeouts | cdktf.IResolvable | undefined); private _create?; get create(): string; set create(value: string); resetCreate(): void; get createInput(): string; private _delete?; get delete(): string; set delete(value: string); resetDelete(): void; get deleteInput(): string; private _read?; get read(): string; set read(value: string); resetRead(): void; get readInput(): string; private _update?; get update(): string; set update(value: string); resetUpdate(): void; get updateInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/domain_record exoscale_domain_record} */ export declare class DomainRecord extends cdktf.TerraformResource { static readonly tfResourceType = "exoscale_domain_record"; /** * Generates CDKTF code for importing a DomainRecord 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 DomainRecord to import * @param importFromId The id of the existing DomainRecord that should be imported. Refer to the {@link https://registry.terraform.io/providers/exoscale/exoscale/0.67.1/docs/resources/domain_record#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DomainRecord 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/exoscale/exoscale/0.67.1/docs/resources/domain_record exoscale_domain_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 DomainRecordConfig */ constructor(scope: Construct, id: string, config: DomainRecordConfig); private _content?; get content(): string; set content(value: string); get contentInput(): string; get contentNormalized(): any; private _domain?; get domain(): string; set domain(value: string); get domainInput(): string; get hostname(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _prio?; get prio(): number; set prio(value: number); resetPrio(): void; get prioInput(): number; private _recordType?; get recordType(): string; set recordType(value: string); get recordTypeInput(): string; private _ttl?; get ttl(): number; set ttl(value: number); resetTtl(): void; get ttlInput(): number; private _timeouts; get timeouts(): DomainRecordTimeoutsOutputReference; putTimeouts(value: DomainRecordTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }