pulumi-aiven 6.7.0a1695928977__py3-none-any.whl → 6.8.0a1696359310__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 (141) hide show
  1. pulumi_aiven/_inputs.py +5916 -1115
  2. pulumi_aiven/account.py +49 -14
  3. pulumi_aiven/account_authentication.py +117 -32
  4. pulumi_aiven/account_team.py +40 -8
  5. pulumi_aiven/account_team_member.py +46 -10
  6. pulumi_aiven/account_team_project.py +43 -9
  7. pulumi_aiven/aws_privatelink.py +43 -9
  8. pulumi_aiven/aws_vpc_peering_connection.py +52 -12
  9. pulumi_aiven/azure_privatelink.py +49 -11
  10. pulumi_aiven/azure_privatelink_connection_approval.py +43 -9
  11. pulumi_aiven/azure_vpc_peering_connection.py +64 -16
  12. pulumi_aiven/billing_group.py +109 -34
  13. pulumi_aiven/cassandra.py +158 -56
  14. pulumi_aiven/cassandra_user.py +52 -12
  15. pulumi_aiven/clickhouse.py +158 -56
  16. pulumi_aiven/clickhouse_database.py +43 -9
  17. pulumi_aiven/clickhouse_grant.py +62 -20
  18. pulumi_aiven/clickhouse_role.py +37 -7
  19. pulumi_aiven/clickhouse_user.py +46 -10
  20. pulumi_aiven/config/vars.py +1 -1
  21. pulumi_aiven/connection_pool.py +64 -16
  22. pulumi_aiven/flink.py +162 -53
  23. pulumi_aiven/flink_application.py +52 -12
  24. pulumi_aiven/flink_application_deployment.py +67 -17
  25. pulumi_aiven/flink_application_version.py +79 -27
  26. pulumi_aiven/gcp_privatelink.py +40 -8
  27. pulumi_aiven/gcp_privatelink_connection_approval.py +46 -10
  28. pulumi_aiven/gcp_vpc_peering_connection.py +46 -10
  29. pulumi_aiven/get_account.py +1 -1
  30. pulumi_aiven/get_account_authentication.py +1 -1
  31. pulumi_aiven/get_account_team.py +1 -1
  32. pulumi_aiven/get_account_team_member.py +1 -1
  33. pulumi_aiven/get_account_team_project.py +1 -1
  34. pulumi_aiven/get_aws_privatelink.py +1 -1
  35. pulumi_aiven/get_aws_vpc_peering_connection.py +1 -1
  36. pulumi_aiven/get_azure_privatelink.py +1 -1
  37. pulumi_aiven/get_azure_vpc_peering_connection.py +1 -1
  38. pulumi_aiven/get_billing_group.py +1 -1
  39. pulumi_aiven/get_cassanda.py +1 -1
  40. pulumi_aiven/get_cassandra.py +1 -1
  41. pulumi_aiven/get_cassandra_user.py +1 -1
  42. pulumi_aiven/get_clickhouse.py +1 -1
  43. pulumi_aiven/get_clickhouse_database.py +1 -1
  44. pulumi_aiven/get_clickhouse_user.py +1 -1
  45. pulumi_aiven/get_connection_pool.py +1 -1
  46. pulumi_aiven/get_flink.py +1 -1
  47. pulumi_aiven/get_flink_application.py +1 -1
  48. pulumi_aiven/get_flink_application_version.py +1 -1
  49. pulumi_aiven/get_gcp_privatelink.py +1 -1
  50. pulumi_aiven/get_gcp_vpc_peering_connection.py +1 -1
  51. pulumi_aiven/get_grafana.py +1 -1
  52. pulumi_aiven/get_influx_db.py +1 -1
  53. pulumi_aiven/get_influxdb_database.py +1 -1
  54. pulumi_aiven/get_influxdb_user.py +1 -1
  55. pulumi_aiven/get_kafka.py +1 -1
  56. pulumi_aiven/get_kafka_acl.py +1 -1
  57. pulumi_aiven/get_kafka_connect.py +1 -1
  58. pulumi_aiven/get_kafka_connector.py +1 -1
  59. pulumi_aiven/get_kafka_mirror_maker.py +1 -1
  60. pulumi_aiven/get_kafka_schema.py +1 -1
  61. pulumi_aiven/get_kafka_schema_configuration.py +1 -1
  62. pulumi_aiven/get_kafka_schema_registry_acl.py +1 -1
  63. pulumi_aiven/get_kafka_topic.py +1 -1
  64. pulumi_aiven/get_kafka_user.py +1 -1
  65. pulumi_aiven/get_m3_aggregator.py +1 -1
  66. pulumi_aiven/get_m3_db.py +1 -1
  67. pulumi_aiven/get_m3db_user.py +1 -1
  68. pulumi_aiven/get_mirror_maker_replication_flow.py +1 -1
  69. pulumi_aiven/get_my_sql.py +1 -1
  70. pulumi_aiven/get_mysql_database.py +1 -1
  71. pulumi_aiven/get_mysql_user.py +1 -1
  72. pulumi_aiven/get_open_search.py +1 -1
  73. pulumi_aiven/get_open_search_acl_config.py +1 -1
  74. pulumi_aiven/get_open_search_acl_rule.py +1 -1
  75. pulumi_aiven/get_opensearch_security_plugin_config.py +1 -1
  76. pulumi_aiven/get_opensearch_user.py +1 -1
  77. pulumi_aiven/get_organization.py +1 -1
  78. pulumi_aiven/get_organization_user.py +1 -1
  79. pulumi_aiven/get_organization_user_group.py +1 -1
  80. pulumi_aiven/get_organizational_unit.py +1 -1
  81. pulumi_aiven/get_pg.py +1 -1
  82. pulumi_aiven/get_pg_database.py +1 -1
  83. pulumi_aiven/get_pg_user.py +1 -1
  84. pulumi_aiven/get_project.py +1 -1
  85. pulumi_aiven/get_project_user.py +1 -1
  86. pulumi_aiven/get_project_vpc.py +1 -1
  87. pulumi_aiven/get_redis.py +1 -1
  88. pulumi_aiven/get_redis_user.py +1 -1
  89. pulumi_aiven/get_service_component.py +1 -1
  90. pulumi_aiven/get_service_integration.py +1 -1
  91. pulumi_aiven/get_service_integration_endpoint.py +1 -1
  92. pulumi_aiven/get_transit_gateway_vpc_attachment.py +1 -1
  93. pulumi_aiven/grafana.py +147 -45
  94. pulumi_aiven/influx_db.py +158 -56
  95. pulumi_aiven/influxdb_database.py +43 -9
  96. pulumi_aiven/influxdb_user.py +52 -12
  97. pulumi_aiven/kafka.py +170 -63
  98. pulumi_aiven/kafka_acl.py +52 -12
  99. pulumi_aiven/kafka_connect.py +147 -45
  100. pulumi_aiven/kafka_connector.py +64 -16
  101. pulumi_aiven/kafka_mirror_maker.py +147 -45
  102. pulumi_aiven/kafka_schema.py +58 -14
  103. pulumi_aiven/kafka_schema_configuration.py +37 -7
  104. pulumi_aiven/kafka_schema_registry_acl.py +52 -12
  105. pulumi_aiven/kafka_topic.py +72 -17
  106. pulumi_aiven/kafka_user.py +52 -12
  107. pulumi_aiven/m3_aggregator.py +147 -45
  108. pulumi_aiven/m3_db.py +147 -45
  109. pulumi_aiven/m3db_user.py +46 -10
  110. pulumi_aiven/mirror_maker_replication_flow.py +91 -25
  111. pulumi_aiven/my_sql.py +147 -45
  112. pulumi_aiven/mysql_database.py +43 -9
  113. pulumi_aiven/mysql_user.py +58 -14
  114. pulumi_aiven/open_search.py +158 -56
  115. pulumi_aiven/open_search_acl_config.py +43 -9
  116. pulumi_aiven/open_search_acl_rule.py +49 -11
  117. pulumi_aiven/opensearch_security_plugin_config.py +46 -10
  118. pulumi_aiven/opensearch_user.py +46 -10
  119. pulumi_aiven/organization.py +45 -8
  120. pulumi_aiven/organization_user.py +40 -8
  121. pulumi_aiven/organization_user_group.py +43 -9
  122. pulumi_aiven/organizational_unit.py +40 -8
  123. pulumi_aiven/outputs.py +10584 -2482
  124. pulumi_aiven/pg.py +169 -60
  125. pulumi_aiven/pg_database.py +55 -13
  126. pulumi_aiven/pg_user.py +58 -14
  127. pulumi_aiven/project.py +91 -34
  128. pulumi_aiven/project_user.py +40 -8
  129. pulumi_aiven/project_vpc.py +40 -8
  130. pulumi_aiven/provider.py +15 -2
  131. pulumi_aiven/redis.py +147 -45
  132. pulumi_aiven/redis_user.py +70 -18
  133. pulumi_aiven/service_integration.py +157 -32
  134. pulumi_aiven/service_integration_endpoint.py +161 -30
  135. pulumi_aiven/static_ip.py +43 -9
  136. pulumi_aiven/transit_gateway_vpc_attachment.py +58 -17
  137. {pulumi_aiven-6.7.0a1695928977.dist-info → pulumi_aiven-6.8.0a1696359310.dist-info}/METADATA +1 -1
  138. pulumi_aiven-6.8.0a1696359310.dist-info/RECORD +145 -0
  139. pulumi_aiven-6.7.0a1695928977.dist-info/RECORD +0 -145
  140. {pulumi_aiven-6.7.0a1695928977.dist-info → pulumi_aiven-6.8.0a1696359310.dist-info}/WHEEL +0 -0
  141. {pulumi_aiven-6.7.0a1695928977.dist-info → pulumi_aiven-6.8.0a1696359310.dist-info}/top_level.txt +0 -0
