@ediri/vultr
Version:
A Pulumi package for creating and managing Vultr cloud resources.
75 lines (74 loc) • 1.83 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Get information about a DNS domain associated with your Vultr account.
*
* ## Example Usage
*
* Get the information for a DNS domain:
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as vultr from "@ediri/vultr";
*
* const myDomain = vultr.getDnsDomain({
* domain: "example.com",
* });
* ```
*/
export declare function getDnsDomain(args: GetDnsDomainArgs, opts?: pulumi.InvokeOptions): Promise<GetDnsDomainResult>;
/**
* A collection of arguments for invoking getDnsDomain.
*/
export interface GetDnsDomainArgs {
/**
* The name you're searching for.
*/
domain: string;
}
/**
* A collection of values returned by getDnsDomain.
*/
export interface GetDnsDomainResult {
/**
* The date the DNS domain was added to your Vultr account.
*/
readonly dateCreated: string;
/**
* The Domain's DNSSEC status
*/
readonly dnsSec: string;
/**
* Name of domain.
*/
readonly domain: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
}
/**
* Get information about a DNS domain associated with your Vultr account.
*
* ## Example Usage
*
* Get the information for a DNS domain:
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as vultr from "@ediri/vultr";
*
* const myDomain = vultr.getDnsDomain({
* domain: "example.com",
* });
* ```
*/
export declare function getDnsDomainOutput(args: GetDnsDomainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDnsDomainResult>;
/**
* A collection of arguments for invoking getDnsDomain.
*/
export interface GetDnsDomainOutputArgs {
/**
* The name you're searching for.
*/
domain: pulumi.Input<string>;
}