import * as pulumi from "@pulumi/pulumi"; /** * Retrieves the current IAM policy data for a Dataproc cluster. * * ## example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.dataproc.getClusterIamPolicy({ * cluster: cluster.name, * region: "us-central1", * }); * ``` */ export declare function getClusterIamPolicy(args: GetClusterIamPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getClusterIamPolicy. */ export interface GetClusterIamPolicyArgs { /** * The name or relative resource id of the cluster to manage IAM policies for. */ cluster: string; project?: string; region?: string; } /** * A collection of values returned by getClusterIamPolicy. */ export interface GetClusterIamPolicyResult { readonly cluster: string; /** * (Computed) The etag of the IAM policy. */ readonly etag: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * (Computed) The policy data */ readonly policyData: string; readonly project: string; readonly region: string; } /** * Retrieves the current IAM policy data for a Dataproc cluster. * * ## example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.dataproc.getClusterIamPolicy({ * cluster: cluster.name, * region: "us-central1", * }); * ``` */ export declare function getClusterIamPolicyOutput(args: GetClusterIamPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getClusterIamPolicy. */ export interface GetClusterIamPolicyOutputArgs { /** * The name or relative resource id of the cluster to manage IAM policies for. */ cluster: pulumi.Input; project?: pulumi.Input; region?: pulumi.Input; }