pulumi_aiven/project.py CHANGED
@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
  from . import outputs
12
12
  from ._inputs import *
@@ -39,34 +39,61 @@ class ProjectArgs:
39
39
  :param pulumi.Input[Sequence[pulumi.Input[str]]] technical_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. It is good practice to keep this up-to-date to be aware of any potential issues with your project.
40
40
  :param pulumi.Input[bool] use_source_project_billing_group: Use the same billing group that is used in source project.
41
41
  """
42
- pulumi.set(__self__, "project", project)
42
+ ProjectArgs._configure(
43
+ lambda key, value: pulumi.set(__self__, key, value),
44
+ project=project,
45
+ account_id=account_id,
46
+ add_account_owners_admin_access=add_account_owners_admin_access,
47
+ billing_group=billing_group,
48
+ copy_from_project=copy_from_project,
49
+ default_cloud=default_cloud,
50
+ parent_id=parent_id,
51
+ tags=tags,
52
+ technical_emails=technical_emails,
53
+ use_source_project_billing_group=use_source_project_billing_group,
54
+ )
55
+ @staticmethod
56
+ def _configure(
57
+ _setter: Callable[[Any, Any], None],
58
+ project: pulumi.Input[str],
59
+ account_id: Optional[pulumi.Input[str]] = None,
60
+ add_account_owners_admin_access: Optional[pulumi.Input[bool]] = None,
61
+ billing_group: Optional[pulumi.Input[str]] = None,
62
+ copy_from_project: Optional[pulumi.Input[str]] = None,
63
+ default_cloud: Optional[pulumi.Input[str]] = None,
64
+ parent_id: Optional[pulumi.Input[str]] = None,
65
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input['ProjectTagArgs']]]] = None,
66
+ technical_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
67
+ use_source_project_billing_group: Optional[pulumi.Input[bool]] = None,
68
+ opts: Optional[pulumi.ResourceOptions]=None):
69
+ _setter("project", project)
43
70
  if account_id is not None:
44
71
  warnings.warn("""Use parent_id instead. This field will be removed in the next major release.""", DeprecationWarning)
45
72
  pulumi.log.warn("""account_id is deprecated: Use parent_id instead. This field will be removed in the next major release.""")
46
73
  if account_id is not None:
47
- pulumi.set(__self__, "account_id", account_id)
74
+ _setter("account_id", account_id)
48
75
  if add_account_owners_admin_access is not None:
49
76
  warnings.warn("""This field is deprecated and will be removed in the next major release. Currently, it will always be set to true, regardless of the value set in the manifest.""", DeprecationWarning)
50
77
  pulumi.log.warn("""add_account_owners_admin_access is deprecated: This field is deprecated and will be removed in the next major release. Currently, it will always be set to true, regardless of the value set in the manifest.""")
51
78
  if add_account_owners_admin_access is not None:
52
- pulumi.set(__self__, "add_account_owners_admin_access", add_account_owners_admin_access)
79
+ _setter("add_account_owners_admin_access", add_account_owners_admin_access)
53
80
  if billing_group is not None:
54
- pulumi.set(__self__, "billing_group", billing_group)
81
+ _setter("billing_group", billing_group)
55
82
  if copy_from_project is not None:
56
- pulumi.set(__self__, "copy_from_project", copy_from_project)
83
+ _setter("copy_from_project", copy_from_project)
57
84
  if default_cloud is not None:
58
- pulumi.set(__self__, "default_cloud", default_cloud)
85
+ _setter("default_cloud", default_cloud)
59
86
  if parent_id is not None:
60
- pulumi.set(__self__, "parent_id", parent_id)
87
+ _setter("parent_id", parent_id)
61
88
  if tags is not None:
62
- pulumi.set(__self__, "tags", tags)
89
+ _setter("tags", tags)
63
90
  if technical_emails is not None:
64
- pulumi.set(__self__, "technical_emails", technical_emails)
91
+ _setter("technical_emails", technical_emails)
65
92
  if use_source_project_billing_group is not None:
66
93
  warnings.warn("""This field is deprecated and will be removed in the next major release.""", DeprecationWarning)
67
94
  pulumi.log.warn("""use_source_project_billing_group is deprecated: This field is deprecated and will be removed in the next major release.""")
68
95
  if use_source_project_billing_group is not None:
69
- pulumi.set(__self__, "use_source_project_billing_group", use_source_project_billing_group)
96
+ _setter("use_source_project_billing_group", use_source_project_billing_group)
70
97
 
71
98
  @property
72
99
  @pulumi.getter
@@ -232,43 +259,78 @@ class _ProjectState:
232
259
  :param pulumi.Input[Sequence[pulumi.Input[str]]] technical_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. It is good practice to keep this up-to-date to be aware of any potential issues with your project.
233
260
  :param pulumi.Input[bool] use_source_project_billing_group: Use the same billing group that is used in source project.
234
261
  """
