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/clickhouse.py
CHANGED
|
@@ -46,7 +46,7 @@ class ClickhouseArgs:
|
|
|
46
46
|
:param pulumi.Input['ClickhouseClickhouseArgs'] clickhouse: Values provided by the ClickHouse server.
|
|
47
47
|
:param pulumi.Input['ClickhouseClickhouseUserConfigArgs'] clickhouse_user_config: Clickhouse 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] 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.
|
|
49
|
-
: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.
|
|
49
|
+
: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.
|
|
50
50
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
51
51
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
52
52
|
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
@@ -68,8 +68,8 @@ class ClickhouseArgs:
|
|
|
68
68
|
if cloud_name is not None:
|
|
69
69
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
70
70
|
if disk_space is not None:
|
|
71
|
-
warnings.warn("""
|
|
72
|
-
pulumi.log.warn("""disk_space is deprecated:
|
|
71
|
+
warnings.warn("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""", DeprecationWarning)
|
|
72
|
+
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.""")
|
|
73
73
|
if disk_space is not None:
|
|
74
74
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
75
75
|
if maintenance_window_dow is not None:
|
|
@@ -175,10 +175,10 @@ class ClickhouseArgs:
|
|
|
175
175
|
|
|
176
176
|
@_builtins.property
|
|
177
177
|
@pulumi.getter(name="diskSpace")
|
|
178
|
-
@_utilities.deprecated("""
|
|
178
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
179
179
|
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
180
180
|
"""
|
|
181
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
181
|
+
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.
|
|
182
182
|
"""
|
|
183
183
|
return pulumi.get(self, "disk_space")
|
|
184
184
|
|
|
@@ -297,6 +297,7 @@ class _ClickhouseState:
|
|
|
297
297
|
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
298
298
|
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
299
299
|
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
300
|
+
maintenance_window_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
300
301
|
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
301
302
|
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
302
303
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -321,12 +322,13 @@ class _ClickhouseState:
|
|
|
321
322
|
:param pulumi.Input['ClickhouseClickhouseUserConfigArgs'] clickhouse_user_config: Clickhouse user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
322
323
|
: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.
|
|
323
324
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseComponentArgs']]] components: Service component information objects
|
|
324
|
-
: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.
|
|
325
|
+
: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.
|
|
325
326
|
: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.
|
|
326
327
|
: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`
|
|
327
328
|
: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.
|
|
328
|
-
:param pulumi.Input[_builtins.str] disk_space_used:
|
|
329
|
+
: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`).
|
|
329
330
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
331
|
+
:param pulumi.Input[_builtins.bool] maintenance_window_enabled: Indicates whether the maintenance window is currently enabled for this service.
|
|
330
332
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
331
333
|
: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).
|
|
332
334
|
: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.
|
|
@@ -355,8 +357,8 @@ class _ClickhouseState:
|
|
|
355
357
|
if components is not None:
|
|
356
358
|
pulumi.set(__self__, "components", components)
|
|
357
359
|
if disk_space is not None:
|
|
358
|
-
warnings.warn("""
|
|
359
|
-
pulumi.log.warn("""disk_space is deprecated:
|
|
360
|
+
warnings.warn("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""", DeprecationWarning)
|
|
361
|
+
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.""")
|
|
360
362
|
if disk_space is not None:
|
|
361
363
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
362
364
|
if disk_space_cap is not None:
|
|
@@ -365,13 +367,12 @@ class _ClickhouseState:
|
|
|
365
367
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
366
368
|
if disk_space_step is not None:
|
|
367
369
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
368
|
-
if disk_space_used is not None:
|
|
369
|
-
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)
|
|
370
|
-
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.""")
|
|
371
370
|
if disk_space_used is not None:
|
|
372
371
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
373
372
|
if maintenance_window_dow is not None:
|
|
374
373
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
374
|
+
if maintenance_window_enabled is not None:
|
|
375
|
+
pulumi.set(__self__, "maintenance_window_enabled", maintenance_window_enabled)
|
|
375
376
|
if maintenance_window_time is not None:
|
|
376
377
|
pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
|
|
377
378
|
if plan is not None:
|
|
@@ -469,10 +470,10 @@ class _ClickhouseState:
|
|
|
469
470
|
|
|
470
471
|
@_builtins.property
|
|
471
472
|
@pulumi.getter(name="diskSpace")
|
|
472
|
-
@_utilities.deprecated("""
|
|
473
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
473
474
|
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
474
475
|
"""
|
|
475
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
476
|
+
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.
|
|
476
477
|
"""
|
|
477
478
|
return pulumi.get(self, "disk_space")
|
|
478
479
|
|
|
@@ -518,10 +519,9 @@ class _ClickhouseState:
|
|
|
518
519
|
|
|
519
520
|
@_builtins.property
|
|
520
521
|
@pulumi.getter(name="diskSpaceUsed")
|
|
521
|
-
@_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.""")
|
|
522
522
|
def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
523
523
|
"""
|
|
524
|
-
|
|
524
|
+
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`).
|
|
525
525
|
"""
|
|
526
526
|
return pulumi.get(self, "disk_space_used")
|
|
527
527
|
|
|
@@ -541,6 +541,18 @@ class _ClickhouseState:
|
|
|
541
541
|
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
542
542
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
543
543
|
|
|
544
|
+
@_builtins.property
|
|
545
|
+
@pulumi.getter(name="maintenanceWindowEnabled")
|
|
546
|
+
def maintenance_window_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
547
|
+
"""
|
|
548
|
+
Indicates whether the maintenance window is currently enabled for this service.
|
|
549
|
+
"""
|
|
550
|
+
return pulumi.get(self, "maintenance_window_enabled")
|
|
551
|
+
|
|
552
|
+
@maintenance_window_enabled.setter
|
|
553
|
+
def maintenance_window_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
554
|
+
pulumi.set(self, "maintenance_window_enabled", value)
|
|
555
|
+
|
|
544
556
|
@_builtins.property
|
|
545
557
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
546
558
|
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -796,7 +808,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
796
808
|
:param pulumi.Input[Union['ClickhouseClickhouseArgs', 'ClickhouseClickhouseArgsDict']] clickhouse: Values provided by the ClickHouse server.
|
|
797
809
|
:param pulumi.Input[Union['ClickhouseClickhouseUserConfigArgs', 'ClickhouseClickhouseUserConfigArgsDict']] clickhouse_user_config: Clickhouse user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
798
810
|
: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.
|
|
799
|
-
: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.
|
|
811
|
+
: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.
|
|
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.
|
|
802
814
|
: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).
|
|
@@ -906,6 +918,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
906
918
|
__props__.__dict__["disk_space_default"] = None
|
|
907
919
|
__props__.__dict__["disk_space_step"] = None
|
|
908
920
|
__props__.__dict__["disk_space_used"] = None
|
|
921
|
+
__props__.__dict__["maintenance_window_enabled"] = None
|
|
909
922
|
__props__.__dict__["service_host"] = None
|
|
910
923
|
__props__.__dict__["service_password"] = None
|
|
911
924
|
__props__.__dict__["service_port"] = None
|
|
@@ -936,6 +949,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
936
949
|
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
937
950
|
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
938
951
|
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
952
|
+
maintenance_window_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
939
953
|
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
940
954
|
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
941
955
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -965,12 +979,13 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
965
979
|
:param pulumi.Input[Union['ClickhouseClickhouseUserConfigArgs', 'ClickhouseClickhouseUserConfigArgsDict']] clickhouse_user_config: Clickhouse user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
966
980
|
: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.
|
|
967
981
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseComponentArgs', 'ClickhouseComponentArgsDict']]]] components: Service component information objects
|
|
968
|
-
: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.
|
|
982
|
+
: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.
|
|
969
983
|
: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.
|
|
970
984
|
: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`
|
|
971
985
|
: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.
|
|
972
|
-
:param pulumi.Input[_builtins.str] disk_space_used:
|
|
986
|
+
: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`).
|
|
973
987
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
988
|
+
:param pulumi.Input[_builtins.bool] maintenance_window_enabled: Indicates whether the maintenance window is currently enabled for this service.
|
|
974
989
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
975
990
|
: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).
|
|
976
991
|
: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.
|
|
@@ -1003,6 +1018,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1003
1018
|
__props__.__dict__["disk_space_step"] = disk_space_step
|
|
1004
1019
|
__props__.__dict__["disk_space_used"] = disk_space_used
|
|
1005
1020
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
1021
|
+
__props__.__dict__["maintenance_window_enabled"] = maintenance_window_enabled
|
|
1006
1022
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
1007
1023
|
__props__.__dict__["plan"] = plan
|
|
1008
1024
|
__props__.__dict__["project"] = project
|
|
@@ -1064,10 +1080,10 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1064
1080
|
|
|
1065
1081
|
@_builtins.property
|
|
1066
1082
|
@pulumi.getter(name="diskSpace")
|
|
1067
|
-
@_utilities.deprecated("""
|
|
1083
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
1068
1084
|
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1069
1085
|
"""
|
|
1070
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1086
|
+
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.
|
|
1071
1087
|
"""
|
|
1072
1088
|
return pulumi.get(self, "disk_space")
|
|
1073
1089
|
|
|
@@ -1097,10 +1113,9 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1097
1113
|
|
|
1098
1114
|
@_builtins.property
|
|
1099
1115
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1100
|
-
@_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.""")
|
|
1101
1116
|
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1102
1117
|
"""
|
|
1103
|
-
|
|
1118
|
+
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`).
|
|
1104
1119
|
"""
|
|
1105
1120
|
return pulumi.get(self, "disk_space_used")
|
|
1106
1121
|
|
|
@@ -1112,6 +1127,14 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1112
1127
|
"""
|
|
1113
1128
|
return pulumi.get(self, "maintenance_window_dow")
|
|
1114
1129
|
|
|
1130
|
+
@_builtins.property
|
|
1131
|
+
@pulumi.getter(name="maintenanceWindowEnabled")
|
|
1132
|
+
def maintenance_window_enabled(self) -> pulumi.Output[_builtins.bool]:
|
|
1133
|
+
"""
|
|
1134
|
+
Indicates whether the maintenance window is currently enabled for this service.
|
|
1135
|
+
"""
|
|
1136
|
+
return pulumi.get(self, "maintenance_window_enabled")
|
|
1137
|
+
|
|
1115
1138
|
@_builtins.property
|
|
1116
1139
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1117
1140
|
def maintenance_window_time(self) -> pulumi.Output[Optional[_builtins.str]]:
|
pulumi_aiven/clickhouse_user.py
CHANGED
|
@@ -21,16 +21,29 @@ class ClickhouseUserArgs:
|
|
|
21
21
|
def __init__(__self__, *,
|
|
22
22
|
project: pulumi.Input[_builtins.str],
|
|
23
23
|
service_name: pulumi.Input[_builtins.str],
|
|
24
|
-
username: pulumi.Input[_builtins.str]
|
|
24
|
+
username: pulumi.Input[_builtins.str],
|
|
25
|
+
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
password_wo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
password_wo_version: Optional[pulumi.Input[_builtins.int]] = None):
|
|
25
28
|
"""
|
|
26
29
|
The set of arguments for constructing a ClickhouseUser resource.
|
|
27
30
|
: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.
|
|
28
31
|
:param pulumi.Input[_builtins.str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
29
32
|
:param pulumi.Input[_builtins.str] username: The name of the ClickHouse user. Changing this property forces recreation of the resource.
|
|
33
|
+
:param pulumi.Input[_builtins.str] password: The password of the service user (auto-generated if not provided). Must be 8-256 characters if specified.
|
|
34
|
+
:param pulumi.Input[_builtins.str] password_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
35
|
+
The password of the service user (write-only, not stored in state). Must be used with `password_wo_version`. Must be 8-256 characters.
|
|
36
|
+
:param pulumi.Input[_builtins.int] password_wo_version: Version number for `password_wo`. Increment this to rotate the password. Must be >= 1.
|
|
30
37
|
"""
|
|
31
38
|
pulumi.set(__self__, "project", project)
|
|
32
39
|
pulumi.set(__self__, "service_name", service_name)
|
|
33
40
|
pulumi.set(__self__, "username", username)
|
|
41
|
+
if password is not None:
|
|
42
|
+
pulumi.set(__self__, "password", password)
|
|
43
|
+
if password_wo is not None:
|
|
44
|
+
pulumi.set(__self__, "password_wo", password_wo)
|
|
45
|
+
if password_wo_version is not None:
|
|
46
|
+
pulumi.set(__self__, "password_wo_version", password_wo_version)
|
|
34
47
|
|
|
35
48
|
@_builtins.property
|
|
36
49
|
@pulumi.getter
|
|
@@ -68,11 +81,50 @@ class ClickhouseUserArgs:
|
|
|
68
81
|
def username(self, value: pulumi.Input[_builtins.str]):
|
|
69
82
|
pulumi.set(self, "username", value)
|
|
70
83
|
|
|
84
|
+
@_builtins.property
|
|
85
|
+
@pulumi.getter
|
|
86
|
+
def password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
87
|
+
"""
|
|
88
|
+
The password of the service user (auto-generated if not provided). Must be 8-256 characters if specified.
|
|
89
|
+
"""
|
|
90
|
+
return pulumi.get(self, "password")
|
|
91
|
+
|
|
92
|
+
@password.setter
|
|
93
|
+
def password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
94
|
+
pulumi.set(self, "password", value)
|
|
95
|
+
|
|
96
|
+
@_builtins.property
|
|
97
|
+
@pulumi.getter(name="passwordWo")
|
|
98
|
+
def password_wo(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
99
|
+
"""
|
|
100
|
+
**NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
101
|
+
The password of the service user (write-only, not stored in state). Must be used with `password_wo_version`. Must be 8-256 characters.
|
|
102
|
+
"""
|
|
103
|
+
return pulumi.get(self, "password_wo")
|
|
104
|
+
|
|
105
|
+
@password_wo.setter
|
|
106
|
+
def password_wo(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
107
|
+
pulumi.set(self, "password_wo", value)
|
|
108
|
+
|
|
109
|
+
@_builtins.property
|
|
110
|
+
@pulumi.getter(name="passwordWoVersion")
|
|
111
|
+
def password_wo_version(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
112
|
+
"""
|
|
113
|
+
Version number for `password_wo`. Increment this to rotate the password. Must be >= 1.
|
|
114
|
+
"""
|
|
115
|
+
return pulumi.get(self, "password_wo_version")
|
|
116
|
+
|
|
117
|
+
@password_wo_version.setter
|
|
118
|
+
def password_wo_version(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
119
|
+
pulumi.set(self, "password_wo_version", value)
|
|
120
|
+
|
|
71
121
|
|
|
72
122
|
@pulumi.input_type
|
|
73
123
|
class _ClickhouseUserState:
|
|
74
124
|
def __init__(__self__, *,
|
|
75
125
|
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
126
|
+
password_wo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
127
|
+
password_wo_version: Optional[pulumi.Input[_builtins.int]] = None,
|
|
76
128
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
77
129
|
required: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
78
130
|
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -80,7 +132,10 @@ class _ClickhouseUserState:
|
|
|
80
132
|
uuid: Optional[pulumi.Input[_builtins.str]] = None):
|
|
81
133
|
"""
|
|
82
134
|
Input properties used for looking up and filtering ClickhouseUser resources.
|
|
83
|
-
:param pulumi.Input[_builtins.str] password: The password of the
|
|
135
|
+
:param pulumi.Input[_builtins.str] password: The password of the service user (auto-generated if not provided). Must be 8-256 characters if specified.
|
|
136
|
+
:param pulumi.Input[_builtins.str] password_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
137
|
+
The password of the service user (write-only, not stored in state). Must be used with `password_wo_version`. Must be 8-256 characters.
|
|
138
|
+
:param pulumi.Input[_builtins.int] password_wo_version: Version number for `password_wo`. Increment this to rotate the password. Must be >= 1.
|
|
84
139
|
: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.
|
|
85
140
|
:param pulumi.Input[_builtins.bool] required: Indicates if a ClickHouse user is required.
|
|
86
141
|
:param pulumi.Input[_builtins.str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
@@ -89,6 +144,10 @@ class _ClickhouseUserState:
|
|
|
89
144
|
"""
|
|
90
145
|
if password is not None:
|
|
91
146
|
pulumi.set(__self__, "password", password)
|
|
147
|
+
if password_wo is not None:
|
|
148
|
+
pulumi.set(__self__, "password_wo", password_wo)
|
|
149
|
+
if password_wo_version is not None:
|
|
150
|
+
pulumi.set(__self__, "password_wo_version", password_wo_version)
|
|
92
151
|
if project is not None:
|
|
93
152
|
pulumi.set(__self__, "project", project)
|
|
94
153
|
if required is not None:
|
|
@@ -104,7 +163,7 @@ class _ClickhouseUserState:
|
|
|
104
163
|
@pulumi.getter
|
|
105
164
|
def password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
106
165
|
"""
|
|
107
|
-
The password of the
|
|
166
|
+
The password of the service user (auto-generated if not provided). Must be 8-256 characters if specified.
|
|
108
167
|
"""
|
|
109
168
|
return pulumi.get(self, "password")
|
|
110
169
|
|
|
@@ -112,6 +171,31 @@ class _ClickhouseUserState:
|
|
|
112
171
|
def password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
113
172
|
pulumi.set(self, "password", value)
|
|
114
173
|
|
|
174
|
+
@_builtins.property
|
|
175
|
+
@pulumi.getter(name="passwordWo")
|
|
176
|
+
def password_wo(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
177
|
+
"""
|
|
178
|
+
**NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
179
|
+
The password of the service user (write-only, not stored in state). Must be used with `password_wo_version`. Must be 8-256 characters.
|
|
180
|
+
"""
|
|
181
|
+
return pulumi.get(self, "password_wo")
|
|
182
|
+
|
|
183
|
+
@password_wo.setter
|
|
184
|
+
def password_wo(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
185
|
+
pulumi.set(self, "password_wo", value)
|
|
186
|
+
|
|
187
|
+
@_builtins.property
|
|
188
|
+
@pulumi.getter(name="passwordWoVersion")
|
|
189
|
+
def password_wo_version(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
190
|
+
"""
|
|
191
|
+
Version number for `password_wo`. Increment this to rotate the password. Must be >= 1.
|
|
192
|
+
"""
|
|
193
|
+
return pulumi.get(self, "password_wo_version")
|
|
194
|
+
|
|
195
|
+
@password_wo_version.setter
|
|
196
|
+
def password_wo_version(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
197
|
+
pulumi.set(self, "password_wo_version", value)
|
|
198
|
+
|
|
115
199
|
@_builtins.property
|
|
116
200
|
@pulumi.getter
|
|
117
201
|
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -179,6 +263,9 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
179
263
|
def __init__(__self__,
|
|
180
264
|
resource_name: str,
|
|
181
265
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
266
|
+
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
267
|
+
password_wo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
268
|
+
password_wo_version: Optional[pulumi.Input[_builtins.int]] = None,
|
|
182
269
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
183
270
|
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
184
271
|
username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -206,6 +293,10 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
206
293
|
|
|
207
294
|
:param str resource_name: The name of the resource.
|
|
208
295
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
296
|
+
:param pulumi.Input[_builtins.str] password: The password of the service user (auto-generated if not provided). Must be 8-256 characters if specified.
|
|
297
|
+
:param pulumi.Input[_builtins.str] password_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
298
|
+
The password of the service user (write-only, not stored in state). Must be used with `password_wo_version`. Must be 8-256 characters.
|
|
299
|
+
:param pulumi.Input[_builtins.int] password_wo_version: Version number for `password_wo`. Increment this to rotate the password. Must be >= 1.
|
|
209
300
|
: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.
|
|
210
301
|
:param pulumi.Input[_builtins.str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
211
302
|
:param pulumi.Input[_builtins.str] username: The name of the ClickHouse user. Changing this property forces recreation of the resource.
|
|
@@ -252,6 +343,9 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
252
343
|
def _internal_init(__self__,
|
|
253
344
|
resource_name: str,
|
|
254
345
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
346
|
+
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
347
|
+
password_wo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
348
|
+
password_wo_version: Optional[pulumi.Input[_builtins.int]] = None,
|
|
255
349
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
256
350
|
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
257
351
|
username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -264,6 +358,9 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
264
358
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
265
359
|
__props__ = ClickhouseUserArgs.__new__(ClickhouseUserArgs)
|
|
266
360
|
|
|
361
|
+
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
|
362
|
+
__props__.__dict__["password_wo"] = None if password_wo is None else pulumi.Output.secret(password_wo)
|
|
363
|
+
__props__.__dict__["password_wo_version"] = password_wo_version
|
|
267
364
|
if project is None and not opts.urn:
|
|
268
365
|
raise TypeError("Missing required property 'project'")
|
|
269
366
|
__props__.__dict__["project"] = project
|
|
@@ -273,10 +370,9 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
273
370
|
if username is None and not opts.urn:
|
|
274
371
|
raise TypeError("Missing required property 'username'")
|
|
275
372
|
__props__.__dict__["username"] = username
|
|
276
|
-
__props__.__dict__["password"] = None
|
|
277
373
|
__props__.__dict__["required"] = None
|
|
278
374
|
__props__.__dict__["uuid"] = None
|
|
279
|
-
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
|
|
375
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password", "passwordWo"])
|
|
280
376
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
281
377
|
super(ClickhouseUser, __self__).__init__(
|
|
282
378
|
'aiven:index/clickhouseUser:ClickhouseUser',
|
|
@@ -289,6 +385,8 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
289
385
|
id: pulumi.Input[str],
|
|
290
386
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
291
387
|
password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
388
|
+
password_wo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
389
|
+
password_wo_version: Optional[pulumi.Input[_builtins.int]] = None,
|
|
292
390
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
293
391
|
required: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
294
392
|
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -301,7 +399,10 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
301
399
|
:param str resource_name: The unique name of the resulting resource.
|
|
302
400
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
303
401
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
304
|
-
:param pulumi.Input[_builtins.str] password: The password of the
|
|
402
|
+
:param pulumi.Input[_builtins.str] password: The password of the service user (auto-generated if not provided). Must be 8-256 characters if specified.
|
|
403
|
+
:param pulumi.Input[_builtins.str] password_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
404
|
+
The password of the service user (write-only, not stored in state). Must be used with `password_wo_version`. Must be 8-256 characters.
|
|
405
|
+
:param pulumi.Input[_builtins.int] password_wo_version: Version number for `password_wo`. Increment this to rotate the password. Must be >= 1.
|
|
305
406
|
: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.
|
|
306
407
|
:param pulumi.Input[_builtins.bool] required: Indicates if a ClickHouse user is required.
|
|
307
408
|
:param pulumi.Input[_builtins.str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
@@ -313,6 +414,8 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
313
414
|
__props__ = _ClickhouseUserState.__new__(_ClickhouseUserState)
|
|
314
415
|
|
|
315
416
|
__props__.__dict__["password"] = password
|
|
417
|
+
__props__.__dict__["password_wo"] = password_wo
|
|
418
|
+
__props__.__dict__["password_wo_version"] = password_wo_version
|
|
316
419
|
__props__.__dict__["project"] = project
|
|
317
420
|
__props__.__dict__["required"] = required
|
|
318
421
|
__props__.__dict__["service_name"] = service_name
|
|
@@ -324,10 +427,27 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
324
427
|
@pulumi.getter
|
|
325
428
|
def password(self) -> pulumi.Output[_builtins.str]:
|
|
326
429
|
"""
|
|
327
|
-
The password of the
|
|
430
|
+
The password of the service user (auto-generated if not provided). Must be 8-256 characters if specified.
|
|
328
431
|
"""
|
|
329
432
|
return pulumi.get(self, "password")
|
|
330
433
|
|
|
434
|
+
@_builtins.property
|
|
435
|
+
@pulumi.getter(name="passwordWo")
|
|
436
|
+
def password_wo(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
437
|
+
"""
|
|
438
|
+
**NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
439
|
+
The password of the service user (write-only, not stored in state). Must be used with `password_wo_version`. Must be 8-256 characters.
|
|
440
|
+
"""
|
|
441
|
+
return pulumi.get(self, "password_wo")
|
|
442
|
+
|
|
443
|
+
@_builtins.property
|
|
444
|
+
@pulumi.getter(name="passwordWoVersion")
|
|
445
|
+
def password_wo_version(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
446
|
+
"""
|
|
447
|
+
Version number for `password_wo`. Increment this to rotate the password. Must be >= 1.
|
|
448
|
+
"""
|
|
449
|
+
return pulumi.get(self, "password_wo_version")
|
|
450
|
+
|
|
331
451
|
@_builtins.property
|
|
332
452
|
@pulumi.getter
|
|
333
453
|
def project(self) -> pulumi.Output[_builtins.str]:
|