pulumi-aiven 6.7.0a1695928977__py3-none-any.whl → 6.8.0a1696359310__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 +5916 -1115
- pulumi_aiven/account.py +49 -14
- pulumi_aiven/account_authentication.py +117 -32
- pulumi_aiven/account_team.py +40 -8
- pulumi_aiven/account_team_member.py +46 -10
- pulumi_aiven/account_team_project.py +43 -9
- pulumi_aiven/aws_privatelink.py +43 -9
- pulumi_aiven/aws_vpc_peering_connection.py +52 -12
- pulumi_aiven/azure_privatelink.py +49 -11
- pulumi_aiven/azure_privatelink_connection_approval.py +43 -9
- pulumi_aiven/azure_vpc_peering_connection.py +64 -16
- pulumi_aiven/billing_group.py +109 -34
- pulumi_aiven/cassandra.py +158 -56
- pulumi_aiven/cassandra_user.py +52 -12
- pulumi_aiven/clickhouse.py +158 -56
- pulumi_aiven/clickhouse_database.py +43 -9
- pulumi_aiven/clickhouse_grant.py +62 -20
- pulumi_aiven/clickhouse_role.py +37 -7
- pulumi_aiven/clickhouse_user.py +46 -10
- pulumi_aiven/config/vars.py +1 -1
- pulumi_aiven/connection_pool.py +64 -16
- pulumi_aiven/flink.py +162 -53
- pulumi_aiven/flink_application.py +52 -12
- pulumi_aiven/flink_application_deployment.py +67 -17
- pulumi_aiven/flink_application_version.py +79 -27
- pulumi_aiven/gcp_privatelink.py +40 -8
- pulumi_aiven/gcp_privatelink_connection_approval.py +46 -10
- pulumi_aiven/gcp_vpc_peering_connection.py +46 -10
- pulumi_aiven/get_account.py +1 -1
- pulumi_aiven/get_account_authentication.py +1 -1
- pulumi_aiven/get_account_team.py +1 -1
- pulumi_aiven/get_account_team_member.py +1 -1
- pulumi_aiven/get_account_team_project.py +1 -1
- pulumi_aiven/get_aws_privatelink.py +1 -1
- pulumi_aiven/get_aws_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_azure_privatelink.py +1 -1
- pulumi_aiven/get_azure_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_billing_group.py +1 -1
- pulumi_aiven/get_cassanda.py +1 -1
- pulumi_aiven/get_cassandra.py +1 -1
- pulumi_aiven/get_cassandra_user.py +1 -1
- pulumi_aiven/get_clickhouse.py +1 -1
- pulumi_aiven/get_clickhouse_database.py +1 -1
- pulumi_aiven/get_clickhouse_user.py +1 -1
- pulumi_aiven/get_connection_pool.py +1 -1
- pulumi_aiven/get_flink.py +1 -1
- pulumi_aiven/get_flink_application.py +1 -1
- pulumi_aiven/get_flink_application_version.py +1 -1
- pulumi_aiven/get_gcp_privatelink.py +1 -1
- pulumi_aiven/get_gcp_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_grafana.py +1 -1
- pulumi_aiven/get_influx_db.py +1 -1
- pulumi_aiven/get_influxdb_database.py +1 -1
- pulumi_aiven/get_influxdb_user.py +1 -1
- pulumi_aiven/get_kafka.py +1 -1
- pulumi_aiven/get_kafka_acl.py +1 -1
- pulumi_aiven/get_kafka_connect.py +1 -1
- pulumi_aiven/get_kafka_connector.py +1 -1
- pulumi_aiven/get_kafka_mirror_maker.py +1 -1
- pulumi_aiven/get_kafka_schema.py +1 -1
- pulumi_aiven/get_kafka_schema_configuration.py +1 -1
- pulumi_aiven/get_kafka_schema_registry_acl.py +1 -1
- pulumi_aiven/get_kafka_topic.py +1 -1
- pulumi_aiven/get_kafka_user.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +1 -1
- pulumi_aiven/get_m3_db.py +1 -1
- pulumi_aiven/get_m3db_user.py +1 -1
- pulumi_aiven/get_mirror_maker_replication_flow.py +1 -1
- pulumi_aiven/get_my_sql.py +1 -1
- pulumi_aiven/get_mysql_database.py +1 -1
- pulumi_aiven/get_mysql_user.py +1 -1
- pulumi_aiven/get_open_search.py +1 -1
- pulumi_aiven/get_open_search_acl_config.py +1 -1
- pulumi_aiven/get_open_search_acl_rule.py +1 -1
- pulumi_aiven/get_opensearch_security_plugin_config.py +1 -1
- pulumi_aiven/get_opensearch_user.py +1 -1
- pulumi_aiven/get_organization.py +1 -1
- pulumi_aiven/get_organization_user.py +1 -1
- pulumi_aiven/get_organization_user_group.py +1 -1
- pulumi_aiven/get_organizational_unit.py +1 -1
- pulumi_aiven/get_pg.py +1 -1
- pulumi_aiven/get_pg_database.py +1 -1
- pulumi_aiven/get_pg_user.py +1 -1
- pulumi_aiven/get_project.py +1 -1
- pulumi_aiven/get_project_user.py +1 -1
- pulumi_aiven/get_project_vpc.py +1 -1
- pulumi_aiven/get_redis.py +1 -1
- pulumi_aiven/get_redis_user.py +1 -1
- pulumi_aiven/get_service_component.py +1 -1
- pulumi_aiven/get_service_integration.py +1 -1
- pulumi_aiven/get_service_integration_endpoint.py +1 -1
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +1 -1
- pulumi_aiven/grafana.py +147 -45
- pulumi_aiven/influx_db.py +158 -56
- pulumi_aiven/influxdb_database.py +43 -9
- pulumi_aiven/influxdb_user.py +52 -12
- pulumi_aiven/kafka.py +170 -63
- pulumi_aiven/kafka_acl.py +52 -12
- pulumi_aiven/kafka_connect.py +147 -45
- pulumi_aiven/kafka_connector.py +64 -16
- pulumi_aiven/kafka_mirror_maker.py +147 -45
- pulumi_aiven/kafka_schema.py +58 -14
- pulumi_aiven/kafka_schema_configuration.py +37 -7
- pulumi_aiven/kafka_schema_registry_acl.py +52 -12
- pulumi_aiven/kafka_topic.py +72 -17
- pulumi_aiven/kafka_user.py +52 -12
- pulumi_aiven/m3_aggregator.py +147 -45
- pulumi_aiven/m3_db.py +147 -45
- pulumi_aiven/m3db_user.py +46 -10
- pulumi_aiven/mirror_maker_replication_flow.py +91 -25
- pulumi_aiven/my_sql.py +147 -45
- pulumi_aiven/mysql_database.py +43 -9
- pulumi_aiven/mysql_user.py +58 -14
- pulumi_aiven/open_search.py +158 -56
- pulumi_aiven/open_search_acl_config.py +43 -9
- pulumi_aiven/open_search_acl_rule.py +49 -11
- pulumi_aiven/opensearch_security_plugin_config.py +46 -10
- pulumi_aiven/opensearch_user.py +46 -10
- pulumi_aiven/organization.py +45 -8
- pulumi_aiven/organization_user.py +40 -8
- pulumi_aiven/organization_user_group.py +43 -9
- pulumi_aiven/organizational_unit.py +40 -8
- pulumi_aiven/outputs.py +10584 -2482
- pulumi_aiven/pg.py +169 -60
- pulumi_aiven/pg_database.py +55 -13
- pulumi_aiven/pg_user.py +58 -14
- pulumi_aiven/project.py +91 -34
- pulumi_aiven/project_user.py +40 -8
- pulumi_aiven/project_vpc.py +40 -8
- pulumi_aiven/provider.py +15 -2
- pulumi_aiven/redis.py +147 -45
- pulumi_aiven/redis_user.py +70 -18
- pulumi_aiven/service_integration.py +157 -32
- pulumi_aiven/service_integration_endpoint.py +161 -30
- pulumi_aiven/static_ip.py +43 -9
- pulumi_aiven/transit_gateway_vpc_attachment.py +58 -17
- {pulumi_aiven-6.7.0a1695928977.dist-info → pulumi_aiven-6.8.0a1696359310.dist-info}/METADATA +1 -1
- pulumi_aiven-6.8.0a1696359310.dist-info/RECORD +145 -0
- pulumi_aiven-6.7.0a1695928977.dist-info/RECORD +0 -145
- {pulumi_aiven-6.7.0a1695928977.dist-info → pulumi_aiven-6.8.0a1696359310.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.7.0a1695928977.dist-info → pulumi_aiven-6.8.0a1696359310.dist-info}/top_level.txt +0 -0
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
from . import outputs
|
|
12
12
|
from ._inputs import *
|
|
@@ -67,34 +67,69 @@ class KafkaMirrorMakerArgs:
|
|
|
67
67
|
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
68
68
|
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
69
69
|
"""
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
KafkaMirrorMakerArgs._configure(
|
|
71
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
72
|
+
plan=plan,
|
|
73
|
+
project=project,
|
|
74
|
+
service_name=service_name,
|
|
75
|
+
additional_disk_space=additional_disk_space,
|
|
76
|
+
cloud_name=cloud_name,
|
|
77
|
+
disk_space=disk_space,
|
|
78
|
+
kafka_mirrormaker_user_config=kafka_mirrormaker_user_config,
|
|
79
|
+
maintenance_window_dow=maintenance_window_dow,
|
|
80
|
+
maintenance_window_time=maintenance_window_time,
|
|
81
|
+
project_vpc_id=project_vpc_id,
|
|
82
|
+
service_integrations=service_integrations,
|
|
83
|
+
static_ips=static_ips,
|
|
84
|
+
tags=tags,
|
|
85
|
+
termination_protection=termination_protection,
|
|
86
|
+
)
|
|
87
|
+
@staticmethod
|
|
88
|
+
def _configure(
|
|
89
|
+
_setter: Callable[[Any, Any], None],
|
|
90
|
+
plan: pulumi.Input[str],
|
|
91
|
+
project: pulumi.Input[str],
|
|
92
|
+
service_name: pulumi.Input[str],
|
|
93
|
+
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
94
|
+
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
95
|
+
disk_space: Optional[pulumi.Input[str]] = None,
|
|
96
|
+
kafka_mirrormaker_user_config: Optional[pulumi.Input['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs']] = None,
|
|
97
|
+
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
98
|
+
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
99
|
+
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
100
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerServiceIntegrationArgs']]]] = None,
|
|
101
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
102
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTagArgs']]]] = None,
|
|
103
|
+
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
104
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
105
|
+
_setter("plan", plan)
|
|
106
|
+
_setter("project", project)
|
|
107
|
+
_setter("service_name", service_name)
|
|
73
108
|
if additional_disk_space is not None:
|
|
74
|
-
|
|
109
|
+
_setter("additional_disk_space", additional_disk_space)
|
|
75
110
|
if cloud_name is not None:
|
|
76
|
-
|
|
111
|
+
_setter("cloud_name", cloud_name)
|
|
77
112
|
if disk_space is not None:
|
|
78
113
|
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
79
114
|
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
80
115
|
if disk_space is not None:
|
|
81
|
-
|
|
116
|
+
_setter("disk_space", disk_space)
|
|
82
117
|
if kafka_mirrormaker_user_config is not None:
|
|
83
|
-
|
|
118
|
+
_setter("kafka_mirrormaker_user_config", kafka_mirrormaker_user_config)
|
|
84
119
|
if maintenance_window_dow is not None:
|
|
85
|
-
|
|
120
|
+
_setter("maintenance_window_dow", maintenance_window_dow)
|
|
86
121
|
if maintenance_window_time is not None:
|
|
87
|
-
|
|
122
|
+
_setter("maintenance_window_time", maintenance_window_time)
|
|
88
123
|
if project_vpc_id is not None:
|
|
89
|
-
|
|
124
|
+
_setter("project_vpc_id", project_vpc_id)
|
|
90
125
|
if service_integrations is not None:
|
|
91
|
-
|
|
126
|
+
_setter("service_integrations", service_integrations)
|
|
92
127
|
if static_ips is not None:
|
|
93
|
-
|
|
128
|
+
_setter("static_ips", static_ips)
|
|
94
129
|
if tags is not None:
|
|
95
|
-
|
|
130
|
+
_setter("tags", tags)
|
|
96
131
|
if termination_protection is not None:
|
|
97
|
-
|
|
132
|
+
_setter("termination_protection", termination_protection)
|
|
98
133
|
|
|
99
134
|
@property
|
|
100
135
|
@pulumi.getter
|
|
@@ -370,63 +405,124 @@ class _KafkaMirrorMakerState:
|
|
|
370
405
|
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
371
406
|
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
372
407
|
"""
|
|
408
|
+
_KafkaMirrorMakerState._configure(
|
|
409
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
410
|
+
additional_disk_space=additional_disk_space,
|
|
411
|
+
cloud_name=cloud_name,
|
|
412
|
+
components=components,
|
|
413
|
+
disk_space=disk_space,
|
|
414
|
+
disk_space_cap=disk_space_cap,
|
|
415
|
+
disk_space_default=disk_space_default,
|
|
416
|
+
disk_space_step=disk_space_step,
|
|
417
|
+
disk_space_used=disk_space_used,
|
|
418
|
+
kafka_mirrormaker_user_config=kafka_mirrormaker_user_config,
|
|
419
|
+
kafka_mirrormakers=kafka_mirrormakers,
|
|
420
|
+
maintenance_window_dow=maintenance_window_dow,
|
|
421
|
+
maintenance_window_time=maintenance_window_time,
|
|
422
|
+
plan=plan,
|
|
423
|
+
project=project,
|
|
424
|
+
project_vpc_id=project_vpc_id,
|
|
425
|
+
service_host=service_host,
|
|
426
|
+
service_integrations=service_integrations,
|
|
427
|
+
service_name=service_name,
|
|
428
|
+
service_password=service_password,
|
|
429
|
+
service_port=service_port,
|
|
430
|
+
service_type=service_type,
|
|
431
|
+
service_uri=service_uri,
|
|
432
|
+
service_username=service_username,
|
|
433
|
+
state=state,
|
|
434
|
+
static_ips=static_ips,
|
|
435
|
+
tags=tags,
|
|
436
|
+
termination_protection=termination_protection,
|
|
437
|
+
)
|
|
438
|
+
@staticmethod
|
|
439
|
+
def _configure(
|
|
440
|
+
_setter: Callable[[Any, Any], None],
|
|
441
|
+
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
442
|
+
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
443
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerComponentArgs']]]] = None,
|
|
444
|
+
disk_space: Optional[pulumi.Input[str]] = None,
|
|
445
|
+
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
446
|
+
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
447
|
+
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
448
|
+
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
449
|
+
kafka_mirrormaker_user_config: Optional[pulumi.Input['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs']] = None,
|
|
450
|
+
kafka_mirrormakers: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerKafkaMirrormakerArgs']]]] = None,
|
|
451
|
+
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
452
|
+
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
453
|
+
plan: Optional[pulumi.Input[str]] = None,
|
|
454
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
455
|
+
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
456
|
+
service_host: Optional[pulumi.Input[str]] = None,
|
|
457
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerServiceIntegrationArgs']]]] = None,
|
|
458
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
459
|
+
service_password: Optional[pulumi.Input[str]] = None,
|
|
460
|
+
service_port: Optional[pulumi.Input[int]] = None,
|
|
461
|
+
service_type: Optional[pulumi.Input[str]] = None,
|
|
462
|
+
service_uri: Optional[pulumi.Input[str]] = None,
|
|
463
|
+
service_username: Optional[pulumi.Input[str]] = None,
|
|
464
|
+
state: Optional[pulumi.Input[str]] = None,
|
|
465
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
466
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerTagArgs']]]] = None,
|
|
467
|
+
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
468
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
373
469
|
if additional_disk_space is not None:
|
|
374
|
-
|
|
470
|
+
_setter("additional_disk_space", additional_disk_space)
|
|
375
471
|
if cloud_name is not None:
|
|
376
|
-
|
|
472
|
+
_setter("cloud_name", cloud_name)
|
|
377
473
|
if components is not None:
|
|
378
|
-
|
|
474
|
+
_setter("components", components)
|
|
379
475
|
if disk_space is not None:
|
|
380
476
|
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
381
477
|
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
382
478
|
if disk_space is not None:
|
|
383
|
-
|
|
479
|
+
_setter("disk_space", disk_space)
|
|
384
480
|
if disk_space_cap is not None:
|
|
385
|
-
|
|
481
|
+
_setter("disk_space_cap", disk_space_cap)
|
|
386
482
|
if disk_space_default is not None:
|
|
387
|
-
|
|
483
|
+
_setter("disk_space_default", disk_space_default)
|
|
388
484
|
if disk_space_step is not None:
|
|
389
|
-
|
|
485
|
+
_setter("disk_space_step", disk_space_step)
|
|
390
486
|
if disk_space_used is not None:
|
|
391
|
-
|
|
487
|
+
_setter("disk_space_used", disk_space_used)
|
|
392
488
|
if kafka_mirrormaker_user_config is not None:
|
|
393
|
-
|
|
489
|
+
_setter("kafka_mirrormaker_user_config", kafka_mirrormaker_user_config)
|
|
394
490
|
if kafka_mirrormakers is not None:
|
|
395
|
-
|
|
491
|
+
_setter("kafka_mirrormakers", kafka_mirrormakers)
|
|
396
492
|
if maintenance_window_dow is not None:
|
|
397
|
-
|
|
493
|
+
_setter("maintenance_window_dow", maintenance_window_dow)
|
|
398
494
|
if maintenance_window_time is not None:
|
|
399
|
-
|
|
495
|
+
_setter("maintenance_window_time", maintenance_window_time)
|
|
400
496
|
if plan is not None:
|
|
401
|
-
|
|
497
|
+
_setter("plan", plan)
|
|
402
498
|
if project is not None:
|
|
403
|
-
|
|
499
|
+
_setter("project", project)
|
|
404
500
|
if project_vpc_id is not None:
|
|
405
|
-
|
|
501
|
+
_setter("project_vpc_id", project_vpc_id)
|
|
406
502
|
if service_host is not None:
|
|
407
|
-
|
|
503
|
+
_setter("service_host", service_host)
|
|
408
504
|
if service_integrations is not None:
|
|
409
|
-
|
|
505
|
+
_setter("service_integrations", service_integrations)
|
|
410
506
|
if service_name is not None:
|
|
411
|
-
|
|
507
|
+
_setter("service_name", service_name)
|
|
412
508
|
if service_password is not None:
|
|
413
|
-
|
|
509
|
+
_setter("service_password", service_password)
|
|
414
510
|
if service_port is not None:
|
|
415
|
-
|
|
511
|
+
_setter("service_port", service_port)
|
|
416
512
|
if service_type is not None:
|
|
417
|
-
|
|
513
|
+
_setter("service_type", service_type)
|
|
418
514
|
if service_uri is not None:
|
|
419
|
-
|
|
515
|
+
_setter("service_uri", service_uri)
|
|
420
516
|
if service_username is not None:
|
|
421
|
-
|
|
517
|
+
_setter("service_username", service_username)
|
|
422
518
|
if state is not None:
|
|
423
|
-
|
|
519
|
+
_setter("state", state)
|
|
424
520
|
if static_ips is not None:
|
|
425
|
-
|
|
521
|
+
_setter("static_ips", static_ips)
|
|
426
522
|
if tags is not None:
|
|
427
|
-
|
|
523
|
+
_setter("tags", tags)
|
|
428
524
|
if termination_protection is not None:
|
|
429
|
-
|
|
525
|
+
_setter("termination_protection", termination_protection)
|
|
430
526
|
|
|
431
527
|
@property
|
|
432
528
|
@pulumi.getter(name="additionalDiskSpace")
|
|
@@ -911,6 +1007,10 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
911
1007
|
if resource_args is not None:
|
|
912
1008
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
913
1009
|
else:
|
|
1010
|
+
kwargs = kwargs or {}
|
|
1011
|
+
def _setter(key, value):
|
|
1012
|
+
kwargs[key] = value
|
|
1013
|
+
KafkaMirrorMakerArgs._configure(_setter, **kwargs)
|
|
914
1014
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
915
1015
|
|
|
916
1016
|
def _internal_init(__self__,
|
|
@@ -941,10 +1041,12 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
941
1041
|
|
|
942
1042
|
__props__.__dict__["additional_disk_space"] = additional_disk_space
|
|
943
1043
|
__props__.__dict__["cloud_name"] = cloud_name
|
|
944
|
-
if disk_space is not None and not opts.urn:
|
|
945
|
-
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
946
|
-
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
947
1044
|
__props__.__dict__["disk_space"] = disk_space
|
|
1045
|
+
if kafka_mirrormaker_user_config is not None and not isinstance(kafka_mirrormaker_user_config, KafkaMirrorMakerKafkaMirrormakerUserConfigArgs):
|
|
1046
|
+
kafka_mirrormaker_user_config = kafka_mirrormaker_user_config or {}
|
|
1047
|
+
def _setter(key, value):
|
|
1048
|
+
kafka_mirrormaker_user_config[key] = value
|
|
1049
|
+
KafkaMirrorMakerKafkaMirrormakerUserConfigArgs._configure(_setter, **kafka_mirrormaker_user_config)
|
|
948
1050
|
__props__.__dict__["kafka_mirrormaker_user_config"] = kafka_mirrormaker_user_config
|
|
949
1051
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
950
1052
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
pulumi_aiven/kafka_schema.py
CHANGED
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = ['KafkaSchemaArgs', 'KafkaSchema']
|
|
@@ -29,14 +29,33 @@ class KafkaSchemaArgs:
|
|
|
29
29
|
:param pulumi.Input[str] compatibility_level: Kafka Schemas compatibility level. The possible values are `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE` and `NONE`.
|
|
30
30
|
:param pulumi.Input[str] schema_type: Kafka Schema type JSON or AVRO
|
|
31
31
|
"""
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
KafkaSchemaArgs._configure(
|
|
33
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
34
|
+
project=project,
|
|
35
|
+
schema=schema,
|
|
36
|
+
service_name=service_name,
|
|
37
|
+
subject_name=subject_name,
|
|
38
|
+
compatibility_level=compatibility_level,
|
|
39
|
+
schema_type=schema_type,
|
|
40
|
+
)
|
|
41
|
+
@staticmethod
|
|
42
|
+
def _configure(
|
|
43
|
+
_setter: Callable[[Any, Any], None],
|
|
44
|
+
project: pulumi.Input[str],
|
|
45
|
+
schema: pulumi.Input[str],
|
|
46
|
+
service_name: pulumi.Input[str],
|
|
47
|
+
subject_name: pulumi.Input[str],
|
|
48
|
+
compatibility_level: Optional[pulumi.Input[str]] = None,
|
|
49
|
+
schema_type: Optional[pulumi.Input[str]] = None,
|
|
50
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
51
|
+
_setter("project", project)
|
|
52
|
+
_setter("schema", schema)
|
|
53
|
+
_setter("service_name", service_name)
|
|
54
|
+
_setter("subject_name", subject_name)
|
|
36
55
|
if compatibility_level is not None:
|
|
37
|
-
|
|
56
|
+
_setter("compatibility_level", compatibility_level)
|
|
38
57
|
if schema_type is not None:
|
|
39
|
-
|
|
58
|
+
_setter("schema_type", schema_type)
|
|
40
59
|
|
|
41
60
|
@property
|
|
42
61
|
@pulumi.getter
|
|
@@ -131,20 +150,41 @@ class _KafkaSchemaState:
|
|
|
131
150
|
:param pulumi.Input[str] subject_name: The Kafka Schema Subject name. This property cannot be changed, doing so forces recreation of the resource.
|
|
132
151
|
:param pulumi.Input[int] version: Kafka Schema configuration version.
|
|
133
152
|
"""
|
|
153
|
+
_KafkaSchemaState._configure(
|
|
154
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
155
|
+
compatibility_level=compatibility_level,
|
|
156
|
+
project=project,
|
|
157
|
+
schema=schema,
|
|
158
|
+
schema_type=schema_type,
|
|
159
|
+
service_name=service_name,
|
|
160
|
+
subject_name=subject_name,
|
|
161
|
+
version=version,
|
|
162
|
+
)
|
|
163
|
+
@staticmethod
|
|
164
|
+
def _configure(
|
|
165
|
+
_setter: Callable[[Any, Any], None],
|
|
166
|
+
compatibility_level: Optional[pulumi.Input[str]] = None,
|
|
167
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
168
|
+
schema: Optional[pulumi.Input[str]] = None,
|
|
169
|
+
schema_type: Optional[pulumi.Input[str]] = None,
|
|
170
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
171
|
+
subject_name: Optional[pulumi.Input[str]] = None,
|
|
172
|
+
version: Optional[pulumi.Input[int]] = None,
|
|
173
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
134
174
|
if compatibility_level is not None:
|
|
135
|
-
|
|
175
|
+
_setter("compatibility_level", compatibility_level)
|
|
136
176
|
if project is not None:
|
|
137
|
-
|
|
177
|
+
_setter("project", project)
|
|
138
178
|
if schema is not None:
|
|
139
|
-
|
|
179
|
+
_setter("schema", schema)
|
|
140
180
|
if schema_type is not None:
|
|
141
|
-
|
|
181
|
+
_setter("schema_type", schema_type)
|
|
142
182
|
if service_name is not None:
|
|
143
|
-
|
|
183
|
+
_setter("service_name", service_name)
|
|
144
184
|
if subject_name is not None:
|
|
145
|
-
|
|
185
|
+
_setter("subject_name", subject_name)
|
|
146
186
|
if version is not None:
|
|
147
|
-
|
|
187
|
+
_setter("version", version)
|
|
148
188
|
|
|
149
189
|
@property
|
|
150
190
|
@pulumi.getter(name="compatibilityLevel")
|
|
@@ -340,6 +380,10 @@ class KafkaSchema(pulumi.CustomResource):
|
|
|
340
380
|
if resource_args is not None:
|
|
341
381
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
342
382
|
else:
|
|
383
|
+
kwargs = kwargs or {}
|
|
384
|
+
def _setter(key, value):
|
|
385
|
+
kwargs[key] = value
|
|
386
|
+
KafkaSchemaArgs._configure(_setter, **kwargs)
|
|
343
387
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
344
388
|
|
|
345
389
|
def _internal_init(__self__,
|
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = ['KafkaSchemaConfigurationArgs', 'KafkaSchemaConfiguration']
|
|
@@ -23,10 +23,23 @@ class KafkaSchemaConfigurationArgs:
|
|
|
23
23
|
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
24
24
|
:param pulumi.Input[str] compatibility_level: Kafka Schemas compatibility level. The possible values are `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE` and `NONE`.
|
|
25
25
|
"""
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
KafkaSchemaConfigurationArgs._configure(
|
|
27
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
28
|
+
project=project,
|
|
29
|
+
service_name=service_name,
|
|
30
|
+
compatibility_level=compatibility_level,
|
|
31
|
+
)
|
|
32
|
+
@staticmethod
|
|
33
|
+
def _configure(
|
|
34
|
+
_setter: Callable[[Any, Any], None],
|
|
35
|
+
project: pulumi.Input[str],
|
|
36
|
+
service_name: pulumi.Input[str],
|
|
37
|
+
compatibility_level: Optional[pulumi.Input[str]] = None,
|
|
38
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
39
|
+
_setter("project", project)
|
|
40
|
+
_setter("service_name", service_name)
|
|
28
41
|
if compatibility_level is not None:
|
|
29
|
-
|
|
42
|
+
_setter("compatibility_level", compatibility_level)
|
|
30
43
|
|
|
31
44
|
@property
|
|
32
45
|
@pulumi.getter
|
|
@@ -77,12 +90,25 @@ class _KafkaSchemaConfigurationState:
|
|
|
77
90
|
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
78
91
|
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
79
92
|
"""
|
|
93
|
+
_KafkaSchemaConfigurationState._configure(
|
|
94
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
95
|
+
compatibility_level=compatibility_level,
|
|
96
|
+
project=project,
|
|
97
|
+
service_name=service_name,
|
|
98
|
+
)
|
|
99
|
+
@staticmethod
|
|
100
|
+
def _configure(
|
|
101
|
+
_setter: Callable[[Any, Any], None],
|
|
102
|
+
compatibility_level: Optional[pulumi.Input[str]] = None,
|
|
103
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
104
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
105
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
80
106
|
if compatibility_level is not None:
|
|
81
|
-
|
|
107
|
+
_setter("compatibility_level", compatibility_level)
|
|
82
108
|
if project is not None:
|
|
83
|
-
|
|
109
|
+
_setter("project", project)
|
|
84
110
|
if service_name is not None:
|
|
85
|
-
|
|
111
|
+
_setter("service_name", service_name)
|
|
86
112
|
|
|
87
113
|
@property
|
|
88
114
|
@pulumi.getter(name="compatibilityLevel")
|
|
@@ -194,6 +220,10 @@ class KafkaSchemaConfiguration(pulumi.CustomResource):
|
|
|
194
220
|
if resource_args is not None:
|
|
195
221
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
196
222
|
else:
|
|
223
|
+
kwargs = kwargs or {}
|
|
224
|
+
def _setter(key, value):
|
|
225
|
+
kwargs[key] = value
|
|
226
|
+
KafkaSchemaConfigurationArgs._configure(_setter, **kwargs)
|
|
197
227
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
198
228
|
|
|
199
229
|
def _internal_init(__self__,
|
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = ['KafkaSchemaRegistryAclArgs', 'KafkaSchemaRegistryAcl']
|
|
@@ -27,11 +27,28 @@ class KafkaSchemaRegistryAclArgs:
|
|
|
27
27
|
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
28
28
|
:param pulumi.Input[str] username: Username pattern for the ACL entry. This property cannot be changed, doing so forces recreation of the resource.
|
|
29
29
|
"""
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
KafkaSchemaRegistryAclArgs._configure(
|
|
31
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
32
|
+
permission=permission,
|
|
33
|
+
project=project,
|
|
34
|
+
resource=resource,
|
|
35
|
+
service_name=service_name,
|
|
36
|
+
username=username,
|
|
37
|
+
)
|
|
38
|
+
@staticmethod
|
|
39
|
+
def _configure(
|
|
40
|
+
_setter: Callable[[Any, Any], None],
|
|
41
|
+
permission: pulumi.Input[str],
|
|
42
|
+
project: pulumi.Input[str],
|
|
43
|
+
resource: pulumi.Input[str],
|
|
44
|
+
service_name: pulumi.Input[str],
|
|
45
|
+
username: pulumi.Input[str],
|
|
46
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
47
|
+
_setter("permission", permission)
|
|
48
|
+
_setter("project", project)
|
|
49
|
+
_setter("resource", resource)
|
|
50
|
+
_setter("service_name", service_name)
|
|
51
|
+
_setter("username", username)
|
|
35
52
|
|
|
36
53
|
@property
|
|
37
54
|
@pulumi.getter
|
|
@@ -112,18 +129,37 @@ class _KafkaSchemaRegistryAclState:
|
|
|
112
129
|
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
113
130
|
:param pulumi.Input[str] username: Username pattern for the ACL entry. This property cannot be changed, doing so forces recreation of the resource.
|
|
114
131
|
"""
|
|
132
|
+
_KafkaSchemaRegistryAclState._configure(
|
|
133
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
134
|
+
acl_id=acl_id,
|
|
135
|
+
permission=permission,
|
|
136
|
+
project=project,
|
|
137
|
+
resource=resource,
|
|
138
|
+
service_name=service_name,
|
|
139
|
+
username=username,
|
|
140
|
+
)
|
|
141
|
+
@staticmethod
|
|
142
|
+
def _configure(
|
|
143
|
+
_setter: Callable[[Any, Any], None],
|
|
144
|
+
acl_id: Optional[pulumi.Input[str]] = None,
|
|
145
|
+
permission: Optional[pulumi.Input[str]] = None,
|
|
146
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
147
|
+
resource: Optional[pulumi.Input[str]] = None,
|
|
148
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
149
|
+
username: Optional[pulumi.Input[str]] = None,
|
|
150
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
115
151
|
if acl_id is not None:
|
|
116
|
-
|
|
152
|
+
_setter("acl_id", acl_id)
|
|
117
153
|
if permission is not None:
|
|
118
|
-
|
|
154
|
+
_setter("permission", permission)
|
|
119
155
|
if project is not None:
|
|
120
|
-
|
|
156
|
+
_setter("project", project)
|
|
121
157
|
if resource is not None:
|
|
122
|
-
|
|
158
|
+
_setter("resource", resource)
|
|
123
159
|
if service_name is not None:
|
|
124
|
-
|
|
160
|
+
_setter("service_name", service_name)
|
|
125
161
|
if username is not None:
|
|
126
|
-
|
|
162
|
+
_setter("username", username)
|
|
127
163
|
|
|
128
164
|
@property
|
|
129
165
|
@pulumi.getter(name="aclId")
|
|
@@ -239,6 +275,10 @@ class KafkaSchemaRegistryAcl(pulumi.CustomResource):
|
|
|
239
275
|
if resource_args is not None:
|
|
240
276
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
241
277
|
else:
|
|
278
|
+
kwargs = kwargs or {}
|
|
279
|
+
def _setter(key, value):
|
|
280
|
+
kwargs[key] = value
|
|
281
|
+
KafkaSchemaRegistryAclArgs._configure(_setter, **kwargs)
|
|
242
282
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
243
283
|
|
|
244
284
|
def _internal_init(__self__,
|