262
+ _ProjectState._configure(
263
+ lambda key, value: pulumi.set(__self__, key, value),
264
+ account_id=account_id,
265
+ add_account_owners_admin_access=add_account_owners_admin_access,
266
+ available_credits=available_credits,
267
+ billing_group=billing_group,
268
+ ca_cert=ca_cert,
269
+ copy_from_project=copy_from_project,
270
+ default_cloud=default_cloud,
271
+ estimated_balance=estimated_balance,
272
+ parent_id=parent_id,
273
+ payment_method=payment_method,
274
+ project=project,
275
+ tags=tags,
276
+ technical_emails=technical_emails,
277
+ use_source_project_billing_group=use_source_project_billing_group,
278
+ )
279
+ @staticmethod
280
+ def _configure(
281
+ _setter: Callable[[Any, Any], None],
282
+ account_id: Optional[pulumi.Input[str]] = None,
283
+ add_account_owners_admin_access: Optional[pulumi.Input[bool]] = None,
284
+ available_credits: Optional[pulumi.Input[str]] = None,
285
+ billing_group: Optional[pulumi.Input[str]] = None,
286
+ ca_cert: Optional[pulumi.Input[str]] = None,
287
+ copy_from_project: Optional[pulumi.Input[str]] = None,
288
+ default_cloud: Optional[pulumi.Input[str]] = None,
289
+ estimated_balance: Optional[pulumi.Input[str]] = None,
290
+ parent_id: Optional[pulumi.Input[str]] = None,
291
+ payment_method: Optional[pulumi.Input[str]] = None,
292
+ project: Optional[pulumi.Input[str]] = None,
293
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input['ProjectTagArgs']]]] = None,
294
+ technical_emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
295
+ use_source_project_billing_group: Optional[pulumi.Input[bool]] = None,
296
+ opts: Optional[pulumi.ResourceOptions]=None):
235
297
  if account_id is not None:
