UNPKG

@pulumi/gcp

Version:

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

76 lines (75 loc) 2.06 kB
import * as pulumi from "@pulumi/pulumi"; /** * Retrieves the current IAM policy data for a Bigtable Table. * * ## example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.bigtable.getTableIamPolicy({ * instanceName: instance.name, * table: table.name, * }); * ``` */ export declare function getTableIamPolicy(args: GetTableIamPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetTableIamPolicyResult>; /** * A collection of arguments for invoking getTableIamPolicy. */ export interface GetTableIamPolicyArgs { instanceName: string; project?: string; /** * The name or relative resource id of the table to manage IAM policies for. */ table: string; } /** * A collection of values returned by getTableIamPolicy. */ export interface GetTableIamPolicyResult { /** * (Computed) The etag of the IAM policy. */ readonly etag: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceName: string; /** * (Computed) The policy data */ readonly policyData: string; readonly project: string; readonly table: string; } /** * Retrieves the current IAM policy data for a Bigtable Table. * * ## example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.bigtable.getTableIamPolicy({ * instanceName: instance.name, * table: table.name, * }); * ``` */ export declare function getTableIamPolicyOutput(args: GetTableIamPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTableIamPolicyResult>; /** * A collection of arguments for invoking getTableIamPolicy. */ export interface GetTableIamPolicyOutputArgs { instanceName: pulumi.Input<string>; project?: pulumi.Input<string>; /** * The name or relative resource id of the table to manage IAM policies for. */ table: pulumi.Input<string>; }