pulumi-aiven 6.17.2a1717693486__py3-none-any.whl → 6.18.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-aiven might be problematic. Click here for more details.

Files changed (40) hide show
  1. pulumi_aiven/_inputs.py +1650 -1106
  2. pulumi_aiven/_utilities.py +35 -0
  3. pulumi_aiven/account.py +9 -27
  4. pulumi_aiven/account_authentication.py +10 -4
  5. pulumi_aiven/account_team.py +16 -8
  6. pulumi_aiven/account_team_member.py +16 -8
  7. pulumi_aiven/account_team_project.py +16 -8
  8. pulumi_aiven/azure_privatelink_connection_approval.py +2 -2
  9. pulumi_aiven/billing_group.py +3 -9
  10. pulumi_aiven/cassandra.py +3 -9
  11. pulumi_aiven/clickhouse.py +3 -9
  12. pulumi_aiven/dragonfly.py +3 -9
  13. pulumi_aiven/flink.py +3 -9
  14. pulumi_aiven/flink_application_version.py +6 -18
  15. pulumi_aiven/get_project.py +1 -1
  16. pulumi_aiven/grafana.py +3 -9
  17. pulumi_aiven/influx_db.py +3 -9
  18. pulumi_aiven/kafka.py +6 -18
  19. pulumi_aiven/kafka_connect.py +3 -9
  20. pulumi_aiven/kafka_mirror_maker.py +3 -9
  21. pulumi_aiven/m3_aggregator.py +3 -9
  22. pulumi_aiven/m3_db.py +3 -9
  23. pulumi_aiven/my_sql.py +3 -9
  24. pulumi_aiven/open_search.py +3 -9
  25. pulumi_aiven/organization.py +2 -2
  26. pulumi_aiven/organization_group_project.py +2 -2
  27. pulumi_aiven/organization_user.py +4 -12
  28. pulumi_aiven/organization_user_group.py +2 -2
  29. pulumi_aiven/organization_user_group_member.py +2 -2
  30. pulumi_aiven/organizational_unit.py +2 -2
  31. pulumi_aiven/outputs.py +3107 -2245
  32. pulumi_aiven/pg.py +3 -9
  33. pulumi_aiven/project.py +18 -36
  34. pulumi_aiven/pulumi-plugin.json +1 -1
  35. pulumi_aiven/redis.py +3 -9
  36. pulumi_aiven/transit_gateway_vpc_attachment.py +3 -9
  37. {pulumi_aiven-6.17.2a1717693486.dist-info → pulumi_aiven-6.18.0.dist-info}/METADATA +1 -1
  38. {pulumi_aiven-6.17.2a1717693486.dist-info → pulumi_aiven-6.18.0.dist-info}/RECORD +40 -40
  39. {pulumi_aiven-6.17.2a1717693486.dist-info → pulumi_aiven-6.18.0.dist-info}/WHEEL +1 -1
  40. {pulumi_aiven-6.17.2a1717693486.dist-info → pulumi_aiven-6.18.0.dist-info}/top_level.txt +0 -0
@@ -4,6 +4,7 @@
4
4
 
5
5
 
6
6
  import asyncio
7
+ import functools
7
8
  import importlib.metadata
8
9
  import importlib.util
9
10
  import inspect
@@ -11,6 +12,7 @@ import json
11
12
  import os
12
13
  import sys
13
14
  import typing
15
+ import warnings
14
16
 
15
17
  import pulumi
16
18
  import pulumi.runtime
@@ -19,6 +21,8 @@ from pulumi.runtime.sync_await import _sync_await
19
21
  from semver import VersionInfo as SemverVersion
20
22
  from parver import Version as PEP440Version
21
23
 
24
+ C = typing.TypeVar("C", bound=typing.Callable)
25
+
22
26
 
23
27
  def get_env(*args):
24
28
  for v in args:
@@ -287,5 +291,36 @@ async def _await_output(o: pulumi.Output[typing.Any]) -> typing.Tuple[object, bo
287
291
  await o._resources,
288
292
  )
289
293
 
