import * as pulumi from "@pulumi/pulumi"; /** * Get information about a Google Cloud Organization IAM Custom Role. Note that you must have the `roles/iam.organizationRoleViewer` role (or equivalent permissions) at the organization level to use this datasource. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const example = gcp.organizations.getIamCustomRole({ * orgId: "1234567890", * roleId: "your-role-id", * }); * const project = new gcp.projects.IAMMember("project", { * project: "your-project-id", * role: example.then(example => example.name), * member: "user:jane@example.com", * }); * ``` */ export declare function getIamCustomRole(args: GetIamCustomRoleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getIamCustomRole. */ export interface GetIamCustomRoleArgs { /** * The numeric ID of the organization in which you want to create a custom role. */ orgId: string; /** * The role id that has been used for this role. */ roleId: string; } /** * A collection of values returned by getIamCustomRole. */ export interface GetIamCustomRoleResult { readonly deleted: boolean; readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; readonly orgId: string; readonly permissions: string[]; readonly roleId: string; readonly stage: string; readonly title: string; } /** * Get information about a Google Cloud Organization IAM Custom Role. Note that you must have the `roles/iam.organizationRoleViewer` role (or equivalent permissions) at the organization level to use this datasource. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const example = gcp.organizations.getIamCustomRole({ * orgId: "1234567890", * roleId: "your-role-id", * }); * const project = new gcp.projects.IAMMember("project", { * project: "your-project-id", * role: example.then(example => example.name), * member: "user:jane@example.com", * }); * ``` */ export declare function getIamCustomRoleOutput(args: GetIamCustomRoleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getIamCustomRole. */ export interface GetIamCustomRoleOutputArgs { /** * The numeric ID of the organization in which you want to create a custom role. */ orgId: pulumi.Input; /** * The role id that has been used for this role. */ roleId: pulumi.Input; }