pulumi-aiven 6.14.0a1713330923__py3-none-any.whl → 6.14.0a1713897878__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 +100 -100
- pulumi_aiven/account.py +2 -6
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +4 -8
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +4 -8
- pulumi_aiven/aws_vpc_peering_connection.py +8 -12
- pulumi_aiven/azure_privatelink.py +4 -8
- pulumi_aiven/azure_privatelink_connection_approval.py +98 -0
- pulumi_aiven/azure_vpc_peering_connection.py +6 -10
- pulumi_aiven/billing_group.py +2 -4
- pulumi_aiven/cassandra.py +13 -17
- pulumi_aiven/cassandra_user.py +2 -6
- pulumi_aiven/clickhouse.py +13 -17
- pulumi_aiven/clickhouse_database.py +8 -10
- pulumi_aiven/clickhouse_grant.py +21 -23
- pulumi_aiven/clickhouse_role.py +0 -4
- pulumi_aiven/clickhouse_user.py +4 -8
- pulumi_aiven/connection_pool.py +8 -12
- pulumi_aiven/flink.py +16 -20
- pulumi_aiven/flink_application.py +6 -8
- pulumi_aiven/flink_application_version.py +82 -0
- pulumi_aiven/gcp_vpc_peering_connection.py +2 -6
- pulumi_aiven/get_account.py +0 -4
- pulumi_aiven/get_aws_privatelink.py +4 -8
- pulumi_aiven/get_aws_vpc_peering_connection.py +6 -10
- pulumi_aiven/get_azure_privatelink.py +4 -8
- pulumi_aiven/get_azure_vpc_peering_connection.py +2 -6
- pulumi_aiven/get_cassanda.py +2 -6
- pulumi_aiven/get_cassandra.py +2 -6
- pulumi_aiven/get_cassandra_user.py +4 -8
- pulumi_aiven/get_clickhouse.py +2 -6
- pulumi_aiven/get_clickhouse_database.py +4 -8
- pulumi_aiven/get_clickhouse_user.py +4 -8
- pulumi_aiven/get_connection_pool.py +4 -8
- pulumi_aiven/get_flink.py +2 -6
- pulumi_aiven/get_flink_application.py +2 -6
- pulumi_aiven/get_flink_application_version.py +2 -6
- pulumi_aiven/get_gcp_vpc_peering_connection.py +2 -6
- pulumi_aiven/get_grafana.py +2 -6
- pulumi_aiven/get_kafka.py +2 -6
- pulumi_aiven/get_kafka_acl.py +4 -8
- pulumi_aiven/get_kafka_connect.py +2 -6
- pulumi_aiven/get_kafka_connector.py +4 -8
- pulumi_aiven/get_kafka_mirror_maker.py +2 -6
- pulumi_aiven/get_kafka_schema.py +4 -8
- pulumi_aiven/get_kafka_schema_configuration.py +4 -8
- pulumi_aiven/get_kafka_topic.py +4 -8
- pulumi_aiven/get_kafka_user.py +4 -8
- pulumi_aiven/get_m3_aggregator.py +2 -6
- pulumi_aiven/get_m3_db.py +2 -6
- pulumi_aiven/get_m3db_user.py +4 -8
- pulumi_aiven/get_mirror_maker_replication_flow.py +8 -12
- pulumi_aiven/get_my_sql.py +2 -6
- pulumi_aiven/get_mysql_database.py +4 -8
- pulumi_aiven/get_mysql_user.py +4 -8
- pulumi_aiven/get_open_search.py +2 -6
- pulumi_aiven/get_open_search_acl_config.py +4 -8
- pulumi_aiven/get_open_search_acl_rule.py +4 -8
- pulumi_aiven/get_opensearch_security_plugin_config.py +4 -8
- pulumi_aiven/get_opensearch_user.py +4 -8
- pulumi_aiven/get_organization.py +0 -4
- pulumi_aiven/get_organization_user_group.py +2 -6
- pulumi_aiven/get_pg.py +2 -6
- pulumi_aiven/get_pg_database.py +4 -8
- pulumi_aiven/get_pg_user.py +4 -8
- pulumi_aiven/get_project.py +0 -4
- pulumi_aiven/get_project_user.py +2 -6
- pulumi_aiven/get_project_vpc.py +2 -6
- pulumi_aiven/get_redis.py +2 -6
- pulumi_aiven/get_redis_user.py +4 -8
- pulumi_aiven/get_service_component.py +4 -8
- pulumi_aiven/get_service_integration.py +2 -6
- pulumi_aiven/get_service_integration_endpoint.py +2 -6
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +2 -6
- pulumi_aiven/grafana.py +4 -6
- pulumi_aiven/kafka.py +13 -17
- pulumi_aiven/kafka_acl.py +4 -8
- pulumi_aiven/kafka_connect.py +2 -6
- pulumi_aiven/kafka_connector.py +12 -16
- pulumi_aiven/kafka_mirror_maker.py +2 -6
- pulumi_aiven/kafka_schema.py +4 -8
- pulumi_aiven/kafka_schema_configuration.py +4 -8
- pulumi_aiven/kafka_topic.py +38 -0
- pulumi_aiven/kafka_user.py +2 -6
- pulumi_aiven/m3_aggregator.py +2 -6
- pulumi_aiven/m3_db.py +2 -6
- pulumi_aiven/m3db_user.py +2 -6
- pulumi_aiven/mirror_maker_replication_flow.py +8 -12
- pulumi_aiven/my_sql.py +2 -6
- pulumi_aiven/mysql_database.py +4 -8
- pulumi_aiven/mysql_user.py +2 -6
- pulumi_aiven/open_search.py +13 -17
- pulumi_aiven/open_search_acl_config.py +12 -16
- pulumi_aiven/open_search_acl_rule.py +20 -24
- pulumi_aiven/opensearch_security_plugin_config.py +12 -16
- pulumi_aiven/opensearch_user.py +2 -6
- pulumi_aiven/organization.py +2 -6
- pulumi_aiven/organization_group_project.py +32 -0
- pulumi_aiven/organization_user_group.py +4 -6
- pulumi_aiven/organization_user_group_member.py +8 -10
- pulumi_aiven/organizational_unit.py +6 -6
- pulumi_aiven/outputs.py +100 -100
- pulumi_aiven/pg.py +14 -14
- pulumi_aiven/pg_database.py +4 -8
- pulumi_aiven/pg_user.py +2 -6
- pulumi_aiven/project.py +4 -8
- pulumi_aiven/project_user.py +2 -6
- pulumi_aiven/project_vpc.py +24 -0
- pulumi_aiven/redis.py +2 -6
- pulumi_aiven/redis_user.py +2 -6
- pulumi_aiven/service_integration.py +8 -12
- pulumi_aiven/transit_gateway_vpc_attachment.py +2 -6
- {pulumi_aiven-6.14.0a1713330923.dist-info → pulumi_aiven-6.14.0a1713897878.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0a1713897878.dist-info/RECORD +150 -0
- pulumi_aiven-6.14.0a1713330923.dist-info/RECORD +0 -150
- {pulumi_aiven-6.14.0a1713330923.dist-info → pulumi_aiven-6.14.0a1713897878.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.14.0a1713330923.dist-info → pulumi_aiven-6.14.0a1713897878.dist-info}/top_level.txt +0 -0
pulumi_aiven/cassandra_user.py
CHANGED
|
@@ -215,18 +215,16 @@ class CassandraUser(pulumi.CustomResource):
|
|
|
215
215
|
|
|
216
216
|
## Example Usage
|
|
217
217
|
|
|
218
|
-
<!--Start PulumiCodeChooser -->
|
|
219
218
|
```python
|
|
220
219
|
import pulumi
|
|
221
220
|
import pulumi_aiven as aiven
|
|
222
221
|
|
|
223
222
|
foo = aiven.CassandraUser("foo",
|
|
224
|
-
service_name=
|
|
223
|
+
service_name=bar["serviceName"],
|
|
225
224
|
project="my-project",
|
|
226
225
|
username="user-1",
|
|
227
226
|
password="Test$1234")
|
|
228
227
|
```
|
|
229
|
-
<!--End PulumiCodeChooser -->
|
|
230
228
|
|
|
231
229
|
## Import
|
|
232
230
|
|
|
@@ -252,18 +250,16 @@ class CassandraUser(pulumi.CustomResource):
|
|
|
252
250
|
|
|
253
251
|
## Example Usage
|
|
254
252
|
|
|
255
|
-
<!--Start PulumiCodeChooser -->
|
|
256
253
|
```python
|
|
257
254
|
import pulumi
|
|
258
255
|
import pulumi_aiven as aiven
|
|
259
256
|
|
|
260
257
|
foo = aiven.CassandraUser("foo",
|
|
261
|
-
service_name=
|
|
258
|
+
service_name=bar["serviceName"],
|
|
262
259
|
project="my-project",
|
|
263
260
|
username="user-1",
|
|
264
261
|
password="Test$1234")
|
|
265
262
|
```
|
|
266
|
-
<!--End PulumiCodeChooser -->
|
|
267
263
|
|
|
268
264
|
## Import
|
|
269
265
|
|
pulumi_aiven/clickhouse.py
CHANGED
|
@@ -44,7 +44,7 @@ class ClickhouseArgs:
|
|
|
44
44
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
45
45
|
: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.
|
|
46
46
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
47
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
47
|
+
: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
|
|
48
48
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
49
49
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseTechEmailArgs']]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
50
50
|
: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.
|
|
@@ -219,7 +219,7 @@ class ClickhouseArgs:
|
|
|
219
219
|
@pulumi.getter(name="staticIps")
|
|
220
220
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
221
221
|
"""
|
|
222
|
-
|
|
222
|
+
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
|
|
223
223
|
"""
|
|
224
224
|
return pulumi.get(self, "static_ips")
|
|
225
225
|
|
|
@@ -299,7 +299,7 @@ class _ClickhouseState:
|
|
|
299
299
|
Input properties used for looking up and filtering Clickhouse resources.
|
|
300
300
|
: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.
|
|
301
301
|
:param pulumi.Input['ClickhouseClickhouseUserConfigArgs'] clickhouse_user_config: Clickhouse user configurable settings
|
|
302
|
-
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseClickhouseArgs']]] clickhouses:
|
|
302
|
+
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseClickhouseArgs']]] clickhouses: Clickhouse server provided values
|
|
303
303
|
: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).
|
|
304
304
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseComponentArgs']]] components: Service component information objects
|
|
305
305
|
: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.
|
|
@@ -321,7 +321,7 @@ class _ClickhouseState:
|
|
|
321
321
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
322
322
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
323
323
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
324
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
324
|
+
: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
|
|
325
325
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
326
326
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseTechEmailArgs']]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
327
327
|
: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.
|
|
@@ -414,7 +414,7 @@ class _ClickhouseState:
|
|
|
414
414
|
@pulumi.getter
|
|
415
415
|
def clickhouses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseClickhouseArgs']]]]:
|
|
416
416
|
"""
|
|
417
|
-
|
|
417
|
+
Clickhouse server provided values
|
|
418
418
|
"""
|
|
419
419
|
return pulumi.get(self, "clickhouses")
|
|
420
420
|
|
|
@@ -681,7 +681,7 @@ class _ClickhouseState:
|
|
|
681
681
|
@pulumi.getter(name="staticIps")
|
|
682
682
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
683
683
|
"""
|
|
684
|
-
|
|
684
|
+
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
|
|
685
685
|
"""
|
|
686
686
|
return pulumi.get(self, "static_ips")
|
|
687
687
|
|
|
@@ -752,20 +752,18 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
752
752
|
|
|
753
753
|
## Example Usage
|
|
754
754
|
|
|
755
|
-
<!--Start PulumiCodeChooser -->
|
|
756
755
|
```python
|
|
757
756
|
import pulumi
|
|
758
757
|
import pulumi_aiven as aiven
|
|
759
758
|
|
|
760
759
|
clickhouse = aiven.Clickhouse("clickhouse",
|
|
761
|
-
project=
|
|
760
|
+
project=pr1["project"],
|
|
762
761
|
cloud_name="google-europe-west1",
|
|
763
762
|
plan="business-4",
|
|
764
763
|
service_name="my-clickhouse",
|
|
765
764
|
maintenance_window_dow="monday",
|
|
766
765
|
maintenance_window_time="10:00:00")
|
|
767
766
|
```
|
|
768
|
-
<!--End PulumiCodeChooser -->
|
|
769
767
|
|
|
770
768
|
## Import
|
|
771
769
|
|
|
@@ -786,7 +784,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
786
784
|
: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.
|
|
787
785
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
788
786
|
: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.
|
|
789
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
787
|
+
: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
|
|
790
788
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
791
789
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
792
790
|
: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.
|
|
@@ -802,20 +800,18 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
802
800
|
|
|
803
801
|
## Example Usage
|
|
804
802
|
|
|
805
|
-
<!--Start PulumiCodeChooser -->
|
|
806
803
|
```python
|
|
807
804
|
import pulumi
|
|
808
805
|
import pulumi_aiven as aiven
|
|
809
806
|
|
|
810
807
|
clickhouse = aiven.Clickhouse("clickhouse",
|
|
811
|
-
project=
|
|
808
|
+
project=pr1["project"],
|
|
812
809
|
cloud_name="google-europe-west1",
|
|
813
810
|
plan="business-4",
|
|
814
811
|
service_name="my-clickhouse",
|
|
815
812
|
maintenance_window_dow="monday",
|
|
816
813
|
maintenance_window_time="10:00:00")
|
|
817
814
|
```
|
|
818
|
-
<!--End PulumiCodeChooser -->
|
|
819
815
|
|
|
820
816
|
## Import
|
|
821
817
|
|
|
@@ -945,7 +941,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
945
941
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
946
942
|
: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.
|
|
947
943
|
:param pulumi.Input[pulumi.InputType['ClickhouseClickhouseUserConfigArgs']] clickhouse_user_config: Clickhouse user configurable settings
|
|
948
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseClickhouseArgs']]]] clickhouses:
|
|
944
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseClickhouseArgs']]]] clickhouses: Clickhouse server provided values
|
|
949
945
|
: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).
|
|
950
946
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseComponentArgs']]]] components: Service component information objects
|
|
951
947
|
: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.
|
|
@@ -967,7 +963,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
967
963
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
968
964
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
969
965
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
970
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
966
|
+
: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
|
|
971
967
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
972
968
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
973
969
|
: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.
|
|
@@ -1026,7 +1022,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1026
1022
|
@pulumi.getter
|
|
1027
1023
|
def clickhouses(self) -> pulumi.Output[Sequence['outputs.ClickhouseClickhouse']]:
|
|
1028
1024
|
"""
|
|
1029
|
-
|
|
1025
|
+
Clickhouse server provided values
|
|
1030
1026
|
"""
|
|
1031
1027
|
return pulumi.get(self, "clickhouses")
|
|
1032
1028
|
|
|
@@ -1205,7 +1201,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1205
1201
|
@pulumi.getter(name="staticIps")
|
|
1206
1202
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1207
1203
|
"""
|
|
1208
|
-
|
|
1204
|
+
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
|
|
1209
1205
|
"""
|
|
1210
1206
|
return pulumi.get(self, "static_ips")
|
|
1211
1207
|
|
|
@@ -176,16 +176,15 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
176
176
|
|
|
177
177
|
## Example Usage
|
|
178
178
|
|
|
179
|
-
<!--Start PulumiCodeChooser -->
|
|
180
179
|
```python
|
|
181
180
|
import pulumi
|
|
182
181
|
import pulumi_aiven as aiven
|
|
183
182
|
|
|
184
|
-
clickhouse_db = aiven.ClickhouseDatabase("
|
|
185
|
-
project=
|
|
186
|
-
service_name=
|
|
183
|
+
clickhouse_db = aiven.ClickhouseDatabase("clickhouse_db",
|
|
184
|
+
project=ch["project"],
|
|
185
|
+
service_name=ch["serviceName"],
|
|
186
|
+
name="my-ch-db")
|
|
187
187
|
```
|
|
188
|
-
<!--End PulumiCodeChooser -->
|
|
189
188
|
|
|
190
189
|
## Import
|
|
191
190
|
|
|
@@ -213,16 +212,15 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
213
212
|
|
|
214
213
|
## Example Usage
|
|
215
214
|
|
|
216
|
-
<!--Start PulumiCodeChooser -->
|
|
217
215
|
```python
|
|
218
216
|
import pulumi
|
|
219
217
|
import pulumi_aiven as aiven
|
|
220
218
|
|
|
221
|
-
clickhouse_db = aiven.ClickhouseDatabase("
|
|
222
|
-
project=
|
|
223
|
-
service_name=
|
|
219
|
+
clickhouse_db = aiven.ClickhouseDatabase("clickhouse_db",
|
|
220
|
+
project=ch["project"],
|
|
221
|
+
service_name=ch["serviceName"],
|
|
222
|
+
name="my-ch-db")
|
|
224
223
|
```
|
|
225
|
-
<!--End PulumiCodeChooser -->
|
|
226
224
|
|
|
227
225
|
## Import
|
|
228
226
|
|
pulumi_aiven/clickhouse_grant.py
CHANGED
|
@@ -27,7 +27,7 @@ class ClickhouseGrantArgs:
|
|
|
27
27
|
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
28
28
|
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
29
29
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantPrivilegeGrantArgs']]] privilege_grants: Configuration to grant a privilege. Changing this property forces recreation of the resource.
|
|
30
|
-
:param pulumi.Input[str] role: The role
|
|
30
|
+
: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.
|
|
31
31
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantRoleGrantArgs']]] role_grants: Configuration to grant a role. Changing this property forces recreation of the resource.
|
|
32
32
|
: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.
|
|
33
33
|
"""
|
|
@@ -82,7 +82,7 @@ class ClickhouseGrantArgs:
|
|
|
82
82
|
@pulumi.getter
|
|
83
83
|
def role(self) -> Optional[pulumi.Input[str]]:
|
|
84
84
|
"""
|
|
85
|
-
The role
|
|
85
|
+
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.
|
|
86
86
|
"""
|
|
87
87
|
return pulumi.get(self, "role")
|
|
88
88
|
|
|
@@ -128,7 +128,7 @@ class _ClickhouseGrantState:
|
|
|
128
128
|
Input properties used for looking up and filtering ClickhouseGrant resources.
|
|
129
129
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantPrivilegeGrantArgs']]] privilege_grants: Configuration to grant a privilege. Changing this property forces recreation of the resource.
|
|
130
130
|
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
131
|
-
:param pulumi.Input[str] role: The role
|
|
131
|
+
: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.
|
|
132
132
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantRoleGrantArgs']]] role_grants: Configuration to grant a role. Changing this property forces recreation of the resource.
|
|
133
133
|
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
134
134
|
: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.
|
|
@@ -174,7 +174,7 @@ class _ClickhouseGrantState:
|
|
|
174
174
|
@pulumi.getter
|
|
175
175
|
def role(self) -> Optional[pulumi.Input[str]]:
|
|
176
176
|
"""
|
|
177
|
-
The role
|
|
177
|
+
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.
|
|
178
178
|
"""
|
|
179
179
|
return pulumi.get(self, "role")
|
|
180
180
|
|
|
@@ -241,27 +241,27 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
241
241
|
|
|
242
242
|
## Example Usage
|
|
243
243
|
|
|
244
|
-
<!--Start PulumiCodeChooser -->
|
|
245
244
|
```python
|
|
246
245
|
import pulumi
|
|
247
246
|
import pulumi_aiven as aiven
|
|
248
247
|
|
|
249
248
|
clickhouse = aiven.Clickhouse("clickhouse",
|
|
250
|
-
project=
|
|
249
|
+
project=aiven_project_name,
|
|
251
250
|
cloud_name="google-europe-west1",
|
|
252
251
|
plan="startup-8",
|
|
253
252
|
service_name="exapmle-clickhouse")
|
|
254
253
|
demodb = aiven.ClickhouseDatabase("demodb",
|
|
255
254
|
project=clickhouse.project,
|
|
256
|
-
service_name=clickhouse.service_name
|
|
257
|
-
|
|
255
|
+
service_name=clickhouse.service_name,
|
|
256
|
+
name="demo")
|
|
257
|
+
demo = aiven.ClickhouseRole("demo",
|
|
258
258
|
project=clickhouse.project,
|
|
259
259
|
service_name=clickhouse.service_name,
|
|
260
260
|
role="demo-role")
|
|
261
261
|
demo_role_grant = aiven.ClickhouseGrant("demo-role-grant",
|
|
262
262
|
project=clickhouse.project,
|
|
263
263
|
service_name=clickhouse.service_name,
|
|
264
|
-
role=
|
|
264
|
+
role=demo.role,
|
|
265
265
|
privilege_grants=[
|
|
266
266
|
aiven.ClickhouseGrantPrivilegeGrantArgs(
|
|
267
267
|
privilege="INSERT",
|
|
@@ -273,7 +273,7 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
273
273
|
database=demodb.name,
|
|
274
274
|
),
|
|
275
275
|
])
|
|
276
|
-
demo_clickhouse_user = aiven.ClickhouseUser("
|
|
276
|
+
demo_clickhouse_user = aiven.ClickhouseUser("demo",
|
|
277
277
|
project=clickhouse.project,
|
|
278
278
|
service_name=clickhouse.service_name,
|
|
279
279
|
username="demo-user")
|
|
@@ -282,16 +282,15 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
282
282
|
service_name=clickhouse.service_name,
|
|
283
283
|
user=demo_clickhouse_user.username,
|
|
284
284
|
role_grants=[aiven.ClickhouseGrantRoleGrantArgs(
|
|
285
|
-
role=
|
|
285
|
+
role=demo.role,
|
|
286
286
|
)])
|
|
287
287
|
```
|
|
288
|
-
<!--End PulumiCodeChooser -->
|
|
289
288
|
|
|
290
289
|
:param str resource_name: The name of the resource.
|
|
291
290
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
292
291
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantPrivilegeGrantArgs']]]] privilege_grants: Configuration to grant a privilege. Changing this property forces recreation of the resource.
|
|
293
292
|
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
294
|
-
:param pulumi.Input[str] role: The role
|
|
293
|
+
: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.
|
|
295
294
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantRoleGrantArgs']]]] role_grants: Configuration to grant a role. Changing this property forces recreation of the resource.
|
|
296
295
|
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
297
296
|
: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.
|
|
@@ -312,27 +311,27 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
312
311
|
|
|
313
312
|
## Example Usage
|
|
314
313
|
|
|
315
|
-
<!--Start PulumiCodeChooser -->
|
|
316
314
|
```python
|
|
317
315
|
import pulumi
|
|
318
316
|
import pulumi_aiven as aiven
|
|
319
317
|
|
|
320
318
|
clickhouse = aiven.Clickhouse("clickhouse",
|
|
321
|
-
project=
|
|
319
|
+
project=aiven_project_name,
|
|
322
320
|
cloud_name="google-europe-west1",
|
|
323
321
|
plan="startup-8",
|
|
324
322
|
service_name="exapmle-clickhouse")
|
|
325
323
|
demodb = aiven.ClickhouseDatabase("demodb",
|
|
326
324
|
project=clickhouse.project,
|
|
327
|
-
service_name=clickhouse.service_name
|
|
328
|
-
|
|
325
|
+
service_name=clickhouse.service_name,
|
|
326
|
+
name="demo")
|
|
327
|
+
demo = aiven.ClickhouseRole("demo",
|
|
329
328
|
project=clickhouse.project,
|
|
330
329
|
service_name=clickhouse.service_name,
|
|
331
330
|
role="demo-role")
|
|
332
331
|
demo_role_grant = aiven.ClickhouseGrant("demo-role-grant",
|
|
333
332
|
project=clickhouse.project,
|
|
334
333
|
service_name=clickhouse.service_name,
|
|
335
|
-
role=
|
|
334
|
+
role=demo.role,
|
|
336
335
|
privilege_grants=[
|
|
337
336
|
aiven.ClickhouseGrantPrivilegeGrantArgs(
|
|
338
337
|
privilege="INSERT",
|
|
@@ -344,7 +343,7 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
344
343
|
database=demodb.name,
|
|
345
344
|
),
|
|
346
345
|
])
|
|
347
|
-
demo_clickhouse_user = aiven.ClickhouseUser("
|
|
346
|
+
demo_clickhouse_user = aiven.ClickhouseUser("demo",
|
|
348
347
|
project=clickhouse.project,
|
|
349
348
|
service_name=clickhouse.service_name,
|
|
350
349
|
username="demo-user")
|
|
@@ -353,10 +352,9 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
353
352
|
service_name=clickhouse.service_name,
|
|
354
353
|
user=demo_clickhouse_user.username,
|
|
355
354
|
role_grants=[aiven.ClickhouseGrantRoleGrantArgs(
|
|
356
|
-
role=
|
|
355
|
+
role=demo.role,
|
|
357
356
|
)])
|
|
358
357
|
```
|
|
359
|
-
<!--End PulumiCodeChooser -->
|
|
360
358
|
|
|
361
359
|
:param str resource_name: The name of the resource.
|
|
362
360
|
:param ClickhouseGrantArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -423,7 +421,7 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
423
421
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
424
422
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantPrivilegeGrantArgs']]]] privilege_grants: Configuration to grant a privilege. Changing this property forces recreation of the resource.
|
|
425
423
|
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
426
|
-
:param pulumi.Input[str] role: The role
|
|
424
|
+
: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.
|
|
427
425
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantRoleGrantArgs']]]] role_grants: Configuration to grant a role. Changing this property forces recreation of the resource.
|
|
428
426
|
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
429
427
|
: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.
|
|
@@ -460,7 +458,7 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
460
458
|
@pulumi.getter
|
|
461
459
|
def role(self) -> pulumi.Output[Optional[str]]:
|
|
462
460
|
"""
|
|
463
|
-
The role
|
|
461
|
+
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.
|
|
464
462
|
"""
|
|
465
463
|
return pulumi.get(self, "role")
|
|
466
464
|
|
pulumi_aiven/clickhouse_role.py
CHANGED
|
@@ -134,7 +134,6 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
134
134
|
|
|
135
135
|
## Example Usage
|
|
136
136
|
|
|
137
|
-
<!--Start PulumiCodeChooser -->
|
|
138
137
|
```python
|
|
139
138
|
import pulumi
|
|
140
139
|
import pulumi_aiven as aiven
|
|
@@ -151,7 +150,6 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
151
150
|
project=bar.project,
|
|
152
151
|
role="writer")
|
|
153
152
|
```
|
|
154
|
-
<!--End PulumiCodeChooser -->
|
|
155
153
|
|
|
156
154
|
## Import
|
|
157
155
|
|
|
@@ -176,7 +174,6 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
176
174
|
|
|
177
175
|
## Example Usage
|
|
178
176
|
|
|
179
|
-
<!--Start PulumiCodeChooser -->
|
|
180
177
|
```python
|
|
181
178
|
import pulumi
|
|
182
179
|
import pulumi_aiven as aiven
|
|
@@ -193,7 +190,6 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
193
190
|
project=bar.project,
|
|
194
191
|
role="writer")
|
|
195
192
|
```
|
|
196
|
-
<!--End PulumiCodeChooser -->
|
|
197
193
|
|
|
198
194
|
## Import
|
|
199
195
|
|
pulumi_aiven/clickhouse_user.py
CHANGED
|
@@ -182,17 +182,15 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
182
182
|
|
|
183
183
|
## Example Usage
|
|
184
184
|
|
|
185
|
-
<!--Start PulumiCodeChooser -->
|
|
186
185
|
```python
|
|
187
186
|
import pulumi
|
|
188
187
|
import pulumi_aiven as aiven
|
|
189
188
|
|
|
190
189
|
ch_user = aiven.ClickhouseUser("ch-user",
|
|
191
|
-
project=
|
|
192
|
-
service_name=
|
|
190
|
+
project=myproject["project"],
|
|
191
|
+
service_name=myservice["serviceName"],
|
|
193
192
|
username="<USERNAME>")
|
|
194
193
|
```
|
|
195
|
-
<!--End PulumiCodeChooser -->
|
|
196
194
|
|
|
197
195
|
## Import
|
|
198
196
|
|
|
@@ -217,17 +215,15 @@ class ClickhouseUser(pulumi.CustomResource):
|
|
|
217
215
|
|
|
218
216
|
## Example Usage
|
|
219
217
|
|
|
220
|
-
<!--Start PulumiCodeChooser -->
|
|
221
218
|
```python
|
|
222
219
|
import pulumi
|
|
223
220
|
import pulumi_aiven as aiven
|
|
224
221
|
|
|
225
222
|
ch_user = aiven.ClickhouseUser("ch-user",
|
|
226
|
-
project=
|
|
227
|
-
service_name=
|
|
223
|
+
project=myproject["project"],
|
|
224
|
+
service_name=myservice["serviceName"],
|
|
228
225
|
username="<USERNAME>")
|
|
229
226
|
```
|
|
230
|
-
<!--End PulumiCodeChooser -->
|
|
231
227
|
|
|
232
228
|
## Import
|
|
233
229
|
|
pulumi_aiven/connection_pool.py
CHANGED
|
@@ -281,21 +281,19 @@ class ConnectionPool(pulumi.CustomResource):
|
|
|
281
281
|
|
|
282
282
|
## Example Usage
|
|
283
283
|
|
|
284
|
-
<!--Start PulumiCodeChooser -->
|
|
285
284
|
```python
|
|
286
285
|
import pulumi
|
|
287
286
|
import pulumi_aiven as aiven
|
|
288
287
|
|
|
289
288
|
mytestpool = aiven.ConnectionPool("mytestpool",
|
|
290
|
-
project=
|
|
291
|
-
service_name=
|
|
292
|
-
database_name=
|
|
289
|
+
project=myproject["project"],
|
|
290
|
+
service_name=mypg["serviceName"],
|
|
291
|
+
database_name=mypgdatabase["databaseName"],
|
|
293
292
|
pool_mode="transaction",
|
|
294
293
|
pool_name="mypool",
|
|
295
294
|
pool_size=10,
|
|
296
|
-
username=
|
|
295
|
+
username=mypguser["username"])
|
|
297
296
|
```
|
|
298
|
-
<!--End PulumiCodeChooser -->
|
|
299
297
|
|
|
300
298
|
## Import
|
|
301
299
|
|
|
@@ -324,21 +322,19 @@ class ConnectionPool(pulumi.CustomResource):
|
|
|
324
322
|
|
|
325
323
|
## Example Usage
|
|
326
324
|
|
|
327
|
-
<!--Start PulumiCodeChooser -->
|
|
328
325
|
```python
|
|
329
326
|
import pulumi
|
|
330
327
|
import pulumi_aiven as aiven
|
|
331
328
|
|
|
332
329
|
mytestpool = aiven.ConnectionPool("mytestpool",
|
|
333
|
-
project=
|
|
334
|
-
service_name=
|
|
335
|
-
database_name=
|
|
330
|
+
project=myproject["project"],
|
|
331
|
+
service_name=mypg["serviceName"],
|
|
332
|
+
database_name=mypgdatabase["databaseName"],
|
|
336
333
|
pool_mode="transaction",
|
|
337
334
|
pool_name="mypool",
|
|
338
335
|
pool_size=10,
|
|
339
|
-
username=
|
|
336
|
+
username=mypguser["username"])
|
|
340
337
|
```
|
|
341
|
-
<!--End PulumiCodeChooser -->
|
|
342
338
|
|
|
343
339
|
## Import
|
|
344
340
|
|