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