UNPKG

@pulumi/gcp

Version:

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

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