236
298
  warnings.warn("""Use parent_id instead. This field will be removed in the next major release.""", DeprecationWarning)
237
299
  pulumi.log.warn("""account_id is deprecated: Use parent_id instead. This field will be removed in the next major release.""")
238
300
  if account_id is not None:
239
- pulumi.set(__self__, "account_id", account_id)
301
+ _setter("account_id", account_id)
240
302
  if add_account_owners_admin_access is not None:
241
303
  warnings.warn("""This field is deprecated and will be removed in the next major release. Currently, it will always be set to true, regardless of the value set in the manifest.""", DeprecationWarning)
242
304
  pulumi.log.warn("""add_account_owners_admin_access is deprecated: This field is deprecated and will be removed in the next major release. Currently, it will always be set to true, regardless of the value set in the manifest.""")
243
305
  if add_account_owners_admin_access is not None:
244
- pulumi.set(__self__, "add_account_owners_admin_access", add_account_owners_admin_access)
306
+ _setter("add_account_owners_admin_access", add_account_owners_admin_access)
245
307
  if available_credits is not None:
246
- pulumi.set(__self__, "available_credits", available_credits)
308
+ _setter("available_credits", available_credits)
247
309
  if billing_group is not None:
248
- pulumi.set(__self__, "billing_group", billing_group)
310
+ _setter("billing_group", billing_group)
249
311
  if ca_cert is not None:
