UNPKG

@pulumi/gcp

Version:

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

52 lines 1.66 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.getBackendBucketOutput = exports.getBackendBucket = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Get information about a BackendBucket. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const my_backend_bucket = gcp.compute.getBackendBucket({ * name: "my-backend", * }); * ``` */ function getBackendBucket(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:compute/getBackendBucket:getBackendBucket", { "name": args.name, "project": args.project, }, opts); } exports.getBackendBucket = getBackendBucket; /** * Get information about a BackendBucket. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const my_backend_bucket = gcp.compute.getBackendBucket({ * name: "my-backend", * }); * ``` */ function getBackendBucketOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:compute/getBackendBucket:getBackendBucket", { "name": args.name, "project": args.project, }, opts); } exports.getBackendBucketOutput = getBackendBucketOutput; //# sourceMappingURL=getBackendBucket.js.map