import * as pulumi from "@pulumi/pulumi"; /** * Retrieves the current IAM policy data for namespace * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.servicedirectory.getNamespaceIamPolicy({ * name: example.name, * }); * ``` */ export declare function getNamespaceIamPolicy(args: GetNamespaceIamPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNamespaceIamPolicy. */ export interface GetNamespaceIamPolicyArgs { /** * Used to find the parent resource to bind the IAM policy to */ name: string; } /** * A collection of values returned by getNamespaceIamPolicy. */ export interface GetNamespaceIamPolicyResult { /** * (Computed) The etag of the IAM policy. */ readonly etag: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; /** * (Required only by `gcp.servicedirectory.NamespaceIamPolicy`) The policy data generated by * a `gcp.organizations.getIAMPolicy` data source. */ readonly policyData: string; } /** * Retrieves the current IAM policy data for namespace * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.servicedirectory.getNamespaceIamPolicy({ * name: example.name, * }); * ``` */ export declare function getNamespaceIamPolicyOutput(args: GetNamespaceIamPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNamespaceIamPolicy. */ export interface GetNamespaceIamPolicyOutputArgs { /** * Used to find the parent resource to bind the IAM policy to */ name: pulumi.Input; }