UNPKG

@ediri/vultr

Version:

A Pulumi package for creating and managing Vultr cloud resources.

54 lines 1.67 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getDnsDomainOutput = exports.getDnsDomain = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * 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", * }); * ``` */ function getDnsDomain(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("vultr:index/getDnsDomain:getDnsDomain", { "domain": args.domain, }, opts); } exports.getDnsDomain = getDnsDomain; /** * 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", * }); * ``` */ function getDnsDomainOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("vultr:index/getDnsDomain:getDnsDomain", { "domain": args.domain, }, opts); } exports.getDnsDomainOutput = getDnsDomainOutput; //# sourceMappingURL=getDnsDomain.js.map