UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

51 lines 1.56 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.getDomainZoneOutput = exports.getDomainZone = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Gets information about a domain zone. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const main = scaleway.getDomainZone({ * domain: "scaleway-terraform.com", * subdomain: "test", * }); * ``` */ function getDomainZone(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:index/getDomainZone:getDomainZone", { "domain": args.domain, "subdomain": args.subdomain, }, opts); } exports.getDomainZone = getDomainZone; /** * Gets information about a domain zone. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const main = scaleway.getDomainZone({ * domain: "scaleway-terraform.com", * subdomain: "test", * }); * ``` */ function getDomainZoneOutput(args, opts) { return pulumi.output(args).apply((a) => getDomainZone(a, opts)); } exports.getDomainZoneOutput = getDomainZoneOutput; //# sourceMappingURL=getDomainZone.js.map