294
+
295
+ # This is included to provide an upgrade path for users who are using a version
296
+ # of the Pulumi SDK (<3.121.0) that does not include the `deprecated` decorator.
297
+ def deprecated(message: str) -> typing.Callable[[C], C]:
298
+ """
299
+ Decorator to indicate a function is deprecated.
300
+
301
+ As well as inserting appropriate statements to indicate that the function is
302
+ deprecated, this decorator also tags the function with a special attribute
303
+ so that Pulumi code can detect that it is deprecated and react appropriately
304
+ in certain situations.
305
+
306
+ message is the deprecation message that should be printed if the function is called.
307
+ """
308
+
309
+ def decorator(fn: C) -> C:
310
+ if not callable(fn):
311
+ raise TypeError("Expected fn to be callable")
312
+
313
+ @functools.wraps(fn)
314
+ def deprecated_fn(*args, **kwargs):
315
+ warnings.warn(message)
316
+ pulumi.warn(f"{fn.__name__} is deprecated: {message}")
317
+
318
+ return fn(*args, **kwargs)
319
+
320
+ deprecated_fn.__dict__["_pulumi_deprecated_callable"] = fn
321
+ return typing.cast(C, deprecated_fn)
322
+
323
+ return decorator
324
+
290
325
  def get_plugin_download_url():
291
326
  return None
pulumi_aiven/account.py CHANGED
@@ -43,13 +43,11 @@ class AccountArgs:
43
43
 
44
44
  @property
45
45
  @pulumi.getter(name="primaryBillingGroupId")
46
+ @_utilities.deprecated("""The new Organization resource won't have it, and will not have a replacement.""")
46
47
  def primary_billing_group_id(self) -> Optional[pulumi.Input[str]]:
47
48
  """
48
49
  Billing group id
49
50
  """
