UNPKG

@pulumi/linode

Version:

A Pulumi package for creating and managing linode cloud resources.

56 lines 2.14 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getDomainZonefileOutput = exports.getDomainZonefile = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Provides information about a Linode Domain Zonefile. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-domain-zone). * * ## Example Usage * * The following example shows how one might use this data source to access information about a Linode Domain Zonefile. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const myZonefile = linode.getDomainZonefile({ * domainId: 3150401, * }); * ``` */ function getDomainZonefile(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("linode:index/getDomainZonefile:getDomainZonefile", { "domainId": args.domainId, }, opts); } exports.getDomainZonefile = getDomainZonefile; /** * Provides information about a Linode Domain Zonefile. * For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-domain-zone). * * ## Example Usage * * The following example shows how one might use this data source to access information about a Linode Domain Zonefile. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as linode from "@pulumi/linode"; * * const myZonefile = linode.getDomainZonefile({ * domainId: 3150401, * }); * ``` */ function getDomainZonefileOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("linode:index/getDomainZonefile:getDomainZonefile", { "domainId": args.domainId, }, opts); } exports.getDomainZonefileOutput = getDomainZonefileOutput; //# sourceMappingURL=getDomainZonefile.js.map