import * as pulumi from "@pulumi/pulumi"; /** * Links an existing project to an existing team. Both the project and team should have the same `accountId`. * * > **Teams have been replaced by groups** * To make the transition to groups smoother, * migrate your teams to groups. * * > **Important** * You can't delete the Account Owners team. **Deleting all other teams in your organization will disable the teams feature.** * You won't be able to create new teams or access your Account Owners team. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const exampleProject = new aiven.Project("example_project", { * project: "project-1", * accountId: ACCOUNT_RESOURCE_NAME.accountId, * }); * const exampleTeam = new aiven.AccountTeam("example_team", { * accountId: ACCOUNT_RESOURCE_NAMEAivenAccount.accountId, * name: "Example team", * }); * const main = new aiven.AccountTeamProject("main", { * accountId: ACCOUNT_RESOURCE_NAMEAivenAccount.accountId, * teamId: exampleTeam.teamId, * projectName: exampleProject.project, * teamType: "admin", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/accountTeamProject:AccountTeamProject account_team_project1 account_id/team_id/project_name * ``` */ export declare class AccountTeamProject extends pulumi.CustomResource { /** * Get an existing AccountTeamProject 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?: AccountTeamProjectState, opts?: pulumi.CustomResourceOptions): AccountTeamProject; /** * Returns true if the given object is an instance of AccountTeamProject. 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 AccountTeamProject; /** * The unique account id */ readonly accountId: pulumi.Output; /** * The name of an already existing project */ readonly projectName: pulumi.Output; /** * An account team id */ readonly teamId: pulumi.Output; /** * The Account team project 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 teamType: pulumi.Output; /** * Create a AccountTeamProject 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: AccountTeamProjectArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AccountTeamProject resources. */ export interface AccountTeamProjectState { /** * The unique account id */ accountId?: pulumi.Input; /** * The name of an already existing project */ projectName?: pulumi.Input; /** * An account team id */ teamId?: pulumi.Input; /** * The Account team project 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`. */ teamType?: pulumi.Input; } /** * The set of arguments for constructing a AccountTeamProject resource. */ export interface AccountTeamProjectArgs { /** * The unique account id */ accountId: pulumi.Input; /** * The name of an already existing project */ projectName?: pulumi.Input; /** * An account team id */ teamId: pulumi.Input; /** * The Account team project 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`. */ teamType?: pulumi.Input; } //# sourceMappingURL=accountTeamProject.d.ts.map