import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Adds and manages a group of users as members of a project. * * **This resource is deprecated.** Use `aiven.OrganizationPermission` and * migrate existing aiven.OrganizationGroupProject resources * to the new resource. **Do not use the aiven.OrganizationGroupProject and aiven.OrganizationPermission resources together**. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const exampleProject = new aiven.Project("example_project", { * project: "example-project", * parentId: main.id, * }); * const example = new aiven.OrganizationUserGroup("example", { * description: "Example group of users.", * organizationId: main.id, * name: "Example group", * }); * const projectAdmin = new aiven.OrganizationUserGroupMember("project_admin", { * groupId: example.groupId, * organizationId: main.id, * userId: "u123a456b7890c", * }); * const exampleOrganizationGroupProject = new aiven.OrganizationGroupProject("example", { * groupId: example.groupId, * project: exampleProjectAivenProject.project, * role: "admin", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/organizationGroupProject:OrganizationGroupProject example PROJECT/USER_GROUP_ID * ``` */ export declare class OrganizationGroupProject extends pulumi.CustomResource { /** * Get an existing OrganizationGroupProject 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?: OrganizationGroupProjectState, opts?: pulumi.CustomResourceOptions): OrganizationGroupProject; /** * Returns true if the given object is an instance of OrganizationGroupProject. 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 OrganizationGroupProject; /** * The ID of the user group. */ readonly groupId: pulumi.Output; /** * The project that the users in the group are members of. */ readonly project: pulumi.Output; /** * [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. 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 role: pulumi.Output; readonly timeouts: pulumi.Output; /** * Create a OrganizationGroupProject 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: OrganizationGroupProjectArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OrganizationGroupProject resources. */ export interface OrganizationGroupProjectState { /** * The ID of the user group. */ groupId?: pulumi.Input; /** * The project that the users in the group are members of. */ project?: pulumi.Input; /** * [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. 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`. */ role?: pulumi.Input; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a OrganizationGroupProject resource. */ export interface OrganizationGroupProjectArgs { /** * The ID of the user group. */ groupId: pulumi.Input; /** * The project that the users in the group are members of. */ project: pulumi.Input; /** * [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. 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`. */ role: pulumi.Input; timeouts?: pulumi.Input; } //# sourceMappingURL=organizationGroupProject.d.ts.map