250
- pulumi.set(__self__, "ca_cert", ca_cert)
312
+ _setter("ca_cert", ca_cert)
251
313
  if copy_from_project is not None:
252
- pulumi.set(__self__, "copy_from_project", copy_from_project)
314
+ _setter("copy_from_project", copy_from_project)
253
315
  if default_cloud is not None:
254
- pulumi.set(__self__, "default_cloud", default_cloud)
316
+ _setter("default_cloud", default_cloud)
255
317
  if estimated_balance is not None:
256
- pulumi.set(__self__, "estimated_balance", estimated_balance)
318
+ _setter("estimated_balance", estimated_balance)
257
319
  if parent_id is not None:
258
- pulumi.set(__self__, "parent_id", parent_id)
320
+ _setter("parent_id", parent_id)
259
321
  if payment_method is not None:
260
- pulumi.set(__self__, "payment_method", payment_method)
322
+ _setter("payment_method", payment_method)
261
323
  if project is not None:
262
- pulumi.set(__self__, "project", project)
324
+ _setter("project", project)
263
325
  if tags is not None:
264
- pulumi.set(__self__, "tags", tags)
326
+ _setter("tags", tags)
265
327
  if technical_emails is not None:
266
- pulumi.set(__self__, "technical_emails", technical_emails)
328
+ _setter("technical_emails", technical_emails)
267
329
  if use_source_project_billing_group is not None:
268
330
  warnings.warn("""This field is deprecated and will be removed in the next major release.""", DeprecationWarning)
269
331
  pulumi.log.warn("""use_source_project_billing_group is deprecated: This field is deprecated and will be removed in the next major release.""")
270
332
  if use_source_project_billing_group is not None:
271
- pulumi.set(__self__, "use_source_project_billing_group", use_source_project_billing_group)
333
+ _setter("use_source_project_billing_group", use_source_project_billing_group)
272
334
 
273
335
  @property
274
336
  @pulumi.getter(name="accountId")
@@ -511,6 +573,10 @@ class Project(pulumi.CustomResource):
511
573
  if resource_args is not None:
512
574
  __self__._internal_init(resource_name, opts, **resource_args.__dict__)
513
575
  else:
576
+ kwargs = kwargs or {}
577
+ def _setter(key, value):
578
+ kwargs[key] = value
579
+ ProjectArgs._configure(_setter, **kwargs)
514
580
  __self__._internal_init(resource_name, *args, **kwargs)
515
581
 
