import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Creates and manages an [Aiven project](https://aiven.io/docs/platform/concepts/orgs-units-projects#projects). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = new aiven.OrganizationProject("example", { * tags: [{ * key: "foo", * value: "foo", * }], * organizationId: "org1234abcd", * projectId: "project-1", * billingGroupId: "721bf796-1d89-402d-9195-425a23c4efdc", * parentId: "a3fd7a594e01", * basePort: 10000, * technicalEmails: ["foo@example.com"], * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/organizationProject:OrganizationProject example ORGANIZATION_ID/PROJECT_ID * ``` */ export declare class OrganizationProject extends pulumi.CustomResource { /** * Get an existing OrganizationProject 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?: OrganizationProjectState, opts?: pulumi.CustomResourceOptions): OrganizationProject; /** * Returns true if the given object is an instance of OrganizationProject. 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 OrganizationProject; /** * Valid port number (10000-30000) to use as a base for service port allocation. Value must be between `10000` and `30000`. */ readonly basePort: pulumi.Output; /** * Billing group ID to assign to the project. It's required when moving projects between organizations. Minimum length: `1`. */ readonly billingGroupId: pulumi.Output; /** * PEM encoded certificate. */ readonly caCert: pulumi.Output; /** * ID of an organization. Maximum length: `36`. */ readonly organizationId: pulumi.Output; /** * Link a project to an [organization or organizational unit](https://aiven.io/docs/platform/concepts/orgs-units-projects) by using its ID. To set up proper dependencies please refer to this variable as a reference. */ readonly parentId: pulumi.Output; /** * The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource. Changing this property forces recreation of the resource. */ readonly projectId: pulumi.Output; /** * Tags are key-value pairs that allow you to categorize projects. */ readonly tags: pulumi.Output; /** * The email addresses for [project contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this project and its services. You can also set email contacts at the service level. It's good practice to keep these up-to-date to be aware of any potential issues with your project. */ readonly technicalEmails: pulumi.Output; readonly timeouts: pulumi.Output; /** * Create a OrganizationProject 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: OrganizationProjectArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OrganizationProject resources. */ export interface OrganizationProjectState { /** * Valid port number (10000-30000) to use as a base for service port allocation. Value must be between `10000` and `30000`. */ basePort?: pulumi.Input; /** * Billing group ID to assign to the project. It's required when moving projects between organizations. Minimum length: `1`. */ billingGroupId?: pulumi.Input; /** * PEM encoded certificate. */ caCert?: pulumi.Input; /** * ID of an organization. Maximum length: `36`. */ organizationId?: pulumi.Input; /** * Link a project to an [organization or organizational unit](https://aiven.io/docs/platform/concepts/orgs-units-projects) by using its ID. To set up proper dependencies please refer to this variable as a reference. */ parentId?: pulumi.Input; /** * The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource. Changing this property forces recreation of the resource. */ projectId?: pulumi.Input; /** * Tags are key-value pairs that allow you to categorize projects. */ tags?: pulumi.Input[] | undefined>; /** * The email addresses for [project contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this project and its services. You can also set email contacts at the service level. It's good practice to keep these up-to-date to be aware of any potential issues with your project. */ technicalEmails?: pulumi.Input[] | undefined>; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a OrganizationProject resource. */ export interface OrganizationProjectArgs { /** * Valid port number (10000-30000) to use as a base for service port allocation. Value must be between `10000` and `30000`. */ basePort?: pulumi.Input; /** * Billing group ID to assign to the project. It's required when moving projects between organizations. Minimum length: `1`. */ billingGroupId: pulumi.Input; /** * ID of an organization. Maximum length: `36`. */ organizationId: pulumi.Input; /** * Link a project to an [organization or organizational unit](https://aiven.io/docs/platform/concepts/orgs-units-projects) by using its ID. To set up proper dependencies please refer to this variable as a reference. */ parentId: pulumi.Input; /** * The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource. Changing this property forces recreation of the resource. */ projectId: pulumi.Input; /** * Tags are key-value pairs that allow you to categorize projects. */ tags?: pulumi.Input[] | undefined>; /** * The email addresses for [project contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this project and its services. You can also set email contacts at the service level. It's good practice to keep these up-to-date to be aware of any potential issues with your project. */ technicalEmails?: pulumi.Input[] | undefined>; timeouts?: pulumi.Input; } //# sourceMappingURL=organizationProject.d.ts.map