UNPKG

@pulumi/gcp

Version:

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

60 lines 2.09 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.getWorkerPoolOutput = exports.getWorkerPool = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Get information about a Google Cloud Run v2 Worker Pool. For more information see * the [official documentation](https://cloud.google.com/run/docs/) * and [API](https://cloud.google.com/run/docs/apis). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const myWorkerPool = gcp.cloudrunv2.getWorkerPool({ * name: "my-worker-pool", * location: "us-central1", * }); * ``` */ function getWorkerPool(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:cloudrunv2/getWorkerPool:getWorkerPool", { "location": args.location, "name": args.name, "project": args.project, }, opts); } exports.getWorkerPool = getWorkerPool; /** * Get information about a Google Cloud Run v2 Worker Pool. For more information see * the [official documentation](https://cloud.google.com/run/docs/) * and [API](https://cloud.google.com/run/docs/apis). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const myWorkerPool = gcp.cloudrunv2.getWorkerPool({ * name: "my-worker-pool", * location: "us-central1", * }); * ``` */ function getWorkerPoolOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:cloudrunv2/getWorkerPool:getWorkerPool", { "location": args.location, "name": args.name, "project": args.project, }, opts); } exports.getWorkerPoolOutput = getWorkerPoolOutput; //# sourceMappingURL=getWorkerPool.js.map