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