import * as pulumi from "@pulumi/pulumi"; /** * Manage 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 = new github.OrganizationRepositoryRole("example", { * name: "example", * baseRole: "read", * permissions: [ * "add_assignee", * "add_label", * ], * }); * ``` * * ## Import * * A custom organization repository role can be imported using its ID. * * ```sh * $ pulumi import github:index/organizationRepositoryRole:OrganizationRepositoryRole example 1234 * ``` */ export declare class OrganizationRepositoryRole extends pulumi.CustomResource { /** * Get an existing OrganizationRepositoryRole 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?: OrganizationRepositoryRoleState, opts?: pulumi.CustomResourceOptions): OrganizationRepositoryRole; /** * Returns true if the given object is an instance of OrganizationRepositoryRole. 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 OrganizationRepositoryRole; /** * The system role from which this role inherits permissions. */ readonly baseRole: pulumi.Output; /** * The description of the organization repository role. */ readonly description: pulumi.Output; /** * The name of the organization repository role. */ readonly name: pulumi.Output; /** * The permissions included in this role. */ readonly permissions: pulumi.Output; /** * The ID of the organization repository role. */ readonly roleId: pulumi.Output; /** * Create a OrganizationRepositoryRole 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: OrganizationRepositoryRoleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OrganizationRepositoryRole resources. */ export interface OrganizationRepositoryRoleState { /** * The system role from which this role inherits permissions. */ baseRole?: pulumi.Input; /** * The description of the organization repository role. */ description?: pulumi.Input; /** * The name of the organization repository role. */ name?: pulumi.Input; /** * The permissions included in this role. */ permissions?: pulumi.Input[] | undefined>; /** * The ID of the organization repository role. */ roleId?: pulumi.Input; } /** * The set of arguments for constructing a OrganizationRepositoryRole resource. */ export interface OrganizationRepositoryRoleArgs { /** * The system role from which this role inherits permissions. */ baseRole: pulumi.Input; /** * The description of the organization repository role. */ description?: pulumi.Input; /** * The name of the organization repository role. */ name?: pulumi.Input; /** * The permissions included in this role. */ permissions: pulumi.Input[]>; } //# sourceMappingURL=organizationRepositoryRole.d.ts.map