pulumi-aiven 6.18.0__py3-none-any.whl → 6.18.0a1717478109__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 (42) hide show
  1. pulumi_aiven/_inputs.py +1106 -1650
  2. pulumi_aiven/_utilities.py +0 -35
  3. pulumi_aiven/account.py +27 -9
  4. pulumi_aiven/account_authentication.py +4 -10
  5. pulumi_aiven/account_team.py +8 -16
  6. pulumi_aiven/account_team_member.py +8 -16
  7. pulumi_aiven/account_team_project.py +8 -16
  8. pulumi_aiven/azure_privatelink_connection_approval.py +2 -2
  9. pulumi_aiven/billing_group.py +9 -3
  10. pulumi_aiven/cassandra.py +9 -3
  11. pulumi_aiven/clickhouse.py +9 -3
  12. pulumi_aiven/dragonfly.py +9 -3
  13. pulumi_aiven/flink.py +9 -3
  14. pulumi_aiven/flink_application_version.py +18 -6
  15. pulumi_aiven/get_mirror_maker_replication_flow.py +1 -14
  16. pulumi_aiven/get_project.py +1 -1
  17. pulumi_aiven/grafana.py +9 -3
  18. pulumi_aiven/influx_db.py +9 -3
  19. pulumi_aiven/kafka.py +18 -6
  20. pulumi_aiven/kafka_connect.py +9 -3
  21. pulumi_aiven/kafka_mirror_maker.py +9 -3
  22. pulumi_aiven/m3_aggregator.py +9 -3
  23. pulumi_aiven/m3_db.py +9 -3
  24. pulumi_aiven/mirror_maker_replication_flow.py +0 -63
  25. pulumi_aiven/my_sql.py +9 -3
  26. pulumi_aiven/open_search.py +9 -3
  27. pulumi_aiven/organization.py +2 -2
  28. pulumi_aiven/organization_group_project.py +2 -2
  29. pulumi_aiven/organization_user.py +12 -4
  30. pulumi_aiven/organization_user_group.py +2 -2
  31. pulumi_aiven/organization_user_group_member.py +2 -2
  32. pulumi_aiven/organizational_unit.py +2 -2
  33. pulumi_aiven/outputs.py +2245 -3107
  34. pulumi_aiven/pg.py +9 -3
  35. pulumi_aiven/project.py +36 -18
  36. pulumi_aiven/pulumi-plugin.json +1 -1
  37. pulumi_aiven/redis.py +9 -3
  38. pulumi_aiven/transit_gateway_vpc_attachment.py +9 -3
  39. {pulumi_aiven-6.18.0.dist-info → pulumi_aiven-6.18.0a1717478109.dist-info}/METADATA +1 -1
  40. {pulumi_aiven-6.18.0.dist-info → pulumi_aiven-6.18.0a1717478109.dist-info}/RECORD +42 -42
  41. {pulumi_aiven-6.18.0.dist-info → pulumi_aiven-6.18.0a1717478109.dist-info}/WHEEL +1 -1
  42. {pulumi_aiven-6.18.0.dist-info → pulumi_aiven-6.18.0a1717478109.dist-info}/top_level.txt +0 -0
@@ -4,7 +4,6 @@
4
4
 
5
5
 
6
6
  import asyncio
7
- import functools
8
7
  import importlib.metadata
9
8
  import importlib.util
10
9
  import inspect
@@ -12,7 +11,6 @@ import json
12
11
  import os
13
12
  import sys
14
13
  import typing
15
- import warnings
16
14
 
17
15
  import pulumi
18
16
  import pulumi.runtime
@@ -21,8 +19,6 @@ from pulumi.runtime.sync_await import _sync_await
21
19
  from semver import VersionInfo as SemverVersion
22
20
  from parver import Version as PEP440Version
23
21
 
24
- C = typing.TypeVar("C", bound=typing.Callable)
25
-
26
22
 
27
23
  def get_env(*args):
28
24
  for v in args:
@@ -291,36 +287,5 @@ async def _await_output(o: pulumi.Output[typing.Any]) -> typing.Tuple[object, bo
291
287
  await o._resources,
292
288
  )
293
289
 
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
-
325
290
  def get_plugin_download_url():
326
291
  return None
pulumi_aiven/account.py CHANGED
@@ -43,11 +43,13 @@ 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.""")
47
46
  def primary_billing_group_id(self) -> Optional[pulumi.Input[str]]:
48
47
  """
49
48
  Billing group id
