pulumi-aiven 6.14.0a1714562227__py3-none-any.whl → 6.14.0a1714596828__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 +88 -150
- pulumi_aiven/account_authentication.py +2 -2
- pulumi_aiven/account_team_member.py +2 -2
- pulumi_aiven/aws_privatelink.py +14 -14
- pulumi_aiven/azure_privatelink.py +14 -14
- pulumi_aiven/azure_privatelink_connection_approval.py +14 -14
- pulumi_aiven/billing_group.py +18 -16
- pulumi_aiven/cassandra.py +16 -44
- pulumi_aiven/cassandra_user.py +16 -16
- pulumi_aiven/clickhouse.py +16 -44
- pulumi_aiven/clickhouse_database.py +16 -16
- pulumi_aiven/clickhouse_grant.py +14 -14
- pulumi_aiven/clickhouse_role.py +16 -16
- pulumi_aiven/clickhouse_user.py +14 -14
- pulumi_aiven/connection_pool.py +16 -16
- pulumi_aiven/dragonfly.py +124 -263
- pulumi_aiven/flink.py +16 -16
- pulumi_aiven/flink_application.py +16 -16
- pulumi_aiven/flink_application_deployment.py +21 -21
- pulumi_aiven/flink_application_version.py +14 -14
- pulumi_aiven/gcp_privatelink.py +21 -21
- pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
- pulumi_aiven/gcp_vpc_peering_connection.py +2 -2
- pulumi_aiven/get_aws_privatelink.py +6 -6
- pulumi_aiven/get_azure_privatelink.py +6 -6
- pulumi_aiven/get_billing_group.py +2 -2
- pulumi_aiven/get_cassanda.py +5 -18
- pulumi_aiven/get_cassandra.py +5 -18
- pulumi_aiven/get_cassandra_user.py +6 -6
- pulumi_aiven/get_clickhouse.py +5 -18
- pulumi_aiven/get_clickhouse_database.py +6 -6
- pulumi_aiven/get_clickhouse_user.py +6 -6
- pulumi_aiven/get_connection_pool.py +6 -6
- pulumi_aiven/get_dragonfly.py +27 -20
- pulumi_aiven/get_flink.py +4 -4
- pulumi_aiven/get_flink_application.py +6 -6
- pulumi_aiven/get_flink_application_version.py +6 -6
- pulumi_aiven/get_grafana.py +5 -18
- pulumi_aiven/get_kafka.py +13 -13
- pulumi_aiven/get_kafka_acl.py +6 -6
- pulumi_aiven/get_kafka_connect.py +5 -18
- pulumi_aiven/get_kafka_connector.py +6 -6
- pulumi_aiven/get_kafka_mirror_maker.py +5 -18
- pulumi_aiven/get_kafka_schema.py +6 -6
- pulumi_aiven/get_kafka_schema_configuration.py +6 -6
- pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
- pulumi_aiven/get_kafka_topic.py +16 -16
- pulumi_aiven/get_kafka_user.py +6 -6
- pulumi_aiven/get_m3_aggregator.py +5 -18
- pulumi_aiven/get_m3_db.py +5 -18
- pulumi_aiven/get_m3db_user.py +6 -6
- pulumi_aiven/get_mirror_maker_replication_flow.py +6 -6
- pulumi_aiven/get_my_sql.py +5 -18
- pulumi_aiven/get_mysql_database.py +6 -6
- pulumi_aiven/get_mysql_user.py +6 -6
- pulumi_aiven/get_open_search.py +4 -4
- pulumi_aiven/get_open_search_acl_config.py +6 -6
- pulumi_aiven/get_open_search_acl_rule.py +6 -6
- pulumi_aiven/get_opensearch_security_plugin_config.py +6 -6
- pulumi_aiven/get_opensearch_user.py +6 -6
- pulumi_aiven/get_pg.py +4 -4
- pulumi_aiven/get_pg_database.py +6 -6
- pulumi_aiven/get_pg_user.py +6 -6
- pulumi_aiven/get_project.py +17 -17
- pulumi_aiven/get_project_user.py +7 -7
- pulumi_aiven/get_redis.py +5 -18
- pulumi_aiven/get_redis_user.py +6 -6
- pulumi_aiven/get_service_integration.py +19 -29
- pulumi_aiven/grafana.py +78 -261
- pulumi_aiven/influx_db.py +21 -21
- pulumi_aiven/influxdb_database.py +21 -21
- pulumi_aiven/influxdb_user.py +21 -21
- pulumi_aiven/kafka.py +43 -43
- pulumi_aiven/kafka_acl.py +16 -16
- pulumi_aiven/kafka_connect.py +78 -261
- pulumi_aiven/kafka_connector.py +14 -14
- pulumi_aiven/kafka_mirror_maker.py +78 -261
- pulumi_aiven/kafka_schema.py +14 -14
- pulumi_aiven/kafka_schema_configuration.py +16 -16
- pulumi_aiven/kafka_schema_registry_acl.py +54 -14
- pulumi_aiven/kafka_topic.py +54 -54
- pulumi_aiven/kafka_user.py +16 -16
- pulumi_aiven/m3_aggregator.py +78 -261
- pulumi_aiven/m3_db.py +78 -261
- pulumi_aiven/m3db_user.py +14 -14
- pulumi_aiven/mirror_maker_replication_flow.py +14 -14
- pulumi_aiven/my_sql.py +78 -261
- pulumi_aiven/mysql_database.py +16 -16
- pulumi_aiven/mysql_user.py +16 -16
- pulumi_aiven/open_search.py +14 -14
- pulumi_aiven/open_search_acl_config.py +16 -20
- pulumi_aiven/open_search_acl_rule.py +16 -16
- pulumi_aiven/opensearch_security_plugin_config.py +16 -16
- pulumi_aiven/opensearch_user.py +16 -16
- pulumi_aiven/organization_group_project.py +20 -6
- pulumi_aiven/organization_user.py +2 -20
- pulumi_aiven/outputs.py +147 -266
- pulumi_aiven/pg.py +16 -16
- pulumi_aiven/pg_database.py +16 -16
- pulumi_aiven/pg_user.py +16 -16
- pulumi_aiven/project.py +71 -71
- pulumi_aiven/project_user.py +22 -22
- pulumi_aiven/project_vpc.py +7 -7
- pulumi_aiven/redis.py +78 -261
- pulumi_aiven/redis_user.py +16 -16
- pulumi_aiven/service_integration.py +54 -54
- pulumi_aiven/static_ip.py +7 -7
- pulumi_aiven/transit_gateway_vpc_attachment.py +2 -2
- {pulumi_aiven-6.14.0a1714562227.dist-info → pulumi_aiven-6.14.0a1714596828.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0a1714596828.dist-info/RECORD +150 -0
- pulumi_aiven-6.14.0a1714562227.dist-info/RECORD +0 -150
- {pulumi_aiven-6.14.0a1714562227.dist-info → pulumi_aiven-6.14.0a1714596828.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.14.0a1714562227.dist-info → pulumi_aiven-6.14.0a1714596828.dist-info}/top_level.txt +0 -0
pulumi_aiven/cassandra.py
CHANGED
|
@@ -34,7 +34,7 @@ class CassandraArgs:
|
|
|
34
34
|
"""
|
|
35
35
|
The set of arguments for constructing a Cassandra resource.
|
|
36
36
|
: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).
|
|
37
|
-
:param pulumi.Input[str] project:
|
|
37
|
+
: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.
|
|
38
38
|
: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.
|
|
39
39
|
: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.
|
|
40
40
|
:param pulumi.Input['CassandraCassandraUserConfigArgs'] cassandra_user_config: Cassandra user configurable settings
|
|
@@ -46,7 +46,7 @@ class CassandraArgs:
|
|
|
46
46
|
:param pulumi.Input[Sequence[pulumi.Input['CassandraServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
47
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['CassandraTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
49
|
-
:param pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]] tech_emails:
|
|
49
|
+
:param pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]] 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.
|
|
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.
|
|
51
51
|
"""
|
|
52
52
|
pulumi.set(__self__, "plan", plan)
|
|
@@ -96,7 +96,7 @@ class CassandraArgs:
|
|
|
96
96
|
@pulumi.getter
|
|
97
97
|
def project(self) -> pulumi.Input[str]:
|
|
98
98
|
"""
|
|
99
|
-
|
|
99
|
+
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.
|
|
100
100
|
"""
|
|
101
101
|
return pulumi.get(self, "project")
|
|
102
102
|
|
|
@@ -243,7 +243,7 @@ class CassandraArgs:
|
|
|
243
243
|
@pulumi.getter(name="techEmails")
|
|
244
244
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]]]:
|
|
245
245
|
"""
|
|
246
|
-
|
|
246
|
+
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.
|
|
247
247
|
"""
|
|
248
248
|
return pulumi.get(self, "tech_emails")
|
|
249
249
|
|
|
@@ -269,7 +269,6 @@ class _CassandraState:
|
|
|
269
269
|
def __init__(__self__, *,
|
|
270
270
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
271
271
|
cassandra_user_config: Optional[pulumi.Input['CassandraCassandraUserConfigArgs']] = None,
|
|
272
|
-
cassandras: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraCassandraArgs']]]] = None,
|
|
273
272
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
274
273
|
components: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraComponentArgs']]]] = None,
|
|
275
274
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
@@ -299,7 +298,6 @@ class _CassandraState:
|
|
|
299
298
|
Input properties used for looking up and filtering Cassandra resources.
|
|
300
299
|
: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
300
|
:param pulumi.Input['CassandraCassandraUserConfigArgs'] cassandra_user_config: Cassandra user configurable settings
|
|
302
|
-
:param pulumi.Input[Sequence[pulumi.Input['CassandraCassandraArgs']]] cassandras: Cassandra server provided values
|
|
303
301
|
: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
302
|
:param pulumi.Input[Sequence[pulumi.Input['CassandraComponentArgs']]] components: Service component information objects
|
|
305
303
|
: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.
|
|
@@ -310,7 +308,7 @@ class _CassandraState:
|
|
|
310
308
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
311
309
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
312
310
|
: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).
|
|
313
|
-
:param pulumi.Input[str] project:
|
|
311
|
+
: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.
|
|
314
312
|
: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.
|
|
315
313
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
316
314
|
:param pulumi.Input[Sequence[pulumi.Input['CassandraServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
@@ -323,15 +321,13 @@ class _CassandraState:
|
|
|
323
321
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
324
322
|
: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
323
|
:param pulumi.Input[Sequence[pulumi.Input['CassandraTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
326
|
-
:param pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]] tech_emails:
|
|
324
|
+
:param pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]] 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.
|
|
327
325
|
: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.
|
|
328
326
|
"""
|
|
329
327
|
if additional_disk_space is not None:
|
|
330
328
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
331
329
|
if cassandra_user_config is not None:
|
|
332
330
|
pulumi.set(__self__, "cassandra_user_config", cassandra_user_config)
|
|
333
|
-
if cassandras is not None:
|
|
334
|
-
pulumi.set(__self__, "cassandras", cassandras)
|
|
335
331
|
if cloud_name is not None:
|
|
336
332
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
337
333
|
if components is not None:
|
|
@@ -410,18 +406,6 @@ class _CassandraState:
|
|
|
410
406
|
def cassandra_user_config(self, value: Optional[pulumi.Input['CassandraCassandraUserConfigArgs']]):
|
|
411
407
|
pulumi.set(self, "cassandra_user_config", value)
|
|
412
408
|
|
|
413
|
-
@property
|
|
414
|
-
@pulumi.getter
|
|
415
|
-
def cassandras(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CassandraCassandraArgs']]]]:
|
|
416
|
-
"""
|
|
417
|
-
Cassandra server provided values
|
|
418
|
-
"""
|
|
419
|
-
return pulumi.get(self, "cassandras")
|
|
420
|
-
|
|
421
|
-
@cassandras.setter
|
|
422
|
-
def cassandras(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraCassandraArgs']]]]):
|
|
423
|
-
pulumi.set(self, "cassandras", value)
|
|
424
|
-
|
|
425
409
|
@property
|
|
426
410
|
@pulumi.getter(name="cloudName")
|
|
427
411
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -549,7 +533,7 @@ class _CassandraState:
|
|
|
549
533
|
@pulumi.getter
|
|
550
534
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
551
535
|
"""
|
|
552
|
-
|
|
536
|
+
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.
|
|
553
537
|
"""
|
|
554
538
|
return pulumi.get(self, "project")
|
|
555
539
|
|
|
@@ -705,7 +689,7 @@ class _CassandraState:
|
|
|
705
689
|
@pulumi.getter(name="techEmails")
|
|
706
690
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]]]:
|
|
707
691
|
"""
|
|
708
|
-
|
|
692
|
+
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.
|
|
709
693
|
"""
|
|
710
694
|
return pulumi.get(self, "tech_emails")
|
|
711
695
|
|
|
@@ -774,7 +758,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
774
758
|
## Import
|
|
775
759
|
|
|
776
760
|
```sh
|
|
777
|
-
$ pulumi import aiven:index/cassandra:Cassandra bar
|
|
761
|
+
$ pulumi import aiven:index/cassandra:Cassandra bar PROJECT/SERVICE_NAME
|
|
778
762
|
```
|
|
779
763
|
|
|
780
764
|
:param str resource_name: The name of the resource.
|
|
@@ -786,13 +770,13 @@ class Cassandra(pulumi.CustomResource):
|
|
|
786
770
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
787
771
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
788
772
|
: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).
|
|
789
|
-
:param pulumi.Input[str] project:
|
|
773
|
+
: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.
|
|
790
774
|
: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.
|
|
791
775
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
792
776
|
: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.
|
|
793
777
|
: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
|
|
794
778
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
795
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraTechEmailArgs']]]] tech_emails:
|
|
779
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraTechEmailArgs']]]] 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.
|
|
796
780
|
: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.
|
|
797
781
|
"""
|
|
798
782
|
...
|
|
@@ -828,7 +812,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
828
812
|
## Import
|
|
829
813
|
|
|
830
814
|
```sh
|
|
831
|
-
$ pulumi import aiven:index/cassandra:Cassandra bar
|
|
815
|
+
$ pulumi import aiven:index/cassandra:Cassandra bar PROJECT/SERVICE_NAME
|
|
832
816
|
```
|
|
833
817
|
|
|
834
818
|
:param str resource_name: The name of the resource.
|
|
@@ -891,7 +875,6 @@ class Cassandra(pulumi.CustomResource):
|
|
|
891
875
|
__props__.__dict__["tags"] = tags
|
|
892
876
|
__props__.__dict__["tech_emails"] = tech_emails
|
|
893
877
|
__props__.__dict__["termination_protection"] = termination_protection
|
|
894
|
-
__props__.__dict__["cassandras"] = None
|
|
895
878
|
__props__.__dict__["components"] = None
|
|
896
879
|
__props__.__dict__["disk_space_cap"] = None
|
|
897
880
|
__props__.__dict__["disk_space_default"] = None
|
|
@@ -918,7 +901,6 @@ class Cassandra(pulumi.CustomResource):
|
|
|
918
901
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
919
902
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
920
903
|
cassandra_user_config: Optional[pulumi.Input[pulumi.InputType['CassandraCassandraUserConfigArgs']]] = None,
|
|
921
|
-
cassandras: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraCassandraArgs']]]]] = None,
|
|
922
904
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
923
905
|
components: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraComponentArgs']]]]] = None,
|
|
924
906
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
@@ -953,7 +935,6 @@ class Cassandra(pulumi.CustomResource):
|
|
|
953
935
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
954
936
|
: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.
|
|
955
937
|
:param pulumi.Input[pulumi.InputType['CassandraCassandraUserConfigArgs']] cassandra_user_config: Cassandra user configurable settings
|
|
956
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraCassandraArgs']]]] cassandras: Cassandra server provided values
|
|
957
938
|
: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).
|
|
958
939
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraComponentArgs']]]] components: Service component information objects
|
|
959
940
|
: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.
|
|
@@ -964,7 +945,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
964
945
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
965
946
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
966
947
|
: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).
|
|
967
|
-
:param pulumi.Input[str] project:
|
|
948
|
+
: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.
|
|
968
949
|
: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.
|
|
969
950
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
970
951
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
@@ -977,7 +958,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
977
958
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
978
959
|
: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
|
|
979
960
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
980
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraTechEmailArgs']]]] tech_emails:
|
|
961
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraTechEmailArgs']]]] 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.
|
|
981
962
|
: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.
|
|
982
963
|
"""
|
|
983
964
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -986,7 +967,6 @@ class Cassandra(pulumi.CustomResource):
|
|
|
986
967
|
|
|
987
968
|
__props__.__dict__["additional_disk_space"] = additional_disk_space
|
|
988
969
|
__props__.__dict__["cassandra_user_config"] = cassandra_user_config
|
|
989
|
-
__props__.__dict__["cassandras"] = cassandras
|
|
990
970
|
__props__.__dict__["cloud_name"] = cloud_name
|
|
991
971
|
__props__.__dict__["components"] = components
|
|
992
972
|
__props__.__dict__["disk_space"] = disk_space
|
|
@@ -1030,14 +1010,6 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1030
1010
|
"""
|
|
1031
1011
|
return pulumi.get(self, "cassandra_user_config")
|
|
1032
1012
|
|
|
1033
|
-
@property
|
|
1034
|
-
@pulumi.getter
|
|
1035
|
-
def cassandras(self) -> pulumi.Output[Sequence['outputs.CassandraCassandra']]:
|
|
1036
|
-
"""
|
|
1037
|
-
Cassandra server provided values
|
|
1038
|
-
"""
|
|
1039
|
-
return pulumi.get(self, "cassandras")
|
|
1040
|
-
|
|
1041
1013
|
@property
|
|
1042
1014
|
@pulumi.getter(name="cloudName")
|
|
1043
1015
|
def cloud_name(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -1125,7 +1097,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1125
1097
|
@pulumi.getter
|
|
1126
1098
|
def project(self) -> pulumi.Output[str]:
|
|
1127
1099
|
"""
|
|
1128
|
-
|
|
1100
|
+
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.
|
|
1129
1101
|
"""
|
|
1130
1102
|
return pulumi.get(self, "project")
|
|
1131
1103
|
|
|
@@ -1229,7 +1201,7 @@ class Cassandra(pulumi.CustomResource):
|
|
|
1229
1201
|
@pulumi.getter(name="techEmails")
|
|
1230
1202
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.CassandraTechEmail']]]:
|
|
1231
1203
|
"""
|
|
1232
|
-
|
|
1204
|
+
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.
|
|
1233
1205
|
"""
|
|
1234
1206
|
return pulumi.get(self, "tech_emails")
|
|
1235
1207
|
|
pulumi_aiven/cassandra_user.py
CHANGED
|
@@ -20,8 +20,8 @@ class CassandraUserArgs:
|
|
|
20
20
|
password: Optional[pulumi.Input[str]] = None):
|
|
21
21
|
"""
|
|
22
22
|
The set of arguments for constructing a CassandraUser resource.
|
|
23
|
-
:param pulumi.Input[str] project:
|
|
24
|
-
:param pulumi.Input[str] service_name:
|
|
23
|
+
: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.
|
|
24
|
+
: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.
|
|
25
25
|
:param pulumi.Input[str] username: The actual name of the Cassandra User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
26
26
|
:param pulumi.Input[str] password: The password of the Cassandra User.
|
|
27
27
|
"""
|
|
@@ -35,7 +35,7 @@ class CassandraUserArgs:
|
|
|
35
35
|
@pulumi.getter
|
|
36
36
|
def project(self) -> pulumi.Input[str]:
|
|
37
37
|
"""
|
|
38
|
-
|
|
38
|
+
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
|
"""
|
|
40
40
|
return pulumi.get(self, "project")
|
|
41
41
|
|
|
@@ -47,7 +47,7 @@ class CassandraUserArgs:
|
|
|
47
47
|
@pulumi.getter(name="serviceName")
|
|
48
48
|
def service_name(self) -> pulumi.Input[str]:
|
|
49
49
|
"""
|
|
50
|
-
|
|
50
|
+
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.
|
|
51
51
|
"""
|
|
52
52
|
return pulumi.get(self, "service_name")
|
|
53
53
|
|
|
@@ -95,8 +95,8 @@ class _CassandraUserState:
|
|
|
95
95
|
:param pulumi.Input[str] access_cert: Access certificate for the user if applicable for the service in question
|
|
96
96
|
:param pulumi.Input[str] access_key: Access certificate key for the user if applicable for the service in question
|
|
97
97
|
:param pulumi.Input[str] password: The password of the Cassandra User.
|
|
98
|
-
:param pulumi.Input[str] project:
|
|
99
|
-
:param pulumi.Input[str] service_name:
|
|
98
|
+
: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.
|
|
99
|
+
: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.
|
|
100
100
|
:param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
|
|
101
101
|
:param pulumi.Input[str] username: The actual name of the Cassandra User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
102
102
|
"""
|
|
@@ -155,7 +155,7 @@ class _CassandraUserState:
|
|
|
155
155
|
@pulumi.getter
|
|
156
156
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
157
157
|
"""
|
|
158
|
-
|
|
158
|
+
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.
|
|
159
159
|
"""
|
|
160
160
|
return pulumi.get(self, "project")
|
|
161
161
|
|
|
@@ -167,7 +167,7 @@ class _CassandraUserState:
|
|
|
167
167
|
@pulumi.getter(name="serviceName")
|
|
168
168
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
169
169
|
"""
|
|
170
|
-
|
|
170
|
+
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.
|
|
171
171
|
"""
|
|
172
172
|
return pulumi.get(self, "service_name")
|
|
173
173
|
|
|
@@ -229,14 +229,14 @@ class CassandraUser(pulumi.CustomResource):
|
|
|
229
229
|
## Import
|
|
230
230
|
|
|
231
231
|
```sh
|
|
232
|
-
$ pulumi import aiven:index/cassandraUser:CassandraUser foo
|
|
232
|
+
$ pulumi import aiven:index/cassandraUser:CassandraUser foo PROJECT/SERVICE_NAME/USERNAME
|
|
233
233
|
```
|
|
234
234
|
|
|
235
235
|
:param str resource_name: The name of the resource.
|
|
236
236
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
237
237
|
:param pulumi.Input[str] password: The password of the Cassandra User.
|
|
238
|
-
:param pulumi.Input[str] project:
|
|
239
|
-
:param pulumi.Input[str] service_name:
|
|
238
|
+
: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.
|
|
239
|
+
: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.
|
|
240
240
|
:param pulumi.Input[str] username: The actual name of the Cassandra User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
241
241
|
"""
|
|
242
242
|
...
|
|
@@ -264,7 +264,7 @@ class CassandraUser(pulumi.CustomResource):
|
|
|
264
264
|
## Import
|
|
265
265
|
|
|
266
266
|
```sh
|
|
267
|
-
$ pulumi import aiven:index/cassandraUser:CassandraUser foo
|
|
267
|
+
$ pulumi import aiven:index/cassandraUser:CassandraUser foo PROJECT/SERVICE_NAME/USERNAME
|
|
268
268
|
```
|
|
269
269
|
|
|
270
270
|
:param str resource_name: The name of the resource.
|
|
@@ -337,8 +337,8 @@ class CassandraUser(pulumi.CustomResource):
|
|
|
337
337
|
:param pulumi.Input[str] access_cert: Access certificate for the user if applicable for the service in question
|
|
338
338
|
:param pulumi.Input[str] access_key: Access certificate key for the user if applicable for the service in question
|
|
339
339
|
:param pulumi.Input[str] password: The password of the Cassandra User.
|
|
340
|
-
:param pulumi.Input[str] project:
|
|
341
|
-
:param pulumi.Input[str] service_name:
|
|
340
|
+
: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.
|
|
341
|
+
: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.
|
|
342
342
|
:param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
|
|
343
343
|
:param pulumi.Input[str] username: The actual name of the Cassandra User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
344
344
|
"""
|
|
@@ -383,7 +383,7 @@ class CassandraUser(pulumi.CustomResource):
|
|
|
383
383
|
@pulumi.getter
|
|
384
384
|
def project(self) -> pulumi.Output[str]:
|
|
385
385
|
"""
|
|
386
|
-
|
|
386
|
+
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.
|
|
387
387
|
"""
|
|
388
388
|
return pulumi.get(self, "project")
|
|
389
389
|
|
|
@@ -391,7 +391,7 @@ class CassandraUser(pulumi.CustomResource):
|
|
|
391
391
|
@pulumi.getter(name="serviceName")
|
|
392
392
|
def service_name(self) -> pulumi.Output[str]:
|
|
393
393
|
"""
|
|
394
|
-
|
|
394
|
+
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.
|
|
395
395
|
"""
|
|
396
396
|
return pulumi.get(self, "service_name")
|
|
397
397
|
|
pulumi_aiven/clickhouse.py
CHANGED
|
@@ -34,7 +34,7 @@ class ClickhouseArgs:
|
|
|
34
34
|
"""
|
|
35
35
|
The set of arguments for constructing a Clickhouse resource.
|
|
36
36
|
: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).
|
|
37
|
-
:param pulumi.Input[str] project:
|
|
37
|
+
: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.
|
|
38
38
|
: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.
|
|
39
39
|
: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.
|
|
40
40
|
:param pulumi.Input['ClickhouseClickhouseUserConfigArgs'] clickhouse_user_config: Clickhouse user configurable settings
|
|
@@ -46,7 +46,7 @@ class ClickhouseArgs:
|
|
|
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
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
|
-
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseTechEmailArgs']]] tech_emails:
|
|
49
|
+
:param pulumi.Input[Sequence[pulumi.Input['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.
|
|
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.
|
|
51
51
|
"""
|
|
52
52
|
pulumi.set(__self__, "plan", plan)
|
|
@@ -96,7 +96,7 @@ class ClickhouseArgs:
|
|
|
96
96
|
@pulumi.getter
|
|
97
97
|
def project(self) -> pulumi.Input[str]:
|
|
98
98
|
"""
|
|
99
|
-
|
|
99
|
+
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.
|
|
100
100
|
"""
|
|
101
101
|
return pulumi.get(self, "project")
|
|
102
102
|
|
|
@@ -243,7 +243,7 @@ class ClickhouseArgs:
|
|
|
243
243
|
@pulumi.getter(name="techEmails")
|
|
244
244
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseTechEmailArgs']]]]:
|
|
245
245
|
"""
|
|
246
|
-
|
|
246
|
+
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.
|
|
247
247
|
"""
|
|
248
248
|
return pulumi.get(self, "tech_emails")
|
|
249
249
|
|
|
@@ -269,7 +269,6 @@ class _ClickhouseState:
|
|
|
269
269
|
def __init__(__self__, *,
|
|
270
270
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
271
271
|
clickhouse_user_config: Optional[pulumi.Input['ClickhouseClickhouseUserConfigArgs']] = None,
|
|
272
|
-
clickhouses: Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseClickhouseArgs']]]] = None,
|
|
273
272
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
274
273
|
components: Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseComponentArgs']]]] = None,
|
|
275
274
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
@@ -299,7 +298,6 @@ class _ClickhouseState:
|
|
|
299
298
|
Input properties used for looking up and filtering Clickhouse resources.
|
|
300
299
|
: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
300
|
:param pulumi.Input['ClickhouseClickhouseUserConfigArgs'] clickhouse_user_config: Clickhouse user configurable settings
|
|
302
|
-
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseClickhouseArgs']]] clickhouses: Clickhouse server provided values
|
|
303
301
|
: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
302
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseComponentArgs']]] components: Service component information objects
|
|
305
303
|
: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.
|
|
@@ -310,7 +308,7 @@ class _ClickhouseState:
|
|
|
310
308
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
311
309
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
312
310
|
: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).
|
|
313
|
-
:param pulumi.Input[str] project:
|
|
311
|
+
: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.
|
|
314
312
|
: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.
|
|
315
313
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
316
314
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
@@ -323,15 +321,13 @@ class _ClickhouseState:
|
|
|
323
321
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
324
322
|
: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
323
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
326
|
-
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseTechEmailArgs']]] tech_emails:
|
|
324
|
+
:param pulumi.Input[Sequence[pulumi.Input['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.
|
|
327
325
|
: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.
|
|
328
326
|
"""
|
|
329
327
|
if additional_disk_space is not None:
|
|
330
328
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
331
329
|
if clickhouse_user_config is not None:
|
|
332
330
|
pulumi.set(__self__, "clickhouse_user_config", clickhouse_user_config)
|
|
333
|
-
if clickhouses is not None:
|
|
334
|
-
pulumi.set(__self__, "clickhouses", clickhouses)
|
|
335
331
|
if cloud_name is not None:
|
|
336
332
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
337
333
|
if components is not None:
|
|
@@ -410,18 +406,6 @@ class _ClickhouseState:
|
|
|
410
406
|
def clickhouse_user_config(self, value: Optional[pulumi.Input['ClickhouseClickhouseUserConfigArgs']]):
|
|
411
407
|
pulumi.set(self, "clickhouse_user_config", value)
|
|
412
408
|
|
|
413
|
-
@property
|
|
414
|
-
@pulumi.getter
|
|
415
|
-
def clickhouses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseClickhouseArgs']]]]:
|
|
416
|
-
"""
|
|
417
|
-
Clickhouse server provided values
|
|
418
|
-
"""
|
|
419
|
-
return pulumi.get(self, "clickhouses")
|
|
420
|
-
|
|
421
|
-
@clickhouses.setter
|
|
422
|
-
def clickhouses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseClickhouseArgs']]]]):
|
|
423
|
-
pulumi.set(self, "clickhouses", value)
|
|
424
|
-
|
|
425
409
|
@property
|
|
426
410
|
@pulumi.getter(name="cloudName")
|
|
427
411
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -549,7 +533,7 @@ class _ClickhouseState:
|
|
|
549
533
|
@pulumi.getter
|
|
550
534
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
551
535
|
"""
|
|
552
|
-
|
|
536
|
+
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.
|
|
553
537
|
"""
|
|
554
538
|
return pulumi.get(self, "project")
|
|
555
539
|
|
|
@@ -705,7 +689,7 @@ class _ClickhouseState:
|
|
|
705
689
|
@pulumi.getter(name="techEmails")
|
|
706
690
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseTechEmailArgs']]]]:
|
|
707
691
|
"""
|
|
708
|
-
|
|
692
|
+
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.
|
|
709
693
|
"""
|
|
710
694
|
return pulumi.get(self, "tech_emails")
|
|
711
695
|
|
|
@@ -768,7 +752,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
768
752
|
## Import
|
|
769
753
|
|
|
770
754
|
```sh
|
|
771
|
-
$ pulumi import aiven:index/clickhouse:Clickhouse clickhouse
|
|
755
|
+
$ pulumi import aiven:index/clickhouse:Clickhouse clickhouse PROJECT/SERVICE_NAME
|
|
772
756
|
```
|
|
773
757
|
|
|
774
758
|
:param str resource_name: The name of the resource.
|
|
@@ -780,13 +764,13 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
780
764
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
781
765
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
782
766
|
: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).
|
|
783
|
-
:param pulumi.Input[str] project:
|
|
767
|
+
: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.
|
|
784
768
|
: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.
|
|
785
769
|
: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
|
|
786
770
|
: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.
|
|
787
771
|
: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
|
|
788
772
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
789
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseTechEmailArgs']]]] tech_emails:
|
|
773
|
+
: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.
|
|
790
774
|
: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.
|
|
791
775
|
"""
|
|
792
776
|
...
|
|
@@ -816,7 +800,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
816
800
|
## Import
|
|
817
801
|
|
|
818
802
|
```sh
|
|
819
|
-
$ pulumi import aiven:index/clickhouse:Clickhouse clickhouse
|
|
803
|
+
$ pulumi import aiven:index/clickhouse:Clickhouse clickhouse PROJECT/SERVICE_NAME
|
|
820
804
|
```
|
|
821
805
|
|
|
822
806
|
:param str resource_name: The name of the resource.
|
|
@@ -879,7 +863,6 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
879
863
|
__props__.__dict__["tags"] = tags
|
|
880
864
|
__props__.__dict__["tech_emails"] = tech_emails
|
|
881
865
|
__props__.__dict__["termination_protection"] = termination_protection
|
|
882
|
-
__props__.__dict__["clickhouses"] = None
|
|
883
866
|
__props__.__dict__["components"] = None
|
|
884
867
|
__props__.__dict__["disk_space_cap"] = None
|
|
885
868
|
__props__.__dict__["disk_space_default"] = None
|
|
@@ -906,7 +889,6 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
906
889
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
907
890
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
908
891
|
clickhouse_user_config: Optional[pulumi.Input[pulumi.InputType['ClickhouseClickhouseUserConfigArgs']]] = None,
|
|
909
|
-
clickhouses: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseClickhouseArgs']]]]] = None,
|
|
910
892
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
911
893
|
components: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseComponentArgs']]]]] = None,
|
|
912
894
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
@@ -941,7 +923,6 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
941
923
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
942
924
|
: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.
|
|
943
925
|
:param pulumi.Input[pulumi.InputType['ClickhouseClickhouseUserConfigArgs']] clickhouse_user_config: Clickhouse user configurable settings
|
|
944
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseClickhouseArgs']]]] clickhouses: Clickhouse server provided values
|
|
945
926
|
: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).
|
|
946
927
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseComponentArgs']]]] components: Service component information objects
|
|
947
928
|
: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.
|
|
@@ -952,7 +933,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
952
933
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
953
934
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
954
935
|
: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).
|
|
955
|
-
:param pulumi.Input[str] project:
|
|
936
|
+
: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.
|
|
956
937
|
: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.
|
|
957
938
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
958
939
|
: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
|
|
@@ -965,7 +946,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
965
946
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
966
947
|
: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
|
|
967
948
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
968
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseTechEmailArgs']]]] tech_emails:
|
|
949
|
+
: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.
|
|
969
950
|
: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.
|
|
970
951
|
"""
|
|
971
952
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -974,7 +955,6 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
974
955
|
|
|
975
956
|
__props__.__dict__["additional_disk_space"] = additional_disk_space
|
|
976
957
|
__props__.__dict__["clickhouse_user_config"] = clickhouse_user_config
|
|
977
|
-
__props__.__dict__["clickhouses"] = clickhouses
|
|
978
958
|
__props__.__dict__["cloud_name"] = cloud_name
|
|
979
959
|
__props__.__dict__["components"] = components
|
|
980
960
|
__props__.__dict__["disk_space"] = disk_space
|
|
@@ -1018,14 +998,6 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1018
998
|
"""
|
|
1019
999
|
return pulumi.get(self, "clickhouse_user_config")
|
|
1020
1000
|
|
|
1021
|
-
@property
|
|
1022
|
-
@pulumi.getter
|
|
1023
|
-
def clickhouses(self) -> pulumi.Output[Sequence['outputs.ClickhouseClickhouse']]:
|
|
1024
|
-
"""
|
|
1025
|
-
Clickhouse server provided values
|
|
1026
|
-
"""
|
|
1027
|
-
return pulumi.get(self, "clickhouses")
|
|
1028
|
-
|
|
1029
1001
|
@property
|
|
1030
1002
|
@pulumi.getter(name="cloudName")
|
|
1031
1003
|
def cloud_name(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -1113,7 +1085,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1113
1085
|
@pulumi.getter
|
|
1114
1086
|
def project(self) -> pulumi.Output[str]:
|
|
1115
1087
|
"""
|
|
1116
|
-
|
|
1088
|
+
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.
|
|
1117
1089
|
"""
|
|
1118
1090
|
return pulumi.get(self, "project")
|
|
1119
1091
|
|
|
@@ -1217,7 +1189,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1217
1189
|
@pulumi.getter(name="techEmails")
|
|
1218
1190
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.ClickhouseTechEmail']]]:
|
|
1219
1191
|
"""
|
|
1220
|
-
|
|
1192
|
+
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.
|
|
1221
1193
|
"""
|
|
1222
1194
|
return pulumi.get(self, "tech_emails")
|
|
1223
1195
|
|