import * as pulumi from "@pulumi/pulumi"; /** * Manage an association between an organization role and a user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const example = new github.OrganizationRoleUser("example", { * roleId: 1234, * login: "example-user", * }); * ``` * * ## Import * * An organization role user association can be imported using the role ID and the user login separated by a `:`. * * ```sh * $ pulumi import github:index/organizationRoleUser:OrganizationRoleUser example "1234:example-user" * ``` */ export declare class OrganizationRoleUser extends pulumi.CustomResource { /** * Get an existing OrganizationRoleUser 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?: OrganizationRoleUserState, opts?: pulumi.CustomResourceOptions): OrganizationRoleUser; /** * Returns true if the given object is an instance of OrganizationRoleUser. 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 OrganizationRoleUser; /** * The login for the GitHub user account. */ readonly login: pulumi.Output; /** * The ID of the organization role. */ readonly roleId: pulumi.Output; /** * Create a OrganizationRoleUser 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: OrganizationRoleUserArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OrganizationRoleUser resources. */ export interface OrganizationRoleUserState { /** * The login for the GitHub user account. */ login?: pulumi.Input; /** * The ID of the organization role. */ roleId?: pulumi.Input; } /** * The set of arguments for constructing a OrganizationRoleUser resource. */ export interface OrganizationRoleUserArgs { /** * The login for the GitHub user account. */ login: pulumi.Input; /** * The ID of the organization role. */ roleId: pulumi.Input; } //# sourceMappingURL=organizationRoleUser.d.ts.map