import * as pulumi from "@pulumi/pulumi"; /** * Creates and manages an Aiven project member. * * > **This resource is deprecated** * Use `aiven.OrganizationPermission` instead and * migrate existing `aiven.ProjectUser` resources * to the new resource. **Do not use the `aiven.ProjectUser` and `aiven.OrganizationPermission` resources together**. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const mytestuser = new aiven.ProjectUser("mytestuser", { * project: myproject.project, * email: "john.doe@example.com", * memberType: "admin", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/projectUser:ProjectUser mytestuser PROJECT/EMAIL * ``` */ export declare class ProjectUser extends pulumi.CustomResource { /** * Get an existing ProjectUser 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?: ProjectUserState, opts?: pulumi.CustomResourceOptions): ProjectUser; /** * Returns true if the given object is an instance of ProjectUser. 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 ProjectUser; /** * Whether the user has accepted the request to join the project. Users get an invite and become project members after accepting the invite. */ readonly accepted: pulumi.Output; /** * Email address of the user in lowercase. Changing this property forces recreation of the resource. */ readonly email: pulumi.Output; /** * Project membership type. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`, `organization:event_logs:read`, `organization:groups:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:sustainability:read`, `organization:users:write`, `project:ai_gateway_keys:read`, `project:ai_gateway_keys:write`, `project:audit_logs:read`, `project:event_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `readOnly`, `role:organization:admin`, `role:project:admin`, `role:project:read`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:metrics:read`, `service:secrets:read` and `service:users:write`. */ readonly memberType: pulumi.Output; /** * The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ readonly project: pulumi.Output; /** * Create a ProjectUser 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: ProjectUserArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ProjectUser resources. */ export interface ProjectUserState { /** * Whether the user has accepted the request to join the project. Users get an invite and become project members after accepting the invite. */ accepted?: pulumi.Input; /** * Email address of the user in lowercase. Changing this property forces recreation of the resource. */ email?: pulumi.Input; /** * Project membership type. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`, `organization:event_logs:read`, `organization:groups:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:sustainability:read`, `organization:users:write`, `project:ai_gateway_keys:read`, `project:ai_gateway_keys:write`, `project:audit_logs:read`, `project:event_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `readOnly`, `role:organization:admin`, `role:project:admin`, `role:project:read`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:metrics:read`, `service:secrets:read` and `service:users:write`. */ memberType?: pulumi.Input; /** * The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ project?: pulumi.Input; } /** * The set of arguments for constructing a ProjectUser resource. */ export interface ProjectUserArgs { /** * Email address of the user in lowercase. Changing this property forces recreation of the resource. */ email: pulumi.Input; /** * Project membership type. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`, `organization:event_logs:read`, `organization:groups:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:sustainability:read`, `organization:users:write`, `project:ai_gateway_keys:read`, `project:ai_gateway_keys:write`, `project:audit_logs:read`, `project:event_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `readOnly`, `role:organization:admin`, `role:project:admin`, `role:project:read`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:metrics:read`, `service:secrets:read` and `service:users:write`. */ memberType: pulumi.Input; /** * The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ project: pulumi.Input; } //# sourceMappingURL=projectUser.d.ts.map