50
49
  """
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
+
51
53
  return pulumi.get(self, "primary_billing_group_id")
52
54
 
53
55
  @primary_billing_group_id.setter
@@ -108,11 +110,13 @@ class _AccountState:
108
110
 
109
111
  @property
110
112
  @pulumi.getter(name="accountId")
111
- @_utilities.deprecated("""The new Organization resource won't have it, use the built-in ID field instead.""")
112
113
  def account_id(self) -> Optional[pulumi.Input[str]]:
113
114
  """
114
115
  Account id
115
116
  """
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
+
116
120
  return pulumi.get(self, "account_id")
117
121
 
118
122
  @account_id.setter
@@ -133,11 +137,13 @@ class _AccountState:
133
137
 
134
138
  @property
135
139
  @pulumi.getter(name="isAccountOwner")
136
- @_utilities.deprecated("""The new Organization resource won't have it, and will not have a replacement.""")
137
140
  def is_account_owner(self) -> Optional[pulumi.Input[bool]]:
138
141
  """
139
142
  If true, user is part of the owners team for this account
140
143
  """
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
+
141
147
  return pulumi.get(self, "is_account_owner")
142
148
 
143
149
  @is_account_owner.setter
@@ -158,11 +164,13 @@ class _AccountState:
158
164
 
159
165
  @property
160
166
  @pulumi.getter(name="ownerTeamId")
161
- @_utilities.deprecated("""The new Organization resource won't have it, and will not have a replacement.""")
162
167
  def owner_team_id(self) -> Optional[pulumi.Input[str]]:
163
168
  """
164
169
  Owner team id
165
170
  """
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
+
166
174
  return pulumi.get(self, "owner_team_id")
167
175
 
168
176
  @owner_team_id.setter
@@ -171,11 +179,13 @@ class _AccountState:
171
179
 
172
180
  @property
173
181
  @pulumi.getter(name="primaryBillingGroupId")
174
- @_utilities.deprecated("""The new Organization resource won't have it, and will not have a replacement.""")
175
182
  def primary_billing_group_id(self) -> Optional[pulumi.Input[str]]:
176
183
  """
177
184
  Billing group id
178
185
  """
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
+
179
189
  return pulumi.get(self, "primary_billing_group_id")
180
190
 
181
191
  @primary_billing_group_id.setter
@@ -350,11 +360,13 @@ class Account(pulumi.CustomResource):
350
360
 
351
361
  @property
352
362
  @pulumi.getter(name="accountId")
353
- @_utilities.deprecated("""The new Organization resource won't have it, use the built-in ID field instead.""")
354
363
  def account_id(self) -> pulumi.Output[str]:
355
364
  """
356
365
  Account id
357
366
  """
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
+
358
370
  return pulumi.get(self, "account_id")
359
371
 
360
372
  @property
@@ -367,11 +379,13 @@ class Account(pulumi.CustomResource):
367
379
 
368
380
  @property
369
381
  @pulumi.getter(name="isAccountOwner")
370
- @_utilities.deprecated("""The new Organization resource won't have it, and will not have a replacement.""")
371
382
  def is_account_owner(self) -> pulumi.Output[bool]:
372
383
  """
373
384
  If true, user is part of the owners team for this account
374
385
  """
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
+
375
389
  return pulumi.get(self, "is_account_owner")
376
390
 
377
391
  @property
@@ -384,20 +398,24 @@ class Account(pulumi.CustomResource):
384
398
 
385
399
  @property
386
400
  @pulumi.getter(name="ownerTeamId")
387
- @_utilities.deprecated("""The new Organization resource won't have it, and will not have a replacement.""")
388
401
  def owner_team_id(self) -> pulumi.Output[str]:
389
402
  """
390
403
  Owner team id
391
404
  """
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
+
392
408
  return pulumi.get(self, "owner_team_id")
393
409
 
394
410
  @property
395
411
  @pulumi.getter(name="primaryBillingGroupId")
396
- @_utilities.deprecated("""The new Organization resource won't have it, and will not have a replacement.""")
397
412
  def primary_billing_group_id(self) -> pulumi.Output[Optional[str]]:
398
413
  """
399
414
  Billing group id
400
415
  """
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
+
401
419
  return pulumi.get(self, "primary_billing_group_id")
402
420
 
403
421
  @property
@@ -543,12 +543,9 @@ class AccountAuthentication(pulumi.CustomResource):
543
543
  type: Optional[pulumi.Input[str]] = None,
544
544
  __props__=None):
