import * as pulumi from "@pulumi/pulumi"; /** * Provides a Vultr DNS Domain resource. This can be used to create, read, modify, and delete DNS Domains. * * ## Example Usage * * Create a new DNS Domain * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vultr from "@ediri/vultr"; * * const myDomain = new vultr.DnsDomain("myDomain", { * domain: "domain.com", * ip: "66.42.94.227", * }); * ``` * * ## Import * * DNS Domains can be imported using the Dns Domain `domain`, e.g. * * ```sh * $ pulumi import vultr:index/dnsDomain:DnsDomain name domain.com * ``` */ export declare class DnsDomain extends pulumi.CustomResource { /** * Get an existing DnsDomain 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?: DnsDomainState, opts?: pulumi.CustomResourceOptions): DnsDomain; /** * Returns true if the given object is an instance of DnsDomain. 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 DnsDomain; /** * The date the domain was added to your account. */ readonly dateCreated: pulumi.Output; /** * The Domain's DNSSEC status. Valid options are `enabled` or `disabled`. Note `disabled` is default */ readonly dnsSec: pulumi.Output; /** * Name of domain. */ readonly domain: pulumi.Output; /** * Instance IP you want associated to domain. If omitted this will create a domain with no records. */ readonly ip: pulumi.Output; /** * Create a DnsDomain 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: DnsDomainArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DnsDomain resources. */ export interface DnsDomainState { /** * The date the domain was added to your account. */ dateCreated?: pulumi.Input; /** * The Domain's DNSSEC status. Valid options are `enabled` or `disabled`. Note `disabled` is default */ dnsSec?: pulumi.Input; /** * Name of domain. */ domain?: pulumi.Input; /** * Instance IP you want associated to domain. If omitted this will create a domain with no records. */ ip?: pulumi.Input; } /** * The set of arguments for constructing a DnsDomain resource. */ export interface DnsDomainArgs { /** * The Domain's DNSSEC status. Valid options are `enabled` or `disabled`. Note `disabled` is default */ dnsSec?: pulumi.Input; /** * Name of domain. */ domain: pulumi.Input; /** * Instance IP you want associated to domain. If omitted this will create a domain with no records. */ ip?: pulumi.Input; }