pulumi-aiven 6.14.0__py3-none-any.whl → 6.14.0a1711516617__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 +262 -200
- pulumi_aiven/account.py +6 -2
- pulumi_aiven/account_authentication.py +2 -2
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +10 -6
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +22 -18
- pulumi_aiven/aws_vpc_peering_connection.py +12 -8
- pulumi_aiven/azure_privatelink.py +22 -18
- pulumi_aiven/azure_privatelink_connection_approval.py +14 -112
- pulumi_aiven/azure_vpc_peering_connection.py +10 -6
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +57 -25
- pulumi_aiven/cassandra_user.py +22 -18
- pulumi_aiven/clickhouse.py +57 -25
- pulumi_aiven/clickhouse_database.py +26 -24
- pulumi_aiven/clickhouse_grant.py +37 -35
- pulumi_aiven/clickhouse_role.py +20 -16
- pulumi_aiven/clickhouse_user.py +22 -18
- pulumi_aiven/connection_pool.py +28 -24
- pulumi_aiven/dragonfly.py +263 -124
- pulumi_aiven/flink.py +36 -32
- pulumi_aiven/flink_application.py +24 -22
- pulumi_aiven/flink_application_deployment.py +21 -21
- pulumi_aiven/flink_application_version.py +14 -96
- pulumi_aiven/gcp_privatelink.py +21 -21
- pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
- pulumi_aiven/gcp_vpc_peering_connection.py +8 -4
- pulumi_aiven/get_account.py +4 -0
- pulumi_aiven/get_aws_privatelink.py +14 -10
- pulumi_aiven/get_aws_vpc_peering_connection.py +10 -6
- pulumi_aiven/get_azure_privatelink.py +14 -10
- pulumi_aiven/get_azure_vpc_peering_connection.py +6 -2
- pulumi_aiven/get_billing_group.py +2 -2
- pulumi_aiven/get_cassanda.py +24 -7
- pulumi_aiven/get_cassandra.py +24 -7
- pulumi_aiven/get_cassandra_user.py +14 -10
- pulumi_aiven/get_clickhouse.py +24 -7
- pulumi_aiven/get_clickhouse_database.py +14 -10
- pulumi_aiven/get_clickhouse_user.py +14 -10
- pulumi_aiven/get_connection_pool.py +14 -10
- pulumi_aiven/get_dragonfly.py +20 -27
- pulumi_aiven/get_flink.py +10 -6
- pulumi_aiven/get_flink_application.py +12 -8
- pulumi_aiven/get_flink_application_version.py +12 -8
- pulumi_aiven/get_gcp_vpc_peering_connection.py +6 -2
- pulumi_aiven/get_grafana.py +24 -7
- pulumi_aiven/get_kafka.py +17 -13
- pulumi_aiven/get_kafka_acl.py +14 -10
- pulumi_aiven/get_kafka_connect.py +24 -7
- pulumi_aiven/get_kafka_connector.py +14 -10
- pulumi_aiven/get_kafka_mirror_maker.py +24 -7
- pulumi_aiven/get_kafka_schema.py +14 -10
- pulumi_aiven/get_kafka_schema_configuration.py +14 -10
- pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
- pulumi_aiven/get_kafka_topic.py +20 -16
- pulumi_aiven/get_kafka_user.py +14 -10
- pulumi_aiven/get_m3_aggregator.py +24 -7
- pulumi_aiven/get_m3_db.py +24 -7
- pulumi_aiven/get_m3db_user.py +14 -10
- pulumi_aiven/get_mirror_maker_replication_flow.py +18 -14
- pulumi_aiven/get_my_sql.py +24 -7
- pulumi_aiven/get_mysql_database.py +14 -10
- pulumi_aiven/get_mysql_user.py +14 -10
- pulumi_aiven/get_open_search.py +10 -6
- pulumi_aiven/get_open_search_acl_config.py +14 -10
- pulumi_aiven/get_open_search_acl_rule.py +14 -10
- pulumi_aiven/get_opensearch_security_plugin_config.py +14 -10
- pulumi_aiven/get_opensearch_user.py +14 -10
- pulumi_aiven/get_organization.py +4 -0
- pulumi_aiven/get_organization_user_group.py +6 -2
- pulumi_aiven/get_pg.py +10 -6
- pulumi_aiven/get_pg_database.py +14 -10
- pulumi_aiven/get_pg_user.py +14 -10
- pulumi_aiven/get_project.py +21 -17
- pulumi_aiven/get_project_user.py +13 -9
- pulumi_aiven/get_project_vpc.py +6 -2
- pulumi_aiven/get_redis.py +24 -7
- pulumi_aiven/get_redis_user.py +14 -10
- pulumi_aiven/get_service_component.py +8 -4
- pulumi_aiven/get_service_integration.py +33 -19
- pulumi_aiven/get_service_integration_endpoint.py +6 -2
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +6 -2
- pulumi_aiven/grafana.py +267 -82
- 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 +54 -50
- pulumi_aiven/kafka_acl.py +24 -20
- pulumi_aiven/kafka_connect.py +267 -80
- pulumi_aiven/kafka_connector.py +30 -26
- pulumi_aiven/kafka_mirror_maker.py +267 -80
- pulumi_aiven/kafka_schema.py +22 -18
- pulumi_aiven/kafka_schema_configuration.py +24 -20
- pulumi_aiven/kafka_schema_registry_acl.py +14 -54
- pulumi_aiven/kafka_topic.py +46 -84
- pulumi_aiven/kafka_user.py +22 -18
- pulumi_aiven/m3_aggregator.py +267 -80
- pulumi_aiven/m3_db.py +267 -80
- pulumi_aiven/m3db_user.py +20 -16
- pulumi_aiven/mirror_maker_replication_flow.py +26 -22
- pulumi_aiven/my_sql.py +267 -80
- pulumi_aiven/mysql_database.py +24 -20
- pulumi_aiven/mysql_user.py +22 -18
- pulumi_aiven/open_search.py +31 -27
- pulumi_aiven/open_search_acl_config.py +36 -28
- pulumi_aiven/open_search_acl_rule.py +40 -36
- pulumi_aiven/opensearch_security_plugin_config.py +32 -28
- pulumi_aiven/opensearch_user.py +22 -18
- pulumi_aiven/organization.py +6 -2
- pulumi_aiven/organization_group_project.py +0 -46
- pulumi_aiven/organization_user.py +20 -2
- pulumi_aiven/organization_user_group.py +6 -4
- pulumi_aiven/organization_user_group_member.py +10 -8
- pulumi_aiven/organizational_unit.py +6 -6
- pulumi_aiven/outputs.py +390 -271
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +24 -20
- pulumi_aiven/pg_user.py +22 -18
- pulumi_aiven/project.py +79 -75
- pulumi_aiven/project_user.py +28 -24
- pulumi_aiven/project_vpc.py +7 -31
- pulumi_aiven/redis.py +267 -80
- pulumi_aiven/redis_user.py +22 -18
- pulumi_aiven/service_integration.py +58 -54
- pulumi_aiven/static_ip.py +7 -7
- pulumi_aiven/transit_gateway_vpc_attachment.py +8 -4
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0a1711516617.dist-info/RECORD +150 -0
- pulumi_aiven-6.14.0.dist-info/RECORD +0 -150
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/top_level.txt +0 -0
pulumi_aiven/dragonfly.py
CHANGED
|
@@ -33,21 +33,42 @@ 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
|
-
|
|
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
|
+
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
38
|
+
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
39
|
+
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
40
|
+
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
41
|
+
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
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.
|
|
42
56
|
:param pulumi.Input['DragonflyDragonflyUserConfigArgs'] dragonfly_user_config: Dragonfly user configurable settings
|
|
43
57
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
44
58
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
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
|
|
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.
|
|
46
63
|
:param pulumi.Input[Sequence[pulumi.Input['DragonflyServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
47
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
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
|
|
48
66
|
:param pulumi.Input[Sequence[pulumi.Input['DragonflyTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
49
|
-
:param pulumi.Input[Sequence[pulumi.Input['DragonflyTechEmailArgs']]] tech_emails:
|
|
50
|
-
|
|
67
|
+
:param pulumi.Input[Sequence[pulumi.Input['DragonflyTechEmailArgs']]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
68
|
+
instability.
|
|
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.
|
|
51
72
|
"""
|
|
52
73
|
pulumi.set(__self__, "plan", plan)
|
|
53
74
|
pulumi.set(__self__, "project", project)
|
|
@@ -84,7 +105,12 @@ class DragonflyArgs:
|
|
|
84
105
|
@pulumi.getter
|
|
85
106
|
def plan(self) -> pulumi.Input[str]:
|
|
86
107
|
"""
|
|
87
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
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).
|
|
88
114
|
"""
|
|
89
115
|
return pulumi.get(self, "plan")
|
|
90
116
|
|
|
@@ -96,7 +122,8 @@ class DragonflyArgs:
|
|
|
96
122
|
@pulumi.getter
|
|
97
123
|
def project(self) -> pulumi.Input[str]:
|
|
98
124
|
"""
|
|
99
|
-
|
|
125
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
126
|
+
reference. Changing this property forces recreation of the resource.
|
|
100
127
|
"""
|
|
101
128
|
return pulumi.get(self, "project")
|
|
102
129
|
|
|
@@ -108,7 +135,8 @@ class DragonflyArgs:
|
|
|
108
135
|
@pulumi.getter(name="serviceName")
|
|
109
136
|
def service_name(self) -> pulumi.Input[str]:
|
|
110
137
|
"""
|
|
111
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
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.
|
|
112
140
|
"""
|
|
113
141
|
return pulumi.get(self, "service_name")
|
|
114
142
|
|
|
@@ -120,7 +148,8 @@ class DragonflyArgs:
|
|
|
120
148
|
@pulumi.getter(name="additionalDiskSpace")
|
|
121
149
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
122
150
|
"""
|
|
123
|
-
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
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.
|
|
124
153
|
"""
|
|
125
154
|
return pulumi.get(self, "additional_disk_space")
|
|
126
155
|
|
|
@@ -132,7 +161,12 @@ class DragonflyArgs:
|
|
|
132
161
|
@pulumi.getter(name="cloudName")
|
|
133
162
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
134
163
|
"""
|
|
135
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
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).
|
|
136
170
|
"""
|
|
137
171
|
return pulumi.get(self, "cloud_name")
|
|
138
172
|
|
|
@@ -144,7 +178,8 @@ class DragonflyArgs:
|
|
|
144
178
|
@pulumi.getter(name="diskSpace")
|
|
145
179
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
146
180
|
"""
|
|
147
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
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.
|
|
148
183
|
"""
|
|
149
184
|
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)
|
|
150
185
|
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.""")
|
|
@@ -195,7 +230,10 @@ class DragonflyArgs:
|
|
|
195
230
|
@pulumi.getter(name="projectVpcId")
|
|
196
231
|
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
197
232
|
"""
|
|
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
|
|
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.
|
|
199
237
|
"""
|
|
200
238
|
return pulumi.get(self, "project_vpc_id")
|
|
201
239
|
|
|
@@ -219,7 +257,8 @@ class DragonflyArgs:
|
|
|
219
257
|
@pulumi.getter(name="staticIps")
|
|
220
258
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
221
259
|
"""
|
|
222
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
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
|
|
223
262
|
"""
|
|
224
263
|
return pulumi.get(self, "static_ips")
|
|
225
264
|
|
|
@@ -243,7 +282,8 @@ class DragonflyArgs:
|
|
|
243
282
|
@pulumi.getter(name="techEmails")
|
|
244
283
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DragonflyTechEmailArgs']]]]:
|
|
245
284
|
"""
|
|
246
|
-
|
|
285
|
+
Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
286
|
+
instability.
|
|
247
287
|
"""
|
|
248
288
|
return pulumi.get(self, "tech_emails")
|
|
249
289
|
|
|
@@ -255,7 +295,9 @@ class DragonflyArgs:
|
|
|
255
295
|
@pulumi.getter(name="terminationProtection")
|
|
256
296
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
257
297
|
"""
|
|
258
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
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.
|
|
259
301
|
"""
|
|
260
302
|
return pulumi.get(self, "termination_protection")
|
|
261
303
|
|
|
@@ -275,6 +317,7 @@ class _DragonflyState:
|
|
|
275
317
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
276
318
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
277
319
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
320
|
+
dragonflies: Optional[pulumi.Input[Sequence[pulumi.Input['DragonflyDragonflyArgs']]]] = None,
|
|
278
321
|
dragonfly_user_config: Optional[pulumi.Input['DragonflyDragonflyUserConfigArgs']] = None,
|
|
279
322
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
280
323
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
@@ -296,33 +339,57 @@ class _DragonflyState:
|
|
|
296
339
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
297
340
|
"""
|
|
298
341
|
Input properties used for looking up and filtering Dragonfly resources.
|
|
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,
|
|
300
|
-
|
|
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
|
+
reducing will result in the service rebalancing.
|
|
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).
|
|
301
350
|
:param pulumi.Input[Sequence[pulumi.Input['DragonflyComponentArgs']]] components: Service component information objects
|
|
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
|
|
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.
|
|
303
353
|
: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.
|
|
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.
|
|
305
|
-
|
|
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
|
+
Its also the minimum value for `disk_space`
|
|
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.
|
|
306
358
|
: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
|
|
307
360
|
:param pulumi.Input['DragonflyDragonflyUserConfigArgs'] dragonfly_user_config: Dragonfly user configurable settings
|
|
308
361
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
309
362
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
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
|
|
311
|
-
|
|
312
|
-
|
|
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
|
+
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
365
|
+
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
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.
|
|
313
375
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
314
376
|
:param pulumi.Input[Sequence[pulumi.Input['DragonflyServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
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
|
|
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.
|
|
316
379
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
317
380
|
:param pulumi.Input[int] service_port: The port of the service
|
|
318
381
|
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
319
382
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
320
383
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
321
384
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
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
|
|
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
|
|
323
387
|
:param pulumi.Input[Sequence[pulumi.Input['DragonflyTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
324
|
-
:param pulumi.Input[Sequence[pulumi.Input['DragonflyTechEmailArgs']]] tech_emails:
|
|
325
|
-
|
|
388
|
+
:param pulumi.Input[Sequence[pulumi.Input['DragonflyTechEmailArgs']]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
389
|
+
instability.
|
|
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.
|
|
326
393
|
"""
|
|
327
394
|
if additional_disk_space is not None:
|
|
328
395
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -343,6 +410,8 @@ class _DragonflyState:
|
|
|
343
410
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
344
411
|
if disk_space_used is not None:
|
|
345
412
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
413
|
+
if dragonflies is not None:
|
|
414
|
+
pulumi.set(__self__, "dragonflies", dragonflies)
|
|
346
415
|
if dragonfly_user_config is not None:
|
|
347
416
|
pulumi.set(__self__, "dragonfly_user_config", dragonfly_user_config)
|
|
348
417
|
if maintenance_window_dow is not None:
|
|
@@ -386,7 +455,8 @@ class _DragonflyState:
|
|
|
386
455
|
@pulumi.getter(name="additionalDiskSpace")
|
|
387
456
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
388
457
|
"""
|
|
389
|
-
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
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.
|
|
390
460
|
"""
|
|
391
461
|
return pulumi.get(self, "additional_disk_space")
|
|
392
462
|
|
|
@@ -398,7 +468,12 @@ class _DragonflyState:
|
|
|
398
468
|
@pulumi.getter(name="cloudName")
|
|
399
469
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
400
470
|
"""
|
|
401
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
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).
|
|
402
477
|
"""
|
|
403
478
|
return pulumi.get(self, "cloud_name")
|
|
404
479
|
|
|
@@ -422,7 +497,8 @@ class _DragonflyState:
|
|
|
422
497
|
@pulumi.getter(name="diskSpace")
|
|
423
498
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
424
499
|
"""
|
|
425
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
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.
|
|
426
502
|
"""
|
|
427
503
|
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)
|
|
428
504
|
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.""")
|
|
@@ -449,7 +525,8 @@ class _DragonflyState:
|
|
|
449
525
|
@pulumi.getter(name="diskSpaceDefault")
|
|
450
526
|
def disk_space_default(self) -> Optional[pulumi.Input[str]]:
|
|
451
527
|
"""
|
|
452
|
-
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
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`
|
|
453
530
|
"""
|
|
454
531
|
return pulumi.get(self, "disk_space_default")
|
|
455
532
|
|
|
@@ -461,7 +538,8 @@ class _DragonflyState:
|
|
|
461
538
|
@pulumi.getter(name="diskSpaceStep")
|
|
462
539
|
def disk_space_step(self) -> Optional[pulumi.Input[str]]:
|
|
463
540
|
"""
|
|
464
|
-
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
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.
|
|
465
543
|
"""
|
|
466
544
|
return pulumi.get(self, "disk_space_step")
|
|
467
545
|
|
|
@@ -481,6 +559,18 @@ class _DragonflyState:
|
|
|
481
559
|
def disk_space_used(self, value: Optional[pulumi.Input[str]]):
|
|
482
560
|
pulumi.set(self, "disk_space_used", value)
|
|
483
561
|
|
|
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
|
+
|
|
484
574
|
@property
|
|
485
575
|
@pulumi.getter(name="dragonflyUserConfig")
|
|
486
576
|
def dragonfly_user_config(self) -> Optional[pulumi.Input['DragonflyDragonflyUserConfigArgs']]:
|
|
@@ -521,7 +611,12 @@ class _DragonflyState:
|
|
|
521
611
|
@pulumi.getter
|
|
522
612
|
def plan(self) -> Optional[pulumi.Input[str]]:
|
|
523
613
|
"""
|
|
524
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
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).
|
|
525
620
|
"""
|
|
526
621
|
return pulumi.get(self, "plan")
|
|
527
622
|
|
|
@@ -533,7 +628,8 @@ class _DragonflyState:
|
|
|
533
628
|
@pulumi.getter
|
|
534
629
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
535
630
|
"""
|
|
536
|
-
|
|
631
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
632
|
+
reference. Changing this property forces recreation of the resource.
|
|
537
633
|
"""
|
|
538
634
|
return pulumi.get(self, "project")
|
|
539
635
|
|
|
@@ -545,7 +641,10 @@ class _DragonflyState:
|
|
|
545
641
|
@pulumi.getter(name="projectVpcId")
|
|
546
642
|
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
547
643
|
"""
|
|
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
|
|
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.
|
|
549
648
|
"""
|
|
550
649
|
return pulumi.get(self, "project_vpc_id")
|
|
551
650
|
|
|
@@ -581,7 +680,8 @@ class _DragonflyState:
|
|
|
581
680
|
@pulumi.getter(name="serviceName")
|
|
582
681
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
583
682
|
"""
|
|
584
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
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.
|
|
585
685
|
"""
|
|
586
686
|
return pulumi.get(self, "service_name")
|
|
587
687
|
|
|
@@ -665,7 +765,8 @@ class _DragonflyState:
|
|
|
665
765
|
@pulumi.getter(name="staticIps")
|
|
666
766
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
667
767
|
"""
|
|
668
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
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
|
|
669
770
|
"""
|
|
670
771
|
return pulumi.get(self, "static_ips")
|
|
671
772
|
|
|
@@ -689,7 +790,8 @@ class _DragonflyState:
|
|
|
689
790
|
@pulumi.getter(name="techEmails")
|
|
690
791
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DragonflyTechEmailArgs']]]]:
|
|
691
792
|
"""
|
|
692
|
-
|
|
793
|
+
Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
794
|
+
instability.
|
|
693
795
|
"""
|
|
694
796
|
return pulumi.get(self, "tech_emails")
|
|
695
797
|
|
|
@@ -701,7 +803,9 @@ class _DragonflyState:
|
|
|
701
803
|
@pulumi.getter(name="terminationProtection")
|
|
702
804
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
703
805
|
"""
|
|
704
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
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.
|
|
705
809
|
"""
|
|
706
810
|
return pulumi.get(self, "termination_protection")
|
|
707
811
|
|
|
@@ -732,47 +836,46 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
732
836
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
733
837
|
__props__=None):
|
|
734
838
|
"""
|
|
735
|
-
|
|
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
|
-
```
|
|
839
|
+
The Dragonfly resource allows the creation and management of Aiven Dragonfly services.
|
|
758
840
|
|
|
759
841
|
:param str resource_name: The name of the resource.
|
|
760
842
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
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,
|
|
762
|
-
|
|
763
|
-
:param pulumi.Input[str]
|
|
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
|
+
reducing will result in the service rebalancing.
|
|
845
|
+
: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
|
|
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.
|
|
764
853
|
:param pulumi.Input[pulumi.InputType['DragonflyDragonflyUserConfigArgs']] dragonfly_user_config: Dragonfly user configurable settings
|
|
765
854
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
766
855
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
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
|
|
768
|
-
|
|
769
|
-
|
|
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
|
+
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
858
|
+
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
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.
|
|
770
868
|
: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
|
|
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
|
|
772
|
-
|
|
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
|
+
service so name should be picked based on intended service usage rather than current attributes.
|
|
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
|
|
773
873
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DragonflyTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
774
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DragonflyTechEmailArgs']]]] tech_emails:
|
|
775
|
-
|
|
874
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DragonflyTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
875
|
+
instability.
|
|
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.
|
|
776
879
|
"""
|
|
777
880
|
...
|
|
778
881
|
@overload
|
|
@@ -781,29 +884,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
781
884
|
args: DragonflyArgs,
|
|
782
885
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
783
886
|
"""
|
|
784
|
-
|
|
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
|
-
```
|
|
887
|
+
The Dragonfly resource allows the creation and management of Aiven Dragonfly services.
|
|
807
888
|
|
|
808
889
|
:param str resource_name: The name of the resource.
|
|
809
890
|
:param DragonflyArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -870,6 +951,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
870
951
|
__props__.__dict__["disk_space_default"] = None
|
|
871
952
|
__props__.__dict__["disk_space_step"] = None
|
|
872
953
|
__props__.__dict__["disk_space_used"] = None
|
|
954
|
+
__props__.__dict__["dragonflies"] = None
|
|
873
955
|
__props__.__dict__["service_host"] = None
|
|
874
956
|
__props__.__dict__["service_password"] = None
|
|
875
957
|
__props__.__dict__["service_port"] = None
|
|
@@ -897,6 +979,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
897
979
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
898
980
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
899
981
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
982
|
+
dragonflies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DragonflyDragonflyArgs']]]]] = None,
|
|
900
983
|
dragonfly_user_config: Optional[pulumi.Input[pulumi.InputType['DragonflyDragonflyUserConfigArgs']]] = None,
|
|
901
984
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
902
985
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
@@ -923,33 +1006,57 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
923
1006
|
:param str resource_name: The unique name of the resulting resource.
|
|
924
1007
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
925
1008
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
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,
|
|
927
|
-
|
|
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
|
+
reducing will result in the service rebalancing.
|
|
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).
|
|
928
1017
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DragonflyComponentArgs']]]] components: Service component information objects
|
|
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
|
|
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.
|
|
930
1020
|
: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.
|
|
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.
|
|
932
|
-
|
|
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
|
+
Its also the minimum value for `disk_space`
|
|
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.
|
|
933
1025
|
: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
|
|
934
1027
|
:param pulumi.Input[pulumi.InputType['DragonflyDragonflyUserConfigArgs']] dragonfly_user_config: Dragonfly user configurable settings
|
|
935
1028
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
936
1029
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
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
|
|
938
|
-
|
|
939
|
-
|
|
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
|
+
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
1032
|
+
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
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.
|
|
940
1042
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
941
1043
|
: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
|
|
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
|
|
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.
|
|
943
1046
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
944
1047
|
:param pulumi.Input[int] service_port: The port of the service
|
|
945
1048
|
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
946
1049
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
947
1050
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
948
1051
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
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
|
|
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
|
|
950
1054
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DragonflyTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
951
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DragonflyTechEmailArgs']]]] tech_emails:
|
|
952
|
-
|
|
1055
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['DragonflyTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
1056
|
+
instability.
|
|
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.
|
|
953
1060
|
"""
|
|
954
1061
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
955
1062
|
|
|
@@ -963,6 +1070,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
963
1070
|
__props__.__dict__["disk_space_default"] = disk_space_default
|
|
964
1071
|
__props__.__dict__["disk_space_step"] = disk_space_step
|
|
965
1072
|
__props__.__dict__["disk_space_used"] = disk_space_used
|
|
1073
|
+
__props__.__dict__["dragonflies"] = dragonflies
|
|
966
1074
|
__props__.__dict__["dragonfly_user_config"] = dragonfly_user_config
|
|
967
1075
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
968
1076
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
@@ -988,7 +1096,8 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
988
1096
|
@pulumi.getter(name="additionalDiskSpace")
|
|
989
1097
|
def additional_disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
990
1098
|
"""
|
|
991
|
-
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
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.
|
|
992
1101
|
"""
|
|
993
1102
|
return pulumi.get(self, "additional_disk_space")
|
|
994
1103
|
|
|
@@ -996,7 +1105,12 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
996
1105
|
@pulumi.getter(name="cloudName")
|
|
997
1106
|
def cloud_name(self) -> pulumi.Output[Optional[str]]:
|
|
998
1107
|
"""
|
|
999
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
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).
|
|
1000
1114
|
"""
|
|
1001
1115
|
return pulumi.get(self, "cloud_name")
|
|
1002
1116
|
|
|
@@ -1012,7 +1126,8 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1012
1126
|
@pulumi.getter(name="diskSpace")
|
|
1013
1127
|
def disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1014
1128
|
"""
|
|
1015
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
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.
|
|
1016
1131
|
"""
|
|
1017
1132
|
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)
|
|
1018
1133
|
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.""")
|
|
@@ -1031,7 +1146,8 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1031
1146
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1032
1147
|
def disk_space_default(self) -> pulumi.Output[str]:
|
|
1033
1148
|
"""
|
|
1034
|
-
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
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`
|
|
1035
1151
|
"""
|
|
1036
1152
|
return pulumi.get(self, "disk_space_default")
|
|
1037
1153
|
|
|
@@ -1039,7 +1155,8 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1039
1155
|
@pulumi.getter(name="diskSpaceStep")
|
|
1040
1156
|
def disk_space_step(self) -> pulumi.Output[str]:
|
|
1041
1157
|
"""
|
|
1042
|
-
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
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.
|
|
1043
1160
|
"""
|
|
1044
1161
|
return pulumi.get(self, "disk_space_step")
|
|
1045
1162
|
|
|
@@ -1051,6 +1168,14 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1051
1168
|
"""
|
|
1052
1169
|
return pulumi.get(self, "disk_space_used")
|
|
1053
1170
|
|
|
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
|
+
|
|
1054
1179
|
@property
|
|
1055
1180
|
@pulumi.getter(name="dragonflyUserConfig")
|
|
1056
1181
|
def dragonfly_user_config(self) -> pulumi.Output[Optional['outputs.DragonflyDragonflyUserConfig']]:
|
|
@@ -1079,7 +1204,12 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1079
1204
|
@pulumi.getter
|
|
1080
1205
|
def plan(self) -> pulumi.Output[str]:
|
|
1081
1206
|
"""
|
|
1082
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
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).
|
|
1083
1213
|
"""
|
|
1084
1214
|
return pulumi.get(self, "plan")
|
|
1085
1215
|
|
|
@@ -1087,7 +1217,8 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1087
1217
|
@pulumi.getter
|
|
1088
1218
|
def project(self) -> pulumi.Output[str]:
|
|
1089
1219
|
"""
|
|
1090
|
-
|
|
1220
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
1221
|
+
reference. Changing this property forces recreation of the resource.
|
|
1091
1222
|
"""
|
|
1092
1223
|
return pulumi.get(self, "project")
|
|
1093
1224
|
|
|
@@ -1095,7 +1226,10 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1095
1226
|
@pulumi.getter(name="projectVpcId")
|
|
1096
1227
|
def project_vpc_id(self) -> pulumi.Output[Optional[str]]:
|
|
1097
1228
|
"""
|
|
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
|
|
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.
|
|
1099
1233
|
"""
|
|
1100
1234
|
return pulumi.get(self, "project_vpc_id")
|
|
1101
1235
|
|
|
@@ -1119,7 +1253,8 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1119
1253
|
@pulumi.getter(name="serviceName")
|
|
1120
1254
|
def service_name(self) -> pulumi.Output[str]:
|
|
1121
1255
|
"""
|
|
1122
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
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.
|
|
1123
1258
|
"""
|
|
1124
1259
|
return pulumi.get(self, "service_name")
|
|
1125
1260
|
|
|
@@ -1175,7 +1310,8 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1175
1310
|
@pulumi.getter(name="staticIps")
|
|
1176
1311
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1177
1312
|
"""
|
|
1178
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
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
|
|
1179
1315
|
"""
|
|
1180
1316
|
return pulumi.get(self, "static_ips")
|
|
1181
1317
|
|
|
@@ -1191,7 +1327,8 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1191
1327
|
@pulumi.getter(name="techEmails")
|
|
1192
1328
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.DragonflyTechEmail']]]:
|
|
1193
1329
|
"""
|
|
1194
|
-
|
|
1330
|
+
Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
1331
|
+
instability.
|
|
1195
1332
|
"""
|
|
1196
1333
|
return pulumi.get(self, "tech_emails")
|
|
1197
1334
|
|
|
@@ -1199,7 +1336,9 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1199
1336
|
@pulumi.getter(name="terminationProtection")
|
|
1200
1337
|
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
1201
1338
|
"""
|
|
1202
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
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.
|
|
1203
1342
|
"""
|
|
1204
1343
|
return pulumi.get(self, "termination_protection")
|
|
1205
1344
|
|