pulumi-aiven 6.43.0a1758690512__py3-none-any.whl → 6.43.0a1758857364__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 +657 -183
- pulumi_aiven/account_team.py +6 -12
- pulumi_aiven/account_team_member.py +6 -12
- pulumi_aiven/account_team_project.py +6 -12
- pulumi_aiven/alloydbomni.py +44 -23
- pulumi_aiven/alloydbomni_database.py +26 -0
- pulumi_aiven/alloydbomni_user.py +26 -0
- pulumi_aiven/cassandra.py +18 -23
- pulumi_aiven/clickhouse.py +18 -23
- pulumi_aiven/dragonfly.py +18 -23
- pulumi_aiven/flink.py +18 -23
- pulumi_aiven/get_account_team.py +6 -12
- pulumi_aiven/get_account_team_member.py +6 -12
- pulumi_aiven/get_account_team_project.py +6 -12
- pulumi_aiven/get_alloydbomni.py +28 -2
- pulumi_aiven/get_alloydbomni_database.py +26 -0
- pulumi_aiven/get_alloydbomni_user.py +26 -0
- pulumi_aiven/get_cassanda.py +2 -2
- pulumi_aiven/get_cassandra.py +2 -2
- pulumi_aiven/get_clickhouse.py +2 -2
- pulumi_aiven/get_dragonfly.py +2 -2
- pulumi_aiven/get_flink.py +2 -2
- pulumi_aiven/get_grafana.py +2 -2
- pulumi_aiven/get_kafka.py +2 -2
- pulumi_aiven/get_kafka_connect.py +2 -2
- pulumi_aiven/get_kafka_mirror_maker.py +2 -2
- pulumi_aiven/get_m3_aggregator.py +2 -111
- pulumi_aiven/get_m3_db.py +2 -123
- pulumi_aiven/get_m3db_user.py +2 -61
- pulumi_aiven/get_my_sql.py +2 -2
- pulumi_aiven/get_open_search.py +2 -2
- pulumi_aiven/get_organization_application_user.py +29 -11
- pulumi_aiven/get_organization_project.py +0 -6
- pulumi_aiven/get_pg.py +2 -2
- pulumi_aiven/get_redis.py +2 -2
- pulumi_aiven/get_redis_user.py +3 -3
- pulumi_aiven/get_thanos.py +2 -2
- pulumi_aiven/get_valkey.py +2 -2
- pulumi_aiven/get_valkey_user.py +3 -3
- pulumi_aiven/grafana.py +18 -23
- pulumi_aiven/influx_db.py +18 -23
- pulumi_aiven/kafka.py +18 -23
- pulumi_aiven/kafka_connect.py +18 -23
- pulumi_aiven/kafka_mirror_maker.py +18 -23
- pulumi_aiven/m3_aggregator.py +20 -75
- pulumi_aiven/m3_db.py +20 -95
- pulumi_aiven/m3db_user.py +2 -54
- pulumi_aiven/my_sql.py +18 -23
- pulumi_aiven/open_search.py +18 -23
- pulumi_aiven/organization_application_user.py +69 -41
- pulumi_aiven/organization_application_user_token.py +127 -91
- pulumi_aiven/organization_billing_group.py +7 -7
- pulumi_aiven/organization_permission.py +80 -47
- pulumi_aiven/organization_project.py +0 -6
- pulumi_aiven/organization_user.py +8 -8
- pulumi_aiven/outputs.py +616 -234
- pulumi_aiven/pg.py +18 -23
- pulumi_aiven/project.py +2 -24
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +18 -23
- pulumi_aiven/redis_user.py +21 -21
- pulumi_aiven/thanos.py +18 -23
- pulumi_aiven/valkey.py +18 -23
- pulumi_aiven/valkey_user.py +21 -21
- {pulumi_aiven-6.43.0a1758690512.dist-info → pulumi_aiven-6.43.0a1758857364.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.43.0a1758690512.dist-info → pulumi_aiven-6.43.0a1758857364.dist-info}/RECORD +68 -68
- {pulumi_aiven-6.43.0a1758690512.dist-info → pulumi_aiven-6.43.0a1758857364.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.43.0a1758690512.dist-info → pulumi_aiven-6.43.0a1758857364.dist-info}/top_level.txt +0 -0
pulumi_aiven/get_m3_db.py
CHANGED
|
@@ -119,65 +119,41 @@ class GetM3DbResult:
|
|
|
119
119
|
@_builtins.property
|
|
120
120
|
@pulumi.getter(name="additionalDiskSpace")
|
|
121
121
|
def additional_disk_space(self) -> _builtins.str:
|
|
122
|
-
"""
|
|
123
|
-
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
124
|
-
"""
|
|
125
122
|
return pulumi.get(self, "additional_disk_space")
|
|
126
123
|
|
|
127
124
|
@_builtins.property
|
|
128
125
|
@pulumi.getter(name="cloudName")
|
|
129
126
|
def cloud_name(self) -> _builtins.str:
|
|
130
|
-
"""
|
|
131
|
-
The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
132
|
-
"""
|
|
133
127
|
return pulumi.get(self, "cloud_name")
|
|
134
128
|
|
|
135
129
|
@_builtins.property
|
|
136
130
|
@pulumi.getter
|
|
137
131
|
def components(self) -> Sequence['outputs.GetM3DbComponentResult']:
|
|
138
|
-
"""
|
|
139
|
-
Service component information objects
|
|
140
|
-
"""
|
|
141
132
|
return pulumi.get(self, "components")
|
|
142
133
|
|
|
143
134
|
@_builtins.property
|
|
144
135
|
@pulumi.getter(name="diskSpace")
|
|
145
136
|
def disk_space(self) -> _builtins.str:
|
|
146
|
-
"""
|
|
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.
|
|
148
|
-
"""
|
|
149
137
|
return pulumi.get(self, "disk_space")
|
|
150
138
|
|
|
151
139
|
@_builtins.property
|
|
152
140
|
@pulumi.getter(name="diskSpaceCap")
|
|
153
141
|
def disk_space_cap(self) -> _builtins.str:
|
|
154
|
-
"""
|
|
155
|
-
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
156
|
-
"""
|
|
157
142
|
return pulumi.get(self, "disk_space_cap")
|
|
158
143
|
|
|
159
144
|
@_builtins.property
|
|
160
145
|
@pulumi.getter(name="diskSpaceDefault")
|
|
161
146
|
def disk_space_default(self) -> _builtins.str:
|
|
162
|
-
"""
|
|
163
|
-
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`
|
|
164
|
-
"""
|
|
165
147
|
return pulumi.get(self, "disk_space_default")
|
|
166
148
|
|
|
167
149
|
@_builtins.property
|
|
168
150
|
@pulumi.getter(name="diskSpaceStep")
|
|
169
151
|
def disk_space_step(self) -> _builtins.str:
|
|
170
|
-
"""
|
|
171
|
-
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.
|
|
172
|
-
"""
|
|
173
152
|
return pulumi.get(self, "disk_space_step")
|
|
174
153
|
|
|
175
154
|
@_builtins.property
|
|
176
155
|
@pulumi.getter(name="diskSpaceUsed")
|
|
177
156
|
def disk_space_used(self) -> _builtins.str:
|
|
178
|
-
"""
|
|
179
|
-
Disk space that service is currently using
|
|
180
|
-
"""
|
|
181
157
|
return pulumi.get(self, "disk_space_used")
|
|
182
158
|
|
|
183
159
|
@_builtins.property
|
|
@@ -191,121 +167,76 @@ class GetM3DbResult:
|
|
|
191
167
|
@_builtins.property
|
|
192
168
|
@pulumi.getter(name="m3dbUserConfigs")
|
|
193
169
|
def m3db_user_configs(self) -> Sequence['outputs.GetM3DbM3dbUserConfigResult']:
|
|
194
|
-
"""
|
|
195
|
-
M3db user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
196
|
-
"""
|
|
197
170
|
return pulumi.get(self, "m3db_user_configs")
|
|
198
171
|
|
|
199
172
|
@_builtins.property
|
|
200
173
|
@pulumi.getter
|
|
201
174
|
def m3dbs(self) -> Sequence['outputs.GetM3DbM3dbResult']:
|
|
202
|
-
"""
|
|
203
|
-
Values provided by the M3DB server.
|
|
204
|
-
"""
|
|
205
175
|
return pulumi.get(self, "m3dbs")
|
|
206
176
|
|
|
207
177
|
@_builtins.property
|
|
208
178
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
209
179
|
def maintenance_window_dow(self) -> _builtins.str:
|
|
210
|
-
"""
|
|
211
|
-
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
212
|
-
"""
|
|
213
180
|
return pulumi.get(self, "maintenance_window_dow")
|
|
214
181
|
|
|
215
182
|
@_builtins.property
|
|
216
183
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
217
184
|
def maintenance_window_time(self) -> _builtins.str:
|
|
218
|
-
"""
|
|
219
|
-
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
220
|
-
"""
|
|
221
185
|
return pulumi.get(self, "maintenance_window_time")
|
|
222
186
|
|
|
223
187
|
@_builtins.property
|
|
224
188
|
@pulumi.getter
|
|
225
189
|
def plan(self) -> _builtins.str:
|
|
226
|
-
"""
|
|
227
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
228
|
-
"""
|
|
229
190
|
return pulumi.get(self, "plan")
|
|
230
191
|
|
|
231
192
|
@_builtins.property
|
|
232
193
|
@pulumi.getter
|
|
233
194
|
def project(self) -> _builtins.str:
|
|
234
|
-
"""
|
|
235
|
-
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.
|
|
236
|
-
"""
|
|
237
195
|
return pulumi.get(self, "project")
|
|
238
196
|
|
|
239
197
|
@_builtins.property
|
|
240
198
|
@pulumi.getter(name="projectVpcId")
|
|
241
199
|
def project_vpc_id(self) -> _builtins.str:
|
|
242
|
-
"""
|
|
243
|
-
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. 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. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
244
|
-
"""
|
|
245
200
|
return pulumi.get(self, "project_vpc_id")
|
|
246
201
|
|
|
247
202
|
@_builtins.property
|
|
248
203
|
@pulumi.getter(name="serviceHost")
|
|
249
204
|
def service_host(self) -> _builtins.str:
|
|
250
|
-
"""
|
|
251
|
-
The hostname of the service.
|
|
252
|
-
"""
|
|
253
205
|
return pulumi.get(self, "service_host")
|
|
254
206
|
|
|
255
207
|
@_builtins.property
|
|
256
208
|
@pulumi.getter(name="serviceIntegrations")
|
|
257
209
|
def service_integrations(self) -> Sequence['outputs.GetM3DbServiceIntegrationResult']:
|
|
258
|
-
"""
|
|
259
|
-
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
260
|
-
"""
|
|
261
210
|
return pulumi.get(self, "service_integrations")
|
|
262
211
|
|
|
263
212
|
@_builtins.property
|
|
264
213
|
@pulumi.getter(name="serviceName")
|
|
265
214
|
def service_name(self) -> _builtins.str:
|
|
266
|
-
"""
|
|
267
|
-
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.
|
|
268
|
-
"""
|
|
269
215
|
return pulumi.get(self, "service_name")
|
|
270
216
|
|
|
271
217
|
@_builtins.property
|
|
272
218
|
@pulumi.getter(name="servicePassword")
|
|
273
219
|
def service_password(self) -> _builtins.str:
|
|
274
|
-
"""
|
|
275
|
-
Password used for connecting to the service, if applicable
|
|
276
|
-
"""
|
|
277
220
|
return pulumi.get(self, "service_password")
|
|
278
221
|
|
|
279
222
|
@_builtins.property
|
|
280
223
|
@pulumi.getter(name="servicePort")
|
|
281
224
|
def service_port(self) -> _builtins.int:
|
|
282
|
-
"""
|
|
283
|
-
The port of the service
|
|
284
|
-
"""
|
|
285
225
|
return pulumi.get(self, "service_port")
|
|
286
226
|
|
|
287
227
|
@_builtins.property
|
|
288
228
|
@pulumi.getter(name="serviceType")
|
|
289
229
|
def service_type(self) -> _builtins.str:
|
|
290
|
-
"""
|
|
291
|
-
Aiven internal service type code
|
|
292
|
-
"""
|
|
293
230
|
return pulumi.get(self, "service_type")
|
|
294
231
|
|
|
295
232
|
@_builtins.property
|
|
296
233
|
@pulumi.getter(name="serviceUri")
|
|
297
234
|
def service_uri(self) -> _builtins.str:
|
|
298
|
-
"""
|
|
299
|
-
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
300
|
-
"""
|
|
301
235
|
return pulumi.get(self, "service_uri")
|
|
302
236
|
|
|
303
237
|
@_builtins.property
|
|
304
238
|
@pulumi.getter(name="serviceUsername")
|
|
305
239
|
def service_username(self) -> _builtins.str:
|
|
306
|
-
"""
|
|
307
|
-
Username used for connecting to the service, if applicable
|
|
308
|
-
"""
|
|
309
240
|
return pulumi.get(self, "service_username")
|
|
310
241
|
|
|
311
242
|
@_builtins.property
|
|
@@ -316,33 +247,21 @@ class GetM3DbResult:
|
|
|
316
247
|
@_builtins.property
|
|
317
248
|
@pulumi.getter(name="staticIps")
|
|
318
249
|
def static_ips(self) -> Sequence[_builtins.str]:
|
|
319
|
-
"""
|
|
320
|
-
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
|
|
321
|
-
"""
|
|
322
250
|
return pulumi.get(self, "static_ips")
|
|
323
251
|
|
|
324
252
|
@_builtins.property
|
|
325
253
|
@pulumi.getter
|
|
326
254
|
def tags(self) -> Sequence['outputs.GetM3DbTagResult']:
|
|
327
|
-
"""
|
|
328
|
-
Tags are key-value pairs that allow you to categorize services.
|
|
329
|
-
"""
|
|
330
255
|
return pulumi.get(self, "tags")
|
|
331
256
|
|
|
332
257
|
@_builtins.property
|
|
333
258
|
@pulumi.getter(name="techEmails")
|
|
334
259
|
def tech_emails(self) -> Sequence['outputs.GetM3DbTechEmailResult']:
|
|
335
|
-
"""
|
|
336
|
-
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.
|
|
337
|
-
"""
|
|
338
260
|
return pulumi.get(self, "tech_emails")
|
|
339
261
|
|
|
340
262
|
@_builtins.property
|
|
341
263
|
@pulumi.getter(name="terminationProtection")
|
|
342
264
|
def termination_protection(self) -> _builtins.bool:
|
|
343
|
-
"""
|
|
344
|
-
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.
|
|
345
|
-
"""
|
|
346
265
|
return pulumi.get(self, "termination_protection")
|
|
347
266
|
|
|
348
267
|
|
|
@@ -387,27 +306,7 @@ def get_m3_db(project: Optional[_builtins.str] = None,
|
|
|
387
306
|
service_name: Optional[_builtins.str] = None,
|
|
388
307
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetM3DbResult:
|
|
389
308
|
"""
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
!> **End of life notice**
|
|
393
|
-
**After 30 April 2025** all running Aiven for M3 services will be powered off and deleted, making data from these services inaccessible.
|
|
394
|
-
You cannot create M3DB services in Aiven projects that didn't have M3DB services before.
|
|
395
|
-
To avoid interruptions to your service, migrate to Aiven for Thanos Metrics
|
|
396
|
-
before the end of life date.
|
|
397
|
-
|
|
398
|
-
## Example Usage
|
|
399
|
-
|
|
400
|
-
```python
|
|
401
|
-
import pulumi
|
|
402
|
-
import pulumi_aiven as aiven
|
|
403
|
-
|
|
404
|
-
example_m3db = aiven.get_m3_db(project=example_project["project"],
|
|
405
|
-
service_name="example-m3db-service")
|
|
406
|
-
```
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
:param _builtins.str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
410
|
-
:param _builtins.str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
309
|
+
Use this data source to access information about an existing resource.
|
|
411
310
|
"""
|
|
412
311
|
__args__ = dict()
|
|
413
312
|
__args__['project'] = project
|
|
@@ -449,27 +348,7 @@ def get_m3_db_output(project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
449
348
|
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
450
349
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetM3DbResult]:
|
|
451
350
|
"""
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
!> **End of life notice**
|
|
455
|
-
**After 30 April 2025** all running Aiven for M3 services will be powered off and deleted, making data from these services inaccessible.
|
|
456
|
-
You cannot create M3DB services in Aiven projects that didn't have M3DB services before.
|
|
457
|
-
To avoid interruptions to your service, migrate to Aiven for Thanos Metrics
|
|
458
|
-
before the end of life date.
|
|
459
|
-
|
|
460
|
-
## Example Usage
|
|
461
|
-
|
|
462
|
-
```python
|
|
463
|
-
import pulumi
|
|
464
|
-
import pulumi_aiven as aiven
|
|
465
|
-
|
|
466
|
-
example_m3db = aiven.get_m3_db(project=example_project["project"],
|
|
467
|
-
service_name="example-m3db-service")
|
|
468
|
-
```
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
:param _builtins.str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
472
|
-
:param _builtins.str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
351
|
+
Use this data source to access information about an existing resource.
|
|
473
352
|
"""
|
|
474
353
|
__args__ = dict()
|
|
475
354
|
__args__['project'] = project
|
pulumi_aiven/get_m3db_user.py
CHANGED
|
@@ -57,41 +57,26 @@ class GetM3dbUserResult:
|
|
|
57
57
|
@_builtins.property
|
|
58
58
|
@pulumi.getter
|
|
59
59
|
def password(self) -> _builtins.str:
|
|
60
|
-
"""
|
|
61
|
-
The M3DB service user's password.
|
|
62
|
-
"""
|
|
63
60
|
return pulumi.get(self, "password")
|
|
64
61
|
|
|
65
62
|
@_builtins.property
|
|
66
63
|
@pulumi.getter
|
|
67
64
|
def project(self) -> _builtins.str:
|
|
68
|
-
"""
|
|
69
|
-
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.
|
|
70
|
-
"""
|
|
71
65
|
return pulumi.get(self, "project")
|
|
72
66
|
|
|
73
67
|
@_builtins.property
|
|
74
68
|
@pulumi.getter(name="serviceName")
|
|
75
69
|
def service_name(self) -> _builtins.str:
|
|
76
|
-
"""
|
|
77
|
-
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
78
|
-
"""
|
|
79
70
|
return pulumi.get(self, "service_name")
|
|
80
71
|
|
|
81
72
|
@_builtins.property
|
|
82
73
|
@pulumi.getter
|
|
83
74
|
def type(self) -> _builtins.str:
|
|
84
|
-
"""
|
|
85
|
-
User account type, such as primary or regular account.
|
|
86
|
-
"""
|
|
87
75
|
return pulumi.get(self, "type")
|
|
88
76
|
|
|
89
77
|
@_builtins.property
|
|
90
78
|
@pulumi.getter
|
|
91
79
|
def username(self) -> _builtins.str:
|
|
92
|
-
"""
|
|
93
|
-
Name of the M3DB service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
94
|
-
"""
|
|
95
80
|
return pulumi.get(self, "username")
|
|
96
81
|
|
|
97
82
|
|
|
@@ -114,29 +99,7 @@ def get_m3db_user(project: Optional[_builtins.str] = None,
|
|
|
114
99
|
username: Optional[_builtins.str] = None,
|
|
115
100
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetM3dbUserResult:
|
|
116
101
|
"""
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
!> **End of life notice**
|
|
120
|
-
**After 30 April 2025** all running Aiven for M3 services will be powered off and deleted, making data from these services inaccessible.
|
|
121
|
-
You cannot create M3DB services in Aiven projects that didn't have M3DB services before.
|
|
122
|
-
To avoid interruptions to your service, migrate to Aiven for Thanos Metrics
|
|
123
|
-
before the end of life date.
|
|
124
|
-
|
|
125
|
-
## Example Usage
|
|
126
|
-
|
|
127
|
-
```python
|
|
128
|
-
import pulumi
|
|
129
|
-
import pulumi_aiven as aiven
|
|
130
|
-
|
|
131
|
-
example_service_user = aiven.get_m3db_user(service_name=example_m3db["serviceName"],
|
|
132
|
-
project=example_project["project"],
|
|
133
|
-
username="example-m3db-user")
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
:param _builtins.str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
138
|
-
:param _builtins.str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
139
|
-
:param _builtins.str username: Name of the M3DB service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
102
|
+
Use this data source to access information about an existing resource.
|
|
140
103
|
"""
|
|
141
104
|
__args__ = dict()
|
|
142
105
|
__args__['project'] = project
|
|
@@ -157,29 +120,7 @@ def get_m3db_user_output(project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
157
120
|
username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
158
121
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetM3dbUserResult]:
|
|
159
122
|
"""
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
!> **End of life notice**
|
|
163
|
-
**After 30 April 2025** all running Aiven for M3 services will be powered off and deleted, making data from these services inaccessible.
|
|
164
|
-
You cannot create M3DB services in Aiven projects that didn't have M3DB services before.
|
|
165
|
-
To avoid interruptions to your service, migrate to Aiven for Thanos Metrics
|
|
166
|
-
before the end of life date.
|
|
167
|
-
|
|
168
|
-
## Example Usage
|
|
169
|
-
|
|
170
|
-
```python
|
|
171
|
-
import pulumi
|
|
172
|
-
import pulumi_aiven as aiven
|
|
173
|
-
|
|
174
|
-
example_service_user = aiven.get_m3db_user(service_name=example_m3db["serviceName"],
|
|
175
|
-
project=example_project["project"],
|
|
176
|
-
username="example-m3db-user")
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
:param _builtins.str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
181
|
-
:param _builtins.str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
182
|
-
:param _builtins.str username: Name of the M3DB service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
123
|
+
Use this data source to access information about an existing resource.
|
|
183
124
|
"""
|
|
184
125
|
__args__ = dict()
|
|
185
126
|
__args__['project'] = project
|
pulumi_aiven/get_my_sql.py
CHANGED
|
@@ -144,7 +144,7 @@ class GetMySqlResult:
|
|
|
144
144
|
@pulumi.getter(name="diskSpace")
|
|
145
145
|
def disk_space(self) -> _builtins.str:
|
|
146
146
|
"""
|
|
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.
|
|
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. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
148
148
|
"""
|
|
149
149
|
return pulumi.get(self, "disk_space")
|
|
150
150
|
|
|
@@ -176,7 +176,7 @@ class GetMySqlResult:
|
|
|
176
176
|
@pulumi.getter(name="diskSpaceUsed")
|
|
177
177
|
def disk_space_used(self) -> _builtins.str:
|
|
178
178
|
"""
|
|
179
|
-
|
|
179
|
+
The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
180
180
|
"""
|
|
181
181
|
return pulumi.get(self, "disk_space_used")
|
|
182
182
|
|
pulumi_aiven/get_open_search.py
CHANGED
|
@@ -144,7 +144,7 @@ class GetOpenSearchResult:
|
|
|
144
144
|
@pulumi.getter(name="diskSpace")
|
|
145
145
|
def disk_space(self) -> _builtins.str:
|
|
146
146
|
"""
|
|
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.
|
|
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. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
148
148
|
"""
|
|
149
149
|
return pulumi.get(self, "disk_space")
|
|
150
150
|
|
|
@@ -176,7 +176,7 @@ class GetOpenSearchResult:
|
|
|
176
176
|
@pulumi.getter(name="diskSpaceUsed")
|
|
177
177
|
def disk_space_used(self) -> _builtins.str:
|
|
178
178
|
"""
|
|
179
|
-
|
|
179
|
+
The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
180
180
|
"""
|
|
181
181
|
return pulumi.get(self, "disk_space_used")
|
|
182
182
|
|
|
@@ -13,6 +13,8 @@ if sys.version_info >= (3, 11):
|
|
|
13
13
|
else:
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
15
|
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
16
18
|
|
|
17
19
|
__all__ = [
|
|
18
20
|
'GetOrganizationApplicationUserResult',
|
|
@@ -26,7 +28,7 @@ class GetOrganizationApplicationUserResult:
|
|
|
26
28
|
"""
|
|
27
29
|
A collection of values returned by getOrganizationApplicationUser.
|
|
28
30
|
"""
|
|
29
|
-
def __init__(__self__, email=None, id=None, is_super_admin=None, name=None, organization_id=None, user_id=None):
|
|
31
|
+
def __init__(__self__, email=None, id=None, is_super_admin=None, name=None, organization_id=None, timeouts=None, user_id=None):
|
|
30
32
|
if email and not isinstance(email, str):
|
|
31
33
|
raise TypeError("Expected argument 'email' to be a str")
|
|
32
34
|
pulumi.set(__self__, "email", email)
|
|
@@ -42,6 +44,9 @@ class GetOrganizationApplicationUserResult:
|
|
|
42
44
|
if organization_id and not isinstance(organization_id, str):
|
|
43
45
|
raise TypeError("Expected argument 'organization_id' to be a str")
|
|
44
46
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
47
|
+
if timeouts and not isinstance(timeouts, dict):
|
|
48
|
+
raise TypeError("Expected argument 'timeouts' to be a dict")
|
|
49
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
45
50
|
if user_id and not isinstance(user_id, str):
|
|
46
51
|
raise TypeError("Expected argument 'user_id' to be a str")
|
|
47
52
|
pulumi.set(__self__, "user_id", user_id)
|
|
@@ -50,7 +55,7 @@ class GetOrganizationApplicationUserResult:
|
|
|
50
55
|
@pulumi.getter
|
|
51
56
|
def email(self) -> _builtins.str:
|
|
52
57
|
"""
|
|
53
|
-
|
|
58
|
+
User Email.
|
|
54
59
|
"""
|
|
55
60
|
return pulumi.get(self, "email")
|
|
56
61
|
|
|
@@ -58,15 +63,16 @@ class GetOrganizationApplicationUserResult:
|
|
|
58
63
|
@pulumi.getter
|
|
59
64
|
def id(self) -> _builtins.str:
|
|
60
65
|
"""
|
|
61
|
-
|
|
66
|
+
Resource ID, a composite of `organization_id` and `user_id` IDs.
|
|
62
67
|
"""
|
|
63
68
|
return pulumi.get(self, "id")
|
|
64
69
|
|
|
65
70
|
@_builtins.property
|
|
66
71
|
@pulumi.getter(name="isSuperAdmin")
|
|
72
|
+
@_utilities.deprecated("""This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the OrganizationPermission resource.""")
|
|
67
73
|
def is_super_admin(self) -> _builtins.bool:
|
|
68
74
|
"""
|
|
69
|
-
|
|
75
|
+
Alters super admin state of the organization application user. The default value is `false`.
|
|
70
76
|
"""
|
|
71
77
|
return pulumi.get(self, "is_super_admin")
|
|
72
78
|
|
|
@@ -74,7 +80,7 @@ class GetOrganizationApplicationUserResult:
|
|
|
74
80
|
@pulumi.getter
|
|
75
81
|
def name(self) -> _builtins.str:
|
|
76
82
|
"""
|
|
77
|
-
Name
|
|
83
|
+
Name.
|
|
78
84
|
"""
|
|
79
85
|
return pulumi.get(self, "name")
|
|
80
86
|
|
|
@@ -82,15 +88,20 @@ class GetOrganizationApplicationUserResult:
|
|
|
82
88
|
@pulumi.getter(name="organizationId")
|
|
83
89
|
def organization_id(self) -> _builtins.str:
|
|
84
90
|
"""
|
|
85
|
-
|
|
91
|
+
ID of an organization.
|
|
86
92
|
"""
|
|
87
93
|
return pulumi.get(self, "organization_id")
|
|
88
94
|
|
|
95
|
+
@_builtins.property
|
|
96
|
+
@pulumi.getter
|
|
97
|
+
def timeouts(self) -> Optional['outputs.GetOrganizationApplicationUserTimeoutsResult']:
|
|
98
|
+
return pulumi.get(self, "timeouts")
|
|
99
|
+
|
|
89
100
|
@_builtins.property
|
|
90
101
|
@pulumi.getter(name="userId")
|
|
91
102
|
def user_id(self) -> _builtins.str:
|
|
92
103
|
"""
|
|
93
|
-
|
|
104
|
+
User ID.
|
|
94
105
|
"""
|
|
95
106
|
return pulumi.get(self, "user_id")
|
|
96
107
|
|
|
@@ -106,21 +117,24 @@ class AwaitableGetOrganizationApplicationUserResult(GetOrganizationApplicationUs
|
|
|
106
117
|
is_super_admin=self.is_super_admin,
|
|
107
118
|
name=self.name,
|
|
108
119
|
organization_id=self.organization_id,
|
|
120
|
+
timeouts=self.timeouts,
|
|
109
121
|
user_id=self.user_id)
|
|
110
122
|
|
|
111
123
|
|
|
112
124
|
def get_organization_application_user(organization_id: Optional[_builtins.str] = None,
|
|
125
|
+
timeouts: Optional[Union['GetOrganizationApplicationUserTimeoutsArgs', 'GetOrganizationApplicationUserTimeoutsArgsDict']] = None,
|
|
113
126
|
user_id: Optional[_builtins.str] = None,
|
|
114
127
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationApplicationUserResult:
|
|
115
128
|
"""
|
|
116
129
|
Gets information about an application user.
|
|
117
130
|
|
|
118
131
|
|
|
119
|
-
:param _builtins.str organization_id:
|
|
120
|
-
:param _builtins.str user_id:
|
|
132
|
+
:param _builtins.str organization_id: ID of an organization.
|
|
133
|
+
:param _builtins.str user_id: User ID.
|
|
121
134
|
"""
|
|
122
135
|
__args__ = dict()
|
|
123
136
|
__args__['organizationId'] = organization_id
|
|
137
|
+
__args__['timeouts'] = timeouts
|
|
124
138
|
__args__['userId'] = user_id
|
|
125
139
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
126
140
|
__ret__ = pulumi.runtime.invoke('aiven:index/getOrganizationApplicationUser:getOrganizationApplicationUser', __args__, opts=opts, typ=GetOrganizationApplicationUserResult).value
|
|
@@ -131,19 +145,22 @@ def get_organization_application_user(organization_id: Optional[_builtins.str] =
|
|
|
131
145
|
is_super_admin=pulumi.get(__ret__, 'is_super_admin'),
|
|
132
146
|
name=pulumi.get(__ret__, 'name'),
|
|
133
147
|
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
148
|
+
timeouts=pulumi.get(__ret__, 'timeouts'),
|
|
134
149
|
user_id=pulumi.get(__ret__, 'user_id'))
|
|
135
150
|
def get_organization_application_user_output(organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
151
|
+
timeouts: Optional[pulumi.Input[Optional[Union['GetOrganizationApplicationUserTimeoutsArgs', 'GetOrganizationApplicationUserTimeoutsArgsDict']]]] = None,
|
|
136
152
|
user_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
137
153
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationApplicationUserResult]:
|
|
138
154
|
"""
|
|
139
155
|
Gets information about an application user.
|
|
140
156
|
|
|
141
157
|
|
|
142
|
-
:param _builtins.str organization_id:
|
|
143
|
-
:param _builtins.str user_id:
|
|
158
|
+
:param _builtins.str organization_id: ID of an organization.
|
|
159
|
+
:param _builtins.str user_id: User ID.
|
|
144
160
|
"""
|
|
145
161
|
__args__ = dict()
|
|
146
162
|
__args__['organizationId'] = organization_id
|
|
163
|
+
__args__['timeouts'] = timeouts
|
|
147
164
|
__args__['userId'] = user_id
|
|
148
165
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
149
166
|
__ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganizationApplicationUser:getOrganizationApplicationUser', __args__, opts=opts, typ=GetOrganizationApplicationUserResult)
|
|
@@ -153,4 +170,5 @@ def get_organization_application_user_output(organization_id: Optional[pulumi.In
|
|
|
153
170
|
is_super_admin=pulumi.get(__response__, 'is_super_admin'),
|
|
154
171
|
name=pulumi.get(__response__, 'name'),
|
|
155
172
|
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
173
|
+
timeouts=pulumi.get(__response__, 'timeouts'),
|
|
156
174
|
user_id=pulumi.get(__response__, 'user_id')))
|
|
@@ -164,9 +164,6 @@ def get_organization_project(organization_id: Optional[_builtins.str] = None,
|
|
|
164
164
|
"""
|
|
165
165
|
Gets information about an Aiven project.
|
|
166
166
|
|
|
167
|
-
**This resource is in the beta stage and may change without notice.** Set
|
|
168
|
-
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
169
|
-
|
|
170
167
|
## Example Usage
|
|
171
168
|
|
|
172
169
|
```python
|
|
@@ -209,9 +206,6 @@ def get_organization_project_output(organization_id: Optional[pulumi.Input[_buil
|
|
|
209
206
|
"""
|
|
210
207
|
Gets information about an Aiven project.
|
|
211
208
|
|
|
212
|
-
**This resource is in the beta stage and may change without notice.** Set
|
|
213
|
-
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
214
|
-
|
|
215
209
|
## Example Usage
|
|
216
210
|
|
|
217
211
|
```python
|
pulumi_aiven/get_pg.py
CHANGED
|
@@ -144,7 +144,7 @@ class GetPgResult:
|
|
|
144
144
|
@pulumi.getter(name="diskSpace")
|
|
145
145
|
def disk_space(self) -> _builtins.str:
|
|
146
146
|
"""
|
|
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.
|
|
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. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
148
148
|
"""
|
|
149
149
|
return pulumi.get(self, "disk_space")
|
|
150
150
|
|
|
@@ -176,7 +176,7 @@ class GetPgResult:
|
|
|
176
176
|
@pulumi.getter(name="diskSpaceUsed")
|
|
177
177
|
def disk_space_used(self) -> _builtins.str:
|
|
178
178
|
"""
|
|
179
|
-
|
|
179
|
+
The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
180
180
|
"""
|
|
181
181
|
return pulumi.get(self, "disk_space_used")
|
|
182
182
|
|
pulumi_aiven/get_redis.py
CHANGED
|
@@ -144,7 +144,7 @@ class GetRedisResult:
|
|
|
144
144
|
@pulumi.getter(name="diskSpace")
|
|
145
145
|
def disk_space(self) -> _builtins.str:
|
|
146
146
|
"""
|
|
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.
|
|
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. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
148
148
|
"""
|
|
149
149
|
return pulumi.get(self, "disk_space")
|
|
150
150
|
|
|
@@ -176,7 +176,7 @@ class GetRedisResult:
|
|
|
176
176
|
@pulumi.getter(name="diskSpaceUsed")
|
|
177
177
|
def disk_space_used(self) -> _builtins.str:
|
|
178
178
|
"""
|
|
179
|
-
|
|
179
|
+
The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
180
180
|
"""
|
|
181
181
|
return pulumi.get(self, "disk_space_used")
|
|
182
182
|
|
pulumi_aiven/get_redis_user.py
CHANGED
|
@@ -86,7 +86,7 @@ class GetRedisUserResult:
|
|
|
86
86
|
@pulumi.getter(name="redisAclCategories")
|
|
87
87
|
def redis_acl_categories(self) -> Sequence[_builtins.str]:
|
|
88
88
|
"""
|
|
89
|
-
Defines command category rules. The field is required with`redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
|
|
89
|
+
Defines command category rules. The field is required with `redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
|
|
90
90
|
"""
|
|
91
91
|
return pulumi.get(self, "redis_acl_categories")
|
|
92
92
|
|
|
@@ -102,7 +102,7 @@ class GetRedisUserResult:
|
|
|
102
102
|
@pulumi.getter(name="redisAclCommands")
|
|
103
103
|
def redis_acl_commands(self) -> Sequence[_builtins.str]:
|
|
104
104
|
"""
|
|
105
|
-
Defines rules for individual commands. The field is required with`redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
|
|
105
|
+
Defines rules for individual commands. The field is required with `redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
|
|
106
106
|
"""
|
|
107
107
|
return pulumi.get(self, "redis_acl_commands")
|
|
108
108
|
|
|
@@ -110,7 +110,7 @@ class GetRedisUserResult:
|
|
|
110
110
|
@pulumi.getter(name="redisAclKeys")
|
|
111
111
|
def redis_acl_keys(self) -> Sequence[_builtins.str]:
|
|
112
112
|
"""
|
|
113
|
-
Defines key access rules. The field is required with`redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
|
|
113
|
+
Defines key access rules. The field is required with `redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
|
|
114
114
|
"""
|
|
115
115
|
return pulumi.get(self, "redis_acl_keys")
|
|
116
116
|
|