UNPKG

@pulumi/gcp

Version:

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

50 lines 1.77 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.getAccountIamPolicyOutput = exports.getAccountIamPolicy = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Retrieves the current IAM policy data for a Billing Account. * * ## example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.billing.getAccountIamPolicy({ * billingAccountId: "MEEP-MEEP-MEEP-MEEP-MEEP", * }); * ``` */ function getAccountIamPolicy(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:billing/getAccountIamPolicy:getAccountIamPolicy", { "billingAccountId": args.billingAccountId, }, opts); } exports.getAccountIamPolicy = getAccountIamPolicy; /** * Retrieves the current IAM policy data for a Billing Account. * * ## example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.billing.getAccountIamPolicy({ * billingAccountId: "MEEP-MEEP-MEEP-MEEP-MEEP", * }); * ``` */ function getAccountIamPolicyOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:billing/getAccountIamPolicy:getAccountIamPolicy", { "billingAccountId": args.billingAccountId, }, opts); } exports.getAccountIamPolicyOutput = getAccountIamPolicyOutput; //# sourceMappingURL=getAccountIamPolicy.js.map