pulumi-aiven 6.13.0a1709702245__py3-none-any.whl → 6.31.0a1736831339__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 +127 -0
- pulumi_aiven/_inputs.py +32826 -13922
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +34 -43
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +37 -12
- pulumi_aiven/account_team_member.py +48 -35
- pulumi_aiven/account_team_project.py +42 -25
- 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 -39
- pulumi_aiven/aws_vpc_peering_connection.py +72 -57
- pulumi_aiven/azure_privatelink.py +54 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -73
- pulumi_aiven/billing_group.py +33 -30
- pulumi_aiven/cassandra.py +145 -122
- pulumi_aiven/cassandra_user.py +59 -54
- pulumi_aiven/clickhouse.py +133 -110
- pulumi_aiven/clickhouse_database.py +58 -58
- pulumi_aiven/clickhouse_grant.py +135 -130
- pulumi_aiven/clickhouse_role.py +36 -45
- pulumi_aiven/clickhouse_user.py +50 -45
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -62
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -100
- pulumi_aiven/flink_application.py +58 -51
- 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 -44
- pulumi_aiven/get_account.py +20 -5
- 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 -20
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -29
- pulumi_aiven/get_azure_privatelink.py +37 -22
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -19
- pulumi_aiven/get_cassandra.py +55 -19
- pulumi_aiven/get_cassandra_user.py +42 -26
- pulumi_aiven/get_clickhouse.py +55 -19
- pulumi_aiven/get_clickhouse_database.py +35 -22
- pulumi_aiven/get_clickhouse_user.py +40 -25
- pulumi_aiven/get_connection_pool.py +43 -26
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -19
- pulumi_aiven/get_flink_application.py +44 -27
- pulumi_aiven/get_flink_application_version.py +55 -33
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -24
- pulumi_aiven/get_grafana.py +55 -19
- 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 -21
- pulumi_aiven/get_kafka_acl.py +50 -33
- pulumi_aiven/get_kafka_connect.py +54 -32
- pulumi_aiven/get_kafka_connector.py +44 -24
- pulumi_aiven/get_kafka_mirror_maker.py +50 -28
- pulumi_aiven/get_kafka_schema.py +35 -19
- pulumi_aiven/get_kafka_schema_configuration.py +32 -17
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -25
- pulumi_aiven/get_kafka_user.py +42 -26
- pulumi_aiven/get_m3_aggregator.py +51 -15
- pulumi_aiven/get_m3_db.py +55 -19
- pulumi_aiven/get_m3db_user.py +38 -24
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -21
- pulumi_aiven/get_my_sql.py +50 -14
- pulumi_aiven/get_mysql_database.py +31 -18
- pulumi_aiven/get_mysql_user.py +36 -19
- pulumi_aiven/get_open_search.py +50 -14
- pulumi_aiven/get_open_search_acl_config.py +27 -15
- pulumi_aiven/get_open_search_acl_rule.py +37 -21
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -15
- pulumi_aiven/get_opensearch_user.py +32 -18
- pulumi_aiven/get_organization.py +25 -13
- 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 -19
- pulumi_aiven/get_pg_database.py +39 -24
- pulumi_aiven/get_pg_user.py +44 -27
- pulumi_aiven/get_project.py +43 -22
- pulumi_aiven/get_project_user.py +27 -15
- pulumi_aiven/get_project_vpc.py +31 -19
- pulumi_aiven/get_redis.py +50 -14
- pulumi_aiven/get_redis_user.py +40 -22
- pulumi_aiven/get_service_component.py +40 -18
- pulumi_aiven/get_service_integration.py +163 -49
- pulumi_aiven/get_service_integration_endpoint.py +128 -33
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -18
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -318
- 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 -140
- pulumi_aiven/kafka_acl.py +64 -53
- pulumi_aiven/kafka_connect.py +201 -328
- pulumi_aiven/kafka_connector.py +67 -56
- pulumi_aiven/kafka_mirror_maker.py +139 -318
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_schema.py +65 -56
- pulumi_aiven/kafka_schema_configuration.py +25 -20
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -54
- pulumi_aiven/m3_aggregator.py +176 -308
- pulumi_aiven/m3_db.py +190 -322
- pulumi_aiven/m3db_user.py +51 -46
- pulumi_aiven/mirror_maker_replication_flow.py +217 -53
- pulumi_aiven/my_sql.py +190 -322
- pulumi_aiven/mysql_database.py +32 -47
- pulumi_aiven/mysql_user.py +37 -32
- pulumi_aiven/open_search.py +128 -105
- pulumi_aiven/open_search_acl_config.py +33 -32
- pulumi_aiven/open_search_acl_rule.py +55 -50
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -25
- pulumi_aiven/organization.py +18 -13
- 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 -32
- pulumi_aiven/outputs.py +38509 -21612
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -67
- pulumi_aiven/pg_user.py +80 -61
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -31
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +163 -295
- pulumi_aiven/redis_user.py +58 -53
- pulumi_aiven/service_integration.py +511 -161
- 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 -54
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/top_level.txt +0 -0
pulumi_aiven/get_m3_db.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
|
|
|
@@ -115,7 +120,7 @@ class GetM3DbResult:
|
|
|
115
120
|
@pulumi.getter(name="additionalDiskSpace")
|
|
116
121
|
def additional_disk_space(self) -> str:
|
|
117
122
|
"""
|
|
118
|
-
|
|
123
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
119
124
|
"""
|
|
120
125
|
return pulumi.get(self, "additional_disk_space")
|
|
121
126
|
|
|
@@ -187,7 +192,7 @@ class GetM3DbResult:
|
|
|
187
192
|
@pulumi.getter(name="m3dbUserConfigs")
|
|
188
193
|
def m3db_user_configs(self) -> Sequence['outputs.GetM3DbM3dbUserConfigResult']:
|
|
189
194
|
"""
|
|
190
|
-
M3db user configurable settings
|
|
195
|
+
M3db user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
191
196
|
"""
|
|
192
197
|
return pulumi.get(self, "m3db_user_configs")
|
|
193
198
|
|
|
@@ -195,7 +200,7 @@ class GetM3DbResult:
|
|
|
195
200
|
@pulumi.getter
|
|
196
201
|
def m3dbs(self) -> Sequence['outputs.GetM3DbM3dbResult']:
|
|
197
202
|
"""
|
|
198
|
-
|
|
203
|
+
Values provided by the M3DB server.
|
|
199
204
|
"""
|
|
200
205
|
return pulumi.get(self, "m3dbs")
|
|
201
206
|
|
|
@@ -219,7 +224,7 @@ class GetM3DbResult:
|
|
|
219
224
|
@pulumi.getter
|
|
220
225
|
def plan(self) -> str:
|
|
221
226
|
"""
|
|
222
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be
|
|
227
|
+
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
223
228
|
"""
|
|
224
229
|
return pulumi.get(self, "plan")
|
|
225
230
|
|
|
@@ -227,7 +232,7 @@ class GetM3DbResult:
|
|
|
227
232
|
@pulumi.getter
|
|
228
233
|
def project(self) -> str:
|
|
229
234
|
"""
|
|
230
|
-
|
|
235
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
231
236
|
"""
|
|
232
237
|
return pulumi.get(self, "project")
|
|
233
238
|
|
|
@@ -331,7 +336,7 @@ class GetM3DbResult:
|
|
|
331
336
|
@pulumi.getter(name="techEmails")
|
|
332
337
|
def tech_emails(self) -> Sequence['outputs.GetM3DbTechEmailResult']:
|
|
333
338
|
"""
|
|
334
|
-
|
|
339
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
335
340
|
"""
|
|
336
341
|
return pulumi.get(self, "tech_emails")
|
|
337
342
|
|
|
@@ -385,7 +390,7 @@ def get_m3_db(project: Optional[str] = None,
|
|
|
385
390
|
service_name: Optional[str] = None,
|
|
386
391
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetM3DbResult:
|
|
387
392
|
"""
|
|
388
|
-
|
|
393
|
+
Gets information about an Aiven for M3DB service.
|
|
389
394
|
|
|
390
395
|
## Example Usage
|
|
391
396
|
|
|
@@ -393,12 +398,12 @@ def get_m3_db(project: Optional[str] = None,
|
|
|
393
398
|
import pulumi
|
|
394
399
|
import pulumi_aiven as aiven
|
|
395
400
|
|
|
396
|
-
|
|
397
|
-
service_name="
|
|
401
|
+
example_m3db = aiven.get_m3_db(project=example_project["project"],
|
|
402
|
+
service_name="example-m3db-service")
|
|
398
403
|
```
|
|
399
404
|
|
|
400
405
|
|
|
401
|
-
:param str project:
|
|
406
|
+
:param str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
402
407
|
:param str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
403
408
|
"""
|
|
404
409
|
__args__ = dict()
|
|
@@ -437,14 +442,11 @@ def get_m3_db(project: Optional[str] = None,
|
|
|
437
442
|
tags=pulumi.get(__ret__, 'tags'),
|
|
438
443
|
tech_emails=pulumi.get(__ret__, 'tech_emails'),
|
|
439
444
|
termination_protection=pulumi.get(__ret__, 'termination_protection'))
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
@_utilities.lift_output_func(get_m3_db)
|
|
443
445
|
def get_m3_db_output(project: Optional[pulumi.Input[str]] = None,
|
|
444
446
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
445
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetM3DbResult]:
|
|
447
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetM3DbResult]:
|
|
446
448
|
"""
|
|
447
|
-
|
|
449
|
+
Gets information about an Aiven for M3DB service.
|
|
448
450
|
|
|
449
451
|
## Example Usage
|
|
450
452
|
|
|
@@ -452,12 +454,46 @@ def get_m3_db_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
452
454
|
import pulumi
|
|
453
455
|
import pulumi_aiven as aiven
|
|
454
456
|
|
|
455
|
-
|
|
456
|
-
service_name="
|
|
457
|
+
example_m3db = aiven.get_m3_db(project=example_project["project"],
|
|
458
|
+
service_name="example-m3db-service")
|
|
457
459
|
```
|
|
458
460
|
|
|
459
461
|
|
|
460
|
-
:param str project:
|
|
462
|
+
:param str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
461
463
|
:param str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
462
464
|
"""
|
|
463
|
-
|
|
465
|
+
__args__ = dict()
|
|
466
|
+
__args__['project'] = project
|
|
467
|
+
__args__['serviceName'] = service_name
|
|
468
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
469
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getM3Db:getM3Db', __args__, opts=opts, typ=GetM3DbResult)
|
|
470
|
+
return __ret__.apply(lambda __response__: GetM3DbResult(
|
|
471
|
+
additional_disk_space=pulumi.get(__response__, 'additional_disk_space'),
|
|
472
|
+
cloud_name=pulumi.get(__response__, 'cloud_name'),
|
|
473
|
+
components=pulumi.get(__response__, 'components'),
|
|
474
|
+
disk_space=pulumi.get(__response__, 'disk_space'),
|
|
475
|
+
disk_space_cap=pulumi.get(__response__, 'disk_space_cap'),
|
|
476
|
+
disk_space_default=pulumi.get(__response__, 'disk_space_default'),
|
|
477
|
+
disk_space_step=pulumi.get(__response__, 'disk_space_step'),
|
|
478
|
+
disk_space_used=pulumi.get(__response__, 'disk_space_used'),
|
|
479
|
+
id=pulumi.get(__response__, 'id'),
|
|
480
|
+
m3db_user_configs=pulumi.get(__response__, 'm3db_user_configs'),
|
|
481
|
+
m3dbs=pulumi.get(__response__, 'm3dbs'),
|
|
482
|
+
maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
|
|
483
|
+
maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
|
|
484
|
+
plan=pulumi.get(__response__, 'plan'),
|
|
485
|
+
project=pulumi.get(__response__, 'project'),
|
|
486
|
+
project_vpc_id=pulumi.get(__response__, 'project_vpc_id'),
|
|
487
|
+
service_host=pulumi.get(__response__, 'service_host'),
|
|
488
|
+
service_integrations=pulumi.get(__response__, 'service_integrations'),
|
|
489
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
490
|
+
service_password=pulumi.get(__response__, 'service_password'),
|
|
491
|
+
service_port=pulumi.get(__response__, 'service_port'),
|
|
492
|
+
service_type=pulumi.get(__response__, 'service_type'),
|
|
493
|
+
service_uri=pulumi.get(__response__, 'service_uri'),
|
|
494
|
+
service_username=pulumi.get(__response__, 'service_username'),
|
|
495
|
+
state=pulumi.get(__response__, 'state'),
|
|
496
|
+
static_ips=pulumi.get(__response__, 'static_ips'),
|
|
497
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
498
|
+
tech_emails=pulumi.get(__response__, 'tech_emails'),
|
|
499
|
+
termination_protection=pulumi.get(__response__, 'termination_protection')))
|
pulumi_aiven/get_m3db_user.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
|
|
|
12
17
|
__all__ = [
|
|
@@ -53,7 +58,7 @@ class GetM3dbUserResult:
|
|
|
53
58
|
@pulumi.getter
|
|
54
59
|
def password(self) -> str:
|
|
55
60
|
"""
|
|
56
|
-
The
|
|
61
|
+
The M3DB service user's password.
|
|
57
62
|
"""
|
|
58
63
|
return pulumi.get(self, "password")
|
|
59
64
|
|
|
@@ -61,7 +66,7 @@ class GetM3dbUserResult:
|
|
|
61
66
|
@pulumi.getter
|
|
62
67
|
def project(self) -> str:
|
|
63
68
|
"""
|
|
64
|
-
|
|
69
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
65
70
|
"""
|
|
66
71
|
return pulumi.get(self, "project")
|
|
67
72
|
|
|
@@ -69,7 +74,7 @@ class GetM3dbUserResult:
|
|
|
69
74
|
@pulumi.getter(name="serviceName")
|
|
70
75
|
def service_name(self) -> str:
|
|
71
76
|
"""
|
|
72
|
-
|
|
77
|
+
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
73
78
|
"""
|
|
74
79
|
return pulumi.get(self, "service_name")
|
|
75
80
|
|
|
@@ -77,7 +82,7 @@ class GetM3dbUserResult:
|
|
|
77
82
|
@pulumi.getter
|
|
78
83
|
def type(self) -> str:
|
|
79
84
|
"""
|
|
80
|
-
|
|
85
|
+
User account type, such as primary or regular account.
|
|
81
86
|
"""
|
|
82
87
|
return pulumi.get(self, "type")
|
|
83
88
|
|
|
@@ -85,7 +90,7 @@ class GetM3dbUserResult:
|
|
|
85
90
|
@pulumi.getter
|
|
86
91
|
def username(self) -> str:
|
|
87
92
|
"""
|
|
88
|
-
|
|
93
|
+
Name of the M3DB service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
89
94
|
"""
|
|
90
95
|
return pulumi.get(self, "username")
|
|
91
96
|
|
|
@@ -109,7 +114,7 @@ def get_m3db_user(project: Optional[str] = None,
|
|
|
109
114
|
username: Optional[str] = None,
|
|
110
115
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetM3dbUserResult:
|
|
111
116
|
"""
|
|
112
|
-
|
|
117
|
+
Gets information about an Aiven for M3DB service user.
|
|
113
118
|
|
|
114
119
|
## Example Usage
|
|
115
120
|
|
|
@@ -117,15 +122,15 @@ def get_m3db_user(project: Optional[str] = None,
|
|
|
117
122
|
import pulumi
|
|
118
123
|
import pulumi_aiven as aiven
|
|
119
124
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
username="
|
|
125
|
+
example_service_user = aiven.get_m3db_user(service_name=example_m3db["serviceName"],
|
|
126
|
+
project=example_project["project"],
|
|
127
|
+
username="example-m3db-user")
|
|
123
128
|
```
|
|
124
129
|
|
|
125
130
|
|
|
126
|
-
:param str project:
|
|
127
|
-
:param str service_name:
|
|
128
|
-
:param str username:
|
|
131
|
+
:param str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
132
|
+
:param str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
133
|
+
:param str username: Name of the M3DB service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
129
134
|
"""
|
|
130
135
|
__args__ = dict()
|
|
131
136
|
__args__['project'] = project
|
|
@@ -141,15 +146,12 @@ def get_m3db_user(project: Optional[str] = None,
|
|
|
141
146
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
142
147
|
type=pulumi.get(__ret__, 'type'),
|
|
143
148
|
username=pulumi.get(__ret__, 'username'))
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
@_utilities.lift_output_func(get_m3db_user)
|
|
147
149
|
def get_m3db_user_output(project: Optional[pulumi.Input[str]] = None,
|
|
148
150
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
149
151
|
username: Optional[pulumi.Input[str]] = None,
|
|
150
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetM3dbUserResult]:
|
|
152
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetM3dbUserResult]:
|
|
151
153
|
"""
|
|
152
|
-
|
|
154
|
+
Gets information about an Aiven for M3DB service user.
|
|
153
155
|
|
|
154
156
|
## Example Usage
|
|
155
157
|
|
|
@@ -157,14 +159,26 @@ def get_m3db_user_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
157
159
|
import pulumi
|
|
158
160
|
import pulumi_aiven as aiven
|
|
159
161
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
username="
|
|
162
|
+
example_service_user = aiven.get_m3db_user(service_name=example_m3db["serviceName"],
|
|
163
|
+
project=example_project["project"],
|
|
164
|
+
username="example-m3db-user")
|
|
163
165
|
```
|
|
164
166
|
|
|
165
167
|
|
|
166
|
-
:param str project:
|
|
167
|
-
:param str service_name:
|
|
168
|
-
:param str username:
|
|
168
|
+
:param str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
169
|
+
:param str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
170
|
+
:param str username: Name of the M3DB service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
169
171
|
"""
|
|
170
|
-
|
|
172
|
+
__args__ = dict()
|
|
173
|
+
__args__['project'] = project
|
|
174
|
+
__args__['serviceName'] = service_name
|
|
175
|
+
__args__['username'] = username
|
|
176
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
177
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getM3dbUser:getM3dbUser', __args__, opts=opts, typ=GetM3dbUserResult)
|
|
178
|
+
return __ret__.apply(lambda __response__: GetM3dbUserResult(
|
|
179
|
+
id=pulumi.get(__response__, 'id'),
|
|
180
|
+
password=pulumi.get(__response__, 'password'),
|
|
181
|
+
project=pulumi.get(__response__, 'project'),
|
|
182
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
183
|
+
type=pulumi.get(__response__, 'type'),
|
|
184
|
+
username=pulumi.get(__response__, 'username')))
|
|
@@ -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
|
|
|
12
17
|
__all__ = [
|
|
@@ -21,7 +26,10 @@ class GetMirrorMakerReplicationFlowResult:
|
|
|
21
26
|
"""
|
|
22
27
|
A collection of values returned by getMirrorMakerReplicationFlow.
|
|
23
28
|
"""
|
|
24
|
-
def __init__(__self__, emit_backward_heartbeats_enabled=None, emit_heartbeats_enabled=None, enable=None, id=None, offset_syncs_topic_location=None, project=None, replication_policy_class=None, service_name=None, source_cluster=None, sync_group_offsets_enabled=None, sync_group_offsets_interval_seconds=None, target_cluster=None, topics=None, topics_blacklists=None):
|
|
29
|
+
def __init__(__self__, config_properties_excludes=None, emit_backward_heartbeats_enabled=None, emit_heartbeats_enabled=None, enable=None, exactly_once_delivery_enabled=None, id=None, offset_syncs_topic_location=None, project=None, replication_factor=None, replication_policy_class=None, service_name=None, source_cluster=None, sync_group_offsets_enabled=None, sync_group_offsets_interval_seconds=None, target_cluster=None, topics=None, topics_blacklists=None):
|
|
30
|
+
if config_properties_excludes and not isinstance(config_properties_excludes, list):
|
|
31
|
+
raise TypeError("Expected argument 'config_properties_excludes' to be a list")
|
|
32
|
+
pulumi.set(__self__, "config_properties_excludes", config_properties_excludes)
|
|
25
33
|
if emit_backward_heartbeats_enabled and not isinstance(emit_backward_heartbeats_enabled, bool):
|
|
26
34
|
raise TypeError("Expected argument 'emit_backward_heartbeats_enabled' to be a bool")
|
|
27
35
|
pulumi.set(__self__, "emit_backward_heartbeats_enabled", emit_backward_heartbeats_enabled)
|
|
@@ -31,6 +39,9 @@ class GetMirrorMakerReplicationFlowResult:
|
|
|
31
39
|
if enable and not isinstance(enable, bool):
|
|
32
40
|
raise TypeError("Expected argument 'enable' to be a bool")
|
|
33
41
|
pulumi.set(__self__, "enable", enable)
|
|
42
|
+
if exactly_once_delivery_enabled and not isinstance(exactly_once_delivery_enabled, bool):
|
|
43
|
+
raise TypeError("Expected argument 'exactly_once_delivery_enabled' to be a bool")
|
|
44
|
+
pulumi.set(__self__, "exactly_once_delivery_enabled", exactly_once_delivery_enabled)
|
|
34
45
|
if id and not isinstance(id, str):
|
|
35
46
|
raise TypeError("Expected argument 'id' to be a str")
|
|
36
47
|
pulumi.set(__self__, "id", id)
|
|
@@ -40,6 +51,9 @@ class GetMirrorMakerReplicationFlowResult:
|
|
|
40
51
|
if project and not isinstance(project, str):
|
|
41
52
|
raise TypeError("Expected argument 'project' to be a str")
|
|
42
53
|
pulumi.set(__self__, "project", project)
|
|
54
|
+
if replication_factor and not isinstance(replication_factor, int):
|
|
55
|
+
raise TypeError("Expected argument 'replication_factor' to be a int")
|
|
56
|
+
pulumi.set(__self__, "replication_factor", replication_factor)
|
|
43
57
|
if replication_policy_class and not isinstance(replication_policy_class, str):
|
|
44
58
|
raise TypeError("Expected argument 'replication_policy_class' to be a str")
|
|
45
59
|
pulumi.set(__self__, "replication_policy_class", replication_policy_class)
|
|
@@ -65,6 +79,14 @@ class GetMirrorMakerReplicationFlowResult:
|
|
|
65
79
|
raise TypeError("Expected argument 'topics_blacklists' to be a list")
|
|
66
80
|
pulumi.set(__self__, "topics_blacklists", topics_blacklists)
|
|
67
81
|
|
|
82
|
+
@property
|
|
83
|
+
@pulumi.getter(name="configPropertiesExcludes")
|
|
84
|
+
def config_properties_excludes(self) -> Sequence[str]:
|
|
85
|
+
"""
|
|
86
|
+
List of topic configuration properties and/or regular expressions to not replicate. The properties that are not replicated by default are: `follower.replication.throttled.replicas`, `leader.replication.throttled.replicas`, `message.timestamp.difference.max.ms`, `message.timestamp.type`, `unclean.leader.election.enable`, and `min.insync.replicas`. Setting this overrides the defaults. For example, to enable replication for 'min.insync.replicas' and 'unclean.leader.election.enable' set this to: ["follower\\\\.replication\\\\.throttled\\\\.replicas", "leader\\\\.replication\\\\.throttled\\\\.replicas", "message\\\\.timestamp\\\\.difference\\\\.max\\\\.ms", "message\\\\.timestamp\\\\.type"]
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "config_properties_excludes")
|
|
89
|
+
|
|
68
90
|
@property
|
|
69
91
|
@pulumi.getter(name="emitBackwardHeartbeatsEnabled")
|
|
70
92
|
def emit_backward_heartbeats_enabled(self) -> bool:
|
|
@@ -89,6 +111,14 @@ class GetMirrorMakerReplicationFlowResult:
|
|
|
89
111
|
"""
|
|
90
112
|
return pulumi.get(self, "enable")
|
|
91
113
|
|
|
114
|
+
@property
|
|
115
|
+
@pulumi.getter(name="exactlyOnceDeliveryEnabled")
|
|
116
|
+
def exactly_once_delivery_enabled(self) -> bool:
|
|
117
|
+
"""
|
|
118
|
+
Whether to enable exactly-once message delivery. We recommend you set this to `enabled` for new replications. The default value is `false`.
|
|
119
|
+
"""
|
|
120
|
+
return pulumi.get(self, "exactly_once_delivery_enabled")
|
|
121
|
+
|
|
92
122
|
@property
|
|
93
123
|
@pulumi.getter
|
|
94
124
|
def id(self) -> str:
|
|
@@ -101,7 +131,7 @@ class GetMirrorMakerReplicationFlowResult:
|
|
|
101
131
|
@pulumi.getter(name="offsetSyncsTopicLocation")
|
|
102
132
|
def offset_syncs_topic_location(self) -> str:
|
|
103
133
|
"""
|
|
104
|
-
Offset syncs topic location.
|
|
134
|
+
Offset syncs topic location. The possible values are `source` and `target`.
|
|
105
135
|
"""
|
|
106
136
|
return pulumi.get(self, "offset_syncs_topic_location")
|
|
107
137
|
|
|
@@ -109,10 +139,18 @@ class GetMirrorMakerReplicationFlowResult:
|
|
|
109
139
|
@pulumi.getter
|
|
110
140
|
def project(self) -> str:
|
|
111
141
|
"""
|
|
112
|
-
|
|
142
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
113
143
|
"""
|
|
114
144
|
return pulumi.get(self, "project")
|
|
115
145
|
|
|
146
|
+
@property
|
|
147
|
+
@pulumi.getter(name="replicationFactor")
|
|
148
|
+
def replication_factor(self) -> int:
|
|
149
|
+
"""
|
|
150
|
+
Replication factor, `>= 1`.
|
|
151
|
+
"""
|
|
152
|
+
return pulumi.get(self, "replication_factor")
|
|
153
|
+
|
|
116
154
|
@property
|
|
117
155
|
@pulumi.getter(name="replicationPolicyClass")
|
|
118
156
|
def replication_policy_class(self) -> str:
|
|
@@ -125,7 +163,7 @@ class GetMirrorMakerReplicationFlowResult:
|
|
|
125
163
|
@pulumi.getter(name="serviceName")
|
|
126
164
|
def service_name(self) -> str:
|
|
127
165
|
"""
|
|
128
|
-
|
|
166
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
129
167
|
"""
|
|
130
168
|
return pulumi.get(self, "service_name")
|
|
131
169
|
|
|
@@ -184,12 +222,15 @@ class AwaitableGetMirrorMakerReplicationFlowResult(GetMirrorMakerReplicationFlow
|
|
|
184
222
|
if False:
|
|
185
223
|
yield self
|
|
186
224
|
return GetMirrorMakerReplicationFlowResult(
|
|
225
|
+
config_properties_excludes=self.config_properties_excludes,
|
|
187
226
|
emit_backward_heartbeats_enabled=self.emit_backward_heartbeats_enabled,
|
|
188
227
|
emit_heartbeats_enabled=self.emit_heartbeats_enabled,
|
|
189
228
|
enable=self.enable,
|
|
229
|
+
exactly_once_delivery_enabled=self.exactly_once_delivery_enabled,
|
|
190
230
|
id=self.id,
|
|
191
231
|
offset_syncs_topic_location=self.offset_syncs_topic_location,
|
|
192
232
|
project=self.project,
|
|
233
|
+
replication_factor=self.replication_factor,
|
|
193
234
|
replication_policy_class=self.replication_policy_class,
|
|
194
235
|
service_name=self.service_name,
|
|
195
236
|
source_cluster=self.source_cluster,
|
|
@@ -214,15 +255,15 @@ def get_mirror_maker_replication_flow(project: Optional[str] = None,
|
|
|
214
255
|
import pulumi
|
|
215
256
|
import pulumi_aiven as aiven
|
|
216
257
|
|
|
217
|
-
f1 = aiven.get_mirror_maker_replication_flow(project=
|
|
218
|
-
service_name=
|
|
219
|
-
source_cluster=
|
|
220
|
-
target_cluster=
|
|
258
|
+
f1 = aiven.get_mirror_maker_replication_flow(project=kafka_mm_project1["project"],
|
|
259
|
+
service_name=mm["serviceName"],
|
|
260
|
+
source_cluster=source["serviceName"],
|
|
261
|
+
target_cluster=target["serviceName"])
|
|
221
262
|
```
|
|
222
263
|
|
|
223
264
|
|
|
224
|
-
:param str project:
|
|
225
|
-
:param str service_name:
|
|
265
|
+
:param str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
266
|
+
:param str service_name: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
226
267
|
:param str source_cluster: Source cluster alias. Maximum length: `128`.
|
|
227
268
|
:param str target_cluster: Target cluster alias. Maximum length: `128`.
|
|
228
269
|
"""
|
|
@@ -235,12 +276,15 @@ def get_mirror_maker_replication_flow(project: Optional[str] = None,
|
|
|
235
276
|
__ret__ = pulumi.runtime.invoke('aiven:index/getMirrorMakerReplicationFlow:getMirrorMakerReplicationFlow', __args__, opts=opts, typ=GetMirrorMakerReplicationFlowResult).value
|
|
236
277
|
|
|
237
278
|
return AwaitableGetMirrorMakerReplicationFlowResult(
|
|
279
|
+
config_properties_excludes=pulumi.get(__ret__, 'config_properties_excludes'),
|
|
238
280
|
emit_backward_heartbeats_enabled=pulumi.get(__ret__, 'emit_backward_heartbeats_enabled'),
|
|
239
281
|
emit_heartbeats_enabled=pulumi.get(__ret__, 'emit_heartbeats_enabled'),
|
|
240
282
|
enable=pulumi.get(__ret__, 'enable'),
|
|
283
|
+
exactly_once_delivery_enabled=pulumi.get(__ret__, 'exactly_once_delivery_enabled'),
|
|
241
284
|
id=pulumi.get(__ret__, 'id'),
|
|
242
285
|
offset_syncs_topic_location=pulumi.get(__ret__, 'offset_syncs_topic_location'),
|
|
243
286
|
project=pulumi.get(__ret__, 'project'),
|
|
287
|
+
replication_factor=pulumi.get(__ret__, 'replication_factor'),
|
|
244
288
|
replication_policy_class=pulumi.get(__ret__, 'replication_policy_class'),
|
|
245
289
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
246
290
|
source_cluster=pulumi.get(__ret__, 'source_cluster'),
|
|
@@ -249,14 +293,11 @@ def get_mirror_maker_replication_flow(project: Optional[str] = None,
|
|
|
249
293
|
target_cluster=pulumi.get(__ret__, 'target_cluster'),
|
|
250
294
|
topics=pulumi.get(__ret__, 'topics'),
|
|
251
295
|
topics_blacklists=pulumi.get(__ret__, 'topics_blacklists'))
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
@_utilities.lift_output_func(get_mirror_maker_replication_flow)
|
|
255
296
|
def get_mirror_maker_replication_flow_output(project: Optional[pulumi.Input[str]] = None,
|
|
256
297
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
257
298
|
source_cluster: Optional[pulumi.Input[str]] = None,
|
|
258
299
|
target_cluster: Optional[pulumi.Input[str]] = None,
|
|
259
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMirrorMakerReplicationFlowResult]:
|
|
300
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMirrorMakerReplicationFlowResult]:
|
|
260
301
|
"""
|
|
261
302
|
The MirrorMaker 2 Replication Flow data source provides information about the existing MirrorMaker 2 Replication Flow on Aiven Cloud.
|
|
262
303
|
|
|
@@ -266,16 +307,40 @@ def get_mirror_maker_replication_flow_output(project: Optional[pulumi.Input[str]
|
|
|
266
307
|
import pulumi
|
|
267
308
|
import pulumi_aiven as aiven
|
|
268
309
|
|
|
269
|
-
f1 = aiven.get_mirror_maker_replication_flow(project=
|
|
270
|
-
service_name=
|
|
271
|
-
source_cluster=
|
|
272
|
-
target_cluster=
|
|
310
|
+
f1 = aiven.get_mirror_maker_replication_flow(project=kafka_mm_project1["project"],
|
|
311
|
+
service_name=mm["serviceName"],
|
|
312
|
+
source_cluster=source["serviceName"],
|
|
313
|
+
target_cluster=target["serviceName"])
|
|
273
314
|
```
|
|
274
315
|
|
|
275
316
|
|
|
276
|
-
:param str project:
|
|
277
|
-
:param str service_name:
|
|
317
|
+
:param str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
318
|
+
:param str service_name: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
278
319
|
:param str source_cluster: Source cluster alias. Maximum length: `128`.
|
|
279
320
|
:param str target_cluster: Target cluster alias. Maximum length: `128`.
|
|
280
321
|
"""
|
|
281
|
-
|
|
322
|
+
__args__ = dict()
|
|
323
|
+
__args__['project'] = project
|
|
324
|
+
__args__['serviceName'] = service_name
|
|
325
|
+
__args__['sourceCluster'] = source_cluster
|
|
326
|
+
__args__['targetCluster'] = target_cluster
|
|
327
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
328
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getMirrorMakerReplicationFlow:getMirrorMakerReplicationFlow', __args__, opts=opts, typ=GetMirrorMakerReplicationFlowResult)
|
|
329
|
+
return __ret__.apply(lambda __response__: GetMirrorMakerReplicationFlowResult(
|
|
330
|
+
config_properties_excludes=pulumi.get(__response__, 'config_properties_excludes'),
|
|
331
|
+
emit_backward_heartbeats_enabled=pulumi.get(__response__, 'emit_backward_heartbeats_enabled'),
|
|
332
|
+
emit_heartbeats_enabled=pulumi.get(__response__, 'emit_heartbeats_enabled'),
|
|
333
|
+
enable=pulumi.get(__response__, 'enable'),
|
|
334
|
+
exactly_once_delivery_enabled=pulumi.get(__response__, 'exactly_once_delivery_enabled'),
|
|
335
|
+
id=pulumi.get(__response__, 'id'),
|
|
336
|
+
offset_syncs_topic_location=pulumi.get(__response__, 'offset_syncs_topic_location'),
|
|
337
|
+
project=pulumi.get(__response__, 'project'),
|
|
338
|
+
replication_factor=pulumi.get(__response__, 'replication_factor'),
|
|
339
|
+
replication_policy_class=pulumi.get(__response__, 'replication_policy_class'),
|
|
340
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
341
|
+
source_cluster=pulumi.get(__response__, 'source_cluster'),
|
|
342
|
+
sync_group_offsets_enabled=pulumi.get(__response__, 'sync_group_offsets_enabled'),
|
|
343
|
+
sync_group_offsets_interval_seconds=pulumi.get(__response__, 'sync_group_offsets_interval_seconds'),
|
|
344
|
+
target_cluster=pulumi.get(__response__, 'target_cluster'),
|
|
345
|
+
topics=pulumi.get(__response__, 'topics'),
|
|
346
|
+
topics_blacklists=pulumi.get(__response__, 'topics_blacklists')))
|