516
582
  def _internal_init(__self__,
@@ -535,13 +601,7 @@ class Project(pulumi.CustomResource):
535
601
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
536
602
  __props__ = ProjectArgs.__new__(ProjectArgs)
537
603
 
538
- if account_id is not None and not opts.urn:
539
- warnings.warn("""Use parent_id instead. This field will be removed in the next major release.""", DeprecationWarning)
540
- pulumi.log.warn("""account_id is deprecated: Use parent_id instead. This field will be removed in the next major release.""")
541
604
  __props__.__dict__["account_id"] = account_id
542
- if add_account_owners_admin_access is not None and not opts.urn:
543
- warnings.warn("""This field is deprecated and will be removed in the next major release. Currently, it will always be set to true, regardless of the value set in the manifest.""", DeprecationWarning)
544
- pulumi.log.warn("""add_account_owners_admin_access is deprecated: This field is deprecated and will be removed in the next major release. Currently, it will always be set to true, regardless of the value set in the manifest.""")
545
605
  __props__.__dict__["add_account_owners_admin_access"] = add_account_owners_admin_access
546
606
  __props__.__dict__["billing_group"] = billing_group
547
607
  __props__.__dict__["copy_from_project"] = copy_from_project
@@ -552,9 +612,6 @@ class Project(pulumi.CustomResource):
552
612
  __props__.__dict__["project"] = project
553
613
  __props__.__dict__["tags"] = tags
554
614
  __props__.__dict__["technical_emails"] = technical_emails
555
- if use_source_project_billing_group is not None and not opts.urn:
556
- warnings.warn("""This field is deprecated and will be removed in the next major release.""", DeprecationWarning)
557
- pulumi.log.warn("""use_source_project_billing_group is deprecated: This field is deprecated and will be removed in the next major release.""")
558
615
  __props__.__dict__["use_source_project_billing_group"] = use_source_project_billing_group
559
616
  __props__.__dict__["available_credits"] = None
560
617
  __props__.__dict__["ca_cert"] = None
@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
 
12
12
  __all__ = ['ProjectUserArgs', 'ProjectUser']
@@ -23,9 +23,22 @@ class ProjectUserArgs:
23
23
  :param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `operator`.
24
24
  :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
25
25
  """
26
- pulumi.set(__self__, "email", email)
27
- pulumi.set(__self__, "member_type", member_type)
28
- pulumi.set(__self__, "project", project)
26
+ ProjectUserArgs._configure(
27
+ lambda key, value: pulumi.set(__self__, key, value),
28
+ email=email,
29
+ member_type=member_type,
30
+ project=project,
31
+ )
32
+ @staticmethod
33
+ def _configure(
34
+ _setter: Callable[[Any, Any], None],
35
+ email: pulumi.Input[str],
36
+ member_type: pulumi.Input[str],
37
+ project: pulumi.Input[str],
38
+ opts: Optional[pulumi.ResourceOptions]=None):
39
+ _setter("email", email)
40
+ _setter("member_type", member_type)
41
+ _setter("project", project)
29
42
 
30
43
  @property
31
44
  @pulumi.getter
@@ -78,14 +91,29 @@ class _ProjectUserState:
78
91
  :param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `operator`.
79
92
  :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
80
93
  """
94
+ _ProjectUserState._configure(
95
+ lambda key, value: pulumi.set(__self__, key, value),
96
+ accepted=accepted,
97
+ email=email,
98
+ member_type=member_type,
99
+ project=project,
100
+ )
101
+ @staticmethod
102
+ def _configure(
103
+ _setter: Callable[[Any, Any], None],
104
+ accepted: Optional[pulumi.Input[bool]] = None,
105
+ email: Optional[pulumi.Input[str]] = None,
106
+ member_type: Optional[pulumi.Input[str]] = None,
107
+ project: Optional[pulumi.Input[str]] = None,
108
+ opts: Optional[pulumi.ResourceOptions]=None):
81
109
  if accepted is not None:
82
- pulumi.set(__self__, "accepted", accepted)
110
+ _setter("accepted", accepted)
83
111
  if email is not None:
84
- pulumi.set(__self__, "email", email)
112
+ _setter("email", email)
85
113
  if member_type is not None:
86
- pulumi.set(__self__, "member_type", member_type)
114
+ _setter("member_type", member_type)
87
115
  if project is not None:
88
- pulumi.set(__self__, "project", project)
116
+ _setter("project", project)
89
117
 
90
118
  @property
91
119
  @pulumi.getter
@@ -209,6 +237,10 @@ class ProjectUser(pulumi.CustomResource):
209
237
  if resource_args is not None:
210
238
  __self__._internal_init(resource_name, opts, **resource_args.__dict__)
211
239
  else:
240
+ kwargs = kwargs or {}
241
+ def _setter(key, value):
242
+ kwargs[key] = value
243
+ ProjectUserArgs._configure(_setter, **kwargs)
212
244
  __self__._internal_init(resource_name, *args, **kwargs)
213
245
 
214
246
  def _internal_init(__self__,
@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
 
12
12
  __all__ = ['ProjectVpcArgs', 'ProjectVpc']
@@ -23,9 +23,22 @@ class ProjectVpcArgs:
23
23
  :param pulumi.Input[str] network_cidr: Network address range used by the VPC like 192.168.0.0/24
24
24
  :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
25
25
  """
26
- pulumi.set(__self__, "cloud_name", cloud_name)
27
- pulumi.set(__self__, "network_cidr", network_cidr)
28
- pulumi.set(__self__, "project", project)
26
+ ProjectVpcArgs._configure(
27
+ lambda key, value: pulumi.set(__self__, key, value),
28
+ cloud_name=cloud_name,
29
+ network_cidr=network_cidr,
30
+ project=project,
31
+ )
32
+ @staticmethod
33
+ def _configure(
34
+ _setter: Callable[[Any, Any], None],
35
+ cloud_name: pulumi.Input[str],
36
+ network_cidr: pulumi.Input[str],
37
+ project: pulumi.Input[str],
38
+ opts: Optional[pulumi.ResourceOptions]=None):
39
+ _setter("cloud_name", cloud_name)
40
+ _setter("network_cidr", network_cidr)
41
+ _setter("project", project)
29
42
 
30
43
  @property
31
44
  @pulumi.getter(name="cloudName")
@@ -78,14 +91,29 @@ class _ProjectVpcState:
78
91
  :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
79
92
  :param pulumi.Input[str] state: State of the VPC. The possible values are `APPROVED`, `ACTIVE`, `DELETING` and `DELETED`.
80
93
  """
94
+ _ProjectVpcState._configure(
95
+ lambda key, value: pulumi.set(__self__, key, value),
96
+ cloud_name=cloud_name,
97
+ network_cidr=network_cidr,
98
+ project=project,
99
+ state=state,
100
+ )
101
+ @staticmethod
102
+ def _configure(
103
+ _setter: Callable[[Any, Any], None],
104
+ cloud_name: Optional[pulumi.Input[str]] = None,
105
+ network_cidr: Optional[pulumi.Input[str]] = None,
106
+ project: Optional[pulumi.Input[str]] = None,
107
+ state: Optional[pulumi.Input[str]] = None,
108
+ opts: Optional[pulumi.ResourceOptions]=None):
81
109
  if cloud_name is not None:
82
- pulumi.set(__self__, "cloud_name", cloud_name)
110
+ _setter("cloud_name", cloud_name)
83
111
  if network_cidr is not None:
84
- pulumi.set(__self__, "network_cidr", network_cidr)
112
+ _setter("network_cidr", network_cidr)
85
113
  if project is not None:
86
- pulumi.set(__self__, "project", project)
114
+ _setter("project", project)
87
115
  if state is not None:
88
- pulumi.set(__self__, "state", state)
116
+ _setter("state", state)
89
117
 
90
118
  @property
91
119
  @pulumi.getter(name="cloudName")
@@ -185,6 +213,10 @@ class ProjectVpc(pulumi.CustomResource):
185
213
  if resource_args is not None:
186
214
  __self__._internal_init(resource_name, opts, **resource_args.__dict__)
187
215
  else:
216
+ kwargs = kwargs or {}
217
+ def _setter(key, value):
218
+ kwargs[key] = value
219
+ ProjectVpcArgs._configure(_setter, **kwargs)
188
220
  __self__._internal_init(resource_name, *args, **kwargs)
189
221
 
190
222
  def _internal_init(__self__,
pulumi_aiven/provider.py CHANGED
@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
 
12
12
  __all__ = ['ProviderArgs', 'Provider']
@@ -19,8 +19,17 @@ class ProviderArgs:
19
19
  The set of arguments for constructing a Provider resource.
20
20
  :param pulumi.Input[str] api_token: Aiven authentication token. Can also be set with the AIVEN_TOKEN environment variable.
21
21
  """
22
+ ProviderArgs._configure(
23
+ lambda key, value: pulumi.set(__self__, key, value),
24
+ api_token=api_token,
25
+ )
26
+ @staticmethod
27
+ def _configure(
28
+ _setter: Callable[[Any, Any], None],
29
+ api_token: Optional[pulumi.Input[str]] = None,
30
+ opts: Optional[pulumi.ResourceOptions]=None):
22
31
  if api_token is not None:
23
- pulumi.set(__self__, "api_token", api_token)
32
+ _setter("api_token", api_token)
24
33
 
25
34
  @property
26
35
  @pulumi.getter(name="apiToken")
@@ -74,6 +83,10 @@ class Provider(pulumi.ProviderResource):
74
83
  if resource_args is not None:
75
84
  __self__._internal_init(resource_name, opts, **resource_args.__dict__)
76
85
  else:
86
+ kwargs = kwargs or {}
87
+ def _setter(key, value):
88
+ kwargs[key] = value
89
+ ProviderArgs._configure(_setter, **kwargs)
77
90
  __self__._internal_init(resource_name, *args, **kwargs)
78
91
 
79
92
  def _internal_init(__self__,