UNPKG

@pulumi/gcp

Version:

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

54 lines 1.84 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.getCaPoolIamPolicyOutput = exports.getCaPoolIamPolicy = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Retrieves the current IAM policy data for capool * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.certificateauthority.getCaPoolIamPolicy({ * caPool: _default.id, * }); * ``` */ function getCaPoolIamPolicy(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:certificateauthority/getCaPoolIamPolicy:getCaPoolIamPolicy", { "caPool": args.caPool, "location": args.location, "project": args.project, }, opts); } exports.getCaPoolIamPolicy = getCaPoolIamPolicy; /** * Retrieves the current IAM policy data for capool * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.certificateauthority.getCaPoolIamPolicy({ * caPool: _default.id, * }); * ``` */ function getCaPoolIamPolicyOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:certificateauthority/getCaPoolIamPolicy:getCaPoolIamPolicy", { "caPool": args.caPool, "location": args.location, "project": args.project, }, opts); } exports.getCaPoolIamPolicyOutput = getCaPoolIamPolicyOutput; //# sourceMappingURL=getCaPoolIamPolicy.js.map