UNPKG

@pulumi/gcp

Version:

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

69 lines (68 loc) 1.92 kB
import * as pulumi from "@pulumi/pulumi"; /** * Retrieves the current IAM policy data for tagvalue * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.tags.getTagValueIamPolicy({ * tagValue: value.name, * }); * ``` */ export declare function getTagValueIamPolicy(args: GetTagValueIamPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetTagValueIamPolicyResult>; /** * A collection of arguments for invoking getTagValueIamPolicy. */ export interface GetTagValueIamPolicyArgs { /** * Used to find the parent resource to bind the IAM policy to */ tagValue: string; } /** * A collection of values returned by getTagValueIamPolicy. */ export interface GetTagValueIamPolicyResult { /** * (Computed) The etag of the IAM policy. */ readonly etag: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * (Required only by `gcp.tags.TagValueIamPolicy`) The policy data generated by * a `gcp.organizations.getIAMPolicy` data source. */ readonly policyData: string; readonly tagValue: string; } /** * Retrieves the current IAM policy data for tagvalue * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.tags.getTagValueIamPolicy({ * tagValue: value.name, * }); * ``` */ export declare function getTagValueIamPolicyOutput(args: GetTagValueIamPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTagValueIamPolicyResult>; /** * A collection of arguments for invoking getTagValueIamPolicy. */ export interface GetTagValueIamPolicyOutputArgs { /** * Used to find the parent resource to bind the IAM policy to */ tagValue: pulumi.Input<string>; }