import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Lookup all custom roles in an organization. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const example = github.getOrganizationRoles({}); * ``` * * ## Nested Schema for `roles` * * ### Read-Only * * - `roleId` (Number) The ID of the organization role. * - `name` (String) The name of the organization role. * - `description` (String) The description of the organization role. * - `source` (String) The source of this role; one of `Predefined`, `Organization`, or `Enterprise`. * - `baseRole` (String) The system role from which this role inherits permissions. * - `permissions` (Set of String) The permissions included in this role. */ export declare function getOrganizationRoles(opts?: pulumi.InvokeOptions): Promise; /** * A collection of values returned by getOrganizationRoles. */ export interface GetOrganizationRolesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * (Set of Object, see schema) Available organization roles. */ readonly roles: outputs.GetOrganizationRolesRole[]; } /** * Lookup all custom roles in an organization. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const example = github.getOrganizationRoles({}); * ``` * * ## Nested Schema for `roles` * * ### Read-Only * * - `roleId` (Number) The ID of the organization role. * - `name` (String) The name of the organization role. * - `description` (String) The description of the organization role. * - `source` (String) The source of this role; one of `Predefined`, `Organization`, or `Enterprise`. * - `baseRole` (String) The system role from which this role inherits permissions. * - `permissions` (Set of String) The permissions included in this role. */ export declare function getOrganizationRolesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output; //# sourceMappingURL=getOrganizationRoles.d.ts.map