pulumi-aiven 6.14.0a1714540524__py3-none-any.whl → 6.14.0a1714596828__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/_inputs.py +88 -150
- pulumi_aiven/account_authentication.py +2 -2
- pulumi_aiven/account_team_member.py +2 -2
- pulumi_aiven/aws_privatelink.py +14 -14
- pulumi_aiven/azure_privatelink.py +14 -14
- pulumi_aiven/azure_privatelink_connection_approval.py +14 -14
- pulumi_aiven/billing_group.py +18 -16
- pulumi_aiven/cassandra.py +16 -44
- pulumi_aiven/cassandra_user.py +16 -16
- pulumi_aiven/clickhouse.py +16 -44
- pulumi_aiven/clickhouse_database.py +16 -16
- pulumi_aiven/clickhouse_grant.py +14 -14
- pulumi_aiven/clickhouse_role.py +16 -16
- pulumi_aiven/clickhouse_user.py +14 -14
- pulumi_aiven/connection_pool.py +16 -16
- pulumi_aiven/dragonfly.py +124 -263
- pulumi_aiven/flink.py +16 -16
- pulumi_aiven/flink_application.py +16 -16
- pulumi_aiven/flink_application_deployment.py +21 -21
- pulumi_aiven/flink_application_version.py +14 -14
- pulumi_aiven/gcp_privatelink.py +21 -21
- pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
- pulumi_aiven/gcp_vpc_peering_connection.py +2 -2
- pulumi_aiven/get_aws_privatelink.py +6 -6
- pulumi_aiven/get_azure_privatelink.py +6 -6
- pulumi_aiven/get_billing_group.py +2 -2
- pulumi_aiven/get_cassanda.py +5 -18
- pulumi_aiven/get_cassandra.py +5 -18
- pulumi_aiven/get_cassandra_user.py +6 -6
- pulumi_aiven/get_clickhouse.py +5 -18
- pulumi_aiven/get_clickhouse_database.py +6 -6
- pulumi_aiven/get_clickhouse_user.py +6 -6
- pulumi_aiven/get_connection_pool.py +6 -6
- pulumi_aiven/get_dragonfly.py +27 -20
- pulumi_aiven/get_flink.py +4 -4
- pulumi_aiven/get_flink_application.py +6 -6
- pulumi_aiven/get_flink_application_version.py +6 -6
- pulumi_aiven/get_grafana.py +5 -18
- pulumi_aiven/get_kafka.py +13 -13
- pulumi_aiven/get_kafka_acl.py +6 -6
- pulumi_aiven/get_kafka_connect.py +5 -18
- pulumi_aiven/get_kafka_connector.py +6 -6
- pulumi_aiven/get_kafka_mirror_maker.py +5 -18
- pulumi_aiven/get_kafka_schema.py +6 -6
- pulumi_aiven/get_kafka_schema_configuration.py +6 -6
- pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
- pulumi_aiven/get_kafka_topic.py +16 -16
- pulumi_aiven/get_kafka_user.py +6 -6
- pulumi_aiven/get_m3_aggregator.py +5 -18
- pulumi_aiven/get_m3_db.py +5 -18
- pulumi_aiven/get_m3db_user.py +6 -6
- pulumi_aiven/get_mirror_maker_replication_flow.py +6 -6
- pulumi_aiven/get_my_sql.py +5 -18
- pulumi_aiven/get_mysql_database.py +6 -6
- pulumi_aiven/get_mysql_user.py +6 -6
- pulumi_aiven/get_open_search.py +4 -4
- pulumi_aiven/get_open_search_acl_config.py +6 -6
- pulumi_aiven/get_open_search_acl_rule.py +6 -6
- pulumi_aiven/get_opensearch_security_plugin_config.py +6 -6
- pulumi_aiven/get_opensearch_user.py +6 -6
- pulumi_aiven/get_pg.py +4 -4
- pulumi_aiven/get_pg_database.py +6 -6
- pulumi_aiven/get_pg_user.py +6 -6
- pulumi_aiven/get_project.py +17 -17
- pulumi_aiven/get_project_user.py +7 -7
- pulumi_aiven/get_redis.py +5 -18
- pulumi_aiven/get_redis_user.py +6 -6
- pulumi_aiven/get_service_integration.py +19 -29
- pulumi_aiven/grafana.py +78 -261
- pulumi_aiven/influx_db.py +21 -21
- pulumi_aiven/influxdb_database.py +21 -21
- pulumi_aiven/influxdb_user.py +21 -21
- pulumi_aiven/kafka.py +43 -43
- pulumi_aiven/kafka_acl.py +16 -16
- pulumi_aiven/kafka_connect.py +78 -261
- pulumi_aiven/kafka_connector.py +14 -14
- pulumi_aiven/kafka_mirror_maker.py +78 -261
- pulumi_aiven/kafka_schema.py +14 -14
- pulumi_aiven/kafka_schema_configuration.py +16 -16
- pulumi_aiven/kafka_schema_registry_acl.py +54 -14
- pulumi_aiven/kafka_topic.py +54 -54
- pulumi_aiven/kafka_user.py +16 -16
- pulumi_aiven/m3_aggregator.py +78 -261
- pulumi_aiven/m3_db.py +78 -261
- pulumi_aiven/m3db_user.py +14 -14
- pulumi_aiven/mirror_maker_replication_flow.py +14 -14
- pulumi_aiven/my_sql.py +78 -261
- pulumi_aiven/mysql_database.py +16 -16
- pulumi_aiven/mysql_user.py +16 -16
- pulumi_aiven/open_search.py +14 -14
- pulumi_aiven/open_search_acl_config.py +16 -20
- pulumi_aiven/open_search_acl_rule.py +16 -16
- pulumi_aiven/opensearch_security_plugin_config.py +16 -16
- pulumi_aiven/opensearch_user.py +16 -16
- pulumi_aiven/organization_group_project.py +20 -6
- pulumi_aiven/organization_user.py +2 -20
- pulumi_aiven/outputs.py +147 -266
- pulumi_aiven/pg.py +16 -16
- pulumi_aiven/pg_database.py +16 -16
- pulumi_aiven/pg_user.py +16 -16
- pulumi_aiven/project.py +71 -71
- pulumi_aiven/project_user.py +22 -22
- pulumi_aiven/project_vpc.py +7 -7
- pulumi_aiven/redis.py +78 -261
- pulumi_aiven/redis_user.py +16 -16
- pulumi_aiven/service_integration.py +54 -54
- pulumi_aiven/static_ip.py +7 -7
- pulumi_aiven/transit_gateway_vpc_attachment.py +2 -2
- {pulumi_aiven-6.14.0a1714540524.dist-info → pulumi_aiven-6.14.0a1714596828.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0a1714596828.dist-info/RECORD +150 -0
- pulumi_aiven-6.14.0a1714540524.dist-info/RECORD +0 -150
- {pulumi_aiven-6.14.0a1714540524.dist-info → pulumi_aiven-6.14.0a1714596828.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.14.0a1714540524.dist-info → pulumi_aiven-6.14.0a1714596828.dist-info}/top_level.txt +0 -0
pulumi_aiven/dragonfly.py
CHANGED
|
@@ -33,42 +33,21 @@ class DragonflyArgs:
|
|
|
33
33
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
34
34
|
"""
|
|
35
35
|
The set of arguments for constructing a Dragonfly resource.
|
|
36
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
43
|
-
reference. Changing this property forces recreation of the resource.
|
|
44
|
-
: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
|
|
45
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
46
|
-
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
47
|
-
reducing will result in the service rebalancing.
|
|
48
|
-
: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
|
|
49
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
50
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
51
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
52
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
53
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
54
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
55
|
-
will result in the service rebalancing.
|
|
36
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
37
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
38
|
+
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
39
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
40
|
+
: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).
|
|
41
|
+
: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.
|
|
56
42
|
:param pulumi.Input['DragonflyDragonflyUserConfigArgs'] dragonfly_user_config: Dragonfly user configurable settings
|
|
57
43
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
58
44
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
59
|
-
: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
|
|
60
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
61
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
62
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
45
|
+
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
63
46
|
:param pulumi.Input[Sequence[pulumi.Input['DragonflyServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
64
|
-
: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
|
|
65
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
47
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
66
48
|
:param pulumi.Input[Sequence[pulumi.Input['DragonflyTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
67
|
-
:param pulumi.Input[Sequence[pulumi.Input['DragonflyTechEmailArgs']]] tech_emails:
|
|
68
|
-
|
|
69
|
-
: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
|
|
70
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
71
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
49
|
+
:param pulumi.Input[Sequence[pulumi.Input['DragonflyTechEmailArgs']]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
50
|
+
: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.
|
|
72
51
|
"""
|
|
73
52
|
pulumi.set(__self__, "plan", plan)
|
|
74
53
|
pulumi.set(__self__, "project", project)
|
|
@@ -105,12 +84,7 @@ class DragonflyArgs:
|
|
|
105
84
|
@pulumi.getter
|
|
106
85
|
def plan(self) -> pulumi.Input[str]:
|
|
107
86
|
"""
|
|
108
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
109
|
-
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
110
|
-
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
111
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
112
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
113
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
87
|
+
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).
|
|
114
88
|
"""
|
|
115
89
|
return pulumi.get(self, "plan")
|
|
116
90
|
|
|
@@ -122,8 +96,7 @@ class DragonflyArgs:
|
|
|
122
96
|
@pulumi.getter
|
|
123
97
|
def project(self) -> pulumi.Input[str]:
|
|
124
98
|
"""
|
|
125
|
-
|
|
126
|
-
reference. Changing this property forces recreation of the resource.
|
|
99
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
127
100
|
"""
|
|
128
101
|
return pulumi.get(self, "project")
|
|
129
102
|
|
|
@@ -135,8 +108,7 @@ class DragonflyArgs:
|
|
|
135
108
|
@pulumi.getter(name="serviceName")
|
|
136
109
|
def service_name(self) -> pulumi.Input[str]:
|
|
137
110
|
"""
|
|
138
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
139
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
111
|
+
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.
|
|
140
112
|
"""
|
|
141
113
|
return pulumi.get(self, "service_name")
|
|
142
114
|
|
|
@@ -148,8 +120,7 @@ class DragonflyArgs:
|
|
|
148
120
|
@pulumi.getter(name="additionalDiskSpace")
|
|
149
121
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
150
122
|
"""
|
|
151
|
-
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
152
|
-
reducing will result in the service rebalancing.
|
|
123
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
153
124
|
"""
|
|
154
125
|
return pulumi.get(self, "additional_disk_space")
|
|
155
126
|
|
|
@@ -161,12 +132,7 @@ class DragonflyArgs:
|
|
|
161
132
|
@pulumi.getter(name="cloudName")
|
|
162
133
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
163
134
|
"""
|
|
164
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
165
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
166
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
167
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
168
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
169
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
135
|
+
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).
|
|
170
136
|
"""
|
|
171
137
|
return pulumi.get(self, "cloud_name")
|
|
172
138
|
|
|
@@ -178,8 +144,7 @@ class DragonflyArgs:
|
|
|
178
144
|
@pulumi.getter(name="diskSpace")
|
|
179
145
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
180
146
|
"""
|
|
181
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
182
|
-
will result in the service rebalancing.
|
|
147
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
183
148
|
"""
|
|
184
149
|
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
185
150
|
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
@@ -230,10 +195,7 @@ class DragonflyArgs:
|
|
|
230
195
|
@pulumi.getter(name="projectVpcId")
|
|
231
196
|
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
232
197
|
"""
|
|
233
|
-
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
|
|
234
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
235
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
236
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
198
|
+
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.
|
|
237
199
|
"""
|
|
238
200
|
return pulumi.get(self, "project_vpc_id")
|
|
239
201
|
|
|
@@ -257,8 +219,7 @@ class DragonflyArgs:
|
|
|
257
219
|
@pulumi.getter(name="staticIps")
|
|
258
220
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
259
221
|
"""
|
|
260
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
261
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
222
|
+
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
262
223
|
"""
|
|
263
224
|
return pulumi.get(self, "static_ips")
|
|
264
225
|
|
|
@@ -282,8 +243,7 @@ class DragonflyArgs:
|
|
|
282
243
|
@pulumi.getter(name="techEmails")
|
|
283
244
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DragonflyTechEmailArgs']]]]:
|
|
284
245
|
"""
|
|
285
|
-
|
|
286
|
-
instability.
|
|
246
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
287
247
|
"""
|
|
288
248
|
return pulumi.get(self, "tech_emails")
|
|
289
249
|
|
|
@@ -295,9 +255,7 @@ class DragonflyArgs:
|
|
|
295
255
|
@pulumi.getter(name="terminationProtection")
|
|
296
256
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
297
257
|
"""
|
|
298
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
299
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
300
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
258
|
+
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.
|
|
301
259
|
"""
|
|
302
260
|
return pulumi.get(self, "termination_protection")
|
|
303
261
|
|
|
@@ -317,7 +275,6 @@ class _DragonflyState:
|
|
|
317
275
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
318
276
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
319
277
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
320
|
-
dragonflies: Optional[pulumi.Input[Sequence[pulumi.Input['DragonflyDragonflyArgs']]]] = None,
|
|
321
278
|
dragonfly_user_config: Optional[pulumi.Input['DragonflyDragonflyUserConfigArgs']] = None,
|
|
322
279
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
323
280
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
@@ -339,57 +296,33 @@ class _DragonflyState:
|
|
|
339
296
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
340
297
|
"""
|
|
341
298
|
Input properties used for looking up and filtering Dragonfly resources.
|
|
342
|
-
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
343
|
-
|
|
344
|
-
: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
|
|
345
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
346
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
347
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
348
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
349
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
299
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
300
|
+
: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).
|
|
350
301
|
:param pulumi.Input[Sequence[pulumi.Input['DragonflyComponentArgs']]] components: Service component information objects
|
|
351
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
352
|
-
will result in the service rebalancing.
|
|
302
|
+
: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.
|
|
353
303
|
: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.
|
|
354
|
-
: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.
|
|
355
|
-
|
|
356
|
-
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
357
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
304
|
+
: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`
|
|
305
|
+
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
358
306
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
359
|
-
:param pulumi.Input[Sequence[pulumi.Input['DragonflyDragonflyArgs']]] dragonflies: Dragonfly server provided values
|
|
360
307
|
:param pulumi.Input['DragonflyDragonflyUserConfigArgs'] dragonfly_user_config: Dragonfly user configurable settings
|
|
361
308
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
362
309
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
363
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
367
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
368
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
369
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
370
|
-
reference. Changing this property forces recreation of the resource.
|
|
371
|
-
: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
|
|
372
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
373
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
374
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
310
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
311
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
312
|
+
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
375
313
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
376
314
|
:param pulumi.Input[Sequence[pulumi.Input['DragonflyServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
377
|
-
: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
|
|
378
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
315
|
+
: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.
|
|
379
316
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
380
317
|
:param pulumi.Input[int] service_port: The port of the service
|
|
381
318
|
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
382
319
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
383
320
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
384
321
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
385
|
-
: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
|
|
386
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
322
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
387
323
|
:param pulumi.Input[Sequence[pulumi.Input['DragonflyTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
388
|
-
:param pulumi.Input[Sequence[pulumi.Input['DragonflyTechEmailArgs']]] tech_emails:
|
|
389
|
-
|
|
390
|
-
: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
|
|
391
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
392
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
324
|
+
:param pulumi.Input[Sequence[pulumi.Input['DragonflyTechEmailArgs']]] 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.
|
|
325
|
+
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
393
326
|
"""
|
|
394
327
|
if additional_disk_space is not None:
|
|
395
328
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -410,8 +343,6 @@ class _DragonflyState:
|
|
|
410
343
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
411
344
|
if disk_space_used is not None:
|
|
412
345
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
413
|
-
if dragonflies is not None:
|
|
414
|
-
pulumi.set(__self__, "dragonflies", dragonflies)
|
|
415
346
|
if dragonfly_user_config is not None:
|
|
416
347
|
pulumi.set(__self__, "dragonfly_user_config", dragonfly_user_config)
|
|
417
348
|
if maintenance_window_dow is not None:
|
|
@@ -455,8 +386,7 @@ class _DragonflyState:
|
|
|
455
386
|
@pulumi.getter(name="additionalDiskSpace")
|
|
456
387
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
457
388
|
"""
|
|
458
|
-
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
459
|
-
reducing will result in the service rebalancing.
|
|
389
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
460
390
|
"""
|
|
461
391
|
return pulumi.get(self, "additional_disk_space")
|
|
462
392
|
|
|
@@ -468,12 +398,7 @@ class _DragonflyState:
|
|
|
468
398
|
@pulumi.getter(name="cloudName")
|
|
469
399
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
470
400
|
"""
|
|
471
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
472
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
473
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
474
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
475
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
476
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
401
|
+
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).
|
|
477
402
|
"""
|
|
478
403
|
return pulumi.get(self, "cloud_name")
|
|
479
404
|
|
|
@@ -497,8 +422,7 @@ class _DragonflyState:
|
|
|
497
422
|
@pulumi.getter(name="diskSpace")
|
|
498
423
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
499
424
|
"""
|
|
500
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
501
|
-
will result in the service rebalancing.
|
|
425
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
502
426
|
"""
|
|
503
427
|
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
504
428
|
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
@@ -525,8 +449,7 @@ class _DragonflyState:
|
|
|
525
449
|
@pulumi.getter(name="diskSpaceDefault")
|
|
526
450
|
def disk_space_default(self) -> Optional[pulumi.Input[str]]:
|
|
527
451
|
"""
|
|
528
|
-
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
529
|
-
Its also the minimum value for `disk_space`
|
|
452
|
+
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`
|
|
530
453
|
"""
|
|
531
454
|
return pulumi.get(self, "disk_space_default")
|
|
532
455
|
|
|
@@ -538,8 +461,7 @@ class _DragonflyState:
|
|
|
538
461
|
@pulumi.getter(name="diskSpaceStep")
|
|
539
462
|
def disk_space_step(self) -> Optional[pulumi.Input[str]]:
|
|
540
463
|
"""
|
|
541
|
-
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
542
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
464
|
+
The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
543
465
|
"""
|
|
544
466
|
return pulumi.get(self, "disk_space_step")
|
|
545
467
|
|
|
@@ -559,18 +481,6 @@ class _DragonflyState:
|
|
|
559
481
|
def disk_space_used(self, value: Optional[pulumi.Input[str]]):
|
|
560
482
|
pulumi.set(self, "disk_space_used", value)
|
|
561
483
|
|
|
562
|
-
@property
|
|
563
|
-
@pulumi.getter
|
|
564
|
-
def dragonflies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DragonflyDragonflyArgs']]]]:
|
|
565
|
-
"""
|
|
566
|
-
Dragonfly server provided values
|
|
567
|
-
"""
|
|
568
|
-
return pulumi.get(self, "dragonflies")
|
|
569
|
-
|
|
570
|
-
@dragonflies.setter
|
|
571
|
-
def dragonflies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DragonflyDragonflyArgs']]]]):
|
|
572
|
-
pulumi.set(self, "dragonflies", value)
|
|
573
|
-
|
|
574
484
|
@property
|
|
575
485
|
@pulumi.getter(name="dragonflyUserConfig")
|
|
576
486
|
def dragonfly_user_config(self) -> Optional[pulumi.Input['DragonflyDragonflyUserConfigArgs']]:
|
|
@@ -611,12 +521,7 @@ class _DragonflyState:
|
|
|
611
521
|
@pulumi.getter
|
|
612
522
|
def plan(self) -> Optional[pulumi.Input[str]]:
|
|
613
523
|
"""
|
|
614
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
615
|
-
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
616
|
-
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
617
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
618
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
619
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
524
|
+
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).
|
|
620
525
|
"""
|
|
621
526
|
return pulumi.get(self, "plan")
|
|
622
527
|
|
|
@@ -628,8 +533,7 @@ class _DragonflyState:
|
|
|
628
533
|
@pulumi.getter
|
|
629
534
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
630
535
|
"""
|
|
631
|
-
|
|
632
|
-
reference. Changing this property forces recreation of the resource.
|
|
536
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
633
537
|
"""
|
|
634
538
|
return pulumi.get(self, "project")
|
|
635
539
|
|
|
@@ -641,10 +545,7 @@ class _DragonflyState:
|
|
|
641
545
|
@pulumi.getter(name="projectVpcId")
|
|
642
546
|
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
643
547
|
"""
|
|
644
|
-
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
|
|
645
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
646
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
647
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
548
|
+
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.
|
|
648
549
|
"""
|
|
649
550
|
return pulumi.get(self, "project_vpc_id")
|
|
650
551
|
|
|
@@ -680,8 +581,7 @@ class _DragonflyState:
|
|
|
680
581
|
@pulumi.getter(name="serviceName")
|
|
681
582
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
682
583
|
"""
|
|
683
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
684
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
584
|
+
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.
|
|
685
585
|
"""
|
|
686
586
|
return pulumi.get(self, "service_name")
|
|
687
587
|
|
|
@@ -765,8 +665,7 @@ class _DragonflyState:
|
|
|
765
665
|
@pulumi.getter(name="staticIps")
|
|
766
666
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
767
667
|
"""
|
|
768
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
769
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
668
|
+
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
|
|
770
669
|
"""
|
|
771
670
|
return pulumi.get(self, "static_ips")
|
|
772
671
|
|
|
@@ -790,8 +689,7 @@ class _DragonflyState:
|
|
|
790
689
|
@pulumi.getter(name="techEmails")
|
|
791
690
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DragonflyTechEmailArgs']]]]:
|
|
792
691
|
"""
|
|
793
|
-
|
|
794
|
-
instability.
|
|
692
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
795
693
|
"""
|
|
796
694
|
return pulumi.get(self, "tech_emails")
|
|
797
695
|
|
|
@@ -803,9 +701,7 @@ class _DragonflyState:
|
|
|
803
701
|
@pulumi.getter(name="terminationProtection")
|
|
804
702
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
805
703
|
"""
|
|
806
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
807
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
808
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
704
|
+
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.
|
|
809
705
|
"""
|
|
810
706
|
return pulumi.get(self, "termination_protection")
|
|
811
707
|
|
|
@@ -836,46 +732,47 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
836
732
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
837
733
|
__props__=None):
|
|
838
734
|
"""
|
|
839
|
-
|
|
735
|
+
Creates and manages an [Aiven for Dragonfly®](https://aiven.io/docs/products/dragonfly/concepts/overview) service.
|
|
736
|
+
|
|
737
|
+
## Example Usage
|
|
738
|
+
|
|
739
|
+
```python
|
|
740
|
+
import pulumi
|
|
741
|
+
import pulumi_aiven as aiven
|
|
742
|
+
|
|
743
|
+
example_dragonfly = aiven.Dragonfly("example_dragonfly",
|
|
744
|
+
project=example_project["project"],
|
|
745
|
+
plan="startup-4",
|
|
746
|
+
cloud_name="google-europe-west1",
|
|
747
|
+
service_name="example-dragonfly-service",
|
|
748
|
+
dragonfly_user_config=aiven.DragonflyDragonflyUserConfigArgs(
|
|
749
|
+
cache_mode=True,
|
|
750
|
+
))
|
|
751
|
+
```
|
|
752
|
+
|
|
753
|
+
## Import
|
|
754
|
+
|
|
755
|
+
```sh
|
|
756
|
+
$ pulumi import aiven:index/dragonfly:Dragonfly example_dragonfly PROJECT/SERVICE_NAME
|
|
757
|
+
```
|
|
840
758
|
|
|
841
759
|
:param str resource_name: The name of the resource.
|
|
842
760
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
843
|
-
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
844
|
-
|
|
845
|
-
:param pulumi.Input[str]
|
|
846
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
847
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
848
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
849
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
850
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
851
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
852
|
-
will result in the service rebalancing.
|
|
761
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
762
|
+
: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).
|
|
763
|
+
: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.
|
|
853
764
|
:param pulumi.Input[pulumi.InputType['DragonflyDragonflyUserConfigArgs']] dragonfly_user_config: Dragonfly user configurable settings
|
|
854
765
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
855
766
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
856
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
860
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
861
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
862
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
863
|
-
reference. Changing this property forces recreation of the resource.
|
|
864
|
-
: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
|
|
865
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
866
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
867
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
767
|
+
: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).
|
|
768
|
+
: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.
|
|
769
|
+
: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.
|
|
868
770
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DragonflyServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
869
|
-
: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
|
|
870
|
-
|
|
871
|
-
: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
|
|
872
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
771
|
+
: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.
|
|
772
|
+
: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
|
|
873
773
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DragonflyTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
874
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DragonflyTechEmailArgs']]]] tech_emails:
|
|
875
|
-
|
|
876
|
-
: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
|
|
877
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
878
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
774
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DragonflyTechEmailArgs']]]] 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.
|
|
775
|
+
: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.
|
|
879
776
|
"""
|
|
880
777
|
...
|
|
881
778
|
@overload
|
|
@@ -884,7 +781,29 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
884
781
|
args: DragonflyArgs,
|
|
885
782
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
886
783
|
"""
|
|
887
|
-
|
|
784
|
+
Creates and manages an [Aiven for Dragonfly®](https://aiven.io/docs/products/dragonfly/concepts/overview) service.
|
|
785
|
+
|
|
786
|
+
## Example Usage
|
|
787
|
+
|
|
788
|
+
```python
|
|
789
|
+
import pulumi
|
|
790
|
+
import pulumi_aiven as aiven
|
|
791
|
+
|
|
792
|
+
example_dragonfly = aiven.Dragonfly("example_dragonfly",
|
|
793
|
+
project=example_project["project"],
|
|
794
|
+
plan="startup-4",
|
|
795
|
+
cloud_name="google-europe-west1",
|
|
796
|
+
service_name="example-dragonfly-service",
|
|
797
|
+
dragonfly_user_config=aiven.DragonflyDragonflyUserConfigArgs(
|
|
798
|
+
cache_mode=True,
|
|
799
|
+
))
|
|
800
|
+
```
|
|
801
|
+
|
|
802
|
+
## Import
|
|
803
|
+
|
|
804
|
+
```sh
|
|
805
|
+
$ pulumi import aiven:index/dragonfly:Dragonfly example_dragonfly PROJECT/SERVICE_NAME
|
|
806
|
+
```
|
|
888
807
|
|
|
889
808
|
:param str resource_name: The name of the resource.
|
|
890
809
|
:param DragonflyArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -951,7 +870,6 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
951
870
|
__props__.__dict__["disk_space_default"] = None
|
|
952
871
|
__props__.__dict__["disk_space_step"] = None
|
|
953
872
|
__props__.__dict__["disk_space_used"] = None
|
|
954
|
-
__props__.__dict__["dragonflies"] = None
|
|
955
873
|
__props__.__dict__["service_host"] = None
|
|
956
874
|
__props__.__dict__["service_password"] = None
|
|
957
875
|
__props__.__dict__["service_port"] = None
|
|
@@ -979,7 +897,6 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
979
897
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
980
898
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
981
899
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
982
|
-
dragonflies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DragonflyDragonflyArgs']]]]] = None,
|
|
983
900
|
dragonfly_user_config: Optional[pulumi.Input[pulumi.InputType['DragonflyDragonflyUserConfigArgs']]] = None,
|
|
984
901
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
985
902
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
@@ -1006,57 +923,33 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1006
923
|
:param str resource_name: The unique name of the resulting resource.
|
|
1007
924
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1008
925
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1009
|
-
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
1010
|
-
|
|
1011
|
-
: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
|
|
1012
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
1013
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
1014
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
1015
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
1016
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
926
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
927
|
+
: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).
|
|
1017
928
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DragonflyComponentArgs']]]] components: Service component information objects
|
|
1018
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1019
|
-
will result in the service rebalancing.
|
|
929
|
+
: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.
|
|
1020
930
|
: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.
|
|
1021
|
-
: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.
|
|
1022
|
-
|
|
1023
|
-
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
1024
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
931
|
+
: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`
|
|
932
|
+
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1025
933
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
1026
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DragonflyDragonflyArgs']]]] dragonflies: Dragonfly server provided values
|
|
1027
934
|
:param pulumi.Input[pulumi.InputType['DragonflyDragonflyUserConfigArgs']] dragonfly_user_config: Dragonfly user configurable settings
|
|
1028
935
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1029
936
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1030
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
1034
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1035
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1036
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
1037
|
-
reference. Changing this property forces recreation of the resource.
|
|
1038
|
-
: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
|
|
1039
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
1040
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
1041
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
937
|
+
: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).
|
|
938
|
+
: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.
|
|
939
|
+
: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.
|
|
1042
940
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
1043
941
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DragonflyServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1044
|
-
: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
|
|
1045
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
942
|
+
: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.
|
|
1046
943
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
1047
944
|
:param pulumi.Input[int] service_port: The port of the service
|
|
1048
945
|
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
1049
946
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1050
947
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
1051
948
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1052
|
-
: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
|
|
1053
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
949
|
+
: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
|
|
1054
950
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DragonflyTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1055
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DragonflyTechEmailArgs']]]] tech_emails:
|
|
1056
|
-
|
|
1057
|
-
: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
|
|
1058
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
1059
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
951
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DragonflyTechEmailArgs']]]] 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.
|
|
952
|
+
: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.
|
|
1060
953
|
"""
|
|
1061
954
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1062
955
|
|
|
@@ -1070,7 +963,6 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1070
963
|
__props__.__dict__["disk_space_default"] = disk_space_default
|
|
1071
964
|
__props__.__dict__["disk_space_step"] = disk_space_step
|
|
1072
965
|
__props__.__dict__["disk_space_used"] = disk_space_used
|
|
1073
|
-
__props__.__dict__["dragonflies"] = dragonflies
|
|
1074
966
|
__props__.__dict__["dragonfly_user_config"] = dragonfly_user_config
|
|
1075
967
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
1076
968
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
@@ -1096,8 +988,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1096
988
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1097
989
|
def additional_disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1098
990
|
"""
|
|
1099
|
-
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
1100
|
-
reducing will result in the service rebalancing.
|
|
991
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1101
992
|
"""
|
|
1102
993
|
return pulumi.get(self, "additional_disk_space")
|
|
1103
994
|
|
|
@@ -1105,12 +996,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1105
996
|
@pulumi.getter(name="cloudName")
|
|
1106
997
|
def cloud_name(self) -> pulumi.Output[Optional[str]]:
|
|
1107
998
|
"""
|
|
1108
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
1109
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
1110
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
1111
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
1112
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
1113
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
999
|
+
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).
|
|
1114
1000
|
"""
|
|
1115
1001
|
return pulumi.get(self, "cloud_name")
|
|
1116
1002
|
|
|
@@ -1126,8 +1012,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1126
1012
|
@pulumi.getter(name="diskSpace")
|
|
1127
1013
|
def disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1128
1014
|
"""
|
|
1129
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1130
|
-
will result in the service rebalancing.
|
|
1015
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1131
1016
|
"""
|
|
1132
1017
|
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
1133
1018
|
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
@@ -1146,8 +1031,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1146
1031
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1147
1032
|
def disk_space_default(self) -> pulumi.Output[str]:
|
|
1148
1033
|
"""
|
|
1149
|
-
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1150
|
-
Its also the minimum value for `disk_space`
|
|
1034
|
+
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`
|
|
1151
1035
|
"""
|
|
1152
1036
|
return pulumi.get(self, "disk_space_default")
|
|
1153
1037
|
|
|
@@ -1155,8 +1039,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1155
1039
|
@pulumi.getter(name="diskSpaceStep")
|
|
1156
1040
|
def disk_space_step(self) -> pulumi.Output[str]:
|
|
1157
1041
|
"""
|
|
1158
|
-
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
1159
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1042
|
+
The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1160
1043
|
"""
|
|
1161
1044
|
return pulumi.get(self, "disk_space_step")
|
|
1162
1045
|
|
|
@@ -1168,14 +1051,6 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1168
1051
|
"""
|
|
1169
1052
|
return pulumi.get(self, "disk_space_used")
|
|
1170
1053
|
|
|
1171
|
-
@property
|
|
1172
|
-
@pulumi.getter
|
|
1173
|
-
def dragonflies(self) -> pulumi.Output[Sequence['outputs.DragonflyDragonfly']]:
|
|
1174
|
-
"""
|
|
1175
|
-
Dragonfly server provided values
|
|
1176
|
-
"""
|
|
1177
|
-
return pulumi.get(self, "dragonflies")
|
|
1178
|
-
|
|
1179
1054
|
@property
|
|
1180
1055
|
@pulumi.getter(name="dragonflyUserConfig")
|
|
1181
1056
|
def dragonfly_user_config(self) -> pulumi.Output[Optional['outputs.DragonflyDragonflyUserConfig']]:
|
|
@@ -1204,12 +1079,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1204
1079
|
@pulumi.getter
|
|
1205
1080
|
def plan(self) -> pulumi.Output[str]:
|
|
1206
1081
|
"""
|
|
1207
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
1208
|
-
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
1209
|
-
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
1210
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
1211
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1212
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1082
|
+
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).
|
|
1213
1083
|
"""
|
|
1214
1084
|
return pulumi.get(self, "plan")
|
|
1215
1085
|
|
|
@@ -1217,8 +1087,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1217
1087
|
@pulumi.getter
|
|
1218
1088
|
def project(self) -> pulumi.Output[str]:
|
|
1219
1089
|
"""
|
|
1220
|
-
|
|
1221
|
-
reference. Changing this property forces recreation of the resource.
|
|
1090
|
+
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.
|
|
1222
1091
|
"""
|
|
1223
1092
|
return pulumi.get(self, "project")
|
|
1224
1093
|
|
|
@@ -1226,10 +1095,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1226
1095
|
@pulumi.getter(name="projectVpcId")
|
|
1227
1096
|
def project_vpc_id(self) -> pulumi.Output[Optional[str]]:
|
|
1228
1097
|
"""
|
|
1229
|
-
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
|
|
1230
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
1231
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
1232
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1098
|
+
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.
|
|
1233
1099
|
"""
|
|
1234
1100
|
return pulumi.get(self, "project_vpc_id")
|
|
1235
1101
|
|
|
@@ -1253,8 +1119,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1253
1119
|
@pulumi.getter(name="serviceName")
|
|
1254
1120
|
def service_name(self) -> pulumi.Output[str]:
|
|
1255
1121
|
"""
|
|
1256
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
1257
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
1122
|
+
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.
|
|
1258
1123
|
"""
|
|
1259
1124
|
return pulumi.get(self, "service_name")
|
|
1260
1125
|
|
|
@@ -1310,8 +1175,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1310
1175
|
@pulumi.getter(name="staticIps")
|
|
1311
1176
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1312
1177
|
"""
|
|
1313
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
1314
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1178
|
+
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
|
|
1315
1179
|
"""
|
|
1316
1180
|
return pulumi.get(self, "static_ips")
|
|
1317
1181
|
|
|
@@ -1327,8 +1191,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1327
1191
|
@pulumi.getter(name="techEmails")
|
|
1328
1192
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.DragonflyTechEmail']]]:
|
|
1329
1193
|
"""
|
|
1330
|
-
|
|
1331
|
-
instability.
|
|
1194
|
+
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.
|
|
1332
1195
|
"""
|
|
1333
1196
|
return pulumi.get(self, "tech_emails")
|
|
1334
1197
|
|
|
@@ -1336,9 +1199,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1336
1199
|
@pulumi.getter(name="terminationProtection")
|
|
1337
1200
|
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
1338
1201
|
"""
|
|
1339
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
1340
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
1341
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1202
|
+
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.
|
|
1342
1203
|
"""
|
|
1343
1204
|
return pulumi.get(self, "termination_protection")
|
|
1344
1205
|
|