import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Lookup all users assigned to a custom organization role. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const example = github.getOrganizationRoleUsers({ * roleId: 1234, * }); * ``` * * ## Nested Schema for `users` * * ### Read-Only * * - `userId` (Number) The ID of the user. * - `login` (String) The login for the GitHub user account. */ export declare function getOrganizationRoleUsers(args: GetOrganizationRoleUsersArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOrganizationRoleUsers. */ export interface GetOrganizationRoleUsersArgs { /** * The ID of the organization role. */ roleId: number; } /** * A collection of values returned by getOrganizationRoleUsers. */ export interface GetOrganizationRoleUsersResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The ID of the organization role. */ readonly roleId: number; /** * (Set of Object, see schema) Users assigned to the organization role. */ readonly users: outputs.GetOrganizationRoleUsersUser[]; } /** * Lookup all users assigned to a custom organization role. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const example = github.getOrganizationRoleUsers({ * roleId: 1234, * }); * ``` * * ## Nested Schema for `users` * * ### Read-Only * * - `userId` (Number) The ID of the user. * - `login` (String) The login for the GitHub user account. */ export declare function getOrganizationRoleUsersOutput(args: GetOrganizationRoleUsersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOrganizationRoleUsers. */ export interface GetOrganizationRoleUsersOutputArgs { /** * The ID of the organization role. */ roleId: pulumi.Input; } //# sourceMappingURL=getOrganizationRoleUsers.d.ts.map