import * as pulumi from "@pulumi/pulumi"; /** * Lookup a custom organization repository role. * * > **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.getOrganizationRepositoryRole({ * roleId: 1234, * }); * ``` */ export declare function getOrganizationRepositoryRole(args: GetOrganizationRepositoryRoleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOrganizationRepositoryRole. */ export interface GetOrganizationRepositoryRoleArgs { /** * The ID of the organization repository role. */ roleId: number; } /** * A collection of values returned by getOrganizationRepositoryRole. */ export interface GetOrganizationRepositoryRoleResult { /** * The system role from which this role inherits permissions. */ readonly baseRole: string; /** * The description of the organization repository role. */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name of the organization repository role. */ readonly name: string; /** * The permissions included in this role. */ readonly permissions: string[]; /** * The ID of the organization repository role. */ readonly roleId: number; } /** * Lookup a custom organization repository role. * * > **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.getOrganizationRepositoryRole({ * roleId: 1234, * }); * ``` */ export declare function getOrganizationRepositoryRoleOutput(args: GetOrganizationRepositoryRoleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOrganizationRepositoryRole. */ export interface GetOrganizationRepositoryRoleOutputArgs { /** * The ID of the organization repository role. */ roleId: pulumi.Input; } //# sourceMappingURL=getOrganizationRepositoryRole.d.ts.map