UNPKG

@pulumi/gcp

Version:

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

66 lines 2.45 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.getMetastoreTableIamPolicyOutput = exports.getMetastoreTableIamPolicy = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Retrieves the current IAM policy data for table * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.dataproc.getMetastoreTableIamPolicy({ * project: dpmsService.project, * location: dpmsService.location, * serviceId: dpmsService.serviceId, * databaseId: hive.hiveConfig[0].properties.database, * table: hive.hiveConfig[0].properties.table, * }); * ``` */ function getMetastoreTableIamPolicy(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:dataproc/getMetastoreTableIamPolicy:getMetastoreTableIamPolicy", { "databaseId": args.databaseId, "location": args.location, "project": args.project, "serviceId": args.serviceId, "table": args.table, }, opts); } exports.getMetastoreTableIamPolicy = getMetastoreTableIamPolicy; /** * Retrieves the current IAM policy data for table * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.dataproc.getMetastoreTableIamPolicy({ * project: dpmsService.project, * location: dpmsService.location, * serviceId: dpmsService.serviceId, * databaseId: hive.hiveConfig[0].properties.database, * table: hive.hiveConfig[0].properties.table, * }); * ``` */ function getMetastoreTableIamPolicyOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:dataproc/getMetastoreTableIamPolicy:getMetastoreTableIamPolicy", { "databaseId": args.databaseId, "location": args.location, "project": args.project, "serviceId": args.serviceId, "table": args.table, }, opts); } exports.getMetastoreTableIamPolicyOutput = getMetastoreTableIamPolicyOutput; //# sourceMappingURL=getMetastoreTableIamPolicy.js.map