pulumi-aiven 6.13.0a1711027602__py3-none-any.whl → 6.14.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 +28 -0
- pulumi_aiven/_inputs.py +2623 -1138
- pulumi_aiven/account.py +8 -8
- pulumi_aiven/account_authentication.py +8 -4
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +27 -31
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +39 -43
- pulumi_aiven/aws_vpc_peering_connection.py +62 -56
- pulumi_aiven/azure_privatelink.py +49 -53
- pulumi_aiven/azure_privatelink_connection_approval.py +131 -33
- pulumi_aiven/azure_vpc_peering_connection.py +76 -72
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +25 -57
- pulumi_aiven/cassandra_user.py +25 -29
- pulumi_aiven/clickhouse.py +25 -57
- pulumi_aiven/clickhouse_database.py +31 -33
- pulumi_aiven/clickhouse_grant.py +56 -58
- pulumi_aiven/clickhouse_role.py +23 -27
- pulumi_aiven/clickhouse_user.py +25 -29
- pulumi_aiven/connection_pool.py +38 -42
- pulumi_aiven/dragonfly.py +1205 -0
- pulumi_aiven/flink.py +32 -36
- pulumi_aiven/flink_application.py +22 -24
- pulumi_aiven/flink_application_deployment.py +28 -28
- pulumi_aiven/flink_application_version.py +96 -14
- pulumi_aiven/gcp_privatelink.py +40 -40
- pulumi_aiven/gcp_privatelink_connection_approval.py +47 -47
- pulumi_aiven/gcp_vpc_peering_connection.py +39 -43
- pulumi_aiven/get_account.py +0 -4
- pulumi_aiven/get_account_team_member.py +9 -9
- pulumi_aiven/get_aws_privatelink.py +15 -19
- pulumi_aiven/get_aws_vpc_peering_connection.py +33 -27
- pulumi_aiven/get_azure_privatelink.py +17 -21
- pulumi_aiven/get_azure_vpc_peering_connection.py +50 -22
- pulumi_aiven/get_billing_group.py +2 -2
- pulumi_aiven/get_cassanda.py +7 -24
- pulumi_aiven/get_cassandra.py +7 -24
- pulumi_aiven/get_cassandra_user.py +13 -17
- pulumi_aiven/get_clickhouse.py +7 -24
- pulumi_aiven/get_clickhouse_database.py +13 -17
- pulumi_aiven/get_clickhouse_user.py +13 -17
- pulumi_aiven/get_connection_pool.py +14 -18
- pulumi_aiven/get_dragonfly.py +450 -0
- pulumi_aiven/get_flink.py +6 -10
- pulumi_aiven/get_flink_application.py +8 -12
- pulumi_aiven/get_flink_application_version.py +8 -12
- pulumi_aiven/get_gcp_vpc_peering_connection.py +18 -22
- pulumi_aiven/get_grafana.py +7 -24
- pulumi_aiven/get_kafka.py +13 -17
- pulumi_aiven/get_kafka_acl.py +19 -23
- pulumi_aiven/get_kafka_connect.py +7 -24
- pulumi_aiven/get_kafka_connector.py +13 -17
- pulumi_aiven/get_kafka_mirror_maker.py +7 -24
- pulumi_aiven/get_kafka_schema.py +13 -17
- pulumi_aiven/get_kafka_schema_configuration.py +11 -15
- pulumi_aiven/get_kafka_schema_registry_acl.py +15 -15
- pulumi_aiven/get_kafka_topic.py +19 -23
- pulumi_aiven/get_kafka_user.py +13 -17
- pulumi_aiven/get_m3_aggregator.py +7 -24
- pulumi_aiven/get_m3_db.py +7 -24
- pulumi_aiven/get_m3db_user.py +13 -17
- pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
- pulumi_aiven/get_my_sql.py +7 -24
- pulumi_aiven/get_mysql_database.py +13 -17
- pulumi_aiven/get_mysql_user.py +13 -17
- pulumi_aiven/get_open_search.py +6 -10
- pulumi_aiven/get_open_search_acl_config.py +10 -14
- pulumi_aiven/get_open_search_acl_rule.py +16 -20
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
- pulumi_aiven/get_opensearch_user.py +13 -17
- pulumi_aiven/get_organization.py +8 -12
- pulumi_aiven/get_organization_user_group.py +29 -9
- pulumi_aiven/get_organizational_unit.py +9 -9
- pulumi_aiven/get_pg.py +6 -10
- pulumi_aiven/get_pg_database.py +15 -19
- pulumi_aiven/get_pg_user.py +13 -17
- pulumi_aiven/get_project.py +17 -21
- pulumi_aiven/get_project_user.py +9 -13
- pulumi_aiven/get_project_vpc.py +11 -17
- pulumi_aiven/get_redis.py +7 -24
- pulumi_aiven/get_redis_user.py +17 -21
- pulumi_aiven/get_service_component.py +4 -8
- pulumi_aiven/get_service_integration.py +75 -37
- pulumi_aiven/get_service_integration_endpoint.py +3 -7
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +11 -15
- pulumi_aiven/grafana.py +82 -267
- pulumi_aiven/influx_db.py +28 -28
- pulumi_aiven/influxdb_database.py +35 -35
- pulumi_aiven/influxdb_user.py +42 -42
- pulumi_aiven/kafka.py +50 -54
- pulumi_aiven/kafka_acl.py +41 -45
- pulumi_aiven/kafka_connect.py +80 -267
- pulumi_aiven/kafka_connector.py +33 -37
- pulumi_aiven/kafka_mirror_maker.py +80 -267
- pulumi_aiven/kafka_schema.py +51 -51
- pulumi_aiven/kafka_schema_configuration.py +20 -24
- pulumi_aiven/kafka_schema_registry_acl.py +75 -35
- pulumi_aiven/kafka_topic.py +91 -53
- pulumi_aiven/kafka_user.py +25 -29
- pulumi_aiven/m3_aggregator.py +80 -267
- pulumi_aiven/m3_db.py +80 -267
- pulumi_aiven/m3db_user.py +23 -27
- pulumi_aiven/mirror_maker_replication_flow.py +58 -60
- pulumi_aiven/my_sql.py +80 -267
- pulumi_aiven/mysql_database.py +27 -31
- pulumi_aiven/mysql_user.py +25 -29
- pulumi_aiven/open_search.py +27 -31
- pulumi_aiven/open_search_acl_config.py +28 -36
- pulumi_aiven/open_search_acl_rule.py +50 -54
- pulumi_aiven/opensearch_security_plugin_config.py +64 -16
- pulumi_aiven/opensearch_user.py +25 -29
- pulumi_aiven/organization.py +10 -14
- pulumi_aiven/organization_group_project.py +336 -0
- pulumi_aiven/organization_user.py +16 -34
- pulumi_aiven/organization_user_group.py +59 -23
- pulumi_aiven/organization_user_group_member.py +350 -0
- pulumi_aiven/organizational_unit.py +36 -36
- pulumi_aiven/outputs.py +3539 -1136
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +41 -45
- pulumi_aiven/pg_user.py +25 -29
- pulumi_aiven/project.py +91 -69
- pulumi_aiven/project_user.py +24 -28
- pulumi_aiven/project_vpc.py +49 -25
- pulumi_aiven/redis.py +80 -267
- pulumi_aiven/redis_user.py +53 -57
- pulumi_aiven/service_integration.py +249 -65
- pulumi_aiven/service_integration_endpoint.py +7 -7
- pulumi_aiven/static_ip.py +14 -14
- pulumi_aiven/transit_gateway_vpc_attachment.py +25 -29
- {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0.dist-info/RECORD +150 -0
- pulumi_aiven-6.13.0a1711027602.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/project.py
CHANGED
|
@@ -28,15 +28,15 @@ class ProjectArgs:
|
|
|
28
28
|
use_source_project_billing_group: Optional[pulumi.Input[bool]] = None):
|
|
29
29
|
"""
|
|
30
30
|
The set of arguments for constructing a Project resource.
|
|
31
|
-
:param pulumi.Input[str] project:
|
|
32
|
-
:param pulumi.Input[str] account_id:
|
|
31
|
+
: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.
|
|
32
|
+
: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
33
|
: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:
|
|
34
|
+
: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.
|
|
35
|
+
: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.
|
|
36
|
+
: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.
|
|
37
|
+
:param pulumi.Input[str] parent_id: Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/projects_accounts_access) or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
38
38
|
: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:
|
|
39
|
+
: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
40
|
:param pulumi.Input[bool] use_source_project_billing_group: Use the same billing group that is used in source project.
|
|
41
41
|
"""
|
|
42
42
|
pulumi.set(__self__, "project", project)
|
|
@@ -72,7 +72,7 @@ class ProjectArgs:
|
|
|
72
72
|
@pulumi.getter
|
|
73
73
|
def project(self) -> pulumi.Input[str]:
|
|
74
74
|
"""
|
|
75
|
-
|
|
75
|
+
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
76
|
"""
|
|
77
77
|
return pulumi.get(self, "project")
|
|
78
78
|
|
|
@@ -84,7 +84,7 @@ class ProjectArgs:
|
|
|
84
84
|
@pulumi.getter(name="accountId")
|
|
85
85
|
def account_id(self) -> Optional[pulumi.Input[str]]:
|
|
86
86
|
"""
|
|
87
|
-
|
|
87
|
+
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
88
|
"""
|
|
89
89
|
warnings.warn("""Use parent_id instead. This field will be removed in the next major release.""", DeprecationWarning)
|
|
90
90
|
pulumi.log.warn("""account_id is deprecated: Use parent_id instead. This field will be removed in the next major release.""")
|
|
@@ -114,7 +114,7 @@ class ProjectArgs:
|
|
|
114
114
|
@pulumi.getter(name="billingGroup")
|
|
115
115
|
def billing_group(self) -> Optional[pulumi.Input[str]]:
|
|
116
116
|
"""
|
|
117
|
-
The
|
|
117
|
+
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
118
|
"""
|
|
119
119
|
return pulumi.get(self, "billing_group")
|
|
120
120
|
|
|
@@ -126,7 +126,7 @@ class ProjectArgs:
|
|
|
126
126
|
@pulumi.getter(name="copyFromProject")
|
|
127
127
|
def copy_from_project(self) -> Optional[pulumi.Input[str]]:
|
|
128
128
|
"""
|
|
129
|
-
|
|
129
|
+
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
130
|
"""
|
|
131
131
|
return pulumi.get(self, "copy_from_project")
|
|
132
132
|
|
|
@@ -138,7 +138,7 @@ class ProjectArgs:
|
|
|
138
138
|
@pulumi.getter(name="defaultCloud")
|
|
139
139
|
def default_cloud(self) -> Optional[pulumi.Input[str]]:
|
|
140
140
|
"""
|
|
141
|
-
|
|
141
|
+
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
142
|
"""
|
|
143
143
|
return pulumi.get(self, "default_cloud")
|
|
144
144
|
|
|
@@ -150,7 +150,7 @@ class ProjectArgs:
|
|
|
150
150
|
@pulumi.getter(name="parentId")
|
|
151
151
|
def parent_id(self) -> Optional[pulumi.Input[str]]:
|
|
152
152
|
"""
|
|
153
|
-
|
|
153
|
+
Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/projects_accounts_access) or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
154
154
|
"""
|
|
155
155
|
return pulumi.get(self, "parent_id")
|
|
156
156
|
|
|
@@ -174,7 +174,7 @@ class ProjectArgs:
|
|
|
174
174
|
@pulumi.getter(name="technicalEmails")
|
|
175
175
|
def technical_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
176
176
|
"""
|
|
177
|
-
|
|
177
|
+
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
178
|
"""
|
|
179
179
|
return pulumi.get(self, "technical_emails")
|
|
180
180
|
|
|
@@ -217,19 +217,19 @@ class _ProjectState:
|
|
|
217
217
|
use_source_project_billing_group: Optional[pulumi.Input[bool]] = None):
|
|
218
218
|
"""
|
|
219
219
|
Input properties used for looking up and filtering Project resources.
|
|
220
|
-
:param pulumi.Input[str] account_id:
|
|
220
|
+
: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
221
|
: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:
|
|
222
|
+
:param pulumi.Input[str] available_credits: The number of trial or promotional credits remaining for this project.
|
|
223
|
+
: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.
|
|
224
|
+
: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.
|
|
225
|
+
: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.
|
|
226
|
+
: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.
|
|
227
|
+
:param pulumi.Input[str] estimated_balance: The monthly running estimate for this project for the current billing period.
|
|
228
|
+
:param pulumi.Input[str] parent_id: Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/projects_accounts_access) or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
229
|
+
:param pulumi.Input[str] payment_method: The payment type used for this project. For example,`card`.
|
|
230
|
+
: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
231
|
: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:
|
|
232
|
+
: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
233
|
:param pulumi.Input[bool] use_source_project_billing_group: Use the same billing group that is used in source project.
|
|
234
234
|
"""
|
|
235
235
|
if account_id is not None:
|
|
@@ -274,7 +274,7 @@ class _ProjectState:
|
|
|
274
274
|
@pulumi.getter(name="accountId")
|
|
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
279
|
warnings.warn("""Use parent_id instead. This field will be removed in the next major release.""", DeprecationWarning)
|
|
280
280
|
pulumi.log.warn("""account_id is deprecated: Use parent_id instead. This field will be removed in the next major release.""")
|
|
@@ -304,7 +304,7 @@ class _ProjectState:
|
|
|
304
304
|
@pulumi.getter(name="availableCredits")
|
|
305
305
|
def available_credits(self) -> Optional[pulumi.Input[str]]:
|
|
306
306
|
"""
|
|
307
|
-
The
|
|
307
|
+
The number of trial or promotional credits remaining for this project.
|
|
308
308
|
"""
|
|
309
309
|
return pulumi.get(self, "available_credits")
|
|
310
310
|
|
|
@@ -316,7 +316,7 @@ class _ProjectState:
|
|
|
316
316
|
@pulumi.getter(name="billingGroup")
|
|
317
317
|
def billing_group(self) -> Optional[pulumi.Input[str]]:
|
|
318
318
|
"""
|
|
319
|
-
The
|
|
319
|
+
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
320
|
"""
|
|
321
321
|
return pulumi.get(self, "billing_group")
|
|
322
322
|
|
|
@@ -328,7 +328,7 @@ class _ProjectState:
|
|
|
328
328
|
@pulumi.getter(name="caCert")
|
|
329
329
|
def ca_cert(self) -> Optional[pulumi.Input[str]]:
|
|
330
330
|
"""
|
|
331
|
-
The CA certificate
|
|
331
|
+
The CA certificate for the project. This is required for configuring clients that connect to certain services like Kafka.
|
|
332
332
|
"""
|
|
333
333
|
return pulumi.get(self, "ca_cert")
|
|
334
334
|
|
|
@@ -340,7 +340,7 @@ class _ProjectState:
|
|
|
340
340
|
@pulumi.getter(name="copyFromProject")
|
|
341
341
|
def copy_from_project(self) -> Optional[pulumi.Input[str]]:
|
|
342
342
|
"""
|
|
343
|
-
|
|
343
|
+
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
344
|
"""
|
|
345
345
|
return pulumi.get(self, "copy_from_project")
|
|
346
346
|
|
|
@@ -352,7 +352,7 @@ class _ProjectState:
|
|
|
352
352
|
@pulumi.getter(name="defaultCloud")
|
|
353
353
|
def default_cloud(self) -> Optional[pulumi.Input[str]]:
|
|
354
354
|
"""
|
|
355
|
-
|
|
355
|
+
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
356
|
"""
|
|
357
357
|
return pulumi.get(self, "default_cloud")
|
|
358
358
|
|
|
@@ -364,7 +364,7 @@ class _ProjectState:
|
|
|
364
364
|
@pulumi.getter(name="estimatedBalance")
|
|
365
365
|
def estimated_balance(self) -> Optional[pulumi.Input[str]]:
|
|
366
366
|
"""
|
|
367
|
-
The
|
|
367
|
+
The monthly running estimate for this project for the current billing period.
|
|
368
368
|
"""
|
|
369
369
|
return pulumi.get(self, "estimated_balance")
|
|
370
370
|
|
|
@@ -376,7 +376,7 @@ class _ProjectState:
|
|
|
376
376
|
@pulumi.getter(name="parentId")
|
|
377
377
|
def parent_id(self) -> Optional[pulumi.Input[str]]:
|
|
378
378
|
"""
|
|
379
|
-
|
|
379
|
+
Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/projects_accounts_access) or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
380
380
|
"""
|
|
381
381
|
return pulumi.get(self, "parent_id")
|
|
382
382
|
|
|
@@ -388,7 +388,7 @@ class _ProjectState:
|
|
|
388
388
|
@pulumi.getter(name="paymentMethod")
|
|
389
389
|
def payment_method(self) -> Optional[pulumi.Input[str]]:
|
|
390
390
|
"""
|
|
391
|
-
The
|
|
391
|
+
The payment type used for this project. For example,`card`.
|
|
392
392
|
"""
|
|
393
393
|
return pulumi.get(self, "payment_method")
|
|
394
394
|
|
|
@@ -400,7 +400,7 @@ class _ProjectState:
|
|
|
400
400
|
@pulumi.getter
|
|
401
401
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
402
402
|
"""
|
|
403
|
-
|
|
403
|
+
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
404
|
"""
|
|
405
405
|
return pulumi.get(self, "project")
|
|
406
406
|
|
|
@@ -424,7 +424,7 @@ class _ProjectState:
|
|
|
424
424
|
@pulumi.getter(name="technicalEmails")
|
|
425
425
|
def technical_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
426
426
|
"""
|
|
427
|
-
|
|
427
|
+
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
428
|
"""
|
|
429
429
|
return pulumi.get(self, "technical_emails")
|
|
430
430
|
|
|
@@ -465,25 +465,36 @@ class Project(pulumi.CustomResource):
|
|
|
465
465
|
use_source_project_billing_group: Optional[pulumi.Input[bool]] = None,
|
|
466
466
|
__props__=None):
|
|
467
467
|
"""
|
|
468
|
-
|
|
468
|
+
Creates and manages an [Aiven project](https://aiven.io/docs/platform/concepts/projects_accounts_access#projects).
|
|
469
|
+
|
|
470
|
+
## Example Usage
|
|
471
|
+
|
|
472
|
+
```python
|
|
473
|
+
import pulumi
|
|
474
|
+
import pulumi_aiven as aiven
|
|
475
|
+
|
|
476
|
+
example_project = aiven.Project("example_project",
|
|
477
|
+
project="example-project",
|
|
478
|
+
parent_id=main["id"])
|
|
479
|
+
```
|
|
469
480
|
|
|
470
481
|
## Import
|
|
471
482
|
|
|
472
483
|
```sh
|
|
473
|
-
$ pulumi import aiven:index/project:Project
|
|
484
|
+
$ pulumi import aiven:index/project:Project example_project PROJECT
|
|
474
485
|
```
|
|
475
486
|
|
|
476
487
|
:param str resource_name: The name of the resource.
|
|
477
488
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
478
|
-
:param pulumi.Input[str] account_id:
|
|
489
|
+
: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
490
|
: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:
|
|
491
|
+
: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.
|
|
492
|
+
: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.
|
|
493
|
+
: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.
|
|
494
|
+
:param pulumi.Input[str] parent_id: Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/projects_accounts_access) or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
495
|
+
: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.
|
|
485
496
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProjectTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize projects.
|
|
486
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] technical_emails:
|
|
497
|
+
: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
498
|
:param pulumi.Input[bool] use_source_project_billing_group: Use the same billing group that is used in source project.
|
|
488
499
|
"""
|
|
489
500
|
...
|
|
@@ -493,12 +504,23 @@ class Project(pulumi.CustomResource):
|
|
|
493
504
|
args: ProjectArgs,
|
|
494
505
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
495
506
|
"""
|
|
496
|
-
|
|
507
|
+
Creates and manages an [Aiven project](https://aiven.io/docs/platform/concepts/projects_accounts_access#projects).
|
|
508
|
+
|
|
509
|
+
## Example Usage
|
|
510
|
+
|
|
511
|
+
```python
|
|
512
|
+
import pulumi
|
|
513
|
+
import pulumi_aiven as aiven
|
|
514
|
+
|
|
515
|
+
example_project = aiven.Project("example_project",
|
|
516
|
+
project="example-project",
|
|
517
|
+
parent_id=main["id"])
|
|
518
|
+
```
|
|
497
519
|
|
|
498
520
|
## Import
|
|
499
521
|
|
|
500
522
|
```sh
|
|
501
|
-
$ pulumi import aiven:index/project:Project
|
|
523
|
+
$ pulumi import aiven:index/project:Project example_project PROJECT
|
|
502
524
|
```
|
|
503
525
|
|
|
504
526
|
:param str resource_name: The name of the resource.
|
|
@@ -584,19 +606,19 @@ class Project(pulumi.CustomResource):
|
|
|
584
606
|
:param str resource_name: The unique name of the resulting resource.
|
|
585
607
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
586
608
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
587
|
-
:param pulumi.Input[str] account_id:
|
|
609
|
+
: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
610
|
: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:
|
|
611
|
+
:param pulumi.Input[str] available_credits: The number of trial or promotional credits remaining for this project.
|
|
612
|
+
: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.
|
|
613
|
+
: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.
|
|
614
|
+
: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.
|
|
615
|
+
: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.
|
|
616
|
+
:param pulumi.Input[str] estimated_balance: The monthly running estimate for this project for the current billing period.
|
|
617
|
+
:param pulumi.Input[str] parent_id: Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/projects_accounts_access) or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
618
|
+
:param pulumi.Input[str] payment_method: The payment type used for this project. For example,`card`.
|
|
619
|
+
: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.
|
|
598
620
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProjectTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize projects.
|
|
599
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] technical_emails:
|
|
621
|
+
: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
622
|
:param pulumi.Input[bool] use_source_project_billing_group: Use the same billing group that is used in source project.
|
|
601
623
|
"""
|
|
602
624
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -623,7 +645,7 @@ class Project(pulumi.CustomResource):
|
|
|
623
645
|
@pulumi.getter(name="accountId")
|
|
624
646
|
def account_id(self) -> pulumi.Output[Optional[str]]:
|
|
625
647
|
"""
|
|
626
|
-
|
|
648
|
+
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
649
|
"""
|
|
628
650
|
warnings.warn("""Use parent_id instead. This field will be removed in the next major release.""", DeprecationWarning)
|
|
629
651
|
pulumi.log.warn("""account_id is deprecated: Use parent_id instead. This field will be removed in the next major release.""")
|
|
@@ -645,7 +667,7 @@ class Project(pulumi.CustomResource):
|
|
|
645
667
|
@pulumi.getter(name="availableCredits")
|
|
646
668
|
def available_credits(self) -> pulumi.Output[str]:
|
|
647
669
|
"""
|
|
648
|
-
The
|
|
670
|
+
The number of trial or promotional credits remaining for this project.
|
|
649
671
|
"""
|
|
650
672
|
return pulumi.get(self, "available_credits")
|
|
651
673
|
|
|
@@ -653,7 +675,7 @@ class Project(pulumi.CustomResource):
|
|
|
653
675
|
@pulumi.getter(name="billingGroup")
|
|
654
676
|
def billing_group(self) -> pulumi.Output[Optional[str]]:
|
|
655
677
|
"""
|
|
656
|
-
The
|
|
678
|
+
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
679
|
"""
|
|
658
680
|
return pulumi.get(self, "billing_group")
|
|
659
681
|
|
|
@@ -661,7 +683,7 @@ class Project(pulumi.CustomResource):
|
|
|
661
683
|
@pulumi.getter(name="caCert")
|
|
662
684
|
def ca_cert(self) -> pulumi.Output[str]:
|
|
663
685
|
"""
|
|
664
|
-
The CA certificate
|
|
686
|
+
The CA certificate for the project. This is required for configuring clients that connect to certain services like Kafka.
|
|
665
687
|
"""
|
|
666
688
|
return pulumi.get(self, "ca_cert")
|
|
667
689
|
|
|
@@ -669,7 +691,7 @@ class Project(pulumi.CustomResource):
|
|
|
669
691
|
@pulumi.getter(name="copyFromProject")
|
|
670
692
|
def copy_from_project(self) -> pulumi.Output[Optional[str]]:
|
|
671
693
|
"""
|
|
672
|
-
|
|
694
|
+
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
695
|
"""
|
|
674
696
|
return pulumi.get(self, "copy_from_project")
|
|
675
697
|
|
|
@@ -677,7 +699,7 @@ class Project(pulumi.CustomResource):
|
|
|
677
699
|
@pulumi.getter(name="defaultCloud")
|
|
678
700
|
def default_cloud(self) -> pulumi.Output[Optional[str]]:
|
|
679
701
|
"""
|
|
680
|
-
|
|
702
|
+
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
703
|
"""
|
|
682
704
|
return pulumi.get(self, "default_cloud")
|
|
683
705
|
|
|
@@ -685,7 +707,7 @@ class Project(pulumi.CustomResource):
|
|
|
685
707
|
@pulumi.getter(name="estimatedBalance")
|
|
686
708
|
def estimated_balance(self) -> pulumi.Output[str]:
|
|
687
709
|
"""
|
|
688
|
-
The
|
|
710
|
+
The monthly running estimate for this project for the current billing period.
|
|
689
711
|
"""
|
|
690
712
|
return pulumi.get(self, "estimated_balance")
|
|
691
713
|
|
|
@@ -693,7 +715,7 @@ class Project(pulumi.CustomResource):
|
|
|
693
715
|
@pulumi.getter(name="parentId")
|
|
694
716
|
def parent_id(self) -> pulumi.Output[Optional[str]]:
|
|
695
717
|
"""
|
|
696
|
-
|
|
718
|
+
Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/projects_accounts_access) or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
697
719
|
"""
|
|
698
720
|
return pulumi.get(self, "parent_id")
|
|
699
721
|
|
|
@@ -701,7 +723,7 @@ class Project(pulumi.CustomResource):
|
|
|
701
723
|
@pulumi.getter(name="paymentMethod")
|
|
702
724
|
def payment_method(self) -> pulumi.Output[str]:
|
|
703
725
|
"""
|
|
704
|
-
The
|
|
726
|
+
The payment type used for this project. For example,`card`.
|
|
705
727
|
"""
|
|
706
728
|
return pulumi.get(self, "payment_method")
|
|
707
729
|
|
|
@@ -709,7 +731,7 @@ class Project(pulumi.CustomResource):
|
|
|
709
731
|
@pulumi.getter
|
|
710
732
|
def project(self) -> pulumi.Output[str]:
|
|
711
733
|
"""
|
|
712
|
-
|
|
734
|
+
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
735
|
"""
|
|
714
736
|
return pulumi.get(self, "project")
|
|
715
737
|
|
|
@@ -725,7 +747,7 @@ class Project(pulumi.CustomResource):
|
|
|
725
747
|
@pulumi.getter(name="technicalEmails")
|
|
726
748
|
def technical_emails(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
727
749
|
"""
|
|
728
|
-
|
|
750
|
+
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
751
|
"""
|
|
730
752
|
return pulumi.get(self, "technical_emails")
|
|
731
753
|
|