pulumi-aiven 6.37.0a1744182902__py3-none-any.whl → 6.38.0__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/__init__.py +30 -0
- pulumi_aiven/_inputs.py +1902 -172
- pulumi_aiven/account.py +1 -0
- pulumi_aiven/account_authentication.py +1 -0
- pulumi_aiven/account_team.py +1 -0
- pulumi_aiven/account_team_member.py +1 -0
- pulumi_aiven/account_team_project.py +1 -0
- pulumi_aiven/alloydbomni.py +8 -15
- pulumi_aiven/alloydbomni_database.py +1 -0
- pulumi_aiven/alloydbomni_user.py +1 -0
- pulumi_aiven/aws_org_vpc_peering_connection.py +1 -0
- pulumi_aiven/aws_privatelink.py +1 -0
- pulumi_aiven/aws_vpc_peering_connection.py +1 -0
- pulumi_aiven/azure_org_vpc_peering_connection.py +1 -0
- pulumi_aiven/azure_privatelink.py +1 -0
- pulumi_aiven/azure_privatelink_connection_approval.py +1 -0
- pulumi_aiven/azure_vpc_peering_connection.py +1 -0
- pulumi_aiven/billing_group.py +1 -0
- pulumi_aiven/cassandra.py +8 -15
- pulumi_aiven/cassandra_user.py +1 -0
- pulumi_aiven/clickhouse.py +8 -15
- pulumi_aiven/clickhouse_database.py +1 -0
- pulumi_aiven/clickhouse_grant.py +19 -0
- pulumi_aiven/clickhouse_role.py +1 -0
- pulumi_aiven/clickhouse_user.py +1 -0
- pulumi_aiven/connection_pool.py +1 -0
- pulumi_aiven/dragonfly.py +8 -15
- pulumi_aiven/flink.py +8 -15
- pulumi_aiven/flink_application.py +1 -0
- pulumi_aiven/flink_application_deployment.py +1 -0
- pulumi_aiven/flink_application_version.py +1 -0
- pulumi_aiven/flink_jar_application.py +1 -0
- pulumi_aiven/flink_jar_application_deployment.py +1 -0
- pulumi_aiven/flink_jar_application_version.py +1 -0
- pulumi_aiven/gcp_org_vpc_peering_connection.py +1 -0
- pulumi_aiven/gcp_privatelink.py +1 -0
- pulumi_aiven/gcp_privatelink_connection_approval.py +1 -0
- pulumi_aiven/gcp_vpc_peering_connection.py +1 -0
- pulumi_aiven/get_alloydbomni.py +1 -4
- pulumi_aiven/get_cassanda.py +1 -4
- pulumi_aiven/get_cassandra.py +1 -4
- pulumi_aiven/get_clickhouse.py +1 -4
- pulumi_aiven/get_dragonfly.py +1 -4
- pulumi_aiven/get_external_identity.py +5 -5
- pulumi_aiven/get_flink.py +1 -4
- pulumi_aiven/get_grafana.py +1 -4
- pulumi_aiven/get_kafka.py +1 -4
- pulumi_aiven/get_kafka_connect.py +1 -4
- pulumi_aiven/get_kafka_mirror_maker.py +1 -4
- pulumi_aiven/get_m3_aggregator.py +1 -4
- pulumi_aiven/get_m3_db.py +1 -4
- pulumi_aiven/get_my_sql.py +1 -4
- pulumi_aiven/get_open_search.py +8 -11
- pulumi_aiven/get_open_search_acl_config.py +7 -7
- pulumi_aiven/get_open_search_acl_rule.py +19 -19
- pulumi_aiven/get_opensearch_security_plugin_config.py +7 -7
- pulumi_aiven/get_opensearch_user.py +13 -13
- pulumi_aiven/get_organization.py +22 -4
- pulumi_aiven/get_organization_address.py +250 -0
- pulumi_aiven/get_organization_application_user.py +0 -20
- pulumi_aiven/get_organization_billing_group.py +264 -0
- pulumi_aiven/get_organization_billing_group_list.py +138 -0
- pulumi_aiven/get_organization_project.py +63 -13
- pulumi_aiven/get_organization_user_list.py +25 -13
- pulumi_aiven/get_pg.py +1 -4
- pulumi_aiven/get_redis.py +1 -4
- pulumi_aiven/get_service_component.py +15 -1
- pulumi_aiven/get_service_integration.py +2 -2
- pulumi_aiven/get_thanos.py +1 -4
- pulumi_aiven/get_valkey.py +1 -4
- pulumi_aiven/governance_access.py +418 -0
- pulumi_aiven/grafana.py +8 -15
- pulumi_aiven/influx_db.py +22 -15
- pulumi_aiven/influxdb_database.py +1 -0
- pulumi_aiven/influxdb_user.py +1 -0
- pulumi_aiven/kafka.py +8 -15
- pulumi_aiven/kafka_acl.py +1 -0
- pulumi_aiven/kafka_connect.py +8 -15
- pulumi_aiven/kafka_connector.py +1 -0
- pulumi_aiven/kafka_mirror_maker.py +8 -15
- pulumi_aiven/kafka_native_acl.py +2 -1
- pulumi_aiven/kafka_quota.py +1 -0
- pulumi_aiven/kafka_schema.py +1 -0
- pulumi_aiven/kafka_schema_configuration.py +1 -0
- pulumi_aiven/kafka_schema_registry_acl.py +1 -0
- pulumi_aiven/kafka_topic.py +1 -0
- pulumi_aiven/kafka_user.py +1 -0
- pulumi_aiven/m3_aggregator.py +8 -15
- pulumi_aiven/m3_db.py +8 -15
- pulumi_aiven/m3db_user.py +1 -0
- pulumi_aiven/mirror_maker_replication_flow.py +1 -0
- pulumi_aiven/my_sql.py +8 -15
- pulumi_aiven/mysql_database.py +1 -0
- pulumi_aiven/mysql_user.py +1 -0
- pulumi_aiven/open_search.py +25 -34
- pulumi_aiven/open_search_acl_config.py +30 -41
- pulumi_aiven/open_search_acl_rule.py +48 -47
- pulumi_aiven/opensearch_security_plugin_config.py +15 -42
- pulumi_aiven/opensearch_user.py +33 -32
- pulumi_aiven/organization.py +27 -21
- pulumi_aiven/organization_address.py +564 -0
- pulumi_aiven/organization_application_user.py +14 -4
- pulumi_aiven/organization_application_user_token.py +1 -0
- pulumi_aiven/organization_billing_group.py +652 -0
- pulumi_aiven/organization_group_project.py +1 -0
- pulumi_aiven/organization_permission.py +3 -2
- pulumi_aiven/organization_project.py +149 -68
- pulumi_aiven/organization_user.py +1 -0
- pulumi_aiven/organization_user_group.py +1 -0
- pulumi_aiven/organization_user_group_member.py +1 -32
- pulumi_aiven/organization_vpc.py +1 -0
- pulumi_aiven/organizational_unit.py +1 -0
- pulumi_aiven/outputs.py +1813 -198
- pulumi_aiven/pg.py +8 -15
- pulumi_aiven/pg_database.py +1 -0
- pulumi_aiven/pg_user.py +1 -0
- pulumi_aiven/project.py +1 -0
- pulumi_aiven/project_user.py +1 -0
- pulumi_aiven/project_vpc.py +1 -0
- pulumi_aiven/provider.py +21 -0
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +8 -15
- pulumi_aiven/redis_user.py +1 -0
- pulumi_aiven/service_integration.py +5 -4
- pulumi_aiven/service_integration_endpoint.py +1 -0
- pulumi_aiven/static_ip.py +1 -0
- pulumi_aiven/thanos.py +8 -15
- pulumi_aiven/transit_gateway_vpc_attachment.py +1 -0
- pulumi_aiven/valkey.py +8 -15
- pulumi_aiven/valkey_user.py +1 -0
- {pulumi_aiven-6.37.0a1744182902.dist-info → pulumi_aiven-6.38.0.dist-info}/METADATA +3 -3
- pulumi_aiven-6.38.0.dist-info/RECORD +189 -0
- {pulumi_aiven-6.37.0a1744182902.dist-info → pulumi_aiven-6.38.0.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.37.0a1744182902.dist-info/RECORD +0 -183
- {pulumi_aiven-6.37.0a1744182902.dist-info → pulumi_aiven-6.38.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/pg.py
CHANGED
|
@@ -42,7 +42,7 @@ class PgArgs:
|
|
|
42
42
|
The set of arguments for constructing a Pg resource.
|
|
43
43
|
:param pulumi.Input[builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
44
44
|
:param pulumi.Input[builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
45
|
-
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
45
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
46
46
|
:param pulumi.Input[builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
47
47
|
:param pulumi.Input[builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
48
48
|
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
@@ -119,7 +119,7 @@ class PgArgs:
|
|
|
119
119
|
@pulumi.getter(name="additionalDiskSpace")
|
|
120
120
|
def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
121
121
|
"""
|
|
122
|
-
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
122
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
123
123
|
"""
|
|
124
124
|
return pulumi.get(self, "additional_disk_space")
|
|
125
125
|
|
|
@@ -318,7 +318,7 @@ class _PgState:
|
|
|
318
318
|
termination_protection: Optional[pulumi.Input[builtins.bool]] = None):
|
|
319
319
|
"""
|
|
320
320
|
Input properties used for looking up and filtering Pg resources.
|
|
321
|
-
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
321
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
322
322
|
:param pulumi.Input[builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
323
323
|
:param pulumi.Input[Sequence[pulumi.Input['PgComponentArgs']]] components: Service component information objects
|
|
324
324
|
:param pulumi.Input[builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
@@ -341,7 +341,6 @@ class _PgState:
|
|
|
341
341
|
:param pulumi.Input[builtins.str] service_type: Aiven internal service type code
|
|
342
342
|
:param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
343
343
|
:param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
344
|
-
:param pulumi.Input[builtins.str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
345
344
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.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
|
|
346
345
|
:param pulumi.Input[Sequence[pulumi.Input['PgTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
347
346
|
:param pulumi.Input[Sequence[pulumi.Input['PgTechEmailArgs']]] 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.
|
|
@@ -414,7 +413,7 @@ class _PgState:
|
|
|
414
413
|
@pulumi.getter(name="additionalDiskSpace")
|
|
415
414
|
def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
416
415
|
"""
|
|
417
|
-
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
416
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
418
417
|
"""
|
|
419
418
|
return pulumi.get(self, "additional_disk_space")
|
|
420
419
|
|
|
@@ -691,9 +690,6 @@ class _PgState:
|
|
|
691
690
|
@property
|
|
692
691
|
@pulumi.getter
|
|
693
692
|
def state(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
694
|
-
"""
|
|
695
|
-
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
696
|
-
"""
|
|
697
693
|
return pulumi.get(self, "state")
|
|
698
694
|
|
|
699
695
|
@state.setter
|
|
@@ -749,6 +745,7 @@ class _PgState:
|
|
|
749
745
|
pulumi.set(self, "termination_protection", value)
|
|
750
746
|
|
|
751
747
|
|
|
748
|
+
@pulumi.type_token("aiven:index/pg:Pg")
|
|
752
749
|
class Pg(pulumi.CustomResource):
|
|
753
750
|
@overload
|
|
754
751
|
def __init__(__self__,
|
|
@@ -782,7 +779,7 @@ class Pg(pulumi.CustomResource):
|
|
|
782
779
|
|
|
783
780
|
:param str resource_name: The name of the resource.
|
|
784
781
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
785
|
-
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
782
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
786
783
|
:param pulumi.Input[builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
787
784
|
:param pulumi.Input[builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
788
785
|
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
@@ -933,7 +930,7 @@ class Pg(pulumi.CustomResource):
|
|
|
933
930
|
:param str resource_name: The unique name of the resulting resource.
|
|
934
931
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
935
932
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
936
|
-
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
933
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
937
934
|
:param pulumi.Input[builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
938
935
|
:param pulumi.Input[Sequence[pulumi.Input[Union['PgComponentArgs', 'PgComponentArgsDict']]]] components: Service component information objects
|
|
939
936
|
:param pulumi.Input[builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
@@ -956,7 +953,6 @@ class Pg(pulumi.CustomResource):
|
|
|
956
953
|
:param pulumi.Input[builtins.str] service_type: Aiven internal service type code
|
|
957
954
|
:param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
958
955
|
:param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
959
|
-
:param pulumi.Input[builtins.str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
960
956
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.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
|
|
961
957
|
:param pulumi.Input[Sequence[pulumi.Input[Union['PgTagArgs', 'PgTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
962
958
|
:param pulumi.Input[Sequence[pulumi.Input[Union['PgTechEmailArgs', 'PgTechEmailArgsDict']]]] 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.
|
|
@@ -1000,7 +996,7 @@ class Pg(pulumi.CustomResource):
|
|
|
1000
996
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1001
997
|
def additional_disk_space(self) -> pulumi.Output[builtins.str]:
|
|
1002
998
|
"""
|
|
1003
|
-
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
999
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
1004
1000
|
"""
|
|
1005
1001
|
return pulumi.get(self, "additional_disk_space")
|
|
1006
1002
|
|
|
@@ -1185,9 +1181,6 @@ class Pg(pulumi.CustomResource):
|
|
|
1185
1181
|
@property
|
|
1186
1182
|
@pulumi.getter
|
|
1187
1183
|
def state(self) -> pulumi.Output[builtins.str]:
|
|
1188
|
-
"""
|
|
1189
|
-
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1190
|
-
"""
|
|
1191
1184
|
return pulumi.get(self, "state")
|
|
1192
1185
|
|
|
1193
1186
|
@property
|
pulumi_aiven/pg_database.py
CHANGED
pulumi_aiven/pg_user.py
CHANGED
pulumi_aiven/project.py
CHANGED
pulumi_aiven/project_user.py
CHANGED
pulumi_aiven/project_vpc.py
CHANGED
pulumi_aiven/provider.py
CHANGED
|
@@ -41,6 +41,7 @@ class ProviderArgs:
|
|
|
41
41
|
pulumi.set(self, "api_token", value)
|
|
42
42
|
|
|
43
43
|
|
|
44
|
+
@pulumi.type_token("pulumi:providers:aiven")
|
|
44
45
|
class Provider(pulumi.ProviderResource):
|
|
45
46
|
@overload
|
|
46
47
|
def __init__(__self__,
|
|
@@ -112,3 +113,23 @@ class Provider(pulumi.ProviderResource):
|
|
|
112
113
|
"""
|
|
113
114
|
return pulumi.get(self, "api_token")
|
|
114
115
|
|
|
116
|
+
@pulumi.output_type
|
|
117
|
+
class TerraformConfigResult:
|
|
118
|
+
def __init__(__self__, result=None):
|
|
119
|
+
if result and not isinstance(result, dict):
|
|
120
|
+
raise TypeError("Expected argument 'result' to be a dict")
|
|
121
|
+
pulumi.set(__self__, "result", result)
|
|
122
|
+
|
|
123
|
+
@property
|
|
124
|
+
@pulumi.getter
|
|
125
|
+
def result(self) -> Mapping[str, Any]:
|
|
126
|
+
return pulumi.get(self, "result")
|
|
127
|
+
|
|
128
|
+
def terraform_config(__self__) -> pulumi.Output['Provider.TerraformConfigResult']:
|
|
129
|
+
"""
|
|
130
|
+
This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
|
|
131
|
+
"""
|
|
132
|
+
__args__ = dict()
|
|
133
|
+
__args__['__self__'] = __self__
|
|
134
|
+
return pulumi.runtime.call('pulumi:providers:aiven/terraformConfig', __args__, res=__self__, typ=Provider.TerraformConfigResult)
|
|
135
|
+
|
pulumi_aiven/pulumi-plugin.json
CHANGED
pulumi_aiven/redis.py
CHANGED
|
@@ -43,7 +43,7 @@ class RedisArgs:
|
|
|
43
43
|
:param pulumi.Input[builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
44
44
|
:param pulumi.Input[builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
45
45
|
:param pulumi.Input[builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
46
|
-
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
46
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
47
47
|
:param pulumi.Input[builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
48
48
|
:param pulumi.Input[builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
49
49
|
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
@@ -130,7 +130,7 @@ class RedisArgs:
|
|
|
130
130
|
@pulumi.getter(name="additionalDiskSpace")
|
|
131
131
|
def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
132
132
|
"""
|
|
133
|
-
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
133
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
134
134
|
"""
|
|
135
135
|
return pulumi.get(self, "additional_disk_space")
|
|
136
136
|
|
|
@@ -317,7 +317,7 @@ class _RedisState:
|
|
|
317
317
|
termination_protection: Optional[pulumi.Input[builtins.bool]] = None):
|
|
318
318
|
"""
|
|
319
319
|
Input properties used for looking up and filtering Redis resources.
|
|
320
|
-
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
320
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
321
321
|
:param pulumi.Input[builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
322
322
|
:param pulumi.Input[Sequence[pulumi.Input['RedisComponentArgs']]] components: Service component information objects
|
|
323
323
|
:param pulumi.Input[builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
@@ -340,7 +340,6 @@ class _RedisState:
|
|
|
340
340
|
:param pulumi.Input[builtins.str] service_type: Aiven internal service type code
|
|
341
341
|
:param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
342
342
|
:param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
343
|
-
:param pulumi.Input[builtins.str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
344
343
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.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
|
|
345
344
|
:param pulumi.Input[Sequence[pulumi.Input['RedisTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
346
345
|
:param pulumi.Input[Sequence[pulumi.Input['RedisTechEmailArgs']]] 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.
|
|
@@ -413,7 +412,7 @@ class _RedisState:
|
|
|
413
412
|
@pulumi.getter(name="additionalDiskSpace")
|
|
414
413
|
def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
415
414
|
"""
|
|
416
|
-
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
415
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
417
416
|
"""
|
|
418
417
|
return pulumi.get(self, "additional_disk_space")
|
|
419
418
|
|
|
@@ -690,9 +689,6 @@ class _RedisState:
|
|
|
690
689
|
@property
|
|
691
690
|
@pulumi.getter
|
|
692
691
|
def state(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
693
|
-
"""
|
|
694
|
-
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
695
|
-
"""
|
|
696
692
|
return pulumi.get(self, "state")
|
|
697
693
|
|
|
698
694
|
@state.setter
|
|
@@ -748,6 +744,7 @@ class _RedisState:
|
|
|
748
744
|
pulumi.set(self, "termination_protection", value)
|
|
749
745
|
|
|
750
746
|
|
|
747
|
+
@pulumi.type_token("aiven:index/redis:Redis")
|
|
751
748
|
class Redis(pulumi.CustomResource):
|
|
752
749
|
@overload
|
|
753
750
|
def __init__(__self__,
|
|
@@ -810,7 +807,7 @@ class Redis(pulumi.CustomResource):
|
|
|
810
807
|
|
|
811
808
|
:param str resource_name: The name of the resource.
|
|
812
809
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
813
|
-
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
810
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
814
811
|
:param pulumi.Input[builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
815
812
|
:param pulumi.Input[builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
816
813
|
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
@@ -992,7 +989,7 @@ class Redis(pulumi.CustomResource):
|
|
|
992
989
|
:param str resource_name: The unique name of the resulting resource.
|
|
993
990
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
994
991
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
995
|
-
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
992
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
996
993
|
:param pulumi.Input[builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
997
994
|
:param pulumi.Input[Sequence[pulumi.Input[Union['RedisComponentArgs', 'RedisComponentArgsDict']]]] components: Service component information objects
|
|
998
995
|
:param pulumi.Input[builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
@@ -1015,7 +1012,6 @@ class Redis(pulumi.CustomResource):
|
|
|
1015
1012
|
:param pulumi.Input[builtins.str] service_type: Aiven internal service type code
|
|
1016
1013
|
:param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1017
1014
|
:param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
1018
|
-
:param pulumi.Input[builtins.str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1019
1015
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.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
|
|
1020
1016
|
:param pulumi.Input[Sequence[pulumi.Input[Union['RedisTagArgs', 'RedisTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1021
1017
|
:param pulumi.Input[Sequence[pulumi.Input[Union['RedisTechEmailArgs', 'RedisTechEmailArgsDict']]]] 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.
|
|
@@ -1059,7 +1055,7 @@ class Redis(pulumi.CustomResource):
|
|
|
1059
1055
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1060
1056
|
def additional_disk_space(self) -> pulumi.Output[builtins.str]:
|
|
1061
1057
|
"""
|
|
1062
|
-
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
1058
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
1063
1059
|
"""
|
|
1064
1060
|
return pulumi.get(self, "additional_disk_space")
|
|
1065
1061
|
|
|
@@ -1244,9 +1240,6 @@ class Redis(pulumi.CustomResource):
|
|
|
1244
1240
|
@property
|
|
1245
1241
|
@pulumi.getter
|
|
1246
1242
|
def state(self) -> pulumi.Output[builtins.str]:
|
|
1247
|
-
"""
|
|
1248
|
-
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1249
|
-
"""
|
|
1250
1243
|
return pulumi.get(self, "state")
|
|
1251
1244
|
|
|
1252
1245
|
@property
|
pulumi_aiven/redis_user.py
CHANGED
|
@@ -753,6 +753,7 @@ class _ServiceIntegrationState:
|
|
|
753
753
|
pulumi.set(self, "source_service_project", value)
|
|
754
754
|
|
|
755
755
|
|
|
756
|
+
@pulumi.type_token("aiven:index/serviceIntegration:ServiceIntegration")
|
|
756
757
|
class ServiceIntegration(pulumi.CustomResource):
|
|
757
758
|
@overload
|
|
758
759
|
def __init__(__self__,
|
|
@@ -788,12 +789,12 @@ class ServiceIntegration(pulumi.CustomResource):
|
|
|
788
789
|
import pulumi
|
|
789
790
|
import pulumi_aiven as aiven
|
|
790
791
|
|
|
791
|
-
# Integrate Kafka and
|
|
792
|
+
# Integrate Kafka and Thanos services for metrics
|
|
792
793
|
example_integration = aiven.ServiceIntegration("example_integration",
|
|
793
794
|
project=example_project["project"],
|
|
794
795
|
integration_type="metrics",
|
|
795
796
|
source_service_name=example_kafka["serviceName"],
|
|
796
|
-
destination_service_name=
|
|
797
|
+
destination_service_name=example_thanos["serviceName"])
|
|
797
798
|
# Use disk autoscaler with a PostgreSQL service
|
|
798
799
|
autoscaler_endpoint = aiven.ServiceIntegrationEndpoint("autoscaler_endpoint",
|
|
799
800
|
project=example_project["project"],
|
|
@@ -856,12 +857,12 @@ class ServiceIntegration(pulumi.CustomResource):
|
|
|
856
857
|
import pulumi
|
|
857
858
|
import pulumi_aiven as aiven
|
|
858
859
|
|
|
859
|
-
# Integrate Kafka and
|
|
860
|
+
# Integrate Kafka and Thanos services for metrics
|
|
860
861
|
example_integration = aiven.ServiceIntegration("example_integration",
|
|
861
862
|
project=example_project["project"],
|
|
862
863
|
integration_type="metrics",
|
|
863
864
|
source_service_name=example_kafka["serviceName"],
|
|
864
|
-
destination_service_name=
|
|
865
|
+
destination_service_name=example_thanos["serviceName"])
|
|
865
866
|
# Use disk autoscaler with a PostgreSQL service
|
|
866
867
|
autoscaler_endpoint = aiven.ServiceIntegrationEndpoint("autoscaler_endpoint",
|
|
867
868
|
project=example_project["project"],
|
|
@@ -752,6 +752,7 @@ class _ServiceIntegrationEndpointState:
|
|
|
752
752
|
pulumi.set(self, "rsyslog_user_config", value)
|
|
753
753
|
|
|
754
754
|
|
|
755
|
+
@pulumi.type_token("aiven:index/serviceIntegrationEndpoint:ServiceIntegrationEndpoint")
|
|
755
756
|
class ServiceIntegrationEndpoint(pulumi.CustomResource):
|
|
756
757
|
@overload
|
|
757
758
|
def __init__(__self__,
|
pulumi_aiven/static_ip.py
CHANGED
pulumi_aiven/thanos.py
CHANGED
|
@@ -43,7 +43,7 @@ class ThanosArgs:
|
|
|
43
43
|
:param pulumi.Input[builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
44
44
|
:param pulumi.Input[builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
45
45
|
:param pulumi.Input[builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
46
|
-
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
46
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
47
47
|
:param pulumi.Input[builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
48
48
|
:param pulumi.Input[builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
49
49
|
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
@@ -130,7 +130,7 @@ class ThanosArgs:
|
|
|
130
130
|
@pulumi.getter(name="additionalDiskSpace")
|
|
131
131
|
def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
132
132
|
"""
|
|
133
|
-
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
133
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
134
134
|
"""
|
|
135
135
|
return pulumi.get(self, "additional_disk_space")
|
|
136
136
|
|
|
@@ -317,7 +317,7 @@ class _ThanosState:
|
|
|
317
317
|
thanos_user_config: Optional[pulumi.Input['ThanosThanosUserConfigArgs']] = None):
|
|
318
318
|
"""
|
|
319
319
|
Input properties used for looking up and filtering Thanos resources.
|
|
320
|
-
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
320
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
321
321
|
:param pulumi.Input[builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
322
322
|
:param pulumi.Input[Sequence[pulumi.Input['ThanosComponentArgs']]] components: Service component information objects
|
|
323
323
|
:param pulumi.Input[builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
@@ -338,7 +338,6 @@ class _ThanosState:
|
|
|
338
338
|
:param pulumi.Input[builtins.str] service_type: Aiven internal service type code
|
|
339
339
|
:param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
340
340
|
:param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
341
|
-
:param pulumi.Input[builtins.str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
342
341
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.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
|
|
343
342
|
:param pulumi.Input[Sequence[pulumi.Input['ThanosTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
344
343
|
:param pulumi.Input[Sequence[pulumi.Input['ThanosTechEmailArgs']]] 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.
|
|
@@ -413,7 +412,7 @@ class _ThanosState:
|
|
|
413
412
|
@pulumi.getter(name="additionalDiskSpace")
|
|
414
413
|
def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
415
414
|
"""
|
|
416
|
-
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
415
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
417
416
|
"""
|
|
418
417
|
return pulumi.get(self, "additional_disk_space")
|
|
419
418
|
|
|
@@ -666,9 +665,6 @@ class _ThanosState:
|
|
|
666
665
|
@property
|
|
667
666
|
@pulumi.getter
|
|
668
667
|
def state(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
669
|
-
"""
|
|
670
|
-
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
671
|
-
"""
|
|
672
668
|
return pulumi.get(self, "state")
|
|
673
669
|
|
|
674
670
|
@state.setter
|
|
@@ -748,6 +744,7 @@ class _ThanosState:
|
|
|
748
744
|
pulumi.set(self, "thanos_user_config", value)
|
|
749
745
|
|
|
750
746
|
|
|
747
|
+
@pulumi.type_token("aiven:index/thanos:Thanos")
|
|
751
748
|
class Thanos(pulumi.CustomResource):
|
|
752
749
|
@overload
|
|
753
750
|
def __init__(__self__,
|
|
@@ -800,7 +797,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
800
797
|
|
|
801
798
|
:param str resource_name: The name of the resource.
|
|
802
799
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
803
|
-
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
800
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
804
801
|
:param pulumi.Input[builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
805
802
|
:param pulumi.Input[builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
806
803
|
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
@@ -972,7 +969,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
972
969
|
:param str resource_name: The unique name of the resulting resource.
|
|
973
970
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
974
971
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
975
|
-
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
972
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
976
973
|
:param pulumi.Input[builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
977
974
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ThanosComponentArgs', 'ThanosComponentArgsDict']]]] components: Service component information objects
|
|
978
975
|
:param pulumi.Input[builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
@@ -993,7 +990,6 @@ class Thanos(pulumi.CustomResource):
|
|
|
993
990
|
:param pulumi.Input[builtins.str] service_type: Aiven internal service type code
|
|
994
991
|
:param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
995
992
|
:param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
996
|
-
:param pulumi.Input[builtins.str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
997
993
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.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
|
|
998
994
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ThanosTagArgs', 'ThanosTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
999
995
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ThanosTechEmailArgs', 'ThanosTechEmailArgsDict']]]] 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.
|
|
@@ -1039,7 +1035,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1039
1035
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1040
1036
|
def additional_disk_space(self) -> pulumi.Output[builtins.str]:
|
|
1041
1037
|
"""
|
|
1042
|
-
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
1038
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
1043
1039
|
"""
|
|
1044
1040
|
return pulumi.get(self, "additional_disk_space")
|
|
1045
1041
|
|
|
@@ -1208,9 +1204,6 @@ class Thanos(pulumi.CustomResource):
|
|
|
1208
1204
|
@property
|
|
1209
1205
|
@pulumi.getter
|
|
1210
1206
|
def state(self) -> pulumi.Output[builtins.str]:
|
|
1211
|
-
"""
|
|
1212
|
-
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1213
|
-
"""
|
|
1214
1207
|
return pulumi.get(self, "state")
|
|
1215
1208
|
|
|
1216
1209
|
@property
|
|
@@ -237,6 +237,7 @@ class _TransitGatewayVpcAttachmentState:
|
|
|
237
237
|
pulumi.set(self, "vpc_id", value)
|
|
238
238
|
|
|
239
239
|
|
|
240
|
+
@pulumi.type_token("aiven:index/transitGatewayVpcAttachment:TransitGatewayVpcAttachment")
|
|
240
241
|
class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
241
242
|
@overload
|
|
242
243
|
def __init__(__self__,
|