import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Lookup all teams assigned to a custom organization role. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const example = github.getOrganizationRoleTeams({ * roleId: 1234, * }); * ``` * * ## Nested Schema for `teams` * * ### Read-Only * * - `teamId` (Number) The ID of the team. * - `slug` (String) The Slug of the team name. * - `name` (String) The name of the team. * - `permission` (String) The permission that the team will have for its repositories. */ export declare function getOrganizationRoleTeams(args: GetOrganizationRoleTeamsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOrganizationRoleTeams. */ export interface GetOrganizationRoleTeamsArgs { /** * The ID of the organization role. */ roleId: number; } /** * A collection of values returned by getOrganizationRoleTeams. */ export interface GetOrganizationRoleTeamsResult { /** * 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) Teams assigned to the organization role. */ readonly teams: outputs.GetOrganizationRoleTeamsTeam[]; } /** * Lookup all teams assigned to a custom organization role. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const example = github.getOrganizationRoleTeams({ * roleId: 1234, * }); * ``` * * ## Nested Schema for `teams` * * ### Read-Only * * - `teamId` (Number) The ID of the team. * - `slug` (String) The Slug of the team name. * - `name` (String) The name of the team. * - `permission` (String) The permission that the team will have for its repositories. */ export declare function getOrganizationRoleTeamsOutput(args: GetOrganizationRoleTeamsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOrganizationRoleTeams. */ export interface GetOrganizationRoleTeamsOutputArgs { /** * The ID of the organization role. */ roleId: pulumi.Input; } //# sourceMappingURL=getOrganizationRoleTeams.d.ts.map