pulumi-aiven 6.13.0a1711361534__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/_inputs.py +200 -262
- pulumi_aiven/account.py +2 -6
- pulumi_aiven/account_authentication.py +2 -2
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +6 -10
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +18 -22
- pulumi_aiven/aws_vpc_peering_connection.py +8 -12
- pulumi_aiven/azure_privatelink.py +18 -22
- pulumi_aiven/azure_privatelink_connection_approval.py +112 -14
- pulumi_aiven/azure_vpc_peering_connection.py +6 -10
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +25 -57
- pulumi_aiven/cassandra_user.py +18 -22
- pulumi_aiven/clickhouse.py +25 -57
- pulumi_aiven/clickhouse_database.py +24 -26
- pulumi_aiven/clickhouse_grant.py +35 -37
- pulumi_aiven/clickhouse_role.py +16 -20
- pulumi_aiven/clickhouse_user.py +18 -22
- pulumi_aiven/connection_pool.py +24 -28
- pulumi_aiven/dragonfly.py +124 -263
- pulumi_aiven/flink.py +32 -36
- pulumi_aiven/flink_application.py +22 -24
- pulumi_aiven/flink_application_deployment.py +21 -21
- pulumi_aiven/flink_application_version.py +96 -14
- pulumi_aiven/gcp_privatelink.py +21 -21
- pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
- pulumi_aiven/gcp_vpc_peering_connection.py +4 -8
- pulumi_aiven/get_account.py +0 -4
- pulumi_aiven/get_aws_privatelink.py +10 -14
- pulumi_aiven/get_aws_vpc_peering_connection.py +6 -10
- pulumi_aiven/get_azure_privatelink.py +10 -14
- pulumi_aiven/get_azure_vpc_peering_connection.py +2 -6
- 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 +10 -14
- pulumi_aiven/get_clickhouse.py +7 -24
- pulumi_aiven/get_clickhouse_database.py +10 -14
- pulumi_aiven/get_clickhouse_user.py +10 -14
- pulumi_aiven/get_connection_pool.py +10 -14
- pulumi_aiven/get_dragonfly.py +27 -20
- 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 +2 -6
- pulumi_aiven/get_grafana.py +7 -24
- pulumi_aiven/get_kafka.py +13 -17
- pulumi_aiven/get_kafka_acl.py +10 -14
- pulumi_aiven/get_kafka_connect.py +7 -24
- pulumi_aiven/get_kafka_connector.py +10 -14
- pulumi_aiven/get_kafka_mirror_maker.py +7 -24
- pulumi_aiven/get_kafka_schema.py +10 -14
- pulumi_aiven/get_kafka_schema_configuration.py +10 -14
- pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
- pulumi_aiven/get_kafka_topic.py +16 -20
- pulumi_aiven/get_kafka_user.py +10 -14
- pulumi_aiven/get_m3_aggregator.py +7 -24
- pulumi_aiven/get_m3_db.py +7 -24
- pulumi_aiven/get_m3db_user.py +10 -14
- pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
- pulumi_aiven/get_my_sql.py +7 -24
- pulumi_aiven/get_mysql_database.py +10 -14
- pulumi_aiven/get_mysql_user.py +10 -14
- 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 +10 -14
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
- pulumi_aiven/get_opensearch_user.py +10 -14
- pulumi_aiven/get_organization.py +0 -4
- pulumi_aiven/get_organization_user_group.py +2 -6
- pulumi_aiven/get_pg.py +6 -10
- pulumi_aiven/get_pg_database.py +10 -14
- pulumi_aiven/get_pg_user.py +10 -14
- pulumi_aiven/get_project.py +17 -21
- pulumi_aiven/get_project_user.py +9 -13
- pulumi_aiven/get_project_vpc.py +2 -6
- pulumi_aiven/get_redis.py +7 -24
- pulumi_aiven/get_redis_user.py +10 -14
- pulumi_aiven/get_service_component.py +4 -8
- pulumi_aiven/get_service_integration.py +19 -33
- pulumi_aiven/get_service_integration_endpoint.py +2 -6
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +2 -6
- pulumi_aiven/grafana.py +82 -267
- pulumi_aiven/influx_db.py +21 -21
- pulumi_aiven/influxdb_database.py +21 -21
- pulumi_aiven/influxdb_user.py +21 -21
- pulumi_aiven/kafka.py +50 -54
- pulumi_aiven/kafka_acl.py +20 -24
- pulumi_aiven/kafka_connect.py +80 -267
- pulumi_aiven/kafka_connector.py +26 -30
- pulumi_aiven/kafka_mirror_maker.py +80 -267
- pulumi_aiven/kafka_schema.py +18 -22
- pulumi_aiven/kafka_schema_configuration.py +20 -24
- pulumi_aiven/kafka_schema_registry_acl.py +54 -14
- pulumi_aiven/kafka_topic.py +84 -46
- pulumi_aiven/kafka_user.py +18 -22
- pulumi_aiven/m3_aggregator.py +80 -267
- pulumi_aiven/m3_db.py +80 -267
- pulumi_aiven/m3db_user.py +16 -20
- pulumi_aiven/mirror_maker_replication_flow.py +22 -26
- pulumi_aiven/my_sql.py +80 -267
- pulumi_aiven/mysql_database.py +20 -24
- pulumi_aiven/mysql_user.py +18 -22
- pulumi_aiven/open_search.py +27 -31
- pulumi_aiven/open_search_acl_config.py +28 -36
- pulumi_aiven/open_search_acl_rule.py +36 -40
- pulumi_aiven/opensearch_security_plugin_config.py +28 -32
- pulumi_aiven/opensearch_user.py +18 -22
- pulumi_aiven/organization.py +2 -6
- pulumi_aiven/organization_group_project.py +46 -0
- pulumi_aiven/organization_user.py +2 -20
- pulumi_aiven/organization_user_group.py +4 -6
- pulumi_aiven/organization_user_group_member.py +8 -10
- pulumi_aiven/organizational_unit.py +6 -6
- pulumi_aiven/outputs.py +271 -390
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +20 -24
- pulumi_aiven/pg_user.py +18 -22
- pulumi_aiven/project.py +75 -79
- pulumi_aiven/project_user.py +24 -28
- pulumi_aiven/project_vpc.py +31 -7
- pulumi_aiven/redis.py +80 -267
- pulumi_aiven/redis_user.py +18 -22
- pulumi_aiven/service_integration.py +54 -58
- pulumi_aiven/static_ip.py +7 -7
- pulumi_aiven/transit_gateway_vpc_attachment.py +4 -8
- {pulumi_aiven-6.13.0a1711361534.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.0a1711361534.dist-info/RECORD +0 -150
- {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.13.0a1711361534.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,38 +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
469
|
|
|
470
470
|
## Example Usage
|
|
471
471
|
|
|
472
|
-
<!--Start PulumiCodeChooser -->
|
|
473
472
|
```python
|
|
474
473
|
import pulumi
|
|
475
474
|
import pulumi_aiven as aiven
|
|
476
475
|
|
|
477
|
-
example_project = aiven.Project("
|
|
478
|
-
project="
|
|
479
|
-
parent_id=
|
|
476
|
+
example_project = aiven.Project("example_project",
|
|
477
|
+
project="example-project",
|
|
478
|
+
parent_id=main["id"])
|
|
480
479
|
```
|
|
481
|
-
<!--End PulumiCodeChooser -->
|
|
482
480
|
|
|
483
481
|
## Import
|
|
484
482
|
|
|
485
483
|
```sh
|
|
486
|
-
$ pulumi import aiven:index/project:Project
|
|
484
|
+
$ pulumi import aiven:index/project:Project example_project PROJECT
|
|
487
485
|
```
|
|
488
486
|
|
|
489
487
|
:param str resource_name: The name of the resource.
|
|
490
488
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
491
|
-
: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.
|
|
492
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`.
|
|
493
|
-
:param pulumi.Input[str] billing_group: The
|
|
494
|
-
:param pulumi.Input[str] copy_from_project:
|
|
495
|
-
:param pulumi.Input[str] default_cloud:
|
|
496
|
-
:param pulumi.Input[str] parent_id:
|
|
497
|
-
: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.
|
|
498
496
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProjectTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize projects.
|
|
499
|
-
: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.
|
|
500
498
|
:param pulumi.Input[bool] use_source_project_billing_group: Use the same billing group that is used in source project.
|
|
501
499
|
"""
|
|
502
500
|
...
|
|
@@ -506,25 +504,23 @@ class Project(pulumi.CustomResource):
|
|
|
506
504
|
args: ProjectArgs,
|
|
507
505
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
508
506
|
"""
|
|
509
|
-
|
|
507
|
+
Creates and manages an [Aiven project](https://aiven.io/docs/platform/concepts/projects_accounts_access#projects).
|
|
510
508
|
|
|
511
509
|
## Example Usage
|
|
512
510
|
|
|
513
|
-
<!--Start PulumiCodeChooser -->
|
|
514
511
|
```python
|
|
515
512
|
import pulumi
|
|
516
513
|
import pulumi_aiven as aiven
|
|
517
514
|
|
|
518
|
-
example_project = aiven.Project("
|
|
519
|
-
project="
|
|
520
|
-
parent_id=
|
|
515
|
+
example_project = aiven.Project("example_project",
|
|
516
|
+
project="example-project",
|
|
517
|
+
parent_id=main["id"])
|
|
521
518
|
```
|
|
522
|
-
<!--End PulumiCodeChooser -->
|
|
523
519
|
|
|
524
520
|
## Import
|
|
525
521
|
|
|
526
522
|
```sh
|
|
527
|
-
$ pulumi import aiven:index/project:Project
|
|
523
|
+
$ pulumi import aiven:index/project:Project example_project PROJECT
|
|
528
524
|
```
|
|
529
525
|
|
|
530
526
|
:param str resource_name: The name of the resource.
|
|
@@ -610,19 +606,19 @@ class Project(pulumi.CustomResource):
|
|
|
610
606
|
:param str resource_name: The unique name of the resulting resource.
|
|
611
607
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
612
608
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
613
|
-
: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.
|
|
614
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`.
|
|
615
|
-
:param pulumi.Input[str] available_credits: The
|
|
616
|
-
:param pulumi.Input[str] billing_group: The
|
|
617
|
-
:param pulumi.Input[str] ca_cert: The CA certificate
|
|
618
|
-
:param pulumi.Input[str] copy_from_project:
|
|
619
|
-
:param pulumi.Input[str] default_cloud:
|
|
620
|
-
:param pulumi.Input[str] estimated_balance: The
|
|
621
|
-
:param pulumi.Input[str] parent_id:
|
|
622
|
-
:param pulumi.Input[str] payment_method: The
|
|
623
|
-
: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.
|
|
624
620
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProjectTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize projects.
|
|
625
|
-
: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.
|
|
626
622
|
:param pulumi.Input[bool] use_source_project_billing_group: Use the same billing group that is used in source project.
|
|
627
623
|
"""
|
|
628
624
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -649,7 +645,7 @@ class Project(pulumi.CustomResource):
|
|
|
649
645
|
@pulumi.getter(name="accountId")
|
|
650
646
|
def account_id(self) -> pulumi.Output[Optional[str]]:
|
|
651
647
|
"""
|
|
652
|
-
|
|
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.
|
|
653
649
|
"""
|
|
654
650
|
warnings.warn("""Use parent_id instead. This field will be removed in the next major release.""", DeprecationWarning)
|
|
655
651
|
pulumi.log.warn("""account_id is deprecated: Use parent_id instead. This field will be removed in the next major release.""")
|
|
@@ -671,7 +667,7 @@ class Project(pulumi.CustomResource):
|
|
|
671
667
|
@pulumi.getter(name="availableCredits")
|
|
672
668
|
def available_credits(self) -> pulumi.Output[str]:
|
|
673
669
|
"""
|
|
674
|
-
The
|
|
670
|
+
The number of trial or promotional credits remaining for this project.
|
|
675
671
|
"""
|
|
676
672
|
return pulumi.get(self, "available_credits")
|
|
677
673
|
|
|
@@ -679,7 +675,7 @@ class Project(pulumi.CustomResource):
|
|
|
679
675
|
@pulumi.getter(name="billingGroup")
|
|
680
676
|
def billing_group(self) -> pulumi.Output[Optional[str]]:
|
|
681
677
|
"""
|
|
682
|
-
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.
|
|
683
679
|
"""
|
|
684
680
|
return pulumi.get(self, "billing_group")
|
|
685
681
|
|
|
@@ -687,7 +683,7 @@ class Project(pulumi.CustomResource):
|
|
|
687
683
|
@pulumi.getter(name="caCert")
|
|
688
684
|
def ca_cert(self) -> pulumi.Output[str]:
|
|
689
685
|
"""
|
|
690
|
-
The CA certificate
|
|
686
|
+
The CA certificate for the project. This is required for configuring clients that connect to certain services like Kafka.
|
|
691
687
|
"""
|
|
692
688
|
return pulumi.get(self, "ca_cert")
|
|
693
689
|
|
|
@@ -695,7 +691,7 @@ class Project(pulumi.CustomResource):
|
|
|
695
691
|
@pulumi.getter(name="copyFromProject")
|
|
696
692
|
def copy_from_project(self) -> pulumi.Output[Optional[str]]:
|
|
697
693
|
"""
|
|
698
|
-
|
|
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.
|
|
699
695
|
"""
|
|
700
696
|
return pulumi.get(self, "copy_from_project")
|
|
701
697
|
|
|
@@ -703,7 +699,7 @@ class Project(pulumi.CustomResource):
|
|
|
703
699
|
@pulumi.getter(name="defaultCloud")
|
|
704
700
|
def default_cloud(self) -> pulumi.Output[Optional[str]]:
|
|
705
701
|
"""
|
|
706
|
-
|
|
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.
|
|
707
703
|
"""
|
|
708
704
|
return pulumi.get(self, "default_cloud")
|
|
709
705
|
|
|
@@ -711,7 +707,7 @@ class Project(pulumi.CustomResource):
|
|
|
711
707
|
@pulumi.getter(name="estimatedBalance")
|
|
712
708
|
def estimated_balance(self) -> pulumi.Output[str]:
|
|
713
709
|
"""
|
|
714
|
-
The
|
|
710
|
+
The monthly running estimate for this project for the current billing period.
|
|
715
711
|
"""
|
|
716
712
|
return pulumi.get(self, "estimated_balance")
|
|
717
713
|
|
|
@@ -719,7 +715,7 @@ class Project(pulumi.CustomResource):
|
|
|
719
715
|
@pulumi.getter(name="parentId")
|
|
720
716
|
def parent_id(self) -> pulumi.Output[Optional[str]]:
|
|
721
717
|
"""
|
|
722
|
-
|
|
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.
|
|
723
719
|
"""
|
|
724
720
|
return pulumi.get(self, "parent_id")
|
|
725
721
|
|
|
@@ -727,7 +723,7 @@ class Project(pulumi.CustomResource):
|
|
|
727
723
|
@pulumi.getter(name="paymentMethod")
|
|
728
724
|
def payment_method(self) -> pulumi.Output[str]:
|
|
729
725
|
"""
|
|
730
|
-
The
|
|
726
|
+
The payment type used for this project. For example,`card`.
|
|
731
727
|
"""
|
|
732
728
|
return pulumi.get(self, "payment_method")
|
|
733
729
|
|
|
@@ -735,7 +731,7 @@ class Project(pulumi.CustomResource):
|
|
|
735
731
|
@pulumi.getter
|
|
736
732
|
def project(self) -> pulumi.Output[str]:
|
|
737
733
|
"""
|
|
738
|
-
|
|
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.
|
|
739
735
|
"""
|
|
740
736
|
return pulumi.get(self, "project")
|
|
741
737
|
|
|
@@ -751,7 +747,7 @@ class Project(pulumi.CustomResource):
|
|
|
751
747
|
@pulumi.getter(name="technicalEmails")
|
|
752
748
|
def technical_emails(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
753
749
|
"""
|
|
754
|
-
|
|
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.
|
|
755
751
|
"""
|
|
756
752
|
return pulumi.get(self, "technical_emails")
|
|
757
753
|
|