import * as pulumi from "@pulumi/pulumi"; /** * The Project User data source provides information about the existing Aiven Project User. * * > **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 = aiven.getProjectUser({ * project: myproject.project, * email: "john.doe@example.com", * }); * ``` */ export declare function getProjectUser(args: GetProjectUserArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getProjectUser. */ export interface GetProjectUserArgs { /** * Email address of the user in lowercase. Changing this property forces recreation of the resource. */ email: string; /** * 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: string; } /** * A collection of values returned by getProjectUser. */ export interface GetProjectUserResult { /** * 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: boolean; /** * Email address of the user in lowercase. Changing this property forces recreation of the resource. */ readonly email: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * 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: string; /** * 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: string; } /** * The Project User data source provides information about the existing Aiven Project User. * * > **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 = aiven.getProjectUser({ * project: myproject.project, * email: "john.doe@example.com", * }); * ``` */ export declare function getProjectUserOutput(args: GetProjectUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getProjectUser. */ export interface GetProjectUserOutputArgs { /** * Email address of the user in lowercase. Changing this property forces recreation of the resource. */ email: 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=getProjectUser.d.ts.map