545
545
  """
546
- Creates and manages an authentication method.
546
+ **This resource is deprecated**.
547
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.
548
+ Creates and manages an authentication method.
552
549
 
553
550
  ## Import
554
551
 
@@ -579,12 +576,9 @@ class AccountAuthentication(pulumi.CustomResource):
579
576
  args: AccountAuthenticationArgs,
580
577
  opts: Optional[pulumi.ResourceOptions] = None):
581
578
  """
582
- Creates and manages an authentication method.
579
+ **This resource is deprecated**.
583
580
 
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.
581
+ Creates and manages an authentication method.
588
582
 
589
583
  ## Import
590
584
 
@@ -147,16 +147,12 @@ 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
-
152
150
  Creates and manages a team.
153
151
 
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.
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.
160
156
 
161
157
  ## Example Usage
162
158
 
@@ -187,16 +183,12 @@ class AccountTeam(pulumi.CustomResource):
187
183
  args: AccountTeamArgs,
188
184
  opts: Optional[pulumi.ResourceOptions] = None):
189
185
  """
190
- **This resource is deprecated.** Use `OrganizationUserGroup` instead.
191
-
192
186
  Creates and manages a team.
193
187
 
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.
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.
200
192
 
201
193
  ## Example Usage
202
194
 
@@ -178,20 +178,16 @@ 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
-
183
181
  Adds a user as a team member.
184
182
 
185
183
  During the creation of this resource, an invite is sent to the address specified in `user_email`.
186
184
  The user is added to the team after they accept the invite. Deleting `AccountTeamMember`
187
185
  deletes the pending invite if not accepted or removes the user from the team if they already accepted the invite.
188
186
 
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.
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.
195
191
 
196
192
  ## Example Usage
197
193
 
@@ -224,20 +220,16 @@ class AccountTeamMember(pulumi.CustomResource):
224
220
  args: AccountTeamMemberArgs,
225
221
  opts: Optional[pulumi.ResourceOptions] = None):
226
222
  """
227
- **This resource is deprecated.** Use `OrganizationUserGroupMember` instead.
228
-
229
223
  Adds a user as a team member.
230
224
 
231
225
  During the creation of this resource, an invite is sent to the address specified in `user_email`.
232
226
  The user is added to the team after they accept the invite. Deleting `AccountTeamMember`
233
227
  deletes the pending invite if not accepted or removes the user from the team if they already accepted the invite.
234
228
 
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.
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.
241
233
 
242
234
  ## Example Usage
243
235
 
@@ -164,16 +164,12 @@ 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
-
169
167
  Links an existing project to an existing team. Both the project and team should have the same `account_id`.
170
168
 
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.
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.
177
173
 
178
174
  ## Example Usage
179
175
 
@@ -214,16 +210,12 @@ class AccountTeamProject(pulumi.CustomResource):
214
210
  args: AccountTeamProjectArgs,
215
211
  opts: Optional[pulumi.ResourceOptions] = None):
216
212
  """
217
- **This resource is deprecated.** Use `OrganizationGroupProject` instead.
218
-
219
213
  Links an existing project to an existing team. Both the project and team should have the same `account_id`.
220
214
 
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.
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.
227
219
 
228
220
  ## Example Usage
229
221
 
@@ -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,11 +83,13 @@ 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.""")
87
86
  def account_id(self) -> Optional[pulumi.Input[str]]:
88
87
  """
89
88
  Account ID.
90
89
  """
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
+
91
93
  return pulumi.get(self, "account_id")
92
94
 
93
95
  @account_id.setter
@@ -335,11 +337,13 @@ class _BillingGroupState:
335
337
 
336
338
  @property
337
339
  @pulumi.getter(name="accountId")
338
- @_utilities.deprecated("""Use parent_id instead. This field will be removed in the next major release.""")
339
340
  def account_id(self) -> Optional[pulumi.Input[str]]:
340
341
  """
341
342
  Account ID.
342
343
  """
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
+
343
347
  return pulumi.get(self, "account_id")
344
348
 
345
349
  @account_id.setter
@@ -735,11 +739,13 @@ class BillingGroup(pulumi.CustomResource):
735
739
 
736
740
  @property
737
741
  @pulumi.getter(name="accountId")
738
- @_utilities.deprecated("""Use parent_id instead. This field will be removed in the next major release.""")
739
742
  def account_id(self) -> pulumi.Output[Optional[str]]:
740
743
  """
741
744
  Account ID.
742
745
  """
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
+
743
749
  return pulumi.get(self, "account_id")
744
750
 
745
751
  @property
