pulumi-aiven 6.13.0a1710156545__py3-none-any.whl → 6.31.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +136 -0
- pulumi_aiven/_inputs.py +32749 -13711
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +32 -45
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +35 -14
- pulumi_aiven/account_team_member.py +48 -39
- pulumi_aiven/account_team_project.py +40 -27
- pulumi_aiven/alloydbomni.py +1335 -0
- pulumi_aiven/alloydbomni_database.py +347 -0
- pulumi_aiven/alloydbomni_user.py +433 -0
- pulumi_aiven/aws_privatelink.py +44 -43
- pulumi_aiven/aws_vpc_peering_connection.py +72 -61
- pulumi_aiven/azure_privatelink.py +54 -53
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -77
- pulumi_aiven/billing_group.py +33 -34
- pulumi_aiven/cassandra.py +145 -126
- pulumi_aiven/cassandra_user.py +59 -58
- pulumi_aiven/clickhouse.py +133 -114
- pulumi_aiven/clickhouse_database.py +58 -62
- pulumi_aiven/clickhouse_grant.py +135 -134
- pulumi_aiven/clickhouse_role.py +36 -49
- pulumi_aiven/clickhouse_user.py +50 -49
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -66
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -104
- pulumi_aiven/flink_application.py +58 -55
- pulumi_aiven/flink_application_deployment.py +178 -73
- pulumi_aiven/flink_application_version.py +179 -96
- pulumi_aiven/gcp_privatelink.py +69 -42
- pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
- pulumi_aiven/gcp_vpc_peering_connection.py +49 -48
- pulumi_aiven/get_account.py +20 -9
- pulumi_aiven/get_account_authentication.py +31 -5
- pulumi_aiven/get_account_team.py +18 -5
- pulumi_aiven/get_account_team_member.py +29 -14
- pulumi_aiven/get_account_team_project.py +19 -6
- pulumi_aiven/get_alloydbomni.py +499 -0
- pulumi_aiven/get_alloydbomni_database.py +168 -0
- pulumi_aiven/get_alloydbomni_user.py +210 -0
- pulumi_aiven/get_aws_privatelink.py +33 -24
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
- pulumi_aiven/get_azure_privatelink.py +37 -26
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -23
- pulumi_aiven/get_cassandra.py +55 -23
- pulumi_aiven/get_cassandra_user.py +42 -30
- pulumi_aiven/get_clickhouse.py +55 -23
- pulumi_aiven/get_clickhouse_database.py +35 -26
- pulumi_aiven/get_clickhouse_user.py +40 -29
- pulumi_aiven/get_connection_pool.py +43 -30
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -23
- pulumi_aiven/get_flink_application.py +44 -31
- pulumi_aiven/get_flink_application_version.py +55 -37
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
- pulumi_aiven/get_grafana.py +55 -23
- pulumi_aiven/get_influx_db.py +41 -5
- pulumi_aiven/get_influxdb_database.py +18 -5
- pulumi_aiven/get_influxdb_user.py +21 -5
- pulumi_aiven/get_kafka.py +59 -25
- pulumi_aiven/get_kafka_acl.py +50 -37
- pulumi_aiven/get_kafka_connect.py +54 -36
- pulumi_aiven/get_kafka_connector.py +44 -28
- pulumi_aiven/get_kafka_mirror_maker.py +50 -32
- pulumi_aiven/get_kafka_schema.py +35 -23
- pulumi_aiven/get_kafka_schema_configuration.py +32 -21
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -29
- pulumi_aiven/get_kafka_user.py +42 -30
- pulumi_aiven/get_m3_aggregator.py +51 -19
- pulumi_aiven/get_m3_db.py +55 -23
- pulumi_aiven/get_m3db_user.py +38 -28
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
- pulumi_aiven/get_my_sql.py +50 -18
- pulumi_aiven/get_mysql_database.py +31 -22
- pulumi_aiven/get_mysql_user.py +36 -23
- pulumi_aiven/get_open_search.py +50 -18
- pulumi_aiven/get_open_search_acl_config.py +27 -19
- pulumi_aiven/get_open_search_acl_rule.py +37 -25
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
- pulumi_aiven/get_opensearch_user.py +32 -22
- pulumi_aiven/get_organization.py +25 -17
- pulumi_aiven/get_organization_application_user.py +176 -0
- pulumi_aiven/get_organization_user.py +18 -5
- pulumi_aiven/get_organization_user_group.py +48 -14
- pulumi_aiven/get_organization_user_list.py +121 -0
- pulumi_aiven/get_organizational_unit.py +26 -14
- pulumi_aiven/get_pg.py +55 -23
- pulumi_aiven/get_pg_database.py +39 -28
- pulumi_aiven/get_pg_user.py +44 -31
- pulumi_aiven/get_project.py +43 -26
- pulumi_aiven/get_project_user.py +27 -19
- pulumi_aiven/get_project_vpc.py +31 -23
- pulumi_aiven/get_redis.py +50 -18
- pulumi_aiven/get_redis_user.py +40 -26
- pulumi_aiven/get_service_component.py +40 -22
- pulumi_aiven/get_service_integration.py +163 -53
- pulumi_aiven/get_service_integration_endpoint.py +128 -37
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -322
- pulumi_aiven/influx_db.py +127 -90
- pulumi_aiven/influxdb_database.py +40 -55
- pulumi_aiven/influxdb_user.py +47 -42
- pulumi_aiven/kafka.py +157 -144
- pulumi_aiven/kafka_acl.py +64 -57
- pulumi_aiven/kafka_connect.py +201 -332
- pulumi_aiven/kafka_connector.py +67 -60
- pulumi_aiven/kafka_mirror_maker.py +137 -320
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_quota.py +604 -0
- pulumi_aiven/kafka_schema.py +63 -58
- pulumi_aiven/kafka_schema_configuration.py +25 -24
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -58
- pulumi_aiven/m3_aggregator.py +174 -310
- pulumi_aiven/m3_db.py +190 -326
- pulumi_aiven/m3db_user.py +51 -50
- pulumi_aiven/mirror_maker_replication_flow.py +215 -55
- pulumi_aiven/my_sql.py +188 -324
- pulumi_aiven/mysql_database.py +32 -51
- pulumi_aiven/mysql_user.py +37 -36
- pulumi_aiven/open_search.py +126 -107
- pulumi_aiven/open_search_acl_config.py +33 -36
- pulumi_aiven/open_search_acl_rule.py +55 -54
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -29
- pulumi_aiven/organization.py +18 -17
- pulumi_aiven/organization_application_user.py +345 -0
- pulumi_aiven/organization_application_user_token.py +711 -0
- pulumi_aiven/organization_group_project.py +349 -0
- pulumi_aiven/organization_permission.py +421 -0
- pulumi_aiven/organization_user.py +25 -46
- pulumi_aiven/organization_user_group.py +64 -23
- pulumi_aiven/organization_user_group_member.py +359 -0
- pulumi_aiven/organizational_unit.py +41 -36
- pulumi_aiven/outputs.py +38976 -21894
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -71
- pulumi_aiven/pg_user.py +80 -65
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -35
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +161 -297
- pulumi_aiven/redis_user.py +58 -57
- pulumi_aiven/service_integration.py +511 -165
- pulumi_aiven/service_integration_endpoint.py +466 -158
- pulumi_aiven/static_ip.py +21 -16
- pulumi_aiven/thanos.py +1262 -0
- pulumi_aiven/transit_gateway_vpc_attachment.py +44 -58
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0.dist-info/RECORD +170 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/project.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -28,15 +33,15 @@ class ProjectArgs:
|
|
|
28
33
|
use_source_project_billing_group: Optional[pulumi.Input[bool]] = None):
|
|
29
34
|
"""
|
|
30
35
|
The set of arguments for constructing a Project resource.
|
|
31
|
-
:param pulumi.Input[str] project:
|
|
32
|
-
:param pulumi.Input[str] account_id:
|
|
36
|
+
:param pulumi.Input[str] project: The name of the project. Names must be globally unique among all Aiven customers and cannot be changed later without destroying and re-creating the project, including all sub-resources.
|
|
37
|
+
:param pulumi.Input[str] account_id: Link a project to an existing account using its account ID. This field is deprecated. Use `parent_id` instead. To set up proper dependencies please refer to this variable as a reference.
|
|
33
38
|
:param pulumi.Input[bool] add_account_owners_admin_access: If parent_id is set, grant account owner team admin access to the new project. The default value is `true`.
|
|
34
|
-
:param pulumi.Input[str] billing_group: The
|
|
35
|
-
:param pulumi.Input[str] copy_from_project:
|
|
36
|
-
:param pulumi.Input[str] default_cloud:
|
|
37
|
-
:param pulumi.Input[str] parent_id:
|
|
39
|
+
:param pulumi.Input[str] billing_group: The ID of the billing group this project is assigned to. To set up proper dependencies please refer to this variable as a reference.
|
|
40
|
+
:param pulumi.Input[str] copy_from_project: The name of the project to copy billing information, technical contacts, and some other project attributes from. This is most useful to set up the same billing method when you use bank transfers to pay invoices for other projects. You can only do this when creating a project. You can't set the billing over the API for an existing. To set up proper dependencies please refer to this variable as a reference.
|
|
41
|
+
:param pulumi.Input[str] default_cloud: Default cloud provider and region where services are hosted. This can be changed after the project is created and will not affect existing services.
|
|
42
|
+
:param pulumi.Input[str] parent_id: Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/orgs-units-projects) or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
38
43
|
:param pulumi.Input[Sequence[pulumi.Input['ProjectTagArgs']]] tags: Tags are key-value pairs that allow you to categorize projects.
|
|
39
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] technical_emails:
|
|
44
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] technical_emails: 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.
|
|
40
45
|
:param pulumi.Input[bool] use_source_project_billing_group: Use the same billing group that is used in source project.
|
|
41
46
|
"""
|
|
42
47
|
pulumi.set(__self__, "project", project)
|
|
@@ -72,7 +77,7 @@ class ProjectArgs:
|
|
|
72
77
|
@pulumi.getter
|
|
73
78
|
def project(self) -> pulumi.Input[str]:
|
|
74
79
|
"""
|
|
75
|
-
|
|
80
|
+
The name of the project. Names must be globally unique among all Aiven customers and cannot be changed later without destroying and re-creating the project, including all sub-resources.
|
|
76
81
|
"""
|
|
77
82
|
return pulumi.get(self, "project")
|
|
78
83
|
|
|
@@ -82,13 +87,11 @@ class ProjectArgs:
|
|
|
82
87
|
|
|
83
88
|
@property
|
|
84
89
|
@pulumi.getter(name="accountId")
|
|
90
|
+
@_utilities.deprecated("""Use parent_id instead. This field will be removed in the next major release.""")
|
|
85
91
|
def account_id(self) -> Optional[pulumi.Input[str]]:
|
|
86
92
|
"""
|
|
87
|
-
|
|
93
|
+
Link a project to an existing account using its account ID. This field is deprecated. Use `parent_id` instead. To set up proper dependencies please refer to this variable as a reference.
|
|
88
94
|
"""
|
|
89
|
-
warnings.warn("""Use parent_id instead. This field will be removed in the next major release.""", DeprecationWarning)
|
|
90
|
-
pulumi.log.warn("""account_id is deprecated: Use parent_id instead. This field will be removed in the next major release.""")
|
|
91
|
-
|
|
92
95
|
return pulumi.get(self, "account_id")
|
|
93
96
|
|
|
94
97
|
@account_id.setter
|
|
@@ -97,13 +100,11 @@ class ProjectArgs:
|
|
|
97
100
|
|
|
98
101
|
@property
|
|
99
102
|
@pulumi.getter(name="addAccountOwnersAdminAccess")
|
|
103
|
+
@_utilities.deprecated("""This field is deprecated and will be removed in the next major release. Currently, it will always be set to true, regardless of the value set in the manifest.""")
|
|
100
104
|
def add_account_owners_admin_access(self) -> Optional[pulumi.Input[bool]]:
|
|
101
105
|
"""
|
|
102
106
|
If parent_id is set, grant account owner team admin access to the new project. The default value is `true`.
|
|
103
107
|
"""
|
|
104
|
-
warnings.warn("""This field is deprecated and will be removed in the next major release. Currently, it will always be set to true, regardless of the value set in the manifest.""", DeprecationWarning)
|
|
105
|
-
pulumi.log.warn("""add_account_owners_admin_access is deprecated: This field is deprecated and will be removed in the next major release. Currently, it will always be set to true, regardless of the value set in the manifest.""")
|
|
106
|
-
|
|
107
108
|
return pulumi.get(self, "add_account_owners_admin_access")
|
|
108
109
|
|
|
109
110
|
@add_account_owners_admin_access.setter
|
|
@@ -114,7 +115,7 @@ class ProjectArgs:
|
|
|
114
115
|
@pulumi.getter(name="billingGroup")
|
|
115
116
|
def billing_group(self) -> Optional[pulumi.Input[str]]:
|
|
116
117
|
"""
|
|
117
|
-
The
|
|
118
|
+
The ID of the billing group this project is assigned to. To set up proper dependencies please refer to this variable as a reference.
|
|
118
119
|
"""
|
|
119
120
|
return pulumi.get(self, "billing_group")
|
|
120
121
|
|
|
@@ -126,7 +127,7 @@ class ProjectArgs:
|
|
|
126
127
|
@pulumi.getter(name="copyFromProject")
|
|
127
128
|
def copy_from_project(self) -> Optional[pulumi.Input[str]]:
|
|
128
129
|
"""
|
|
129
|
-
|
|
130
|
+
The name of the project to copy billing information, technical contacts, and some other project attributes from. This is most useful to set up the same billing method when you use bank transfers to pay invoices for other projects. You can only do this when creating a project. You can't set the billing over the API for an existing. To set up proper dependencies please refer to this variable as a reference.
|
|
130
131
|
"""
|
|
131
132
|
return pulumi.get(self, "copy_from_project")
|
|
132
133
|
|
|
@@ -138,7 +139,7 @@ class ProjectArgs:
|
|
|
138
139
|
@pulumi.getter(name="defaultCloud")
|
|
139
140
|
def default_cloud(self) -> Optional[pulumi.Input[str]]:
|
|
140
141
|
"""
|
|
141
|
-
|
|
142
|
+
Default cloud provider and region where services are hosted. This can be changed after the project is created and will not affect existing services.
|
|
142
143
|
"""
|
|
143
144
|
return pulumi.get(self, "default_cloud")
|
|
144
145
|
|
|
@@ -150,7 +151,7 @@ class ProjectArgs:
|
|
|
150
151
|
@pulumi.getter(name="parentId")
|
|
151
152
|
def parent_id(self) -> Optional[pulumi.Input[str]]:
|
|
152
153
|
"""
|
|
153
|
-
|
|
154
|
+
Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/orgs-units-projects) or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
154
155
|
"""
|
|
155
156
|
return pulumi.get(self, "parent_id")
|
|
156
157
|
|
|
@@ -174,7 +175,7 @@ class ProjectArgs:
|
|
|
174
175
|
@pulumi.getter(name="technicalEmails")
|
|
175
176
|
def technical_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
176
177
|
"""
|
|
177
|
-
|
|
178
|
+
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.
|
|
178
179
|
"""
|
|
179
180
|
return pulumi.get(self, "technical_emails")
|
|
180
181
|
|
|
@@ -184,13 +185,11 @@ class ProjectArgs:
|
|
|
184
185
|
|
|
185
186
|
@property
|
|
186
187
|
@pulumi.getter(name="useSourceProjectBillingGroup")
|
|
188
|
+
@_utilities.deprecated("""This field is deprecated and will be removed in the next major release.""")
|
|
187
189
|
def use_source_project_billing_group(self) -> Optional[pulumi.Input[bool]]:
|
|
188
190
|
"""
|
|
189
191
|
Use the same billing group that is used in source project.
|
|
190
192
|
"""
|
|
191
|
-
warnings.warn("""This field is deprecated and will be removed in the next major release.""", DeprecationWarning)
|
|
192
|
-
pulumi.log.warn("""use_source_project_billing_group is deprecated: This field is deprecated and will be removed in the next major release.""")
|
|
193
|
-
|
|
194
193
|
return pulumi.get(self, "use_source_project_billing_group")
|
|
195
194
|
|
|
196
195
|
@use_source_project_billing_group.setter
|
|
@@ -217,19 +216,19 @@ class _ProjectState:
|
|
|
217
216
|
use_source_project_billing_group: Optional[pulumi.Input[bool]] = None):
|
|
218
217
|
"""
|
|
219
218
|
Input properties used for looking up and filtering Project resources.
|
|
220
|
-
:param pulumi.Input[str] account_id:
|
|
219
|
+
:param pulumi.Input[str] account_id: Link a project to an existing account using its account ID. This field is deprecated. Use `parent_id` instead. To set up proper dependencies please refer to this variable as a reference.
|
|
221
220
|
:param pulumi.Input[bool] add_account_owners_admin_access: If parent_id is set, grant account owner team admin access to the new project. The default value is `true`.
|
|
222
|
-
:param pulumi.Input[str] available_credits: The
|
|
223
|
-
:param pulumi.Input[str] billing_group: The
|
|
224
|
-
:param pulumi.Input[str] ca_cert: The CA certificate
|
|
225
|
-
:param pulumi.Input[str] copy_from_project:
|
|
226
|
-
:param pulumi.Input[str] default_cloud:
|
|
227
|
-
:param pulumi.Input[str] estimated_balance: The
|
|
228
|
-
:param pulumi.Input[str] parent_id:
|
|
229
|
-
:param pulumi.Input[str] payment_method: The
|
|
230
|
-
:param pulumi.Input[str] project:
|
|
221
|
+
:param pulumi.Input[str] available_credits: The number of trial or promotional credits remaining for this project.
|
|
222
|
+
:param pulumi.Input[str] billing_group: The ID of the billing group this project is assigned to. To set up proper dependencies please refer to this variable as a reference.
|
|
223
|
+
:param pulumi.Input[str] ca_cert: The CA certificate for the project. This is required for configuring clients that connect to certain services like Kafka.
|
|
224
|
+
:param pulumi.Input[str] copy_from_project: The name of the project to copy billing information, technical contacts, and some other project attributes from. This is most useful to set up the same billing method when you use bank transfers to pay invoices for other projects. You can only do this when creating a project. You can't set the billing over the API for an existing. To set up proper dependencies please refer to this variable as a reference.
|
|
225
|
+
:param pulumi.Input[str] default_cloud: Default cloud provider and region where services are hosted. This can be changed after the project is created and will not affect existing services.
|
|
226
|
+
:param pulumi.Input[str] estimated_balance: The monthly running estimate for this project for the current billing period.
|
|
227
|
+
:param pulumi.Input[str] parent_id: Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/orgs-units-projects) or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
228
|
+
:param pulumi.Input[str] payment_method: The payment type used for this project. For example,`card`.
|
|
229
|
+
:param pulumi.Input[str] project: The name of the project. Names must be globally unique among all Aiven customers and cannot be changed later without destroying and re-creating the project, including all sub-resources.
|
|
231
230
|
:param pulumi.Input[Sequence[pulumi.Input['ProjectTagArgs']]] tags: Tags are key-value pairs that allow you to categorize projects.
|
|
232
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] technical_emails:
|
|
231
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] technical_emails: 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.
|
|
233
232
|
:param pulumi.Input[bool] use_source_project_billing_group: Use the same billing group that is used in source project.
|
|
234
233
|
"""
|
|
235
234
|
if account_id is not None:
|
|
@@ -272,13 +271,11 @@ class _ProjectState:
|
|
|
272
271
|
|
|
273
272
|
@property
|
|
274
273
|
@pulumi.getter(name="accountId")
|
|
274
|
+
@_utilities.deprecated("""Use parent_id instead. This field will be removed in the next major release.""")
|
|
275
275
|
def account_id(self) -> Optional[pulumi.Input[str]]:
|
|
276
276
|
"""
|
|
277
|
-
|
|
277
|
+
Link a project to an existing account using its account ID. This field is deprecated. Use `parent_id` instead. To set up proper dependencies please refer to this variable as a reference.
|
|
278
278
|
"""
|
|
279
|
-
warnings.warn("""Use parent_id instead. This field will be removed in the next major release.""", DeprecationWarning)
|
|
280
|
-
pulumi.log.warn("""account_id is deprecated: Use parent_id instead. This field will be removed in the next major release.""")
|
|
281
|
-
|
|
282
279
|
return pulumi.get(self, "account_id")
|
|
283
280
|
|
|
284
281
|
@account_id.setter
|
|
@@ -287,13 +284,11 @@ class _ProjectState:
|
|
|
287
284
|
|
|
288
285
|
@property
|
|
289
286
|
@pulumi.getter(name="addAccountOwnersAdminAccess")
|
|
287
|
+
@_utilities.deprecated("""This field is deprecated and will be removed in the next major release. Currently, it will always be set to true, regardless of the value set in the manifest.""")
|
|
290
288
|
def add_account_owners_admin_access(self) -> Optional[pulumi.Input[bool]]:
|
|
291
289
|
"""
|
|
292
290
|
If parent_id is set, grant account owner team admin access to the new project. The default value is `true`.
|
|
293
291
|
"""
|
|
294
|
-
warnings.warn("""This field is deprecated and will be removed in the next major release. Currently, it will always be set to true, regardless of the value set in the manifest.""", DeprecationWarning)
|
|
295
|
-
pulumi.log.warn("""add_account_owners_admin_access is deprecated: This field is deprecated and will be removed in the next major release. Currently, it will always be set to true, regardless of the value set in the manifest.""")
|
|
296
|
-
|
|
297
292
|
return pulumi.get(self, "add_account_owners_admin_access")
|
|
298
293
|
|
|
299
294
|
@add_account_owners_admin_access.setter
|
|
@@ -304,7 +299,7 @@ class _ProjectState:
|
|
|
304
299
|
@pulumi.getter(name="availableCredits")
|
|
305
300
|
def available_credits(self) -> Optional[pulumi.Input[str]]:
|
|
306
301
|
"""
|
|
307
|
-
The
|
|
302
|
+
The number of trial or promotional credits remaining for this project.
|
|
308
303
|
"""
|
|
309
304
|
return pulumi.get(self, "available_credits")
|
|
310
305
|
|
|
@@ -316,7 +311,7 @@ class _ProjectState:
|
|
|
316
311
|
@pulumi.getter(name="billingGroup")
|
|
317
312
|
def billing_group(self) -> Optional[pulumi.Input[str]]:
|
|
318
313
|
"""
|
|
319
|
-
The
|
|
314
|
+
The ID of the billing group this project is assigned to. To set up proper dependencies please refer to this variable as a reference.
|
|
320
315
|
"""
|
|
321
316
|
return pulumi.get(self, "billing_group")
|
|
322
317
|
|
|
@@ -328,7 +323,7 @@ class _ProjectState:
|
|
|
328
323
|
@pulumi.getter(name="caCert")
|
|
329
324
|
def ca_cert(self) -> Optional[pulumi.Input[str]]:
|
|
330
325
|
"""
|
|
331
|
-
The CA certificate
|
|
326
|
+
The CA certificate for the project. This is required for configuring clients that connect to certain services like Kafka.
|
|
332
327
|
"""
|
|
333
328
|
return pulumi.get(self, "ca_cert")
|
|
334
329
|
|
|
@@ -340,7 +335,7 @@ class _ProjectState:
|
|
|
340
335
|
@pulumi.getter(name="copyFromProject")
|
|
341
336
|
def copy_from_project(self) -> Optional[pulumi.Input[str]]:
|
|
342
337
|
"""
|
|
343
|
-
|
|
338
|
+
The name of the project to copy billing information, technical contacts, and some other project attributes from. This is most useful to set up the same billing method when you use bank transfers to pay invoices for other projects. You can only do this when creating a project. You can't set the billing over the API for an existing. To set up proper dependencies please refer to this variable as a reference.
|
|
344
339
|
"""
|
|
345
340
|
return pulumi.get(self, "copy_from_project")
|
|
346
341
|
|
|
@@ -352,7 +347,7 @@ class _ProjectState:
|
|
|
352
347
|
@pulumi.getter(name="defaultCloud")
|
|
353
348
|
def default_cloud(self) -> Optional[pulumi.Input[str]]:
|
|
354
349
|
"""
|
|
355
|
-
|
|
350
|
+
Default cloud provider and region where services are hosted. This can be changed after the project is created and will not affect existing services.
|
|
356
351
|
"""
|
|
357
352
|
return pulumi.get(self, "default_cloud")
|
|
358
353
|
|
|
@@ -364,7 +359,7 @@ class _ProjectState:
|
|
|
364
359
|
@pulumi.getter(name="estimatedBalance")
|
|
365
360
|
def estimated_balance(self) -> Optional[pulumi.Input[str]]:
|
|
366
361
|
"""
|
|
367
|
-
The
|
|
362
|
+
The monthly running estimate for this project for the current billing period.
|
|
368
363
|
"""
|
|
369
364
|
return pulumi.get(self, "estimated_balance")
|
|
370
365
|
|
|
@@ -376,7 +371,7 @@ class _ProjectState:
|
|
|
376
371
|
@pulumi.getter(name="parentId")
|
|
377
372
|
def parent_id(self) -> Optional[pulumi.Input[str]]:
|
|
378
373
|
"""
|
|
379
|
-
|
|
374
|
+
Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/orgs-units-projects) or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
380
375
|
"""
|
|
381
376
|
return pulumi.get(self, "parent_id")
|
|
382
377
|
|
|
@@ -388,7 +383,7 @@ class _ProjectState:
|
|
|
388
383
|
@pulumi.getter(name="paymentMethod")
|
|
389
384
|
def payment_method(self) -> Optional[pulumi.Input[str]]:
|
|
390
385
|
"""
|
|
391
|
-
The
|
|
386
|
+
The payment type used for this project. For example,`card`.
|
|
392
387
|
"""
|
|
393
388
|
return pulumi.get(self, "payment_method")
|
|
394
389
|
|
|
@@ -400,7 +395,7 @@ class _ProjectState:
|
|
|
400
395
|
@pulumi.getter
|
|
401
396
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
402
397
|
"""
|
|
403
|
-
|
|
398
|
+
The name of the project. Names must be globally unique among all Aiven customers and cannot be changed later without destroying and re-creating the project, including all sub-resources.
|
|
404
399
|
"""
|
|
405
400
|
return pulumi.get(self, "project")
|
|
406
401
|
|
|
@@ -424,7 +419,7 @@ class _ProjectState:
|
|
|
424
419
|
@pulumi.getter(name="technicalEmails")
|
|
425
420
|
def technical_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
426
421
|
"""
|
|
427
|
-
|
|
422
|
+
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.
|
|
428
423
|
"""
|
|
429
424
|
return pulumi.get(self, "technical_emails")
|
|
430
425
|
|
|
@@ -434,13 +429,11 @@ class _ProjectState:
|
|
|
434
429
|
|
|
435
430
|
@property
|
|
436
431
|
@pulumi.getter(name="useSourceProjectBillingGroup")
|
|
432
|
+
@_utilities.deprecated("""This field is deprecated and will be removed in the next major release.""")
|
|
437
433
|
def use_source_project_billing_group(self) -> Optional[pulumi.Input[bool]]:
|
|
438
434
|
"""
|
|
439
435
|
Use the same billing group that is used in source project.
|
|
440
436
|
"""
|
|
441
|
-
warnings.warn("""This field is deprecated and will be removed in the next major release.""", DeprecationWarning)
|
|
442
|
-
pulumi.log.warn("""use_source_project_billing_group is deprecated: This field is deprecated and will be removed in the next major release.""")
|
|
443
|
-
|
|
444
437
|
return pulumi.get(self, "use_source_project_billing_group")
|
|
445
438
|
|
|
446
439
|
@use_source_project_billing_group.setter
|
|
@@ -460,30 +453,41 @@ class Project(pulumi.CustomResource):
|
|
|
460
453
|
default_cloud: Optional[pulumi.Input[str]] = None,
|
|
461
454
|
parent_id: Optional[pulumi.Input[str]] = None,
|
|
462
455
|
project: Optional[pulumi.Input[str]] = None,
|
|
463
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
456
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProjectTagArgs', 'ProjectTagArgsDict']]]]] = None,
|
|
464
457
|
technical_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
465
458
|
use_source_project_billing_group: Optional[pulumi.Input[bool]] = None,
|
|
466
459
|
__props__=None):
|
|
467
460
|
"""
|
|
468
|
-
|
|
461
|
+
Creates and manages an [Aiven project](https://aiven.io/docs/platform/concepts/orgs-units-projects#projects).
|
|
462
|
+
|
|
463
|
+
## Example Usage
|
|
464
|
+
|
|
465
|
+
```python
|
|
466
|
+
import pulumi
|
|
467
|
+
import pulumi_aiven as aiven
|
|
468
|
+
|
|
469
|
+
example_project = aiven.Project("example_project",
|
|
470
|
+
project="example-project",
|
|
471
|
+
parent_id=main["id"])
|
|
472
|
+
```
|
|
469
473
|
|
|
470
474
|
## Import
|
|
471
475
|
|
|
472
476
|
```sh
|
|
473
|
-
$ pulumi import aiven:index/project:Project
|
|
477
|
+
$ pulumi import aiven:index/project:Project example_project PROJECT
|
|
474
478
|
```
|
|
475
479
|
|
|
476
480
|
:param str resource_name: The name of the resource.
|
|
477
481
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
478
|
-
:param pulumi.Input[str] account_id:
|
|
482
|
+
:param pulumi.Input[str] account_id: Link a project to an existing account using its account ID. This field is deprecated. Use `parent_id` instead. To set up proper dependencies please refer to this variable as a reference.
|
|
479
483
|
:param pulumi.Input[bool] add_account_owners_admin_access: If parent_id is set, grant account owner team admin access to the new project. The default value is `true`.
|
|
480
|
-
:param pulumi.Input[str] billing_group: The
|
|
481
|
-
:param pulumi.Input[str] copy_from_project:
|
|
482
|
-
:param pulumi.Input[str] default_cloud:
|
|
483
|
-
:param pulumi.Input[str] parent_id:
|
|
484
|
-
:param pulumi.Input[str] project:
|
|
485
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
486
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] technical_emails:
|
|
484
|
+
:param pulumi.Input[str] billing_group: The ID of the billing group this project is assigned to. To set up proper dependencies please refer to this variable as a reference.
|
|
485
|
+
:param pulumi.Input[str] copy_from_project: The name of the project to copy billing information, technical contacts, and some other project attributes from. This is most useful to set up the same billing method when you use bank transfers to pay invoices for other projects. You can only do this when creating a project. You can't set the billing over the API for an existing. To set up proper dependencies please refer to this variable as a reference.
|
|
486
|
+
:param pulumi.Input[str] default_cloud: Default cloud provider and region where services are hosted. This can be changed after the project is created and will not affect existing services.
|
|
487
|
+
:param pulumi.Input[str] parent_id: Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/orgs-units-projects) or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
488
|
+
:param pulumi.Input[str] project: The name of the project. Names must be globally unique among all Aiven customers and cannot be changed later without destroying and re-creating the project, including all sub-resources.
|
|
489
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ProjectTagArgs', 'ProjectTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize projects.
|
|
490
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] technical_emails: 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.
|
|
487
491
|
:param pulumi.Input[bool] use_source_project_billing_group: Use the same billing group that is used in source project.
|
|
488
492
|
"""
|
|
489
493
|
...
|
|
@@ -493,12 +497,23 @@ class Project(pulumi.CustomResource):
|
|
|
493
497
|
args: ProjectArgs,
|
|
494
498
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
495
499
|
"""
|
|
496
|
-
|
|
500
|
+
Creates and manages an [Aiven project](https://aiven.io/docs/platform/concepts/orgs-units-projects#projects).
|
|
501
|
+
|
|
502
|
+
## Example Usage
|
|
503
|
+
|
|
504
|
+
```python
|
|
505
|
+
import pulumi
|
|
506
|
+
import pulumi_aiven as aiven
|
|
507
|
+
|
|
508
|
+
example_project = aiven.Project("example_project",
|
|
509
|
+
project="example-project",
|
|
510
|
+
parent_id=main["id"])
|
|
511
|
+
```
|
|
497
512
|
|
|
498
513
|
## Import
|
|
499
514
|
|
|
500
515
|
```sh
|
|
501
|
-
$ pulumi import aiven:index/project:Project
|
|
516
|
+
$ pulumi import aiven:index/project:Project example_project PROJECT
|
|
502
517
|
```
|
|
503
518
|
|
|
504
519
|
:param str resource_name: The name of the resource.
|
|
@@ -523,7 +538,7 @@ class Project(pulumi.CustomResource):
|
|
|
523
538
|
default_cloud: Optional[pulumi.Input[str]] = None,
|
|
524
539
|
parent_id: Optional[pulumi.Input[str]] = None,
|
|
525
540
|
project: Optional[pulumi.Input[str]] = None,
|
|
526
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
541
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProjectTagArgs', 'ProjectTagArgsDict']]]]] = None,
|
|
527
542
|
technical_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
528
543
|
use_source_project_billing_group: Optional[pulumi.Input[bool]] = None,
|
|
529
544
|
__props__=None):
|
|
@@ -574,7 +589,7 @@ class Project(pulumi.CustomResource):
|
|
|
574
589
|
parent_id: Optional[pulumi.Input[str]] = None,
|
|
575
590
|
payment_method: Optional[pulumi.Input[str]] = None,
|
|
576
591
|
project: Optional[pulumi.Input[str]] = None,
|
|
577
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
592
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProjectTagArgs', 'ProjectTagArgsDict']]]]] = None,
|
|
578
593
|
technical_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
579
594
|
use_source_project_billing_group: Optional[pulumi.Input[bool]] = None) -> 'Project':
|
|
580
595
|
"""
|
|
@@ -584,19 +599,19 @@ class Project(pulumi.CustomResource):
|
|
|
584
599
|
:param str resource_name: The unique name of the resulting resource.
|
|
585
600
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
586
601
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
587
|
-
:param pulumi.Input[str] account_id:
|
|
602
|
+
:param pulumi.Input[str] account_id: Link a project to an existing account using its account ID. This field is deprecated. Use `parent_id` instead. To set up proper dependencies please refer to this variable as a reference.
|
|
588
603
|
:param pulumi.Input[bool] add_account_owners_admin_access: If parent_id is set, grant account owner team admin access to the new project. The default value is `true`.
|
|
589
|
-
:param pulumi.Input[str] available_credits: The
|
|
590
|
-
:param pulumi.Input[str] billing_group: The
|
|
591
|
-
:param pulumi.Input[str] ca_cert: The CA certificate
|
|
592
|
-
:param pulumi.Input[str] copy_from_project:
|
|
593
|
-
:param pulumi.Input[str] default_cloud:
|
|
594
|
-
:param pulumi.Input[str] estimated_balance: The
|
|
595
|
-
:param pulumi.Input[str] parent_id:
|
|
596
|
-
:param pulumi.Input[str] payment_method: The
|
|
597
|
-
:param pulumi.Input[str] project:
|
|
598
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
599
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] technical_emails:
|
|
604
|
+
:param pulumi.Input[str] available_credits: The number of trial or promotional credits remaining for this project.
|
|
605
|
+
:param pulumi.Input[str] billing_group: The ID of the billing group this project is assigned to. To set up proper dependencies please refer to this variable as a reference.
|
|
606
|
+
:param pulumi.Input[str] ca_cert: The CA certificate for the project. This is required for configuring clients that connect to certain services like Kafka.
|
|
607
|
+
:param pulumi.Input[str] copy_from_project: The name of the project to copy billing information, technical contacts, and some other project attributes from. This is most useful to set up the same billing method when you use bank transfers to pay invoices for other projects. You can only do this when creating a project. You can't set the billing over the API for an existing. To set up proper dependencies please refer to this variable as a reference.
|
|
608
|
+
:param pulumi.Input[str] default_cloud: Default cloud provider and region where services are hosted. This can be changed after the project is created and will not affect existing services.
|
|
609
|
+
:param pulumi.Input[str] estimated_balance: The monthly running estimate for this project for the current billing period.
|
|
610
|
+
:param pulumi.Input[str] parent_id: Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/orgs-units-projects) or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
611
|
+
:param pulumi.Input[str] payment_method: The payment type used for this project. For example,`card`.
|
|
612
|
+
:param pulumi.Input[str] project: The name of the project. Names must be globally unique among all Aiven customers and cannot be changed later without destroying and re-creating the project, including all sub-resources.
|
|
613
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ProjectTagArgs', 'ProjectTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize projects.
|
|
614
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] technical_emails: 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.
|
|
600
615
|
:param pulumi.Input[bool] use_source_project_billing_group: Use the same billing group that is used in source project.
|
|
601
616
|
"""
|
|
602
617
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -621,31 +636,27 @@ class Project(pulumi.CustomResource):
|
|
|
621
636
|
|
|
622
637
|
@property
|
|
623
638
|
@pulumi.getter(name="accountId")
|
|
624
|
-
|
|
639
|
+
@_utilities.deprecated("""Use parent_id instead. This field will be removed in the next major release.""")
|
|
640
|
+
def account_id(self) -> pulumi.Output[str]:
|
|
625
641
|
"""
|
|
626
|
-
|
|
642
|
+
Link a project to an existing account using its account ID. This field is deprecated. Use `parent_id` instead. To set up proper dependencies please refer to this variable as a reference.
|
|
627
643
|
"""
|
|
628
|
-
warnings.warn("""Use parent_id instead. This field will be removed in the next major release.""", DeprecationWarning)
|
|
629
|
-
pulumi.log.warn("""account_id is deprecated: Use parent_id instead. This field will be removed in the next major release.""")
|
|
630
|
-
|
|
631
644
|
return pulumi.get(self, "account_id")
|
|
632
645
|
|
|
633
646
|
@property
|
|
634
647
|
@pulumi.getter(name="addAccountOwnersAdminAccess")
|
|
648
|
+
@_utilities.deprecated("""This field is deprecated and will be removed in the next major release. Currently, it will always be set to true, regardless of the value set in the manifest.""")
|
|
635
649
|
def add_account_owners_admin_access(self) -> pulumi.Output[Optional[bool]]:
|
|
636
650
|
"""
|
|
637
651
|
If parent_id is set, grant account owner team admin access to the new project. The default value is `true`.
|
|
638
652
|
"""
|
|
639
|
-
warnings.warn("""This field is deprecated and will be removed in the next major release. Currently, it will always be set to true, regardless of the value set in the manifest.""", DeprecationWarning)
|
|
640
|
-
pulumi.log.warn("""add_account_owners_admin_access is deprecated: This field is deprecated and will be removed in the next major release. Currently, it will always be set to true, regardless of the value set in the manifest.""")
|
|
641
|
-
|
|
642
653
|
return pulumi.get(self, "add_account_owners_admin_access")
|
|
643
654
|
|
|
644
655
|
@property
|
|
645
656
|
@pulumi.getter(name="availableCredits")
|
|
646
657
|
def available_credits(self) -> pulumi.Output[str]:
|
|
647
658
|
"""
|
|
648
|
-
The
|
|
659
|
+
The number of trial or promotional credits remaining for this project.
|
|
649
660
|
"""
|
|
650
661
|
return pulumi.get(self, "available_credits")
|
|
651
662
|
|
|
@@ -653,7 +664,7 @@ class Project(pulumi.CustomResource):
|
|
|
653
664
|
@pulumi.getter(name="billingGroup")
|
|
654
665
|
def billing_group(self) -> pulumi.Output[Optional[str]]:
|
|
655
666
|
"""
|
|
656
|
-
The
|
|
667
|
+
The ID of the billing group this project is assigned to. To set up proper dependencies please refer to this variable as a reference.
|
|
657
668
|
"""
|
|
658
669
|
return pulumi.get(self, "billing_group")
|
|
659
670
|
|
|
@@ -661,7 +672,7 @@ class Project(pulumi.CustomResource):
|
|
|
661
672
|
@pulumi.getter(name="caCert")
|
|
662
673
|
def ca_cert(self) -> pulumi.Output[str]:
|
|
663
674
|
"""
|
|
664
|
-
The CA certificate
|
|
675
|
+
The CA certificate for the project. This is required for configuring clients that connect to certain services like Kafka.
|
|
665
676
|
"""
|
|
666
677
|
return pulumi.get(self, "ca_cert")
|
|
667
678
|
|
|
@@ -669,7 +680,7 @@ class Project(pulumi.CustomResource):
|
|
|
669
680
|
@pulumi.getter(name="copyFromProject")
|
|
670
681
|
def copy_from_project(self) -> pulumi.Output[Optional[str]]:
|
|
671
682
|
"""
|
|
672
|
-
|
|
683
|
+
The name of the project to copy billing information, technical contacts, and some other project attributes from. This is most useful to set up the same billing method when you use bank transfers to pay invoices for other projects. You can only do this when creating a project. You can't set the billing over the API for an existing. To set up proper dependencies please refer to this variable as a reference.
|
|
673
684
|
"""
|
|
674
685
|
return pulumi.get(self, "copy_from_project")
|
|
675
686
|
|
|
@@ -677,7 +688,7 @@ class Project(pulumi.CustomResource):
|
|
|
677
688
|
@pulumi.getter(name="defaultCloud")
|
|
678
689
|
def default_cloud(self) -> pulumi.Output[Optional[str]]:
|
|
679
690
|
"""
|
|
680
|
-
|
|
691
|
+
Default cloud provider and region where services are hosted. This can be changed after the project is created and will not affect existing services.
|
|
681
692
|
"""
|
|
682
693
|
return pulumi.get(self, "default_cloud")
|
|
683
694
|
|
|
@@ -685,7 +696,7 @@ class Project(pulumi.CustomResource):
|
|
|
685
696
|
@pulumi.getter(name="estimatedBalance")
|
|
686
697
|
def estimated_balance(self) -> pulumi.Output[str]:
|
|
687
698
|
"""
|
|
688
|
-
The
|
|
699
|
+
The monthly running estimate for this project for the current billing period.
|
|
689
700
|
"""
|
|
690
701
|
return pulumi.get(self, "estimated_balance")
|
|
691
702
|
|
|
@@ -693,7 +704,7 @@ class Project(pulumi.CustomResource):
|
|
|
693
704
|
@pulumi.getter(name="parentId")
|
|
694
705
|
def parent_id(self) -> pulumi.Output[Optional[str]]:
|
|
695
706
|
"""
|
|
696
|
-
|
|
707
|
+
Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/orgs-units-projects) or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
697
708
|
"""
|
|
698
709
|
return pulumi.get(self, "parent_id")
|
|
699
710
|
|
|
@@ -701,7 +712,7 @@ class Project(pulumi.CustomResource):
|
|
|
701
712
|
@pulumi.getter(name="paymentMethod")
|
|
702
713
|
def payment_method(self) -> pulumi.Output[str]:
|
|
703
714
|
"""
|
|
704
|
-
The
|
|
715
|
+
The payment type used for this project. For example,`card`.
|
|
705
716
|
"""
|
|
706
717
|
return pulumi.get(self, "payment_method")
|
|
707
718
|
|
|
@@ -709,7 +720,7 @@ class Project(pulumi.CustomResource):
|
|
|
709
720
|
@pulumi.getter
|
|
710
721
|
def project(self) -> pulumi.Output[str]:
|
|
711
722
|
"""
|
|
712
|
-
|
|
723
|
+
The name of the project. Names must be globally unique among all Aiven customers and cannot be changed later without destroying and re-creating the project, including all sub-resources.
|
|
713
724
|
"""
|
|
714
725
|
return pulumi.get(self, "project")
|
|
715
726
|
|
|
@@ -725,18 +736,16 @@ class Project(pulumi.CustomResource):
|
|
|
725
736
|
@pulumi.getter(name="technicalEmails")
|
|
726
737
|
def technical_emails(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
727
738
|
"""
|
|
728
|
-
|
|
739
|
+
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.
|
|
729
740
|
"""
|
|
730
741
|
return pulumi.get(self, "technical_emails")
|
|
731
742
|
|
|
732
743
|
@property
|
|
733
744
|
@pulumi.getter(name="useSourceProjectBillingGroup")
|
|
745
|
+
@_utilities.deprecated("""This field is deprecated and will be removed in the next major release.""")
|
|
734
746
|
def use_source_project_billing_group(self) -> pulumi.Output[Optional[bool]]:
|
|
735
747
|
"""
|
|
736
748
|
Use the same billing group that is used in source project.
|
|
737
749
|
"""
|
|
738
|
-
warnings.warn("""This field is deprecated and will be removed in the next major release.""", DeprecationWarning)
|
|
739
|
-
pulumi.log.warn("""use_source_project_billing_group is deprecated: This field is deprecated and will be removed in the next major release.""")
|
|
740
|
-
|
|
741
750
|
return pulumi.get(self, "use_source_project_billing_group")
|
|
742
751
|
|