UNPKG

@pulumi/gcp

Version:

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

58 lines 2.15 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.getCustomTargetTypeIamPolicyOutput = exports.getCustomTargetTypeIamPolicy = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Retrieves the current IAM policy data for customtargettype * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.clouddeploy.getCustomTargetTypeIamPolicy({ * project: custom_target_type.project, * location: custom_target_type.location, * name: custom_target_type.name, * }); * ``` */ function getCustomTargetTypeIamPolicy(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:clouddeploy/getCustomTargetTypeIamPolicy:getCustomTargetTypeIamPolicy", { "location": args.location, "name": args.name, "project": args.project, }, opts); } exports.getCustomTargetTypeIamPolicy = getCustomTargetTypeIamPolicy; /** * Retrieves the current IAM policy data for customtargettype * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.clouddeploy.getCustomTargetTypeIamPolicy({ * project: custom_target_type.project, * location: custom_target_type.location, * name: custom_target_type.name, * }); * ``` */ function getCustomTargetTypeIamPolicyOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:clouddeploy/getCustomTargetTypeIamPolicy:getCustomTargetTypeIamPolicy", { "location": args.location, "name": args.name, "project": args.project, }, opts); } exports.getCustomTargetTypeIamPolicyOutput = getCustomTargetTypeIamPolicyOutput; //# sourceMappingURL=getCustomTargetTypeIamPolicy.js.map