50
- warnings.warn("""The new Organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
51
- pulumi.log.warn("""primary_billing_group_id is deprecated: The new Organization resource won't have it, and will not have a replacement.""")
52
-
53
51
  return pulumi.get(self, "primary_billing_group_id")
54
52
 
55
53
  @primary_billing_group_id.setter
@@ -110,13 +108,11 @@ class _AccountState:
110
108
 
111
109
  @property
112
110
  @pulumi.getter(name="accountId")
111
+ @_utilities.deprecated("""The new Organization resource won't have it, use the built-in ID field instead.""")
113
112
  def account_id(self) -> Optional[pulumi.Input[str]]:
114
113
  """
115
114
  Account id
116
115
  """
117
- warnings.warn("""The new Organization resource won't have it, use the built-in ID field instead.""", DeprecationWarning)
118
- pulumi.log.warn("""account_id is deprecated: The new Organization resource won't have it, use the built-in ID field instead.""")
119
-
120
116
  return pulumi.get(self, "account_id")
121
117
 
122
118
  @account_id.setter
@@ -137,13 +133,11 @@ class _AccountState:
137
133
 
138
134
  @property
139
135
  @pulumi.getter(name="isAccountOwner")
136
+ @_utilities.deprecated("""The new Organization resource won't have it, and will not have a replacement.""")
140
137
  def is_account_owner(self) -> Optional[pulumi.Input[bool]]:
141
138
  """
142
139
  If true, user is part of the owners team for this account
143
140
  """
144
- warnings.warn("""The new Organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
145
- pulumi.log.warn("""is_account_owner is deprecated: The new Organization resource won't have it, and will not have a replacement.""")
146
-
147
141
  return pulumi.get(self, "is_account_owner")
148
142
 
149
143
  @is_account_owner.setter
@@ -164,13 +158,11 @@ class _AccountState:
164
158
 
165
159
  @property
166
160
  @pulumi.getter(name="ownerTeamId")
161
+ @_utilities.deprecated("""The new Organization resource won't have it, and will not have a replacement.""")
167
162
  def owner_team_id(self) -> Optional[pulumi.Input[str]]:
168
163
  """
169
164
  Owner team id
170
165
  """
171
- warnings.warn("""The new Organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
172
- pulumi.log.warn("""owner_team_id is deprecated: The new Organization resource won't have it, and will not have a replacement.""")
173
-
174
166
  return pulumi.get(self, "owner_team_id")
175
167
 
176
168
  @owner_team_id.setter
@@ -179,13 +171,11 @@ class _AccountState:
179
171
 
180
172
  @property
181
173
  @pulumi.getter(name="primaryBillingGroupId")
174
+ @_utilities.deprecated("""The new Organization resource won't have it, and will not have a replacement.""")
182
175
  def primary_billing_group_id(self) -> Optional[pulumi.Input[str]]:
183
176
  """
184
177
  Billing group id
185
178
  """
186
- warnings.warn("""The new Organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
187
- pulumi.log.warn("""primary_billing_group_id is deprecated: The new Organization resource won't have it, and will not have a replacement.""")
188
-
189
179
  return pulumi.get(self, "primary_billing_group_id")
190
180
 
191
181
  @primary_billing_group_id.setter
@@ -360,13 +350,11 @@ class Account(pulumi.CustomResource):
360
350
 
361
351
  @property
362
352
  @pulumi.getter(name="accountId")
353
+ @_utilities.deprecated("""The new Organization resource won't have it, use the built-in ID field instead.""")
363
354
  def account_id(self) -> pulumi.Output[str]:
364
355
  """
365
356
  Account id
366
357
  """
367
- warnings.warn("""The new Organization resource won't have it, use the built-in ID field instead.""", DeprecationWarning)
368
- pulumi.log.warn("""account_id is deprecated: The new Organization resource won't have it, use the built-in ID field instead.""")
369
-
370
358
  return pulumi.get(self, "account_id")
371
359
 
372
360
  @property
@@ -379,13 +367,11 @@ class Account(pulumi.CustomResource):
379
367
 
380
368
  @property
381
369
  @pulumi.getter(name="isAccountOwner")
370
+ @_utilities.deprecated("""The new Organization resource won't have it, and will not have a replacement.""")
382
371
  def is_account_owner(self) -> pulumi.Output[bool]:
383
372
  """
384
373
  If true, user is part of the owners team for this account
385
374
  """
386
- warnings.warn("""The new Organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
387
- pulumi.log.warn("""is_account_owner is deprecated: The new Organization resource won't have it, and will not have a replacement.""")
388
-
389
375
  return pulumi.get(self, "is_account_owner")
390
376
 
391
377
  @property
@@ -398,24 +384,20 @@ class Account(pulumi.CustomResource):
398
384
 
399
385
  @property
400
386
  @pulumi.getter(name="ownerTeamId")
387
+ @_utilities.deprecated("""The new Organization resource won't have it, and will not have a replacement.""")
401
388
  def owner_team_id(self) -> pulumi.Output[str]:
402
389
  """
403
390
  Owner team id
404
391
  """
405
- warnings.warn("""The new Organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
406
- pulumi.log.warn("""owner_team_id is deprecated: The new Organization resource won't have it, and will not have a replacement.""")
407
-
408
392
  return pulumi.get(self, "owner_team_id")
409
393
 
410
394
  @property
411
395
  @pulumi.getter(name="primaryBillingGroupId")
396
+ @_utilities.deprecated("""The new Organization resource won't have it, and will not have a replacement.""")
412
397
  def primary_billing_group_id(self) -> pulumi.Output[Optional[str]]:
413
398
  """
414
399
  Billing group id
415
400
  """
416
- warnings.warn("""The new Organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
417
- pulumi.log.warn("""primary_billing_group_id is deprecated: The new Organization resource won't have it, and will not have a replacement.""")
418
-
419
401
  return pulumi.get(self, "primary_billing_group_id")
420
402
 
421
403
  @property
@@ -543,10 +543,13 @@ class AccountAuthentication(pulumi.CustomResource):
543
543
  type: Optional[pulumi.Input[str]] = None,
544
544
  __props__=None):
545
545
  """
546
- **This resource is deprecated**.
547
-
548
546
  Creates and manages an authentication method.
549
547
 
548
+ > **This resource is deprecated**
549
+ To set up an identity provider as an authentication method for your organization,
550
+ [use the Aiven Console](https://aiven.io/docs/platform/howto/saml/add-identity-providers).
551
+ It guides you through the steps and explains the settings.
552
+
550
553
  ## Import
551
554
 
552
555
  ```sh
@@ -576,10 +579,13 @@ class AccountAuthentication(pulumi.CustomResource):
576
579
  args: AccountAuthenticationArgs,
577
580
  opts: Optional[pulumi.ResourceOptions] = None):
578
581
  """
579
- **This resource is deprecated**.
580
-
581
582
  Creates and manages an authentication method.
582
583
 
584
+ > **This resource is deprecated**
585
+ To set up an identity provider as an authentication method for your organization,
586
+ [use the Aiven Console](https://aiven.io/docs/platform/howto/saml/add-identity-providers).
587
+ It guides you through the steps and explains the settings.
588
+
583
589
  ## Import
584
590
 
585
591
  ```sh
@@ -147,12 +147,16 @@ class AccountTeam(pulumi.CustomResource):
147
147
  name: Optional[pulumi.Input[str]] = None,
148
148
  __props__=None):
149
149
  """
150
+ **This resource is deprecated.** Use `OrganizationUserGroup` instead.
151
+
150
152
  Creates and manages a team.
151
153
 
152
- > **Teams are becoming groups**
153
- Groups are an easier way to control access to your organization's projects and
154
- services for a group of users.
155
- Migrate your teams to groups.
154
+ > **Teams have been deprecated and are being migrated to groups**
155
+ **On 2 September 2024** the Account Owners team will transition to super admin. Super admin have full access to the organization.
156
+ The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on your day to day operations.
157
+ **From 4 November 2024** you won't be able to create new teams or update existing ones. Existing teams will be migrated to groups after
158
+ this date. **On 2 December 2024** all teams will be deleted and the teams feature will be completely removed. View the
159
+ migration guide for more information on the changes and migrating to groups.
156
160
 
157
161
  ## Example Usage
158
162
 
@@ -183,12 +187,16 @@ class AccountTeam(pulumi.CustomResource):
183
187
  args: AccountTeamArgs,
184
188
  opts: Optional[pulumi.ResourceOptions] = None):
185
189
  """
190
+ **This resource is deprecated.** Use `OrganizationUserGroup` instead.
191
+
186
192
  Creates and manages a team.
187
193
 
188
- > **Teams are becoming groups**
189
- Groups are an easier way to control access to your organization's projects and
190
- services for a group of users.
191
- Migrate your teams to groups.
194
+ > **Teams have been deprecated and are being migrated to groups**
195
+ **On 2 September 2024** the Account Owners team will transition to super admin. Super admin have full access to the organization.
196
+ The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on your day to day operations.
197
+ **From 4 November 2024** you won't be able to create new teams or update existing ones. Existing teams will be migrated to groups after
198
+ this date. **On 2 December 2024** all teams will be deleted and the teams feature will be completely removed. View the
199
+ migration guide for more information on the changes and migrating to groups.
192
200
 
193
201
  ## Example Usage
194
202
 
@@ -178,16 +178,20 @@ class AccountTeamMember(pulumi.CustomResource):
178
178
  user_email: Optional[pulumi.Input[str]] = None,
179
179
  __props__=None):
180
180
  """
181
+ **This resource is deprecated.** Use `OrganizationUserGroupMember` instead.
182
+
181
183
  Adds a user as a team member.
182
184
 
183
185
  During the creation of this resource, an invite is sent to the address specified in `user_email`.
184
186
  The user is added to the team after they accept the invite. Deleting `AccountTeamMember`
185
187
  deletes the pending invite if not accepted or removes the user from the team if they already accepted the invite.
186
188
 
187
- > **Teams are becoming groups**
188
- Groups are an easier way to control access to your organization's projects and
189
- services for a group of users.
190
- Migrate your teams to groups.
189
+ > **Teams have been deprecated and are being migrated to groups**
190
+ **On 2 September 2024** the Account Owners team will transition to super admin. Super admin have full access to the organization.
191
+ The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on your day to day operations.
192
+ **From 4 November 2024** you won't be able to create new teams or update existing ones. Existing teams will be migrated to groups after
193
+ this date. **On 2 December 2024** all teams will be deleted and the teams feature will be completely removed. View the
194
+ migration guide for more information on the changes and migrating to groups.
191
195
 
192
196
  ## Example Usage
193
197
 
@@ -220,16 +224,20 @@ class AccountTeamMember(pulumi.CustomResource):
220
224
  args: AccountTeamMemberArgs,
221
225
  opts: Optional[pulumi.ResourceOptions] = None):
222
226
  """
227
+ **This resource is deprecated.** Use `OrganizationUserGroupMember` instead.
228
+
223
229
  Adds a user as a team member.
224
230
 
225
231
  During the creation of this resource, an invite is sent to the address specified in `user_email`.
226
232
  The user is added to the team after they accept the invite. Deleting `AccountTeamMember`
227
233
  deletes the pending invite if not accepted or removes the user from the team if they already accepted the invite.
228
234
 
229
- > **Teams are becoming groups**
230
- Groups are an easier way to control access to your organization's projects and
231
- services for a group of users.
232
- Migrate your teams to groups.
235
+ > **Teams have been deprecated and are being migrated to groups**
236
+ **On 2 September 2024** the Account Owners team will transition to super admin. Super admin have full access to the organization.
237
+ The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on your day to day operations.
238
+ **From 4 November 2024** you won't be able to create new teams or update existing ones. Existing teams will be migrated to groups after
239
+ this date. **On 2 December 2024** all teams will be deleted and the teams feature will be completely removed. View the
240
+ migration guide for more information on the changes and migrating to groups.
233
241
 
234
242
  ## Example Usage
235
243
 
@@ -164,12 +164,16 @@ class AccountTeamProject(pulumi.CustomResource):
164
164
  team_type: Optional[pulumi.Input[str]] = None,
165
165
  __props__=None):
166
166
  """
167
+ **This resource is deprecated.** Use `OrganizationGroupProject` instead.
168
+
167
169
  Links an existing project to an existing team. Both the project and team should have the same `account_id`.
168
170
 
169
- > **Teams are becoming groups**
170
- Groups are an easier way to control access to your organization's projects and
171
- services for a group of users.
172
- Migrate your teams to groups.
171
+ > **Teams have been deprecated and are being migrated to groups**
172
+ **On 2 September 2024** the Account Owners team will transition to super admin. Super admin have full access to the organization.
173
+ The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on your day to day operations.
174
+ **From 4 November 2024** you won't be able to create new teams or update existing ones. Existing teams will be migrated to groups after
175
+ this date. **On 2 December 2024** all teams will be deleted and the teams feature will be completely removed. View the
176
+ migration guide for more information on the changes and migrating to groups.
173
177
 
174
178
  ## Example Usage
175
179
 
@@ -210,12 +214,16 @@ class AccountTeamProject(pulumi.CustomResource):
210
214
  args: AccountTeamProjectArgs,
211
215
  opts: Optional[pulumi.ResourceOptions] = None):
212
216
  """
217
+ **This resource is deprecated.** Use `OrganizationGroupProject` instead.
218
+
213
219
  Links an existing project to an existing team. Both the project and team should have the same `account_id`.
214
220
 
215
- > **Teams are becoming groups**
216
- Groups are an easier way to control access to your organization's projects and
217
- services for a group of users.
218
- Migrate your teams to groups.
221
+ > **Teams have been deprecated and are being migrated to groups**
222
+ **On 2 September 2024** the Account Owners team will transition to super admin. Super admin have full access to the organization.
223
+ The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on your day to day operations.
224
+ **From 4 November 2024** you won't be able to create new teams or update existing ones. Existing teams will be migrated to groups after
225
+ this date. **On 2 December 2024** all teams will be deleted and the teams feature will be completely removed. View the
226
+ migration guide for more information on the changes and migrating to groups.
219
227
 
220
228
  ## Example Usage
221
229
 
@@ -207,7 +207,7 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
207
207
  isManualConnection: True,
208
208
  requestMessage: default.name,
209
209
  }],
210
- opts=pulumi.ResourceOptions(depends_on=[privatelink]))
210
+ opts = pulumi.ResourceOptions(depends_on=[privatelink]))
211
211
  approval = aiven.AzurePrivatelinkConnectionApproval("approval",
212
212
  project=aiven_project_id,
213
213
  service_name=default.service_name,
@@ -277,7 +277,7 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
277
277
  isManualConnection: True,
278
278
  requestMessage: default.name,
279
279
  }],
280
- opts=pulumi.ResourceOptions(depends_on=[privatelink]))
280
+ opts = pulumi.ResourceOptions(depends_on=[privatelink]))
281
281
  approval = aiven.AzurePrivatelinkConnectionApproval("approval",
282
282
  project=aiven_project_id,
283
283
  service_name=default.service_name,
@@ -83,13 +83,11 @@ class BillingGroupArgs:
83
83
 
84
84
  @property
85
85
  @pulumi.getter(name="accountId")
86
+ @_utilities.deprecated("""Use parent_id instead. This field will be removed in the next major release.""")
86
87
  def account_id(self) -> Optional[pulumi.Input[str]]:
87
88
  """
88
89
  Account ID.
89
90
  """
90
- warnings.warn("""Use parent_id instead. This field will be removed in the next major release.""", DeprecationWarning)
91
- pulumi.log.warn("""account_id is deprecated: Use parent_id instead. This field will be removed in the next major release.""")
92
-
93
91
  return pulumi.get(self, "account_id")
94
92
 
95
93
  @account_id.setter
@@ -337,13 +335,11 @@ class _BillingGroupState:
337
335
 
338
336
  @property
339
337
  @pulumi.getter(name="accountId")
338
+ @_utilities.deprecated("""Use parent_id instead. This field will be removed in the next major release.""")
340
339
  def account_id(self) -> Optional[pulumi.Input[str]]:
341
340
  """
342
341
  Account ID.
343
342
  """
344
- warnings.warn("""Use parent_id instead. This field will be removed in the next major release.""", DeprecationWarning)
345
- pulumi.log.warn("""account_id is deprecated: Use parent_id instead. This field will be removed in the next major release.""")
346
-
347
343
  return pulumi.get(self, "account_id")
348
344
 
349
345
  @account_id.setter
@@ -739,13 +735,11 @@ class BillingGroup(pulumi.CustomResource):
739
735
 
740
736
  @property
741
737
  @pulumi.getter(name="accountId")
738
+ @_utilities.deprecated("""Use parent_id instead. This field will be removed in the next major release.""")
742
739
  def account_id(self) -> pulumi.Output[Optional[str]]:
743
740
  """
744
741
  Account ID.
745
742
  """
746
- warnings.warn("""Use parent_id instead. This field will be removed in the next major release.""", DeprecationWarning)
747
- pulumi.log.warn("""account_id is deprecated: Use parent_id instead. This field will be removed in the next major release.""")
748
-
749
743
  return pulumi.get(self, "account_id")
750
744
 
751
745
  @property
pulumi_aiven/cassandra.py CHANGED
@@ -170,13 +170,11 @@ class CassandraArgs:
170
170
 
171
171
  @property
172
172
  @pulumi.getter(name="diskSpace")
173
+ @_utilities.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.""")
173
174
  def disk_space(self) -> Optional[pulumi.Input[str]]:
174
175
  """
175
176
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
176
177
  """
177
- 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)
178
- 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.""")
179
-
180
178
  return pulumi.get(self, "disk_space")
181
179
 
182
180
  @disk_space.setter
@@ -464,13 +462,11 @@ class _CassandraState:
464
462
 
465
463
  @property
466
464
  @pulumi.getter(name="diskSpace")
465
+ @_utilities.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.""")
467
466
  def disk_space(self) -> Optional[pulumi.Input[str]]:
468
467
  """
469
468
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
470
469
  """
471
- 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)
472
- 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.""")
473
-
474
470
  return pulumi.get(self, "disk_space")
475
471
 
476
472
  @disk_space.setter
@@ -1075,13 +1071,11 @@ class Cassandra(pulumi.CustomResource):
1075
1071
 
1076
1072
  @property
1077
1073
  @pulumi.getter(name="diskSpace")
1074
+ @_utilities.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.""")
1078
1075
  def disk_space(self) -> pulumi.Output[Optional[str]]:
1079
1076
  """
1080
1077
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
1081
1078
  """
1082
- 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)
1083
- 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.""")
1084
-
1085
1079
  return pulumi.get(self, "disk_space")
1086
1080
 
1087
1081
  @property
@@ -170,13 +170,11 @@ class ClickhouseArgs:
170
170
 
171
171
  @property
172
172
  @pulumi.getter(name="diskSpace")
173
+ @_utilities.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.""")
173
174
  def disk_space(self) -> Optional[pulumi.Input[str]]:
174
175
  """
175
176
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
176
177
  """
177
- 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)
178
- 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.""")
179
-
180
178
  return pulumi.get(self, "disk_space")
181
179
 
182
180
  @disk_space.setter
@@ -464,13 +462,11 @@ class _ClickhouseState:
464
462
 
465
463
  @property
466
464
  @pulumi.getter(name="diskSpace")
465
+ @_utilities.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.""")
467
466
  def disk_space(self) -> Optional[pulumi.Input[str]]:
468
467
  """
469
468
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
470
469
  """
471
- 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)
472
- 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.""")
473
-
474
470
  return pulumi.get(self, "disk_space")
475
471
 
476
472
  @disk_space.setter
@@ -1063,13 +1059,11 @@ class Clickhouse(pulumi.CustomResource):
1063
1059
 
1064
1060
  @property
1065
1061
  @pulumi.getter(name="diskSpace")
1062
+ @_utilities.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.""")
1066
1063
  def disk_space(self) -> pulumi.Output[Optional[str]]:
1067
1064
  """
1068
1065
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
1069
1066
  """
1070
- 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)
1071
- 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.""")
1072
-
1073
1067
  return pulumi.get(self, "disk_space")
1074
1068
 
1075
1069
  @property
pulumi_aiven/dragonfly.py CHANGED
@@ -146,13 +146,11 @@ class DragonflyArgs:
146
146
 
147
147
  @property
148
148
  @pulumi.getter(name="diskSpace")
149
+ @_utilities.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.""")
149
150
  def disk_space(self) -> Optional[pulumi.Input[str]]:
150
151
  """
151
152
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
152
153
  """
153
- 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)
154
- 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.""")
155
-
156
154
  return pulumi.get(self, "disk_space")
157
155
 
158
156
  @disk_space.setter
@@ -440,13 +438,11 @@ class _DragonflyState:
440
438
 
441
439
  @property
442
440
  @pulumi.getter(name="diskSpace")
441
+ @_utilities.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.""")
443
442
  def disk_space(self) -> Optional[pulumi.Input[str]]:
444
443
  """
445
444
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
446
445
  """
447
- 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)
448
- 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
-
450
446
  return pulumi.get(self, "disk_space")
451
447
 
452
448
  @disk_space.setter
@@ -1049,13 +1045,11 @@ class Dragonfly(pulumi.CustomResource):
1049
1045
 
1050
1046
  @property
1051
1047
  @pulumi.getter(name="diskSpace")
1048
+ @_utilities.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.""")
1052
1049
  def disk_space(self) -> pulumi.Output[Optional[str]]:
1053
1050
  """
1054
1051
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
1055
1052
  """
1056
- 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)
1057
- 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.""")
1058
-
1059
1053
  return pulumi.get(self, "disk_space")
1060
1054
 
1061
1055
  @property
pulumi_aiven/flink.py CHANGED
@@ -146,13 +146,11 @@ class FlinkArgs:
146
146
 
147
147
  @property
148
148
  @pulumi.getter(name="diskSpace")
149
+ @_utilities.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.""")
149
150
  def disk_space(self) -> Optional[pulumi.Input[str]]:
150
151
  """
151
152
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
152
153
  """
153
- 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)
154
- 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.""")
155
-
156
154
  return pulumi.get(self, "disk_space")
157
155
 
158
156
  @disk_space.setter
@@ -440,13 +438,11 @@ class _FlinkState:
440
438
 
441
439
  @property
442
440
  @pulumi.getter(name="diskSpace")
441
+ @_utilities.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.""")
443
442
  def disk_space(self) -> Optional[pulumi.Input[str]]:
444
443
  """
445
444
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
446
445
  """
447
- 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)
448
- 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
-
450
446
  return pulumi.get(self, "disk_space")
451
447
 
452
448
  @disk_space.setter
@@ -1053,13 +1049,11 @@ class Flink(pulumi.CustomResource):
1053
1049
 
1054
1050
  @property
1055
1051
  @pulumi.getter(name="diskSpace")
1052
+ @_utilities.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.""")
1056
1053
  def disk_space(self) -> pulumi.Output[Optional[str]]:
1057
1054
  """
1058
1055
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
1059
1056
  """
1060
- 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)
1061
- 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.""")
1062
-
1063
1057
  return pulumi.get(self, "disk_space")
1064
1058
 
1065
1059
  @property