UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

56 lines 1.93 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.getManagedZonesOutput = exports.getManagedZones = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Provides access to a list of zones within Google Cloud DNS. * For more information see * [the official documentation](https://cloud.google.com/dns/zones/) * and * [API](https://cloud.google.com/dns/api/v1/managedZones). * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const zones = gcp.dns.getManagedZones({ * project: "my-project-id", * }); * ``` */ function getManagedZones(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:dns/getManagedZones:getManagedZones", { "project": args.project, }, opts); } exports.getManagedZones = getManagedZones; /** * Provides access to a list of zones within Google Cloud DNS. * For more information see * [the official documentation](https://cloud.google.com/dns/zones/) * and * [API](https://cloud.google.com/dns/api/v1/managedZones). * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const zones = gcp.dns.getManagedZones({ * project: "my-project-id", * }); * ``` */ function getManagedZonesOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:dns/getManagedZones:getManagedZones", { "project": args.project, }, opts); } exports.getManagedZonesOutput = getManagedZonesOutput; //# sourceMappingURL=getManagedZones.js.map