import * as pulumi from "@pulumi/pulumi"; /** * Provides a Civo DNS domain record resource. * * ## Import * * using domain_id:domain_record_id * * ```sh * $ pulumi import civo:index/dnsDomainRecord:DnsDomainRecord www a3cd6832-9577-4017-afd7-17d239fc0bf0:c9a39d14-ee1b-4870-8fb0-a2d4f465e822 * ``` */ export declare class DnsDomainRecord extends pulumi.CustomResource { /** * Get an existing DnsDomainRecord resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DnsDomainRecordState, opts?: pulumi.CustomResourceOptions): DnsDomainRecord; /** * Returns true if the given object is an instance of DnsDomainRecord. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DnsDomainRecord; /** * The account ID of this resource */ readonly accountId: pulumi.Output; /** * Timestamp when this resource was created */ readonly createdAt: pulumi.Output; /** * ID from domain name */ readonly domainId: pulumi.Output; /** * The portion before the domain name (e.g. www) or an @ for the apex/root domain (you cannot use an A record with an amex/root domain) */ readonly name: pulumi.Output; /** * Useful for MX records only, the priority mail should be attempted it (defaults to 10) */ readonly priority: pulumi.Output; /** * How long caching DNS servers should cache this record for, in seconds (the minimum is 600 and the default if unspecified is 600) */ readonly ttl: pulumi.Output; /** * The choice of RR type from a, cname, mx or txt */ readonly type: pulumi.Output; /** * Timestamp when this resource was updated */ readonly updatedAt: pulumi.Output; /** * The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record */ readonly value: pulumi.Output; /** * Create a DnsDomainRecord resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DnsDomainRecordArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DnsDomainRecord resources. */ export interface DnsDomainRecordState { /** * The account ID of this resource */ accountId?: pulumi.Input; /** * Timestamp when this resource was created */ createdAt?: pulumi.Input; /** * ID from domain name */ domainId?: pulumi.Input; /** * The portion before the domain name (e.g. www) or an @ for the apex/root domain (you cannot use an A record with an amex/root domain) */ name?: pulumi.Input; /** * Useful for MX records only, the priority mail should be attempted it (defaults to 10) */ priority?: pulumi.Input; /** * How long caching DNS servers should cache this record for, in seconds (the minimum is 600 and the default if unspecified is 600) */ ttl?: pulumi.Input; /** * The choice of RR type from a, cname, mx or txt */ type?: pulumi.Input; /** * Timestamp when this resource was updated */ updatedAt?: pulumi.Input; /** * The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record */ value?: pulumi.Input; } /** * The set of arguments for constructing a DnsDomainRecord resource. */ export interface DnsDomainRecordArgs { /** * ID from domain name */ domainId: pulumi.Input; /** * The portion before the domain name (e.g. www) or an @ for the apex/root domain (you cannot use an A record with an amex/root domain) */ name?: pulumi.Input; /** * Useful for MX records only, the priority mail should be attempted it (defaults to 10) */ priority?: pulumi.Input; /** * How long caching DNS servers should cache this record for, in seconds (the minimum is 600 and the default if unspecified is 600) */ ttl: pulumi.Input; /** * The choice of RR type from a, cname, mx or txt */ type: pulumi.Input; /** * The IP address (A or MX), hostname (CNAME or MX) or text value (TXT) to serve for this record */ value: pulumi.Input; }