pulumi-namecheap
Version:
A Pulumi provider for managing Namecheap domain records and DNS configuration, dynamically bridged from the Terraform Namecheap provider with support for A, AAAA, CNAME, MX, TXT records and email services.
84 lines • 3.41 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
export declare class DomainRecords extends pulumi.CustomResource {
/**
* Get an existing DomainRecords 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<pulumi.ID>, state?: DomainRecordsState, opts?: pulumi.CustomResourceOptions): DomainRecords;
/**
* Returns true if the given object is an instance of DomainRecords. 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 DomainRecords;
/**
* Purchased available domain name on your account
*/
readonly domain: pulumi.Output<string>;
readonly domainRecordsId: pulumi.Output<string>;
/**
* Possible values: NONE, MXE, MX, FWD, OX, GMAIL
*/
readonly emailType: pulumi.Output<string | undefined>;
/**
* Possible values: MERGE (default), OVERWRITE
*/
readonly mode: pulumi.Output<string | undefined>;
readonly nameservers: pulumi.Output<string[] | undefined>;
readonly records: pulumi.Output<outputs.DomainRecordsRecord[] | undefined>;
/**
* Create a DomainRecords 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: DomainRecordsArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering DomainRecords resources.
*/
export interface DomainRecordsState {
/**
* Purchased available domain name on your account
*/
domain?: pulumi.Input<string | undefined>;
domainRecordsId?: pulumi.Input<string | undefined>;
/**
* Possible values: NONE, MXE, MX, FWD, OX, GMAIL
*/
emailType?: pulumi.Input<string | undefined>;
/**
* Possible values: MERGE (default), OVERWRITE
*/
mode?: pulumi.Input<string | undefined>;
nameservers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
records?: pulumi.Input<pulumi.Input<inputs.DomainRecordsRecord>[] | undefined>;
}
/**
* The set of arguments for constructing a DomainRecords resource.
*/
export interface DomainRecordsArgs {
/**
* Purchased available domain name on your account
*/
domain: pulumi.Input<string>;
domainRecordsId?: pulumi.Input<string | undefined>;
/**
* Possible values: NONE, MXE, MX, FWD, OX, GMAIL
*/
emailType?: pulumi.Input<string | undefined>;
/**
* Possible values: MERGE (default), OVERWRITE
*/
mode?: pulumi.Input<string | undefined>;
nameservers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
records?: pulumi.Input<pulumi.Input<inputs.DomainRecordsRecord>[] | undefined>;
}
//# sourceMappingURL=domainRecords.d.ts.map