@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
62 lines • 2.04 kB
JavaScript
;
// *** 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.getZoneIamPolicyOutput = exports.getZoneIamPolicy = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Retrieves the current IAM policy data for zone
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const policy = gcp.dataplex.getZoneIamPolicy({
* project: example.project,
* location: example.location,
* lake: example.lake,
* dataplexZone: example.name,
* });
* ```
*/
function getZoneIamPolicy(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("gcp:dataplex/getZoneIamPolicy:getZoneIamPolicy", {
"dataplexZone": args.dataplexZone,
"lake": args.lake,
"location": args.location,
"project": args.project,
}, opts);
}
exports.getZoneIamPolicy = getZoneIamPolicy;
/**
* Retrieves the current IAM policy data for zone
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const policy = gcp.dataplex.getZoneIamPolicy({
* project: example.project,
* location: example.location,
* lake: example.lake,
* dataplexZone: example.name,
* });
* ```
*/
function getZoneIamPolicyOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("gcp:dataplex/getZoneIamPolicy:getZoneIamPolicy", {
"dataplexZone": args.dataplexZone,
"lake": args.lake,
"location": args.location,
"project": args.project,
}, opts);
}
exports.getZoneIamPolicyOutput = getZoneIamPolicyOutput;
//# sourceMappingURL=getZoneIamPolicy.js.map