import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Data source to retrieve the groups assigned to a specific role within the context of an organization. For the members with a direct role assignment, use `auth0.getOrganizationRoleMembers`. (EA only) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * // The groups assigned to an organization-level role. * const myRoleGroups = auth0.getOrganizationRoleGroups({ * organizationId: "org_abcdefghkijklmn", * roleId: "rol_abcdefghkijklmn", * }); * ``` */ export declare function getOrganizationRoleGroups(args: GetOrganizationRoleGroupsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOrganizationRoleGroups. */ export interface GetOrganizationRoleGroupsArgs { /** * The ID of the organization. */ organizationId: string; /** * The ID of the role to retrieve the assigned groups for. */ roleId: string; } /** * A collection of values returned by getOrganizationRoleGroups. */ export interface GetOrganizationRoleGroupsResult { /** * The groups assigned to the role. */ readonly groups: outputs.GetOrganizationRoleGroupsGroup[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The ID of the organization. */ readonly organizationId: string; /** * The ID of the role to retrieve the assigned groups for. */ readonly roleId: string; } /** * Data source to retrieve the groups assigned to a specific role within the context of an organization. For the members with a direct role assignment, use `auth0.getOrganizationRoleMembers`. (EA only) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * // The groups assigned to an organization-level role. * const myRoleGroups = auth0.getOrganizationRoleGroups({ * organizationId: "org_abcdefghkijklmn", * roleId: "rol_abcdefghkijklmn", * }); * ``` */ export declare function getOrganizationRoleGroupsOutput(args: GetOrganizationRoleGroupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOrganizationRoleGroups. */ export interface GetOrganizationRoleGroupsOutputArgs { /** * The ID of the organization. */ organizationId: pulumi.Input; /** * The ID of the role to retrieve the assigned groups for. */ roleId: pulumi.Input; } //# sourceMappingURL=getOrganizationRoleGroups.d.ts.map