import * as pulumi from "@pulumi/pulumi"; /** * > **Note:** This resource is deprecated, please use the `github.OrganizationRoleTeam` resource instead. * * This resource manages relationships between teams and organization roles * in your GitHub organization. This works on predefined roles, and custom roles, where the latter is an Enterprise feature. * * Creating this resource assigns the role to a team. * * The organization role and team must both belong to the same organization * on GitHub. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const test_team = new github.Team("test-team", {name: "test-team"}); * const test_team_role_assignment = new github.OrganizationRoleTeamAssignment("test-team-role-assignment", { * teamSlug: test_team.slug, * roleId: "8132", * }); * ``` * * ## Import * * GitHub Team Organization Role Assignment can be imported using an ID made up of `team_slug:role_id` */ export declare class OrganizationRoleTeamAssignment extends pulumi.CustomResource { /** * Get an existing OrganizationRoleTeamAssignment resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: OrganizationRoleTeamAssignmentState, opts?: pulumi.CustomResourceOptions): OrganizationRoleTeamAssignment; /** * Returns true if the given object is an instance of OrganizationRoleTeamAssignment. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is OrganizationRoleTeamAssignment; /** * The GitHub organization role id */ readonly roleId: pulumi.Output; /** * The GitHub team slug */ readonly teamSlug: pulumi.Output; /** * Create a OrganizationRoleTeamAssignment resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: OrganizationRoleTeamAssignmentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OrganizationRoleTeamAssignment resources. */ export interface OrganizationRoleTeamAssignmentState { /** * The GitHub organization role id */ roleId?: pulumi.Input; /** * The GitHub team slug */ teamSlug?: pulumi.Input; } /** * The set of arguments for constructing a OrganizationRoleTeamAssignment resource. */ export interface OrganizationRoleTeamAssignmentArgs { /** * The GitHub organization role id */ roleId: pulumi.Input; /** * The GitHub team slug */ teamSlug: pulumi.Input; } //# sourceMappingURL=organizationRoleTeamAssignment.d.ts.map