pulumi-aiven 6.21.0a1722856076__py3-none-any.whl → 6.22.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/_inputs.py +721 -67
- pulumi_aiven/account_authentication.py +5 -5
- pulumi_aiven/account_team_project.py +7 -7
- pulumi_aiven/aws_vpc_peering_connection.py +7 -7
- pulumi_aiven/azure_privatelink_connection_approval.py +16 -16
- pulumi_aiven/azure_vpc_peering_connection.py +7 -7
- pulumi_aiven/cassandra.py +46 -46
- pulumi_aiven/clickhouse.py +34 -34
- pulumi_aiven/clickhouse_grant.py +34 -34
- pulumi_aiven/dragonfly.py +40 -40
- pulumi_aiven/flink.py +40 -40
- pulumi_aiven/flink_application_deployment.py +16 -16
- pulumi_aiven/flink_application_version.py +36 -36
- pulumi_aiven/gcp_vpc_peering_connection.py +7 -7
- pulumi_aiven/get_account_team_project.py +1 -1
- pulumi_aiven/get_aws_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_azure_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_cassanda.py +1 -1
- pulumi_aiven/get_cassandra.py +1 -1
- pulumi_aiven/get_clickhouse.py +1 -1
- pulumi_aiven/get_dragonfly.py +1 -1
- pulumi_aiven/get_flink.py +1 -1
- pulumi_aiven/get_gcp_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_grafana.py +1 -1
- pulumi_aiven/get_kafka.py +1 -1
- pulumi_aiven/get_kafka_connect.py +1 -1
- pulumi_aiven/get_kafka_mirror_maker.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +1 -1
- pulumi_aiven/get_m3_db.py +1 -1
- pulumi_aiven/get_my_sql.py +1 -1
- pulumi_aiven/get_mysql_user.py +1 -1
- pulumi_aiven/get_open_search.py +1 -1
- pulumi_aiven/get_pg.py +8 -8
- pulumi_aiven/get_pg_database.py +8 -8
- pulumi_aiven/get_pg_user.py +16 -16
- pulumi_aiven/get_project_user.py +1 -1
- pulumi_aiven/get_project_vpc.py +1 -1
- pulumi_aiven/get_redis.py +1 -1
- pulumi_aiven/get_service_integration.py +3 -3
- pulumi_aiven/get_thanos.py +1 -1
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +1 -1
- pulumi_aiven/get_valkey.py +1 -1
- pulumi_aiven/grafana.py +46 -46
- pulumi_aiven/influx_db.py +48 -41
- pulumi_aiven/kafka.py +62 -62
- pulumi_aiven/kafka_connect.py +59 -59
- pulumi_aiven/kafka_connector.py +2 -2
- pulumi_aiven/kafka_mirror_maker.py +45 -45
- pulumi_aiven/kafka_topic.py +18 -18
- pulumi_aiven/m3_aggregator.py +40 -40
- pulumi_aiven/m3_db.py +48 -48
- pulumi_aiven/my_sql.py +54 -54
- pulumi_aiven/mysql_user.py +7 -7
- pulumi_aiven/open_search.py +56 -56
- pulumi_aiven/organization.py +3 -3
- pulumi_aiven/organization_group_project.py +3 -3
- pulumi_aiven/organization_user_group_member.py +3 -3
- pulumi_aiven/outputs.py +1252 -135
- pulumi_aiven/pg.py +43 -43
- pulumi_aiven/pg_database.py +12 -12
- pulumi_aiven/pg_user.py +47 -47
- pulumi_aiven/project.py +5 -5
- pulumi_aiven/project_user.py +7 -7
- pulumi_aiven/project_vpc.py +4 -4
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +46 -46
- pulumi_aiven/service_integration.py +72 -72
- pulumi_aiven/service_integration_endpoint.py +65 -65
- pulumi_aiven/thanos.py +34 -34
- pulumi_aiven/transit_gateway_vpc_attachment.py +7 -7
- pulumi_aiven/valkey.py +40 -40
- {pulumi_aiven-6.21.0a1722856076.dist-info → pulumi_aiven-6.22.0.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.21.0a1722856076.dist-info → pulumi_aiven-6.22.0.dist-info}/RECORD +75 -75
- {pulumi_aiven-6.21.0a1722856076.dist-info → pulumi_aiven-6.22.0.dist-info}/WHEEL +1 -1
- {pulumi_aiven-6.21.0a1722856076.dist-info → pulumi_aiven-6.22.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/project.py
CHANGED
|
@@ -448,7 +448,7 @@ class Project(pulumi.CustomResource):
|
|
|
448
448
|
default_cloud: Optional[pulumi.Input[str]] = None,
|
|
449
449
|
parent_id: Optional[pulumi.Input[str]] = None,
|
|
450
450
|
project: Optional[pulumi.Input[str]] = None,
|
|
451
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
451
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProjectTagArgs', 'ProjectTagArgsDict']]]]] = None,
|
|
452
452
|
technical_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
453
453
|
use_source_project_billing_group: Optional[pulumi.Input[bool]] = None,
|
|
454
454
|
__props__=None):
|
|
@@ -481,7 +481,7 @@ class Project(pulumi.CustomResource):
|
|
|
481
481
|
:param pulumi.Input[str] default_cloud: Default cloud provider and region where services are hosted. This can be changed after the project is created and will not affect existing services.
|
|
482
482
|
:param pulumi.Input[str] parent_id: Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/orgs-units-projects) or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
483
483
|
:param pulumi.Input[str] project: The name of the project. Names must be globally unique among all Aiven customers and cannot be changed later without destroying and re-creating the project, including all sub-resources.
|
|
484
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
484
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ProjectTagArgs', 'ProjectTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize projects.
|
|
485
485
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] technical_emails: The email addresses for [project contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this project and its services. You can also set email contacts at the service level. It's good practice to keep these up-to-date to be aware of any potential issues with your project.
|
|
486
486
|
:param pulumi.Input[bool] use_source_project_billing_group: Use the same billing group that is used in source project.
|
|
487
487
|
"""
|
|
@@ -533,7 +533,7 @@ class Project(pulumi.CustomResource):
|
|
|
533
533
|
default_cloud: Optional[pulumi.Input[str]] = None,
|
|
534
534
|
parent_id: Optional[pulumi.Input[str]] = None,
|
|
535
535
|
project: Optional[pulumi.Input[str]] = None,
|
|
536
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
536
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProjectTagArgs', 'ProjectTagArgsDict']]]]] = None,
|
|
537
537
|
technical_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
538
538
|
use_source_project_billing_group: Optional[pulumi.Input[bool]] = None,
|
|
539
539
|
__props__=None):
|
|
@@ -584,7 +584,7 @@ class Project(pulumi.CustomResource):
|
|
|
584
584
|
parent_id: Optional[pulumi.Input[str]] = None,
|
|
585
585
|
payment_method: Optional[pulumi.Input[str]] = None,
|
|
586
586
|
project: Optional[pulumi.Input[str]] = None,
|
|
587
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
587
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProjectTagArgs', 'ProjectTagArgsDict']]]]] = None,
|
|
588
588
|
technical_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
589
589
|
use_source_project_billing_group: Optional[pulumi.Input[bool]] = None) -> 'Project':
|
|
590
590
|
"""
|
|
@@ -605,7 +605,7 @@ class Project(pulumi.CustomResource):
|
|
|
605
605
|
:param pulumi.Input[str] parent_id: Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/orgs-units-projects) or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
606
606
|
:param pulumi.Input[str] payment_method: The payment type used for this project. For example,`card`.
|
|
607
607
|
:param pulumi.Input[str] project: The name of the project. Names must be globally unique among all Aiven customers and cannot be changed later without destroying and re-creating the project, including all sub-resources.
|
|
608
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
608
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ProjectTagArgs', 'ProjectTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize projects.
|
|
609
609
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] technical_emails: The email addresses for [project contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this project and its services. You can also set email contacts at the service level. It's good practice to keep these up-to-date to be aware of any potential issues with your project.
|
|
610
610
|
:param pulumi.Input[bool] use_source_project_billing_group: Use the same billing group that is used in source project.
|
|
611
611
|
"""
|
pulumi_aiven/project_user.py
CHANGED
|
@@ -20,7 +20,7 @@ class ProjectUserArgs:
|
|
|
20
20
|
"""
|
|
21
21
|
The set of arguments for constructing a ProjectUser resource.
|
|
22
22
|
:param pulumi.Input[str] email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
23
|
-
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `
|
|
23
|
+
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer`, `operator` and `read_only`.
|
|
24
24
|
: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.
|
|
25
25
|
"""
|
|
26
26
|
pulumi.set(__self__, "email", email)
|
|
@@ -43,7 +43,7 @@ class ProjectUserArgs:
|
|
|
43
43
|
@pulumi.getter(name="memberType")
|
|
44
44
|
def member_type(self) -> pulumi.Input[str]:
|
|
45
45
|
"""
|
|
46
|
-
Project membership type. The possible values are `admin`, `developer` and `
|
|
46
|
+
Project membership type. The possible values are `admin`, `developer`, `operator` and `read_only`.
|
|
47
47
|
"""
|
|
48
48
|
return pulumi.get(self, "member_type")
|
|
49
49
|
|
|
@@ -75,7 +75,7 @@ class _ProjectUserState:
|
|
|
75
75
|
Input properties used for looking up and filtering ProjectUser resources.
|
|
76
76
|
:param pulumi.Input[bool] accepted: Whether the user has accepted the request to join the project. Users get an invite and become project members after accepting the invite.
|
|
77
77
|
:param pulumi.Input[str] email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
78
|
-
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `
|
|
78
|
+
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer`, `operator` and `read_only`.
|
|
79
79
|
: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.
|
|
80
80
|
"""
|
|
81
81
|
if accepted is not None:
|
|
@@ -115,7 +115,7 @@ class _ProjectUserState:
|
|
|
115
115
|
@pulumi.getter(name="memberType")
|
|
116
116
|
def member_type(self) -> Optional[pulumi.Input[str]]:
|
|
117
117
|
"""
|
|
118
|
-
Project membership type. The possible values are `admin`, `developer` and `
|
|
118
|
+
Project membership type. The possible values are `admin`, `developer`, `operator` and `read_only`.
|
|
119
119
|
"""
|
|
120
120
|
return pulumi.get(self, "member_type")
|
|
121
121
|
|
|
@@ -169,7 +169,7 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
169
169
|
:param str resource_name: The name of the resource.
|
|
170
170
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
171
171
|
:param pulumi.Input[str] email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
172
|
-
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `
|
|
172
|
+
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer`, `operator` and `read_only`.
|
|
173
173
|
: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.
|
|
174
174
|
"""
|
|
175
175
|
...
|
|
@@ -259,7 +259,7 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
259
259
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
260
260
|
:param pulumi.Input[bool] accepted: Whether the user has accepted the request to join the project. Users get an invite and become project members after accepting the invite.
|
|
261
261
|
:param pulumi.Input[str] email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
262
|
-
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `
|
|
262
|
+
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer`, `operator` and `read_only`.
|
|
263
263
|
: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.
|
|
264
264
|
"""
|
|
265
265
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -292,7 +292,7 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
292
292
|
@pulumi.getter(name="memberType")
|
|
293
293
|
def member_type(self) -> pulumi.Output[str]:
|
|
294
294
|
"""
|
|
295
|
-
Project membership type. The possible values are `admin`, `developer` and `
|
|
295
|
+
Project membership type. The possible values are `admin`, `developer`, `operator` and `read_only`.
|
|
296
296
|
"""
|
|
297
297
|
return pulumi.get(self, "member_type")
|
|
298
298
|
|
pulumi_aiven/project_vpc.py
CHANGED
|
@@ -76,7 +76,7 @@ class _ProjectVpcState:
|
|
|
76
76
|
:param pulumi.Input[str] cloud_name: The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`. Changing this property forces recreation of the resource.
|
|
77
77
|
:param pulumi.Input[str] network_cidr: Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
78
78
|
: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.
|
|
79
|
-
:param pulumi.Input[str] state: State of the VPC. The possible values are `
|
|
79
|
+
:param pulumi.Input[str] state: State of the VPC. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`.
|
|
80
80
|
"""
|
|
81
81
|
if cloud_name is not None:
|
|
82
82
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
@@ -127,7 +127,7 @@ class _ProjectVpcState:
|
|
|
127
127
|
@pulumi.getter
|
|
128
128
|
def state(self) -> Optional[pulumi.Input[str]]:
|
|
129
129
|
"""
|
|
130
|
-
State of the VPC. The possible values are `
|
|
130
|
+
State of the VPC. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`.
|
|
131
131
|
"""
|
|
132
132
|
return pulumi.get(self, "state")
|
|
133
133
|
|
|
@@ -260,7 +260,7 @@ class ProjectVpc(pulumi.CustomResource):
|
|
|
260
260
|
:param pulumi.Input[str] cloud_name: The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`. Changing this property forces recreation of the resource.
|
|
261
261
|
:param pulumi.Input[str] network_cidr: Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
262
262
|
: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.
|
|
263
|
-
:param pulumi.Input[str] state: State of the VPC. The possible values are `
|
|
263
|
+
:param pulumi.Input[str] state: State of the VPC. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`.
|
|
264
264
|
"""
|
|
265
265
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
266
266
|
|
|
@@ -300,7 +300,7 @@ class ProjectVpc(pulumi.CustomResource):
|
|
|
300
300
|
@pulumi.getter
|
|
301
301
|
def state(self) -> pulumi.Output[str]:
|
|
302
302
|
"""
|
|
303
|
-
State of the VPC. The possible values are `
|
|
303
|
+
State of the VPC. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`.
|
|
304
304
|
"""
|
|
305
305
|
return pulumi.get(self, "state")
|
|
306
306
|
|
pulumi_aiven/pulumi-plugin.json
CHANGED
pulumi_aiven/redis.py
CHANGED
|
@@ -37,7 +37,7 @@ class RedisArgs:
|
|
|
37
37
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
38
38
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
39
39
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
40
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
40
|
+
:param pulumi.Input[str] additional_disk_space: 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 with no HA capabilities.
|
|
41
41
|
: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).
|
|
42
42
|
: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.
|
|
43
43
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
@@ -124,7 +124,7 @@ class RedisArgs:
|
|
|
124
124
|
@pulumi.getter(name="additionalDiskSpace")
|
|
125
125
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
126
126
|
"""
|
|
127
|
-
|
|
127
|
+
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 with no HA capabilities.
|
|
128
128
|
"""
|
|
129
129
|
return pulumi.get(self, "additional_disk_space")
|
|
130
130
|
|
|
@@ -311,7 +311,7 @@ class _RedisState:
|
|
|
311
311
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
312
312
|
"""
|
|
313
313
|
Input properties used for looking up and filtering Redis resources.
|
|
314
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
314
|
+
:param pulumi.Input[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 with no HA capabilities.
|
|
315
315
|
: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).
|
|
316
316
|
:param pulumi.Input[Sequence[pulumi.Input['RedisComponentArgs']]] components: Service component information objects
|
|
317
317
|
: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.
|
|
@@ -404,7 +404,7 @@ class _RedisState:
|
|
|
404
404
|
@pulumi.getter(name="additionalDiskSpace")
|
|
405
405
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
406
406
|
"""
|
|
407
|
-
|
|
407
|
+
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 with no HA capabilities.
|
|
408
408
|
"""
|
|
409
409
|
return pulumi.get(self, "additional_disk_space")
|
|
410
410
|
|
|
@@ -751,13 +751,13 @@ class Redis(pulumi.CustomResource):
|
|
|
751
751
|
plan: Optional[pulumi.Input[str]] = None,
|
|
752
752
|
project: Optional[pulumi.Input[str]] = None,
|
|
753
753
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
754
|
-
redis: Optional[pulumi.Input[
|
|
755
|
-
redis_user_config: Optional[pulumi.Input[
|
|
756
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
754
|
+
redis: Optional[pulumi.Input[Union['RedisRedisArgs', 'RedisRedisArgsDict']]] = None,
|
|
755
|
+
redis_user_config: Optional[pulumi.Input[Union['RedisRedisUserConfigArgs', 'RedisRedisUserConfigArgsDict']]] = None,
|
|
756
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RedisServiceIntegrationArgs', 'RedisServiceIntegrationArgsDict']]]]] = None,
|
|
757
757
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
758
758
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
759
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
760
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
759
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RedisTagArgs', 'RedisTagArgsDict']]]]] = None,
|
|
760
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RedisTechEmailArgs', 'RedisTechEmailArgsDict']]]]] = None,
|
|
761
761
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
762
762
|
__props__=None):
|
|
763
763
|
"""
|
|
@@ -776,12 +776,12 @@ class Redis(pulumi.CustomResource):
|
|
|
776
776
|
service_name="my-redis1",
|
|
777
777
|
maintenance_window_dow="monday",
|
|
778
778
|
maintenance_window_time="10:00:00",
|
|
779
|
-
redis_user_config=
|
|
780
|
-
redis_maxmemory_policy
|
|
781
|
-
public_access
|
|
782
|
-
redis
|
|
783
|
-
|
|
784
|
-
)
|
|
779
|
+
redis_user_config={
|
|
780
|
+
"redis_maxmemory_policy": "allkeys-random",
|
|
781
|
+
"public_access": {
|
|
782
|
+
"redis": True,
|
|
783
|
+
},
|
|
784
|
+
})
|
|
785
785
|
```
|
|
786
786
|
|
|
787
787
|
## Import
|
|
@@ -792,7 +792,7 @@ class Redis(pulumi.CustomResource):
|
|
|
792
792
|
|
|
793
793
|
:param str resource_name: The name of the resource.
|
|
794
794
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
795
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
795
|
+
:param pulumi.Input[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 with no HA capabilities.
|
|
796
796
|
: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).
|
|
797
797
|
: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.
|
|
798
798
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
@@ -800,13 +800,13 @@ class Redis(pulumi.CustomResource):
|
|
|
800
800
|
: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).
|
|
801
801
|
: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.
|
|
802
802
|
: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.
|
|
803
|
-
:param pulumi.Input[
|
|
804
|
-
:param pulumi.Input[
|
|
805
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
803
|
+
:param pulumi.Input[Union['RedisRedisArgs', 'RedisRedisArgsDict']] redis: Redis server provided values
|
|
804
|
+
:param pulumi.Input[Union['RedisRedisUserConfigArgs', 'RedisRedisUserConfigArgsDict']] redis_user_config: Redis user configurable settings
|
|
805
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['RedisServiceIntegrationArgs', 'RedisServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
806
806
|
: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.
|
|
807
807
|
: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
|
|
808
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
809
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
808
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['RedisTagArgs', 'RedisTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
809
|
+
: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.
|
|
810
810
|
: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.
|
|
811
811
|
"""
|
|
812
812
|
...
|
|
@@ -831,12 +831,12 @@ class Redis(pulumi.CustomResource):
|
|
|
831
831
|
service_name="my-redis1",
|
|
832
832
|
maintenance_window_dow="monday",
|
|
833
833
|
maintenance_window_time="10:00:00",
|
|
834
|
-
redis_user_config=
|
|
835
|
-
redis_maxmemory_policy
|
|
836
|
-
public_access
|
|
837
|
-
redis
|
|
838
|
-
|
|
839
|
-
)
|
|
834
|
+
redis_user_config={
|
|
835
|
+
"redis_maxmemory_policy": "allkeys-random",
|
|
836
|
+
"public_access": {
|
|
837
|
+
"redis": True,
|
|
838
|
+
},
|
|
839
|
+
})
|
|
840
840
|
```
|
|
841
841
|
|
|
842
842
|
## Import
|
|
@@ -868,13 +868,13 @@ class Redis(pulumi.CustomResource):
|
|
|
868
868
|
plan: Optional[pulumi.Input[str]] = None,
|
|
869
869
|
project: Optional[pulumi.Input[str]] = None,
|
|
870
870
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
871
|
-
redis: Optional[pulumi.Input[
|
|
872
|
-
redis_user_config: Optional[pulumi.Input[
|
|
873
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
871
|
+
redis: Optional[pulumi.Input[Union['RedisRedisArgs', 'RedisRedisArgsDict']]] = None,
|
|
872
|
+
redis_user_config: Optional[pulumi.Input[Union['RedisRedisUserConfigArgs', 'RedisRedisUserConfigArgsDict']]] = None,
|
|
873
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RedisServiceIntegrationArgs', 'RedisServiceIntegrationArgsDict']]]]] = None,
|
|
874
874
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
875
875
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
876
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
877
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
876
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RedisTagArgs', 'RedisTagArgsDict']]]]] = None,
|
|
877
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RedisTechEmailArgs', 'RedisTechEmailArgsDict']]]]] = None,
|
|
878
878
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
879
879
|
__props__=None):
|
|
880
880
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -933,7 +933,7 @@ class Redis(pulumi.CustomResource):
|
|
|
933
933
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
934
934
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
935
935
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
936
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
936
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RedisComponentArgs', 'RedisComponentArgsDict']]]]] = None,
|
|
937
937
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
938
938
|
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
939
939
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
@@ -944,10 +944,10 @@ class Redis(pulumi.CustomResource):
|
|
|
944
944
|
plan: Optional[pulumi.Input[str]] = None,
|
|
945
945
|
project: Optional[pulumi.Input[str]] = None,
|
|
946
946
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
947
|
-
redis: Optional[pulumi.Input[
|
|
948
|
-
redis_user_config: Optional[pulumi.Input[
|
|
947
|
+
redis: Optional[pulumi.Input[Union['RedisRedisArgs', 'RedisRedisArgsDict']]] = None,
|
|
948
|
+
redis_user_config: Optional[pulumi.Input[Union['RedisRedisUserConfigArgs', 'RedisRedisUserConfigArgsDict']]] = None,
|
|
949
949
|
service_host: Optional[pulumi.Input[str]] = None,
|
|
950
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
950
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RedisServiceIntegrationArgs', 'RedisServiceIntegrationArgsDict']]]]] = None,
|
|
951
951
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
952
952
|
service_password: Optional[pulumi.Input[str]] = None,
|
|
953
953
|
service_port: Optional[pulumi.Input[int]] = None,
|
|
@@ -956,8 +956,8 @@ class Redis(pulumi.CustomResource):
|
|
|
956
956
|
service_username: Optional[pulumi.Input[str]] = None,
|
|
957
957
|
state: Optional[pulumi.Input[str]] = None,
|
|
958
958
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
959
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
960
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
959
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RedisTagArgs', 'RedisTagArgsDict']]]]] = None,
|
|
960
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['RedisTechEmailArgs', 'RedisTechEmailArgsDict']]]]] = None,
|
|
961
961
|
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'Redis':
|
|
962
962
|
"""
|
|
963
963
|
Get an existing Redis resource's state with the given name, id, and optional extra
|
|
@@ -966,9 +966,9 @@ class Redis(pulumi.CustomResource):
|
|
|
966
966
|
:param str resource_name: The unique name of the resulting resource.
|
|
967
967
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
968
968
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
969
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
969
|
+
:param pulumi.Input[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 with no HA capabilities.
|
|
970
970
|
: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).
|
|
971
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
971
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['RedisComponentArgs', 'RedisComponentArgsDict']]]] components: Service component information objects
|
|
972
972
|
: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.
|
|
973
973
|
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
974
974
|
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
@@ -979,10 +979,10 @@ class Redis(pulumi.CustomResource):
|
|
|
979
979
|
: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).
|
|
980
980
|
: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.
|
|
981
981
|
: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.
|
|
982
|
-
:param pulumi.Input[
|
|
983
|
-
:param pulumi.Input[
|
|
982
|
+
:param pulumi.Input[Union['RedisRedisArgs', 'RedisRedisArgsDict']] redis: Redis server provided values
|
|
983
|
+
:param pulumi.Input[Union['RedisRedisUserConfigArgs', 'RedisRedisUserConfigArgsDict']] redis_user_config: Redis user configurable settings
|
|
984
984
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
985
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
985
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['RedisServiceIntegrationArgs', 'RedisServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
986
986
|
: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.
|
|
987
987
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
988
988
|
:param pulumi.Input[int] service_port: The port of the service
|
|
@@ -991,8 +991,8 @@ class Redis(pulumi.CustomResource):
|
|
|
991
991
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
992
992
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
993
993
|
: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
|
|
994
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
995
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
994
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['RedisTagArgs', 'RedisTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
995
|
+
: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.
|
|
996
996
|
: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.
|
|
997
997
|
"""
|
|
998
998
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1033,7 +1033,7 @@ class Redis(pulumi.CustomResource):
|
|
|
1033
1033
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1034
1034
|
def additional_disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1035
1035
|
"""
|
|
1036
|
-
|
|
1036
|
+
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 with no HA capabilities.
|
|
1037
1037
|
"""
|
|
1038
1038
|
return pulumi.get(self, "additional_disk_space")
|
|
1039
1039
|
|