pulumi-aiven 6.22.0__py3-none-any.whl → 6.22.0a1722921580__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/_inputs.py +67 -721
- pulumi_aiven/account_authentication.py +5 -5
- pulumi_aiven/account_team_project.py +7 -7
- pulumi_aiven/aws_vpc_peering_connection.py +7 -7
- pulumi_aiven/azure_privatelink_connection_approval.py +16 -16
- pulumi_aiven/azure_vpc_peering_connection.py +7 -7
- pulumi_aiven/cassandra.py +46 -46
- pulumi_aiven/clickhouse.py +34 -34
- pulumi_aiven/clickhouse_grant.py +34 -34
- pulumi_aiven/dragonfly.py +40 -40
- pulumi_aiven/flink.py +40 -40
- pulumi_aiven/flink_application_deployment.py +16 -16
- pulumi_aiven/flink_application_version.py +36 -36
- pulumi_aiven/gcp_vpc_peering_connection.py +7 -7
- pulumi_aiven/get_account_team_project.py +1 -1
- pulumi_aiven/get_aws_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_azure_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_cassanda.py +1 -1
- pulumi_aiven/get_cassandra.py +1 -1
- pulumi_aiven/get_clickhouse.py +1 -1
- pulumi_aiven/get_dragonfly.py +1 -1
- pulumi_aiven/get_flink.py +1 -1
- pulumi_aiven/get_gcp_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_grafana.py +1 -1
- pulumi_aiven/get_kafka.py +1 -1
- pulumi_aiven/get_kafka_connect.py +1 -1
- pulumi_aiven/get_kafka_mirror_maker.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +1 -1
- pulumi_aiven/get_m3_db.py +1 -1
- pulumi_aiven/get_my_sql.py +1 -1
- pulumi_aiven/get_mysql_user.py +1 -1
- pulumi_aiven/get_open_search.py +1 -1
- pulumi_aiven/get_pg.py +8 -8
- pulumi_aiven/get_pg_database.py +8 -8
- pulumi_aiven/get_pg_user.py +16 -16
- pulumi_aiven/get_project_user.py +1 -1
- pulumi_aiven/get_project_vpc.py +1 -1
- pulumi_aiven/get_redis.py +1 -1
- pulumi_aiven/get_service_integration.py +3 -3
- pulumi_aiven/get_thanos.py +1 -1
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +1 -1
- pulumi_aiven/get_valkey.py +1 -1
- pulumi_aiven/grafana.py +46 -46
- pulumi_aiven/influx_db.py +41 -48
- pulumi_aiven/kafka.py +62 -62
- pulumi_aiven/kafka_connect.py +59 -59
- pulumi_aiven/kafka_connector.py +2 -2
- pulumi_aiven/kafka_mirror_maker.py +45 -45
- pulumi_aiven/kafka_topic.py +18 -18
- pulumi_aiven/m3_aggregator.py +40 -40
- pulumi_aiven/m3_db.py +48 -48
- pulumi_aiven/my_sql.py +54 -54
- pulumi_aiven/mysql_user.py +7 -7
- pulumi_aiven/open_search.py +56 -56
- pulumi_aiven/organization.py +3 -3
- pulumi_aiven/organization_group_project.py +3 -3
- pulumi_aiven/organization_user_group_member.py +3 -3
- pulumi_aiven/outputs.py +135 -1252
- pulumi_aiven/pg.py +43 -43
- pulumi_aiven/pg_database.py +12 -12
- pulumi_aiven/pg_user.py +47 -47
- pulumi_aiven/project.py +5 -5
- pulumi_aiven/project_user.py +7 -7
- pulumi_aiven/project_vpc.py +4 -4
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +46 -46
- pulumi_aiven/service_integration.py +72 -72
- pulumi_aiven/service_integration_endpoint.py +65 -65
- pulumi_aiven/thanos.py +34 -34
- pulumi_aiven/transit_gateway_vpc_attachment.py +7 -7
- pulumi_aiven/valkey.py +40 -40
- {pulumi_aiven-6.22.0.dist-info → pulumi_aiven-6.22.0a1722921580.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.22.0.dist-info → pulumi_aiven-6.22.0a1722921580.dist-info}/RECORD +75 -75
- {pulumi_aiven-6.22.0.dist-info → pulumi_aiven-6.22.0a1722921580.dist-info}/WHEEL +1 -1
- {pulumi_aiven-6.22.0.dist-info → pulumi_aiven-6.22.0a1722921580.dist-info}/top_level.txt +0 -0
pulumi_aiven/clickhouse.py
CHANGED
|
@@ -37,7 +37,7 @@ class ClickhouseArgs:
|
|
|
37
37
|
:param pulumi.Input[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 seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
38
38
|
:param pulumi.Input[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.
|
|
39
39
|
:param pulumi.Input[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.
|
|
40
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
40
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
41
41
|
:param pulumi.Input['ClickhouseClickhouseArgs'] clickhouse: Values provided by the ClickHouse server.
|
|
42
42
|
:param pulumi.Input['ClickhouseClickhouseUserConfigArgs'] clickhouse_user_config: Clickhouse user configurable settings
|
|
43
43
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
@@ -124,7 +124,7 @@ class ClickhouseArgs:
|
|
|
124
124
|
@pulumi.getter(name="additionalDiskSpace")
|
|
125
125
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
126
126
|
"""
|
|
127
|
-
|
|
127
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
128
128
|
"""
|
|
129
129
|
return pulumi.get(self, "additional_disk_space")
|
|
130
130
|
|
|
@@ -311,7 +311,7 @@ class _ClickhouseState:
|
|
|
311
311
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
312
312
|
"""
|
|
313
313
|
Input properties used for looking up and filtering Clickhouse resources.
|
|
314
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
314
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
315
315
|
:param pulumi.Input['ClickhouseClickhouseArgs'] clickhouse: Values provided by the ClickHouse server.
|
|
316
316
|
:param pulumi.Input['ClickhouseClickhouseUserConfigArgs'] clickhouse_user_config: Clickhouse user configurable settings
|
|
317
317
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
@@ -404,7 +404,7 @@ class _ClickhouseState:
|
|
|
404
404
|
@pulumi.getter(name="additionalDiskSpace")
|
|
405
405
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
406
406
|
"""
|
|
407
|
-
|
|
407
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
408
408
|
"""
|
|
409
409
|
return pulumi.get(self, "additional_disk_space")
|
|
410
410
|
|
|
@@ -744,8 +744,8 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
744
744
|
resource_name: str,
|
|
745
745
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
746
746
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
747
|
-
clickhouse: Optional[pulumi.Input[
|
|
748
|
-
clickhouse_user_config: Optional[pulumi.Input[
|
|
747
|
+
clickhouse: Optional[pulumi.Input[pulumi.InputType['ClickhouseClickhouseArgs']]] = None,
|
|
748
|
+
clickhouse_user_config: Optional[pulumi.Input[pulumi.InputType['ClickhouseClickhouseUserConfigArgs']]] = None,
|
|
749
749
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
750
750
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
751
751
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
@@ -753,11 +753,11 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
753
753
|
plan: Optional[pulumi.Input[str]] = None,
|
|
754
754
|
project: Optional[pulumi.Input[str]] = None,
|
|
755
755
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
756
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
756
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseServiceIntegrationArgs']]]]] = None,
|
|
757
757
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
758
758
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
759
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
760
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
759
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseTagArgs']]]]] = None,
|
|
760
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseTechEmailArgs']]]]] = None,
|
|
761
761
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
762
762
|
__props__=None):
|
|
763
763
|
"""
|
|
@@ -786,9 +786,9 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
786
786
|
|
|
787
787
|
:param str resource_name: The name of the resource.
|
|
788
788
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
789
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
790
|
-
:param pulumi.Input[
|
|
791
|
-
:param pulumi.Input[
|
|
789
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
790
|
+
:param pulumi.Input[pulumi.InputType['ClickhouseClickhouseArgs']] clickhouse: Values provided by the ClickHouse server.
|
|
791
|
+
:param pulumi.Input[pulumi.InputType['ClickhouseClickhouseUserConfigArgs']] clickhouse_user_config: Clickhouse user configurable settings
|
|
792
792
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
793
793
|
:param pulumi.Input[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.
|
|
794
794
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
@@ -796,11 +796,11 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
796
796
|
:param pulumi.Input[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 seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
797
797
|
:param pulumi.Input[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.
|
|
798
798
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. 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. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
799
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
799
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseServiceIntegrationArgs']]]] service_integrations: Integrations with other services. Service integrations are only applied at service creation.
|
|
800
800
|
:param pulumi.Input[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.
|
|
801
801
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
802
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
803
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
802
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
803
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseTechEmailArgs']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
804
804
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
805
805
|
"""
|
|
806
806
|
...
|
|
@@ -849,8 +849,8 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
849
849
|
resource_name: str,
|
|
850
850
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
851
851
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
852
|
-
clickhouse: Optional[pulumi.Input[
|
|
853
|
-
clickhouse_user_config: Optional[pulumi.Input[
|
|
852
|
+
clickhouse: Optional[pulumi.Input[pulumi.InputType['ClickhouseClickhouseArgs']]] = None,
|
|
853
|
+
clickhouse_user_config: Optional[pulumi.Input[pulumi.InputType['ClickhouseClickhouseUserConfigArgs']]] = None,
|
|
854
854
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
855
855
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
856
856
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
@@ -858,11 +858,11 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
858
858
|
plan: Optional[pulumi.Input[str]] = None,
|
|
859
859
|
project: Optional[pulumi.Input[str]] = None,
|
|
860
860
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
861
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
861
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseServiceIntegrationArgs']]]]] = None,
|
|
862
862
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
863
863
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
864
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
865
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
864
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseTagArgs']]]]] = None,
|
|
865
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseTechEmailArgs']]]]] = None,
|
|
866
866
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
867
867
|
__props__=None):
|
|
868
868
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -920,10 +920,10 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
920
920
|
id: pulumi.Input[str],
|
|
921
921
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
922
922
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
923
|
-
clickhouse: Optional[pulumi.Input[
|
|
924
|
-
clickhouse_user_config: Optional[pulumi.Input[
|
|
923
|
+
clickhouse: Optional[pulumi.Input[pulumi.InputType['ClickhouseClickhouseArgs']]] = None,
|
|
924
|
+
clickhouse_user_config: Optional[pulumi.Input[pulumi.InputType['ClickhouseClickhouseUserConfigArgs']]] = None,
|
|
925
925
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
926
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
926
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseComponentArgs']]]]] = None,
|
|
927
927
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
928
928
|
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
929
929
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
@@ -935,7 +935,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
935
935
|
project: Optional[pulumi.Input[str]] = None,
|
|
936
936
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
937
937
|
service_host: Optional[pulumi.Input[str]] = None,
|
|
938
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
938
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseServiceIntegrationArgs']]]]] = None,
|
|
939
939
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
940
940
|
service_password: Optional[pulumi.Input[str]] = None,
|
|
941
941
|
service_port: Optional[pulumi.Input[int]] = None,
|
|
@@ -944,8 +944,8 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
944
944
|
service_username: Optional[pulumi.Input[str]] = None,
|
|
945
945
|
state: Optional[pulumi.Input[str]] = None,
|
|
946
946
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
947
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
948
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
947
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseTagArgs']]]]] = None,
|
|
948
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseTechEmailArgs']]]]] = None,
|
|
949
949
|
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'Clickhouse':
|
|
950
950
|
"""
|
|
951
951
|
Get an existing Clickhouse resource's state with the given name, id, and optional extra
|
|
@@ -954,11 +954,11 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
954
954
|
:param str resource_name: The unique name of the resulting resource.
|
|
955
955
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
956
956
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
957
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
958
|
-
:param pulumi.Input[
|
|
959
|
-
:param pulumi.Input[
|
|
957
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
958
|
+
:param pulumi.Input[pulumi.InputType['ClickhouseClickhouseArgs']] clickhouse: Values provided by the ClickHouse server.
|
|
959
|
+
:param pulumi.Input[pulumi.InputType['ClickhouseClickhouseUserConfigArgs']] clickhouse_user_config: Clickhouse user configurable settings
|
|
960
960
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
961
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
961
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseComponentArgs']]]] components: Service component information objects
|
|
962
962
|
:param pulumi.Input[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.
|
|
963
963
|
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
964
964
|
:param pulumi.Input[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`
|
|
@@ -970,7 +970,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
970
970
|
:param pulumi.Input[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.
|
|
971
971
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. 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. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
972
972
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
973
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
973
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseServiceIntegrationArgs']]]] service_integrations: Integrations with other services. Service integrations are only applied at service creation.
|
|
974
974
|
:param pulumi.Input[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.
|
|
975
975
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
976
976
|
:param pulumi.Input[int] service_port: The port of the service
|
|
@@ -979,8 +979,8 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
979
979
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
980
980
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
981
981
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
982
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
983
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
982
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
983
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseTechEmailArgs']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
984
984
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
985
985
|
"""
|
|
986
986
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1021,7 +1021,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1021
1021
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1022
1022
|
def additional_disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1023
1023
|
"""
|
|
1024
|
-
|
|
1024
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1025
1025
|
"""
|
|
1026
1026
|
return pulumi.get(self, "additional_disk_space")
|
|
1027
1027
|
|
pulumi_aiven/clickhouse_grant.py
CHANGED
|
@@ -224,10 +224,10 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
224
224
|
def __init__(__self__,
|
|
225
225
|
resource_name: str,
|
|
226
226
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
227
|
-
privilege_grants: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
227
|
+
privilege_grants: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantPrivilegeGrantArgs']]]]] = None,
|
|
228
228
|
project: Optional[pulumi.Input[str]] = None,
|
|
229
229
|
role: Optional[pulumi.Input[str]] = None,
|
|
230
|
-
role_grants: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
230
|
+
role_grants: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantRoleGrantArgs']]]]] = None,
|
|
231
231
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
232
232
|
user: Optional[pulumi.Input[str]] = None,
|
|
233
233
|
__props__=None):
|
|
@@ -255,15 +255,15 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
255
255
|
service_name=example_clickhouse["serviceName"],
|
|
256
256
|
role=example_role.role,
|
|
257
257
|
privilege_grants=[
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
258
|
+
aiven.ClickhouseGrantPrivilegeGrantArgs(
|
|
259
|
+
privilege="INSERT",
|
|
260
|
+
database=example_db["name"],
|
|
261
|
+
table="example-table",
|
|
262
|
+
),
|
|
263
|
+
aiven.ClickhouseGrantPrivilegeGrantArgs(
|
|
264
|
+
privilege="SELECT",
|
|
265
|
+
database=example_db["name"],
|
|
266
|
+
),
|
|
267
267
|
])
|
|
268
268
|
# Grant the role to the user.
|
|
269
269
|
example_user = aiven.ClickhouseUser("example_user",
|
|
@@ -274,9 +274,9 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
274
274
|
project=example_project["project"],
|
|
275
275
|
service_name=example_clickhouse["serviceName"],
|
|
276
276
|
user=example_user.username,
|
|
277
|
-
role_grants=[
|
|
278
|
-
|
|
279
|
-
|
|
277
|
+
role_grants=[aiven.ClickhouseGrantRoleGrantArgs(
|
|
278
|
+
role=example_role.role,
|
|
279
|
+
)])
|
|
280
280
|
```
|
|
281
281
|
|
|
282
282
|
## Import
|
|
@@ -287,10 +287,10 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
287
287
|
|
|
288
288
|
:param str resource_name: The name of the resource.
|
|
289
289
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
290
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
290
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantPrivilegeGrantArgs']]]] privilege_grants: Grant privileges. Changing this property forces recreation of the resource.
|
|
291
291
|
:param pulumi.Input[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.
|
|
292
292
|
:param pulumi.Input[str] role: The role to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
293
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
293
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantRoleGrantArgs']]]] role_grants: Grant roles. Changing this property forces recreation of the resource.
|
|
294
294
|
:param pulumi.Input[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.
|
|
295
295
|
:param pulumi.Input[str] user: The user to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
296
296
|
"""
|
|
@@ -324,15 +324,15 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
324
324
|
service_name=example_clickhouse["serviceName"],
|
|
325
325
|
role=example_role.role,
|
|
326
326
|
privilege_grants=[
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
327
|
+
aiven.ClickhouseGrantPrivilegeGrantArgs(
|
|
328
|
+
privilege="INSERT",
|
|
329
|
+
database=example_db["name"],
|
|
330
|
+
table="example-table",
|
|
331
|
+
),
|
|
332
|
+
aiven.ClickhouseGrantPrivilegeGrantArgs(
|
|
333
|
+
privilege="SELECT",
|
|
334
|
+
database=example_db["name"],
|
|
335
|
+
),
|
|
336
336
|
])
|
|
337
337
|
# Grant the role to the user.
|
|
338
338
|
example_user = aiven.ClickhouseUser("example_user",
|
|
@@ -343,9 +343,9 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
343
343
|
project=example_project["project"],
|
|
344
344
|
service_name=example_clickhouse["serviceName"],
|
|
345
345
|
user=example_user.username,
|
|
346
|
-
role_grants=[
|
|
347
|
-
|
|
348
|
-
|
|
346
|
+
role_grants=[aiven.ClickhouseGrantRoleGrantArgs(
|
|
347
|
+
role=example_role.role,
|
|
348
|
+
)])
|
|
349
349
|
```
|
|
350
350
|
|
|
351
351
|
## Import
|
|
@@ -369,10 +369,10 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
369
369
|
def _internal_init(__self__,
|
|
370
370
|
resource_name: str,
|
|
371
371
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
372
|
-
privilege_grants: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
372
|
+
privilege_grants: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantPrivilegeGrantArgs']]]]] = None,
|
|
373
373
|
project: Optional[pulumi.Input[str]] = None,
|
|
374
374
|
role: Optional[pulumi.Input[str]] = None,
|
|
375
|
-
role_grants: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
375
|
+
role_grants: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantRoleGrantArgs']]]]] = None,
|
|
376
376
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
377
377
|
user: Optional[pulumi.Input[str]] = None,
|
|
378
378
|
__props__=None):
|
|
@@ -404,10 +404,10 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
404
404
|
def get(resource_name: str,
|
|
405
405
|
id: pulumi.Input[str],
|
|
406
406
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
407
|
-
privilege_grants: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
407
|
+
privilege_grants: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantPrivilegeGrantArgs']]]]] = None,
|
|
408
408
|
project: Optional[pulumi.Input[str]] = None,
|
|
409
409
|
role: Optional[pulumi.Input[str]] = None,
|
|
410
|
-
role_grants: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
410
|
+
role_grants: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantRoleGrantArgs']]]]] = None,
|
|
411
411
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
412
412
|
user: Optional[pulumi.Input[str]] = None) -> 'ClickhouseGrant':
|
|
413
413
|
"""
|
|
@@ -417,10 +417,10 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
417
417
|
:param str resource_name: The unique name of the resulting resource.
|
|
418
418
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
419
419
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
420
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
420
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantPrivilegeGrantArgs']]]] privilege_grants: Grant privileges. Changing this property forces recreation of the resource.
|
|
421
421
|
:param pulumi.Input[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.
|
|
422
422
|
:param pulumi.Input[str] role: The role to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
423
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
423
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantRoleGrantArgs']]]] role_grants: Grant roles. Changing this property forces recreation of the resource.
|
|
424
424
|
:param pulumi.Input[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.
|
|
425
425
|
:param pulumi.Input[str] user: The user to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
426
426
|
"""
|