pulumi-aiven 6.43.0a1756184863__py3-none-any.whl → 6.47.0a1767071446__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.
- pulumi_aiven/__init__.py +4 -0
- pulumi_aiven/_inputs.py +3087 -602
- pulumi_aiven/account_team.py +6 -12
- pulumi_aiven/account_team_member.py +6 -12
- pulumi_aiven/account_team_project.py +6 -12
- pulumi_aiven/alloydbomni.py +72 -23
- pulumi_aiven/alloydbomni_database.py +26 -0
- pulumi_aiven/alloydbomni_user.py +135 -8
- pulumi_aiven/billing_group.py +225 -114
- pulumi_aiven/cassandra.py +46 -23
- pulumi_aiven/cassandra_user.py +110 -9
- pulumi_aiven/clickhouse.py +46 -23
- pulumi_aiven/clickhouse_user.py +127 -7
- pulumi_aiven/dragonfly.py +46 -23
- pulumi_aiven/flink.py +46 -23
- pulumi_aiven/get_account_team.py +6 -12
- pulumi_aiven/get_account_team_member.py +6 -12
- pulumi_aiven/get_account_team_project.py +6 -12
- pulumi_aiven/get_alloydbomni.py +43 -3
- pulumi_aiven/get_alloydbomni_database.py +26 -0
- pulumi_aiven/get_alloydbomni_user.py +27 -1
- pulumi_aiven/get_billing_group.py +47 -15
- pulumi_aiven/get_cassanda.py +17 -3
- pulumi_aiven/get_cassandra.py +17 -3
- pulumi_aiven/get_cassandra_user.py +1 -1
- pulumi_aiven/get_clickhouse.py +17 -3
- pulumi_aiven/get_clickhouse_user.py +1 -1
- pulumi_aiven/get_dragonfly.py +17 -3
- pulumi_aiven/get_flink.py +17 -3
- pulumi_aiven/get_grafana.py +17 -3
- pulumi_aiven/get_influx_db.py +12 -1
- pulumi_aiven/get_kafka.py +17 -3
- pulumi_aiven/get_kafka_connect.py +17 -3
- pulumi_aiven/get_kafka_mirror_maker.py +17 -3
- pulumi_aiven/get_kafka_user.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +14 -112
- pulumi_aiven/get_m3_db.py +14 -124
- pulumi_aiven/get_m3db_user.py +2 -61
- pulumi_aiven/get_my_sql.py +17 -3
- pulumi_aiven/get_mysql_user.py +1 -1
- pulumi_aiven/get_open_search.py +17 -3
- pulumi_aiven/get_opensearch_user.py +1 -1
- pulumi_aiven/get_organization.py +1 -1
- pulumi_aiven/get_organization_address.py +1 -1
- pulumi_aiven/get_organization_application_user.py +29 -11
- pulumi_aiven/get_organization_billing_group.py +3 -3
- pulumi_aiven/get_organization_project.py +2 -8
- pulumi_aiven/get_organization_user_group_list.py +131 -0
- pulumi_aiven/get_organization_user_group_member_list.py +171 -0
- pulumi_aiven/get_organization_user_list.py +33 -11
- pulumi_aiven/get_organizational_unit.py +4 -0
- pulumi_aiven/get_pg.py +17 -3
- pulumi_aiven/get_pg_user.py +1 -1
- pulumi_aiven/get_redis.py +14 -128
- pulumi_aiven/get_redis_user.py +2 -77
- pulumi_aiven/get_service_component.py +3 -3
- pulumi_aiven/get_service_plan.py +309 -0
- pulumi_aiven/get_service_plan_list.py +151 -0
- pulumi_aiven/get_thanos.py +17 -3
- pulumi_aiven/get_valkey.py +17 -3
- pulumi_aiven/get_valkey_user.py +4 -4
- pulumi_aiven/governance_access.py +12 -0
- pulumi_aiven/grafana.py +46 -23
- pulumi_aiven/influx_db.py +133 -291
- pulumi_aiven/influxdb_database.py +14 -28
- pulumi_aiven/influxdb_user.py +21 -42
- pulumi_aiven/kafka.py +46 -23
- pulumi_aiven/kafka_connect.py +48 -25
- pulumi_aiven/kafka_mirror_maker.py +46 -23
- pulumi_aiven/kafka_schema.py +20 -20
- pulumi_aiven/kafka_user.py +110 -9
- pulumi_aiven/m3_aggregator.py +48 -75
- pulumi_aiven/m3_db.py +48 -95
- pulumi_aiven/m3db_user.py +2 -54
- pulumi_aiven/my_sql.py +46 -23
- pulumi_aiven/mysql_user.py +110 -9
- pulumi_aiven/open_search.py +46 -23
- pulumi_aiven/opensearch_user.py +110 -9
- pulumi_aiven/organization.py +6 -6
- pulumi_aiven/organization_address.py +12 -0
- pulumi_aiven/organization_application_user.py +76 -48
- pulumi_aiven/organization_application_user_token.py +127 -91
- pulumi_aiven/organization_billing_group.py +33 -21
- pulumi_aiven/organization_permission.py +82 -49
- pulumi_aiven/organization_project.py +9 -15
- pulumi_aiven/organization_user.py +8 -8
- pulumi_aiven/organization_user_group_member.py +29 -35
- pulumi_aiven/outputs.py +2042 -326
- pulumi_aiven/pg.py +112 -23
- pulumi_aiven/pg_user.py +109 -8
- pulumi_aiven/project.py +2 -24
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +57 -97
- pulumi_aiven/redis_user.py +23 -79
- pulumi_aiven/thanos.py +46 -23
- pulumi_aiven/valkey.py +46 -23
- pulumi_aiven/valkey_user.py +130 -29
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/METADATA +1 -1
- pulumi_aiven-6.47.0a1767071446.dist-info/RECORD +193 -0
- pulumi_aiven-6.43.0a1756184863.dist-info/RECORD +0 -189
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/top_level.txt +0 -0
pulumi_aiven/kafka_connect.py
CHANGED
|
@@ -43,7 +43,7 @@ class KafkaConnectArgs:
|
|
|
43
43
|
:param pulumi.Input[_builtins.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.
|
|
44
44
|
:param pulumi.Input[_builtins.str] additional_disk_space: 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 without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
45
45
|
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
46
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
46
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
47
47
|
:param pulumi.Input['KafkaConnectKafkaConnectUserConfigArgs'] kafka_connect_user_config: KafkaConnect user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
48
48
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
49
49
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -62,8 +62,8 @@ class KafkaConnectArgs:
|
|
|
62
62
|
if cloud_name is not None:
|
|
63
63
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
64
64
|
if disk_space is not None:
|
|
65
|
-
warnings.warn("""
|
|
66
|
-
pulumi.log.warn("""disk_space is deprecated:
|
|
65
|
+
warnings.warn("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""", DeprecationWarning)
|
|
66
|
+
pulumi.log.warn("""disk_space is deprecated: Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
67
67
|
if disk_space is not None:
|
|
68
68
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
69
69
|
if kafka_connect_user_config is not None:
|
|
@@ -147,10 +147,10 @@ class KafkaConnectArgs:
|
|
|
147
147
|
|
|
148
148
|
@_builtins.property
|
|
149
149
|
@pulumi.getter(name="diskSpace")
|
|
150
|
-
@_utilities.deprecated("""
|
|
150
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
151
151
|
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
152
152
|
"""
|
|
153
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
153
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
154
154
|
"""
|
|
155
155
|
return pulumi.get(self, "disk_space")
|
|
156
156
|
|
|
@@ -280,6 +280,7 @@ class _KafkaConnectState:
|
|
|
280
280
|
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
281
281
|
kafka_connect_user_config: Optional[pulumi.Input['KafkaConnectKafkaConnectUserConfigArgs']] = None,
|
|
282
282
|
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
283
|
+
maintenance_window_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
283
284
|
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
284
285
|
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
285
286
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -302,13 +303,14 @@ class _KafkaConnectState:
|
|
|
302
303
|
:param pulumi.Input[_builtins.str] additional_disk_space: 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 without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
303
304
|
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
304
305
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaConnectComponentArgs']]] components: Service component information objects
|
|
305
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
306
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
306
307
|
:param pulumi.Input[_builtins.str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
307
308
|
:param pulumi.Input[_builtins.str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
308
309
|
:param pulumi.Input[_builtins.str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
309
|
-
:param pulumi.Input[_builtins.str] disk_space_used:
|
|
310
|
+
:param pulumi.Input[_builtins.str] disk_space_used: The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
310
311
|
:param pulumi.Input['KafkaConnectKafkaConnectUserConfigArgs'] kafka_connect_user_config: KafkaConnect user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
311
312
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
313
|
+
:param pulumi.Input[_builtins.bool] maintenance_window_enabled: Indicates whether the maintenance window is currently enabled for this service.
|
|
312
314
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
313
315
|
:param pulumi.Input[_builtins.str] plan: 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).
|
|
314
316
|
:param pulumi.Input[_builtins.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.
|
|
@@ -333,8 +335,8 @@ class _KafkaConnectState:
|
|
|
333
335
|
if components is not None:
|
|
334
336
|
pulumi.set(__self__, "components", components)
|
|
335
337
|
if disk_space is not None:
|
|
336
|
-
warnings.warn("""
|
|
337
|
-
pulumi.log.warn("""disk_space is deprecated:
|
|
338
|
+
warnings.warn("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""", DeprecationWarning)
|
|
339
|
+
pulumi.log.warn("""disk_space is deprecated: Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
338
340
|
if disk_space is not None:
|
|
339
341
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
340
342
|
if disk_space_cap is not None:
|
|
@@ -343,15 +345,14 @@ class _KafkaConnectState:
|
|
|
343
345
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
344
346
|
if disk_space_step is not None:
|
|
345
347
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
346
|
-
if disk_space_used is not None:
|
|
347
|
-
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)
|
|
348
|
-
pulumi.log.warn("""disk_space_used 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.""")
|
|
349
348
|
if disk_space_used is not None:
|
|
350
349
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
351
350
|
if kafka_connect_user_config is not None:
|
|
352
351
|
pulumi.set(__self__, "kafka_connect_user_config", kafka_connect_user_config)
|
|
353
352
|
if maintenance_window_dow is not None:
|
|
354
353
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
354
|
+
if maintenance_window_enabled is not None:
|
|
355
|
+
pulumi.set(__self__, "maintenance_window_enabled", maintenance_window_enabled)
|
|
355
356
|
if maintenance_window_time is not None:
|
|
356
357
|
pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
|
|
357
358
|
if plan is not None:
|
|
@@ -425,10 +426,10 @@ class _KafkaConnectState:
|
|
|
425
426
|
|
|
426
427
|
@_builtins.property
|
|
427
428
|
@pulumi.getter(name="diskSpace")
|
|
428
|
-
@_utilities.deprecated("""
|
|
429
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
429
430
|
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
430
431
|
"""
|
|
431
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
432
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
432
433
|
"""
|
|
433
434
|
return pulumi.get(self, "disk_space")
|
|
434
435
|
|
|
@@ -474,10 +475,9 @@ class _KafkaConnectState:
|
|
|
474
475
|
|
|
475
476
|
@_builtins.property
|
|
476
477
|
@pulumi.getter(name="diskSpaceUsed")
|
|
477
|
-
@_utilities.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.""")
|
|
478
478
|
def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
479
479
|
"""
|
|
480
|
-
|
|
480
|
+
The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
481
481
|
"""
|
|
482
482
|
return pulumi.get(self, "disk_space_used")
|
|
483
483
|
|
|
@@ -509,6 +509,18 @@ class _KafkaConnectState:
|
|
|
509
509
|
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
510
510
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
511
511
|
|
|
512
|
+
@_builtins.property
|
|
513
|
+
@pulumi.getter(name="maintenanceWindowEnabled")
|
|
514
|
+
def maintenance_window_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
515
|
+
"""
|
|
516
|
+
Indicates whether the maintenance window is currently enabled for this service.
|
|
517
|
+
"""
|
|
518
|
+
return pulumi.get(self, "maintenance_window_enabled")
|
|
519
|
+
|
|
520
|
+
@maintenance_window_enabled.setter
|
|
521
|
+
def maintenance_window_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
522
|
+
pulumi.set(self, "maintenance_window_enabled", value)
|
|
523
|
+
|
|
512
524
|
@_builtins.property
|
|
513
525
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
514
526
|
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -755,7 +767,7 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
755
767
|
project=example_project["project"],
|
|
756
768
|
service_name="example-kafka-service",
|
|
757
769
|
cloud_name="google-europe-west1",
|
|
758
|
-
plan="startup-
|
|
770
|
+
plan="startup-4")
|
|
759
771
|
# Create a Kafka Connect service.
|
|
760
772
|
example_kafka_connect = aiven.KafkaConnect("example_kafka_connect",
|
|
761
773
|
project=example_project["project"],
|
|
@@ -795,7 +807,7 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
795
807
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
796
808
|
:param pulumi.Input[_builtins.str] additional_disk_space: 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 without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
797
809
|
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
798
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
810
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
799
811
|
:param pulumi.Input[Union['KafkaConnectKafkaConnectUserConfigArgs', 'KafkaConnectKafkaConnectUserConfigArgsDict']] kafka_connect_user_config: KafkaConnect user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
800
812
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
801
813
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -837,7 +849,7 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
837
849
|
project=example_project["project"],
|
|
838
850
|
service_name="example-kafka-service",
|
|
839
851
|
cloud_name="google-europe-west1",
|
|
840
|
-
plan="startup-
|
|
852
|
+
plan="startup-4")
|
|
841
853
|
# Create a Kafka Connect service.
|
|
842
854
|
example_kafka_connect = aiven.KafkaConnect("example_kafka_connect",
|
|
843
855
|
project=example_project["project"],
|
|
@@ -938,6 +950,7 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
938
950
|
__props__.__dict__["disk_space_default"] = None
|
|
939
951
|
__props__.__dict__["disk_space_step"] = None
|
|
940
952
|
__props__.__dict__["disk_space_used"] = None
|
|
953
|
+
__props__.__dict__["maintenance_window_enabled"] = None
|
|
941
954
|
__props__.__dict__["service_host"] = None
|
|
942
955
|
__props__.__dict__["service_password"] = None
|
|
943
956
|
__props__.__dict__["service_port"] = None
|
|
@@ -967,6 +980,7 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
967
980
|
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
968
981
|
kafka_connect_user_config: Optional[pulumi.Input[Union['KafkaConnectKafkaConnectUserConfigArgs', 'KafkaConnectKafkaConnectUserConfigArgsDict']]] = None,
|
|
969
982
|
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
983
|
+
maintenance_window_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
970
984
|
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
971
985
|
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
972
986
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -994,13 +1008,14 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
994
1008
|
:param pulumi.Input[_builtins.str] additional_disk_space: 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 without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
995
1009
|
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
996
1010
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectComponentArgs', 'KafkaConnectComponentArgsDict']]]] components: Service component information objects
|
|
997
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1011
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
998
1012
|
:param pulumi.Input[_builtins.str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
999
1013
|
:param pulumi.Input[_builtins.str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
1000
1014
|
:param pulumi.Input[_builtins.str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1001
|
-
:param pulumi.Input[_builtins.str] disk_space_used:
|
|
1015
|
+
:param pulumi.Input[_builtins.str] disk_space_used: The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
1002
1016
|
:param pulumi.Input[Union['KafkaConnectKafkaConnectUserConfigArgs', 'KafkaConnectKafkaConnectUserConfigArgsDict']] kafka_connect_user_config: KafkaConnect user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
1003
1017
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1018
|
+
:param pulumi.Input[_builtins.bool] maintenance_window_enabled: Indicates whether the maintenance window is currently enabled for this service.
|
|
1004
1019
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1005
1020
|
:param pulumi.Input[_builtins.str] plan: 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).
|
|
1006
1021
|
:param pulumi.Input[_builtins.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.
|
|
@@ -1032,6 +1047,7 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1032
1047
|
__props__.__dict__["disk_space_used"] = disk_space_used
|
|
1033
1048
|
__props__.__dict__["kafka_connect_user_config"] = kafka_connect_user_config
|
|
1034
1049
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
1050
|
+
__props__.__dict__["maintenance_window_enabled"] = maintenance_window_enabled
|
|
1035
1051
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
1036
1052
|
__props__.__dict__["plan"] = plan
|
|
1037
1053
|
__props__.__dict__["project"] = project
|
|
@@ -1077,10 +1093,10 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1077
1093
|
|
|
1078
1094
|
@_builtins.property
|
|
1079
1095
|
@pulumi.getter(name="diskSpace")
|
|
1080
|
-
@_utilities.deprecated("""
|
|
1096
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
1081
1097
|
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1082
1098
|
"""
|
|
1083
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1099
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
1084
1100
|
"""
|
|
1085
1101
|
return pulumi.get(self, "disk_space")
|
|
1086
1102
|
|
|
@@ -1110,10 +1126,9 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1110
1126
|
|
|
1111
1127
|
@_builtins.property
|
|
1112
1128
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1113
|
-
@_utilities.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.""")
|
|
1114
1129
|
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1115
1130
|
"""
|
|
1116
|
-
|
|
1131
|
+
The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
1117
1132
|
"""
|
|
1118
1133
|
return pulumi.get(self, "disk_space_used")
|
|
1119
1134
|
|
|
@@ -1133,6 +1148,14 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1133
1148
|
"""
|
|
1134
1149
|
return pulumi.get(self, "maintenance_window_dow")
|
|
1135
1150
|
|
|
1151
|
+
@_builtins.property
|
|
1152
|
+
@pulumi.getter(name="maintenanceWindowEnabled")
|
|
1153
|
+
def maintenance_window_enabled(self) -> pulumi.Output[_builtins.bool]:
|
|
1154
|
+
"""
|
|
1155
|
+
Indicates whether the maintenance window is currently enabled for this service.
|
|
1156
|
+
"""
|
|
1157
|
+
return pulumi.get(self, "maintenance_window_enabled")
|
|
1158
|
+
|
|
1136
1159
|
@_builtins.property
|
|
1137
1160
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1138
1161
|
def maintenance_window_time(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
@@ -43,7 +43,7 @@ class KafkaMirrorMakerArgs:
|
|
|
43
43
|
:param pulumi.Input[_builtins.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.
|
|
44
44
|
:param pulumi.Input[_builtins.str] additional_disk_space: 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 without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
45
45
|
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
46
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
46
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
47
47
|
:param pulumi.Input['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs'] kafka_mirrormaker_user_config: KafkaMirrormaker user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
48
48
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
49
49
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -62,8 +62,8 @@ class KafkaMirrorMakerArgs:
|
|
|
62
62
|
if cloud_name is not None:
|
|
63
63
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
64
64
|
if disk_space is not None:
|
|
65
|
-
warnings.warn("""
|
|
66
|
-
pulumi.log.warn("""disk_space is deprecated:
|
|
65
|
+
warnings.warn("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""", DeprecationWarning)
|
|
66
|
+
pulumi.log.warn("""disk_space is deprecated: Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
67
67
|
if disk_space is not None:
|
|
68
68
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
69
69
|
if kafka_mirrormaker_user_config is not None:
|
|
@@ -147,10 +147,10 @@ class KafkaMirrorMakerArgs:
|
|
|
147
147
|
|
|
148
148
|
@_builtins.property
|
|
149
149
|
@pulumi.getter(name="diskSpace")
|
|
150
|
-
@_utilities.deprecated("""
|
|
150
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
151
151
|
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
152
152
|
"""
|
|
153
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
153
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
154
154
|
"""
|
|
155
155
|
return pulumi.get(self, "disk_space")
|
|
156
156
|
|
|
@@ -280,6 +280,7 @@ class _KafkaMirrorMakerState:
|
|
|
280
280
|
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
281
281
|
kafka_mirrormaker_user_config: Optional[pulumi.Input['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs']] = None,
|
|
282
282
|
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
283
|
+
maintenance_window_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
283
284
|
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
284
285
|
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
285
286
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -302,13 +303,14 @@ class _KafkaMirrorMakerState:
|
|
|
302
303
|
:param pulumi.Input[_builtins.str] additional_disk_space: 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 without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
303
304
|
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
304
305
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerComponentArgs']]] components: Service component information objects
|
|
305
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
306
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
306
307
|
:param pulumi.Input[_builtins.str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
307
308
|
:param pulumi.Input[_builtins.str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
308
309
|
:param pulumi.Input[_builtins.str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
309
|
-
:param pulumi.Input[_builtins.str] disk_space_used:
|
|
310
|
+
:param pulumi.Input[_builtins.str] disk_space_used: The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
310
311
|
:param pulumi.Input['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs'] kafka_mirrormaker_user_config: KafkaMirrormaker user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
311
312
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
313
|
+
:param pulumi.Input[_builtins.bool] maintenance_window_enabled: Indicates whether the maintenance window is currently enabled for this service.
|
|
312
314
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
313
315
|
:param pulumi.Input[_builtins.str] plan: 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).
|
|
314
316
|
:param pulumi.Input[_builtins.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.
|
|
@@ -333,8 +335,8 @@ class _KafkaMirrorMakerState:
|
|
|
333
335
|
if components is not None:
|
|
334
336
|
pulumi.set(__self__, "components", components)
|
|
335
337
|
if disk_space is not None:
|
|
336
|
-
warnings.warn("""
|
|
337
|
-
pulumi.log.warn("""disk_space is deprecated:
|
|
338
|
+
warnings.warn("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""", DeprecationWarning)
|
|
339
|
+
pulumi.log.warn("""disk_space is deprecated: Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
338
340
|
if disk_space is not None:
|
|
339
341
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
340
342
|
if disk_space_cap is not None:
|
|
@@ -343,15 +345,14 @@ class _KafkaMirrorMakerState:
|
|
|
343
345
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
344
346
|
if disk_space_step is not None:
|
|
345
347
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
346
|
-
if disk_space_used is not None:
|
|
347
|
-
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)
|
|
348
|
-
pulumi.log.warn("""disk_space_used 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.""")
|
|
349
348
|
if disk_space_used is not None:
|
|
350
349
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
351
350
|
if kafka_mirrormaker_user_config is not None:
|
|
352
351
|
pulumi.set(__self__, "kafka_mirrormaker_user_config", kafka_mirrormaker_user_config)
|
|
353
352
|
if maintenance_window_dow is not None:
|
|
354
353
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
354
|
+
if maintenance_window_enabled is not None:
|
|
355
|
+
pulumi.set(__self__, "maintenance_window_enabled", maintenance_window_enabled)
|
|
355
356
|
if maintenance_window_time is not None:
|
|
356
357
|
pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
|
|
357
358
|
if plan is not None:
|
|
@@ -425,10 +426,10 @@ class _KafkaMirrorMakerState:
|
|
|
425
426
|
|
|
426
427
|
@_builtins.property
|
|
427
428
|
@pulumi.getter(name="diskSpace")
|
|
428
|
-
@_utilities.deprecated("""
|
|
429
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
429
430
|
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
430
431
|
"""
|
|
431
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
432
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
432
433
|
"""
|
|
433
434
|
return pulumi.get(self, "disk_space")
|
|
434
435
|
|
|
@@ -474,10 +475,9 @@ class _KafkaMirrorMakerState:
|
|
|
474
475
|
|
|
475
476
|
@_builtins.property
|
|
476
477
|
@pulumi.getter(name="diskSpaceUsed")
|
|
477
|
-
@_utilities.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.""")
|
|
478
478
|
def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
479
479
|
"""
|
|
480
|
-
|
|
480
|
+
The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
481
481
|
"""
|
|
482
482
|
return pulumi.get(self, "disk_space_used")
|
|
483
483
|
|
|
@@ -509,6 +509,18 @@ class _KafkaMirrorMakerState:
|
|
|
509
509
|
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
510
510
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
511
511
|
|
|
512
|
+
@_builtins.property
|
|
513
|
+
@pulumi.getter(name="maintenanceWindowEnabled")
|
|
514
|
+
def maintenance_window_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
515
|
+
"""
|
|
516
|
+
Indicates whether the maintenance window is currently enabled for this service.
|
|
517
|
+
"""
|
|
518
|
+
return pulumi.get(self, "maintenance_window_enabled")
|
|
519
|
+
|
|
520
|
+
@maintenance_window_enabled.setter
|
|
521
|
+
def maintenance_window_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
522
|
+
pulumi.set(self, "maintenance_window_enabled", value)
|
|
523
|
+
|
|
512
524
|
@_builtins.property
|
|
513
525
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
514
526
|
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -767,7 +779,7 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
767
779
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
768
780
|
:param pulumi.Input[_builtins.str] additional_disk_space: 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 without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
769
781
|
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
770
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
782
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
771
783
|
:param pulumi.Input[Union['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs', 'KafkaMirrorMakerKafkaMirrormakerUserConfigArgsDict']] kafka_mirrormaker_user_config: KafkaMirrormaker user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
772
784
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
773
785
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -882,6 +894,7 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
882
894
|
__props__.__dict__["disk_space_default"] = None
|
|
883
895
|
__props__.__dict__["disk_space_step"] = None
|
|
884
896
|
__props__.__dict__["disk_space_used"] = None
|
|
897
|
+
__props__.__dict__["maintenance_window_enabled"] = None
|
|
885
898
|
__props__.__dict__["service_host"] = None
|
|
886
899
|
__props__.__dict__["service_password"] = None
|
|
887
900
|
__props__.__dict__["service_port"] = None
|
|
@@ -911,6 +924,7 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
911
924
|
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
912
925
|
kafka_mirrormaker_user_config: Optional[pulumi.Input[Union['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs', 'KafkaMirrorMakerKafkaMirrormakerUserConfigArgsDict']]] = None,
|
|
913
926
|
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
927
|
+
maintenance_window_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
914
928
|
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
915
929
|
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
916
930
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -938,13 +952,14 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
938
952
|
:param pulumi.Input[_builtins.str] additional_disk_space: 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 without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
939
953
|
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
940
954
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerComponentArgs', 'KafkaMirrorMakerComponentArgsDict']]]] components: Service component information objects
|
|
941
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
955
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
942
956
|
:param pulumi.Input[_builtins.str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
943
957
|
:param pulumi.Input[_builtins.str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
944
958
|
:param pulumi.Input[_builtins.str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
945
|
-
:param pulumi.Input[_builtins.str] disk_space_used:
|
|
959
|
+
:param pulumi.Input[_builtins.str] disk_space_used: The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
946
960
|
:param pulumi.Input[Union['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs', 'KafkaMirrorMakerKafkaMirrormakerUserConfigArgsDict']] kafka_mirrormaker_user_config: KafkaMirrormaker user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
947
961
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
962
|
+
:param pulumi.Input[_builtins.bool] maintenance_window_enabled: Indicates whether the maintenance window is currently enabled for this service.
|
|
948
963
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
949
964
|
:param pulumi.Input[_builtins.str] plan: 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).
|
|
950
965
|
:param pulumi.Input[_builtins.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.
|
|
@@ -976,6 +991,7 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
976
991
|
__props__.__dict__["disk_space_used"] = disk_space_used
|
|
977
992
|
__props__.__dict__["kafka_mirrormaker_user_config"] = kafka_mirrormaker_user_config
|
|
978
993
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
994
|
+
__props__.__dict__["maintenance_window_enabled"] = maintenance_window_enabled
|
|
979
995
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
980
996
|
__props__.__dict__["plan"] = plan
|
|
981
997
|
__props__.__dict__["project"] = project
|
|
@@ -1021,10 +1037,10 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1021
1037
|
|
|
1022
1038
|
@_builtins.property
|
|
1023
1039
|
@pulumi.getter(name="diskSpace")
|
|
1024
|
-
@_utilities.deprecated("""
|
|
1040
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
1025
1041
|
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1026
1042
|
"""
|
|
1027
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1043
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
1028
1044
|
"""
|
|
1029
1045
|
return pulumi.get(self, "disk_space")
|
|
1030
1046
|
|
|
@@ -1054,10 +1070,9 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1054
1070
|
|
|
1055
1071
|
@_builtins.property
|
|
1056
1072
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1057
|
-
@_utilities.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.""")
|
|
1058
1073
|
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1059
1074
|
"""
|
|
1060
|
-
|
|
1075
|
+
The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
1061
1076
|
"""
|
|
1062
1077
|
return pulumi.get(self, "disk_space_used")
|
|
1063
1078
|
|
|
@@ -1077,6 +1092,14 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1077
1092
|
"""
|
|
1078
1093
|
return pulumi.get(self, "maintenance_window_dow")
|
|
1079
1094
|
|
|
1095
|
+
@_builtins.property
|
|
1096
|
+
@pulumi.getter(name="maintenanceWindowEnabled")
|
|
1097
|
+
def maintenance_window_enabled(self) -> pulumi.Output[_builtins.bool]:
|
|
1098
|
+
"""
|
|
1099
|
+
Indicates whether the maintenance window is currently enabled for this service.
|
|
1100
|
+
"""
|
|
1101
|
+
return pulumi.get(self, "maintenance_window_enabled")
|
|
1102
|
+
|
|
1080
1103
|
@_builtins.property
|
|
1081
1104
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1082
1105
|
def maintenance_window_time(self) -> pulumi.Output[Optional[_builtins.str]]:
|
pulumi_aiven/kafka_schema.py
CHANGED
|
@@ -264,19 +264,19 @@ class KafkaSchema(pulumi.CustomResource):
|
|
|
264
264
|
subject_name="kafka-schema1",
|
|
265
265
|
compatibility_level="FORWARD",
|
|
266
266
|
schema=\"\"\" {
|
|
267
|
-
"doc": "example",
|
|
268
|
-
"fields": [
|
|
267
|
+
\\"doc\\": \\"example\\",
|
|
268
|
+
\\"fields\\": [
|
|
269
269
|
{
|
|
270
|
-
"default": 5,
|
|
271
|
-
"doc": "my test number",
|
|
272
|
-
"name": "test",
|
|
273
|
-
"namespace": "test",
|
|
274
|
-
"type": "int"
|
|
270
|
+
\\"default\\": 5,
|
|
271
|
+
\\"doc\\": \\"my test number\\",
|
|
272
|
+
\\"name\\": \\"test\\",
|
|
273
|
+
\\"namespace\\": \\"test\\",
|
|
274
|
+
\\"type\\": \\"int\\"
|
|
275
275
|
}
|
|
276
276
|
],
|
|
277
|
-
"name": "example",
|
|
278
|
-
"namespace": "example",
|
|
279
|
-
"type": "record"
|
|
277
|
+
\\"name\\": \\"example\\",
|
|
278
|
+
\\"namespace\\": \\"example\\",
|
|
279
|
+
\\"type\\": \\"record\\"
|
|
280
280
|
}
|
|
281
281
|
\"\"\")
|
|
282
282
|
```
|
|
@@ -317,19 +317,19 @@ class KafkaSchema(pulumi.CustomResource):
|
|
|
317
317
|
subject_name="kafka-schema1",
|
|
318
318
|
compatibility_level="FORWARD",
|
|
319
319
|
schema=\"\"\" {
|
|
320
|
-
"doc": "example",
|
|
321
|
-
"fields": [
|
|
320
|
+
\\"doc\\": \\"example\\",
|
|
321
|
+
\\"fields\\": [
|
|
322
322
|
{
|
|
323
|
-
"default": 5,
|
|
324
|
-
"doc": "my test number",
|
|
325
|
-
"name": "test",
|
|
326
|
-
"namespace": "test",
|
|
327
|
-
"type": "int"
|
|
323
|
+
\\"default\\": 5,
|
|
324
|
+
\\"doc\\": \\"my test number\\",
|
|
325
|
+
\\"name\\": \\"test\\",
|
|
326
|
+
\\"namespace\\": \\"test\\",
|
|
327
|
+
\\"type\\": \\"int\\"
|
|
328
328
|
}
|
|
329
329
|
],
|
|
330
|
-
"name": "example",
|
|
331
|
-
"namespace": "example",
|
|
332
|
-
"type": "record"
|
|
330
|
+
\\"name\\": \\"example\\",
|
|
331
|
+
\\"namespace\\": \\"example\\",
|
|
332
|
+
\\"type\\": \\"record\\"
|
|
333
333
|
}
|
|
334
334
|
\"\"\")
|
|
335
335
|
```
|