pulumi_aiven/cassandra.py CHANGED
@@ -170,11 +170,13 @@ 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.""")
174
173
  def disk_space(self) -> Optional[pulumi.Input[str]]:
175
174
  """
176
175
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
177
176
  """
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
+
178
180
  return pulumi.get(self, "disk_space")
179
181
 
180
182
  @disk_space.setter
@@ -462,11 +464,13 @@ class _CassandraState:
462
464
 
463
465
  @property
464
466
  @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.""")
466
467
  def disk_space(self) -> Optional[pulumi.Input[str]]:
467
468
  """
468
469
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
469
470
  """
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
+
470
474
  return pulumi.get(self, "disk_space")
471
475
 
472
476
  @disk_space.setter
@@ -1071,11 +1075,13 @@ class Cassandra(pulumi.CustomResource):
1071
1075
 
1072
1076
  @property
1073
1077
  @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.""")
1075
1078
  def disk_space(self) -> pulumi.Output[Optional[str]]:
1076
1079
  """
1077
1080
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
1078
1081
  """
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
+
1079
1085
  return pulumi.get(self, "disk_space")
1080
1086
 
1081
1087
  @property
@@ -170,11 +170,13 @@ 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.""")
174
173
  def disk_space(self) -> Optional[pulumi.Input[str]]:
175
174
  """
176
175
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
177
176
  """
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
+
178
180
  return pulumi.get(self, "disk_space")
179
181
 
180
182
  @disk_space.setter
@@ -462,11 +464,13 @@ class _ClickhouseState:
462
464
 
463
465
  @property
464
466
  @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.""")
466
467
  def disk_space(self) -> Optional[pulumi.Input[str]]:
467
468
  """
468
469
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
469
470
  """
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
+
470
474
  return pulumi.get(self, "disk_space")
471
475
 
472
476
  @disk_space.setter
@@ -1059,11 +1063,13 @@ class Clickhouse(pulumi.CustomResource):
1059
1063
 
1060
1064
  @property
1061
1065
  @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.""")
1063
1066
  def disk_space(self) -> pulumi.Output[Optional[str]]:
1064
1067
  """
1065
1068
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
1066
1069
  """
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
+
1067
1073
  return pulumi.get(self, "disk_space")
1068
1074
 
1069
1075
  @property
pulumi_aiven/dragonfly.py CHANGED
@@ -146,11 +146,13 @@ 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.""")
150
149
  def disk_space(self) -> Optional[pulumi.Input[str]]:
151
150
  """
152
151
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
153
152
  """
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
+
154
156
  return pulumi.get(self, "disk_space")
155
157
 
156
158
  @disk_space.setter
@@ -438,11 +440,13 @@ class _DragonflyState:
438
440
 
439
441
  @property
440
442
  @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.""")
442
443
  def disk_space(self) -> Optional[pulumi.Input[str]]:
443
444
  """
444
445
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
445
446
  """
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
+
446
450
  return pulumi.get(self, "disk_space")
447
451
 
448
452
  @disk_space.setter
@@ -1045,11 +1049,13 @@ class Dragonfly(pulumi.CustomResource):
1045
1049
 
1046
1050
  @property
1047
1051
  @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.""")
1049
1052
  def disk_space(self) -> pulumi.Output[Optional[str]]:
1050
1053
  """
1051
1054
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
1052
1055
  """
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
+
1053
1059
  return pulumi.get(self, "disk_space")
1054
1060
 
1055
1061
  @property
pulumi_aiven/flink.py CHANGED
@@ -146,11 +146,13 @@ 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.""")
150
149
  def disk_space(self) -> Optional[pulumi.Input[str]]:
151
150
  """
152
151
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
153
152
  """
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
+
154
156
  return pulumi.get(self, "disk_space")
155
157
 
156
158
  @disk_space.setter
@@ -438,11 +440,13 @@ class _FlinkState:
438
440
 
439
441
  @property
440
442
  @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.""")
442
443
  def disk_space(self) -> Optional[pulumi.Input[str]]:
443
444
  """
444
445
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
445
446
  """
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
+
446
450
  return pulumi.get(self, "disk_space")
447
451
 
448
452
  @disk_space.setter
@@ -1049,11 +1053,13 @@ class Flink(pulumi.CustomResource):
1049
1053
 
1050
1054
  @property
1051
1055
  @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.""")
1053
1056
  def disk_space(self) -> pulumi.Output[Optional[str]]:
1054
1057
  """
1055
1058
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
1056
1059
  """
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
+
1057
1063
  return pulumi.get(self, "disk_space")
1058
1064
 
1059
1065
  @property