pulumi-aiven 6.13.0a1710156545__py3-none-any.whl → 6.31.0a1736831339__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 (168) hide show
  1. pulumi_aiven/__init__.py +127 -0
  2. pulumi_aiven/_inputs.py +32615 -13711
  3. pulumi_aiven/_utilities.py +41 -5
  4. pulumi_aiven/account.py +32 -45
  5. pulumi_aiven/account_authentication.py +24 -9
  6. pulumi_aiven/account_team.py +35 -14
  7. pulumi_aiven/account_team_member.py +48 -39
  8. pulumi_aiven/account_team_project.py +40 -27
  9. pulumi_aiven/alloydbomni.py +1335 -0
  10. pulumi_aiven/alloydbomni_database.py +347 -0
  11. pulumi_aiven/alloydbomni_user.py +433 -0
  12. pulumi_aiven/aws_privatelink.py +44 -43
  13. pulumi_aiven/aws_vpc_peering_connection.py +72 -61
  14. pulumi_aiven/azure_privatelink.py +54 -53
  15. pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
  16. pulumi_aiven/azure_vpc_peering_connection.py +86 -77
  17. pulumi_aiven/billing_group.py +33 -34
  18. pulumi_aiven/cassandra.py +145 -126
  19. pulumi_aiven/cassandra_user.py +59 -58
  20. pulumi_aiven/clickhouse.py +133 -114
  21. pulumi_aiven/clickhouse_database.py +58 -62
  22. pulumi_aiven/clickhouse_grant.py +135 -134
  23. pulumi_aiven/clickhouse_role.py +36 -49
  24. pulumi_aiven/clickhouse_user.py +50 -49
  25. pulumi_aiven/config/__init__.pyi +5 -0
  26. pulumi_aiven/config/vars.py +5 -0
  27. pulumi_aiven/connection_pool.py +67 -66
  28. pulumi_aiven/dragonfly.py +1256 -0
  29. pulumi_aiven/flink.py +104 -104
  30. pulumi_aiven/flink_application.py +58 -55
  31. pulumi_aiven/flink_application_deployment.py +178 -73
  32. pulumi_aiven/flink_application_version.py +179 -96
  33. pulumi_aiven/gcp_privatelink.py +69 -42
  34. pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
  35. pulumi_aiven/gcp_vpc_peering_connection.py +49 -48
  36. pulumi_aiven/get_account.py +20 -9
  37. pulumi_aiven/get_account_authentication.py +31 -5
  38. pulumi_aiven/get_account_team.py +18 -5
  39. pulumi_aiven/get_account_team_member.py +29 -14
  40. pulumi_aiven/get_account_team_project.py +19 -6
  41. pulumi_aiven/get_alloydbomni.py +499 -0
  42. pulumi_aiven/get_alloydbomni_database.py +168 -0
  43. pulumi_aiven/get_alloydbomni_user.py +210 -0
  44. pulumi_aiven/get_aws_privatelink.py +33 -24
  45. pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
  46. pulumi_aiven/get_azure_privatelink.py +37 -26
  47. pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
  48. pulumi_aiven/get_billing_group.py +31 -8
  49. pulumi_aiven/get_cassanda.py +55 -23
  50. pulumi_aiven/get_cassandra.py +55 -23
  51. pulumi_aiven/get_cassandra_user.py +42 -30
  52. pulumi_aiven/get_clickhouse.py +55 -23
  53. pulumi_aiven/get_clickhouse_database.py +35 -26
  54. pulumi_aiven/get_clickhouse_user.py +40 -29
  55. pulumi_aiven/get_connection_pool.py +43 -30
  56. pulumi_aiven/get_dragonfly.py +499 -0
  57. pulumi_aiven/get_external_identity.py +160 -0
  58. pulumi_aiven/get_flink.py +55 -23
  59. pulumi_aiven/get_flink_application.py +44 -31
  60. pulumi_aiven/get_flink_application_version.py +55 -37
  61. pulumi_aiven/get_gcp_privatelink.py +63 -7
  62. pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
  63. pulumi_aiven/get_grafana.py +55 -23
  64. pulumi_aiven/get_influx_db.py +41 -5
  65. pulumi_aiven/get_influxdb_database.py +18 -5
  66. pulumi_aiven/get_influxdb_user.py +21 -5
  67. pulumi_aiven/get_kafka.py +59 -25
  68. pulumi_aiven/get_kafka_acl.py +50 -37
  69. pulumi_aiven/get_kafka_connect.py +54 -36
  70. pulumi_aiven/get_kafka_connector.py +44 -28
  71. pulumi_aiven/get_kafka_mirror_maker.py +50 -32
  72. pulumi_aiven/get_kafka_schema.py +35 -23
  73. pulumi_aiven/get_kafka_schema_configuration.py +32 -21
  74. pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
  75. pulumi_aiven/get_kafka_topic.py +70 -29
  76. pulumi_aiven/get_kafka_user.py +42 -30
  77. pulumi_aiven/get_m3_aggregator.py +51 -19
  78. pulumi_aiven/get_m3_db.py +55 -23
  79. pulumi_aiven/get_m3db_user.py +38 -28
  80. pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
  81. pulumi_aiven/get_my_sql.py +50 -18
  82. pulumi_aiven/get_mysql_database.py +31 -22
  83. pulumi_aiven/get_mysql_user.py +36 -23
  84. pulumi_aiven/get_open_search.py +50 -18
  85. pulumi_aiven/get_open_search_acl_config.py +27 -19
  86. pulumi_aiven/get_open_search_acl_rule.py +37 -25
  87. pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
  88. pulumi_aiven/get_opensearch_user.py +32 -22
  89. pulumi_aiven/get_organization.py +25 -17
  90. pulumi_aiven/get_organization_application_user.py +176 -0
  91. pulumi_aiven/get_organization_user.py +18 -5
  92. pulumi_aiven/get_organization_user_group.py +48 -14
  93. pulumi_aiven/get_organization_user_list.py +121 -0
  94. pulumi_aiven/get_organizational_unit.py +26 -14
  95. pulumi_aiven/get_pg.py +55 -23
  96. pulumi_aiven/get_pg_database.py +39 -28
  97. pulumi_aiven/get_pg_user.py +44 -31
  98. pulumi_aiven/get_project.py +43 -26
  99. pulumi_aiven/get_project_user.py +27 -19
  100. pulumi_aiven/get_project_vpc.py +31 -23
  101. pulumi_aiven/get_redis.py +50 -18
  102. pulumi_aiven/get_redis_user.py +40 -26
  103. pulumi_aiven/get_service_component.py +40 -22
  104. pulumi_aiven/get_service_integration.py +163 -53
  105. pulumi_aiven/get_service_integration_endpoint.py +128 -37
  106. pulumi_aiven/get_thanos.py +499 -0
  107. pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
  108. pulumi_aiven/get_valkey.py +499 -0
  109. pulumi_aiven/get_valkey_user.py +218 -0
  110. pulumi_aiven/grafana.py +188 -322
  111. pulumi_aiven/influx_db.py +127 -90
  112. pulumi_aiven/influxdb_database.py +40 -55
  113. pulumi_aiven/influxdb_user.py +47 -42
  114. pulumi_aiven/kafka.py +157 -144
  115. pulumi_aiven/kafka_acl.py +64 -57
  116. pulumi_aiven/kafka_connect.py +201 -332
  117. pulumi_aiven/kafka_connector.py +67 -60
  118. pulumi_aiven/kafka_mirror_maker.py +137 -320
  119. pulumi_aiven/kafka_native_acl.py +588 -0
  120. pulumi_aiven/kafka_schema.py +63 -58
  121. pulumi_aiven/kafka_schema_configuration.py +25 -24
  122. pulumi_aiven/kafka_schema_registry_acl.py +80 -35
  123. pulumi_aiven/kafka_topic.py +184 -65
  124. pulumi_aiven/kafka_user.py +59 -58
  125. pulumi_aiven/m3_aggregator.py +174 -310
  126. pulumi_aiven/m3_db.py +190 -326
  127. pulumi_aiven/m3db_user.py +51 -50
  128. pulumi_aiven/mirror_maker_replication_flow.py +215 -55
  129. pulumi_aiven/my_sql.py +188 -324
  130. pulumi_aiven/mysql_database.py +32 -51
  131. pulumi_aiven/mysql_user.py +37 -36
  132. pulumi_aiven/open_search.py +126 -107
  133. pulumi_aiven/open_search_acl_config.py +33 -36
  134. pulumi_aiven/open_search_acl_rule.py +55 -54
  135. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  136. pulumi_aiven/opensearch_user.py +30 -29
  137. pulumi_aiven/organization.py +18 -17
  138. pulumi_aiven/organization_application_user.py +345 -0
  139. pulumi_aiven/organization_application_user_token.py +711 -0
  140. pulumi_aiven/organization_group_project.py +349 -0
  141. pulumi_aiven/organization_permission.py +421 -0
  142. pulumi_aiven/organization_user.py +25 -46
  143. pulumi_aiven/organization_user_group.py +64 -23
  144. pulumi_aiven/organization_user_group_member.py +359 -0
  145. pulumi_aiven/organizational_unit.py +41 -36
  146. pulumi_aiven/outputs.py +38355 -21458
  147. pulumi_aiven/pg.py +92 -88
  148. pulumi_aiven/pg_database.py +52 -71
  149. pulumi_aiven/pg_user.py +80 -65
  150. pulumi_aiven/project.py +111 -102
  151. pulumi_aiven/project_user.py +44 -35
  152. pulumi_aiven/project_vpc.py +58 -29
  153. pulumi_aiven/provider.py +5 -0
  154. pulumi_aiven/pulumi-plugin.json +2 -1
  155. pulumi_aiven/redis.py +161 -297
  156. pulumi_aiven/redis_user.py +58 -57
  157. pulumi_aiven/service_integration.py +511 -165
  158. pulumi_aiven/service_integration_endpoint.py +466 -158
  159. pulumi_aiven/static_ip.py +21 -16
  160. pulumi_aiven/thanos.py +1262 -0
  161. pulumi_aiven/transit_gateway_vpc_attachment.py +44 -58
  162. pulumi_aiven/valkey.py +1256 -0
  163. pulumi_aiven/valkey_user.py +606 -0
  164. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/METADATA +7 -6
  165. pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
  166. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
  167. pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
  168. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['AzureVpcPeeringConnectionArgs', 'AzureVpcPeeringConnection']
@@ -22,12 +27,12 @@ class AzureVpcPeeringConnectionArgs:
22
27
  vpc_id: pulumi.Input[str]):
23
28
  """
24
29
  The set of arguments for constructing a AzureVpcPeeringConnection resource.
25
- :param pulumi.Input[str] azure_subscription_id: Azure Subscription ID. This property cannot be changed, doing so forces recreation of the resource.
26
- :param pulumi.Input[str] peer_azure_app_id: Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet. This property cannot be changed, doing so forces recreation of the resource.
27
- :param pulumi.Input[str] peer_azure_tenant_id: Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
28
- :param pulumi.Input[str] peer_resource_group: Azure resource group name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
29
- :param pulumi.Input[str] vnet_name: Azure Network name. This property cannot be changed, doing so forces recreation of the resource.
30
- :param pulumi.Input[str] vpc_id: The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
30
+ :param pulumi.Input[str] azure_subscription_id: The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
31
+ :param pulumi.Input[str] peer_azure_app_id: The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
32
+ :param pulumi.Input[str] peer_azure_tenant_id: The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
33
+ :param pulumi.Input[str] peer_resource_group: The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
34
+ :param pulumi.Input[str] vnet_name: The name of the Azure VNet. Changing this property forces recreation of the resource.
35
+ :param pulumi.Input[str] vpc_id: The ID of the Aiven VPC. Changing this property forces recreation of the resource.
31
36
  """
32
37
  pulumi.set(__self__, "azure_subscription_id", azure_subscription_id)
33
38
  pulumi.set(__self__, "peer_azure_app_id", peer_azure_app_id)
@@ -40,7 +45,7 @@ class AzureVpcPeeringConnectionArgs:
40
45
  @pulumi.getter(name="azureSubscriptionId")
41
46
  def azure_subscription_id(self) -> pulumi.Input[str]:
42
47
  """
43
- Azure Subscription ID. This property cannot be changed, doing so forces recreation of the resource.
48
+ The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
44
49
  """
45
50
  return pulumi.get(self, "azure_subscription_id")
46
51
 
@@ -52,7 +57,7 @@ class AzureVpcPeeringConnectionArgs:
52
57
  @pulumi.getter(name="peerAzureAppId")
53
58
  def peer_azure_app_id(self) -> pulumi.Input[str]:
54
59
  """
55
- Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet. This property cannot be changed, doing so forces recreation of the resource.
60
+ The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
56
61
  """
57
62
  return pulumi.get(self, "peer_azure_app_id")
58
63
 
@@ -64,7 +69,7 @@ class AzureVpcPeeringConnectionArgs:
64
69
  @pulumi.getter(name="peerAzureTenantId")
65
70
  def peer_azure_tenant_id(self) -> pulumi.Input[str]:
66
71
  """
67
- Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
72
+ The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
68
73
  """
69
74
  return pulumi.get(self, "peer_azure_tenant_id")
70
75
 
@@ -76,7 +81,7 @@ class AzureVpcPeeringConnectionArgs:
76
81
  @pulumi.getter(name="peerResourceGroup")
77
82
  def peer_resource_group(self) -> pulumi.Input[str]:
78
83
  """
79
- Azure resource group name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
84
+ The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
80
85
  """
81
86
  return pulumi.get(self, "peer_resource_group")
82
87
 
@@ -88,7 +93,7 @@ class AzureVpcPeeringConnectionArgs:
88
93
  @pulumi.getter(name="vnetName")
89
94
  def vnet_name(self) -> pulumi.Input[str]:
90
95
  """
91
- Azure Network name. This property cannot be changed, doing so forces recreation of the resource.
96
+ The name of the Azure VNet. Changing this property forces recreation of the resource.
92
97
  """
93
98
  return pulumi.get(self, "vnet_name")
94
99
 
@@ -100,7 +105,7 @@ class AzureVpcPeeringConnectionArgs:
100
105
  @pulumi.getter(name="vpcId")
101
106
  def vpc_id(self) -> pulumi.Input[str]:
102
107
  """
103
- The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
108
+ The ID of the Aiven VPC. Changing this property forces recreation of the resource.
104
109
  """
105
110
  return pulumi.get(self, "vpc_id")
106
111
 
@@ -118,20 +123,20 @@ class _AzureVpcPeeringConnectionState:
118
123
  peer_resource_group: Optional[pulumi.Input[str]] = None,
119
124
  peering_connection_id: Optional[pulumi.Input[str]] = None,
120
125
  state: Optional[pulumi.Input[str]] = None,
121
- state_info: Optional[pulumi.Input[Mapping[str, Any]]] = None,
126
+ state_info: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
122
127
  vnet_name: Optional[pulumi.Input[str]] = None,
123
128
  vpc_id: Optional[pulumi.Input[str]] = None):
124
129
  """
125
130
  Input properties used for looking up and filtering AzureVpcPeeringConnection resources.
126
- :param pulumi.Input[str] azure_subscription_id: Azure Subscription ID. This property cannot be changed, doing so forces recreation of the resource.
127
- :param pulumi.Input[str] peer_azure_app_id: Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet. This property cannot be changed, doing so forces recreation of the resource.
128
- :param pulumi.Input[str] peer_azure_tenant_id: Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
129
- :param pulumi.Input[str] peer_resource_group: Azure resource group name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
130
- :param pulumi.Input[str] peering_connection_id: Cloud provider identifier for the peering connection if available
131
+ :param pulumi.Input[str] azure_subscription_id: The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
132
+ :param pulumi.Input[str] peer_azure_app_id: The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
133
+ :param pulumi.Input[str] peer_azure_tenant_id: The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
134
+ :param pulumi.Input[str] peer_resource_group: The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
135
+ :param pulumi.Input[str] peering_connection_id: The ID of the cloud provider for the peering connection.
131
136
  :param pulumi.Input[str] state: State of the peering connection
132
- :param pulumi.Input[Mapping[str, Any]] state_info: State-specific help or error information
133
- :param pulumi.Input[str] vnet_name: Azure Network name. This property cannot be changed, doing so forces recreation of the resource.
134
- :param pulumi.Input[str] vpc_id: The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
137
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] state_info: State-specific help or error information.
138
+ :param pulumi.Input[str] vnet_name: The name of the Azure VNet. Changing this property forces recreation of the resource.
139
+ :param pulumi.Input[str] vpc_id: The ID of the Aiven VPC. Changing this property forces recreation of the resource.
135
140
  """
136
141
  if azure_subscription_id is not None:
137
142
  pulumi.set(__self__, "azure_subscription_id", azure_subscription_id)
@@ -156,7 +161,7 @@ class _AzureVpcPeeringConnectionState:
156
161
  @pulumi.getter(name="azureSubscriptionId")
157
162
  def azure_subscription_id(self) -> Optional[pulumi.Input[str]]:
158
163
  """
159
- Azure Subscription ID. This property cannot be changed, doing so forces recreation of the resource.
164
+ The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
160
165
  """
161
166
  return pulumi.get(self, "azure_subscription_id")
162
167
 
@@ -168,7 +173,7 @@ class _AzureVpcPeeringConnectionState:
168
173
  @pulumi.getter(name="peerAzureAppId")
169
174
  def peer_azure_app_id(self) -> Optional[pulumi.Input[str]]:
170
175
  """
171
- Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet. This property cannot be changed, doing so forces recreation of the resource.
176
+ The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
172
177
  """
173
178
  return pulumi.get(self, "peer_azure_app_id")
174
179
 
@@ -180,7 +185,7 @@ class _AzureVpcPeeringConnectionState:
180
185
  @pulumi.getter(name="peerAzureTenantId")
181
186
  def peer_azure_tenant_id(self) -> Optional[pulumi.Input[str]]:
182
187
  """
183
- Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
188
+ The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
184
189
  """
185
190
  return pulumi.get(self, "peer_azure_tenant_id")
186
191
 
@@ -192,7 +197,7 @@ class _AzureVpcPeeringConnectionState:
192
197
  @pulumi.getter(name="peerResourceGroup")
193
198
  def peer_resource_group(self) -> Optional[pulumi.Input[str]]:
194
199
  """
195
- Azure resource group name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
200
+ The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
196
201
  """
197
202
  return pulumi.get(self, "peer_resource_group")
198
203
 
@@ -204,7 +209,7 @@ class _AzureVpcPeeringConnectionState:
204
209
  @pulumi.getter(name="peeringConnectionId")
205
210
  def peering_connection_id(self) -> Optional[pulumi.Input[str]]:
206
211
  """
207
- Cloud provider identifier for the peering connection if available
212
+ The ID of the cloud provider for the peering connection.
208
213
  """
209
214
  return pulumi.get(self, "peering_connection_id")
210
215
 
@@ -226,21 +231,21 @@ class _AzureVpcPeeringConnectionState:
226
231
 
227
232
  @property
228
233
  @pulumi.getter(name="stateInfo")
229
- def state_info(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
234
+ def state_info(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
230
235
  """
231
- State-specific help or error information
236
+ State-specific help or error information.
232
237
  """
233
238
  return pulumi.get(self, "state_info")
234
239
 
235
240
  @state_info.setter
236
- def state_info(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
241
+ def state_info(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
237
242
  pulumi.set(self, "state_info", value)
238
243
 
239
244
  @property
240
245
  @pulumi.getter(name="vnetName")
241
246
  def vnet_name(self) -> Optional[pulumi.Input[str]]:
242
247
  """
243
- Azure Network name. This property cannot be changed, doing so forces recreation of the resource.
248
+ The name of the Azure VNet. Changing this property forces recreation of the resource.
244
249
  """
245
250
  return pulumi.get(self, "vnet_name")
246
251
 
@@ -252,7 +257,7 @@ class _AzureVpcPeeringConnectionState:
252
257
  @pulumi.getter(name="vpcId")
253
258
  def vpc_id(self) -> Optional[pulumi.Input[str]]:
254
259
  """
255
- The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
260
+ The ID of the Aiven VPC. Changing this property forces recreation of the resource.
256
261
  """
257
262
  return pulumi.get(self, "vpc_id")
258
263
 
@@ -274,39 +279,41 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
274
279
  vpc_id: Optional[pulumi.Input[str]] = None,
275
280
  __props__=None):
276
281
  """
277
- The Azure VPC Peering Connection resource allows the creation and management of Aiven VPC Peering Connections.
282
+ Creates and manages an Azure VPC peering connection with an Aiven VPC.
278
283
 
279
284
  ## Example Usage
280
285
 
281
- <!--Start PulumiCodeChooser -->
282
286
  ```python
283
287
  import pulumi
284
288
  import pulumi_aiven as aiven
285
289
 
286
- foo = aiven.AzureVpcPeeringConnection("foo",
287
- vpc_id=data["aiven_project_vpc"]["vpc"]["id"],
288
- azure_subscription_id="xxxxxx",
289
- peer_resource_group="my-pr1",
290
- vnet_name="my-vnet1",
291
- peer_azure_app_id="xxxxxx",
292
- peer_azure_tenant_id="xxxxxx")
290
+ example_vpc = aiven.ProjectVpc("example_vpc",
291
+ project=example_project["project"],
292
+ cloud_name="google-europe-west1",
293
+ network_cidr="192.168.1.0/24")
294
+ azure_to_aiven_peering = aiven.AzureVpcPeeringConnection("azure_to_aiven_peering",
295
+ vpc_id=example_vpc.id,
296
+ azure_subscription_id="00000000-0000-0000-0000-000000000000",
297
+ peer_resource_group="example-resource-group",
298
+ vnet_name="example-vnet",
299
+ peer_azure_app_id="00000000-0000-0000-0000-000000000000",
300
+ peer_azure_tenant_id="00000000-0000-0000-0000-000000000000")
293
301
  ```
294
- <!--End PulumiCodeChooser -->
295
302
 
296
303
  ## Import
297
304
 
298
305
  ```sh
299
- $ pulumi import aiven:index/azureVpcPeeringConnection:AzureVpcPeeringConnection foo project_name/vpc_id/azure_subscription_id/vnet_name
306
+ $ pulumi import aiven:index/azureVpcPeeringConnection:AzureVpcPeeringConnection azure_to_aiven_peering PROJECT/VPC_ID/AZURE_SUBSCRIPTION_ID/VNET_NAME
300
307
  ```
301
308
 
302
309
  :param str resource_name: The name of the resource.
303
310
  :param pulumi.ResourceOptions opts: Options for the resource.
304
- :param pulumi.Input[str] azure_subscription_id: Azure Subscription ID. This property cannot be changed, doing so forces recreation of the resource.
305
- :param pulumi.Input[str] peer_azure_app_id: Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet. This property cannot be changed, doing so forces recreation of the resource.
306
- :param pulumi.Input[str] peer_azure_tenant_id: Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
307
- :param pulumi.Input[str] peer_resource_group: Azure resource group name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
308
- :param pulumi.Input[str] vnet_name: Azure Network name. This property cannot be changed, doing so forces recreation of the resource.
309
- :param pulumi.Input[str] vpc_id: The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
311
+ :param pulumi.Input[str] azure_subscription_id: The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
312
+ :param pulumi.Input[str] peer_azure_app_id: The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
313
+ :param pulumi.Input[str] peer_azure_tenant_id: The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
314
+ :param pulumi.Input[str] peer_resource_group: The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
315
+ :param pulumi.Input[str] vnet_name: The name of the Azure VNet. Changing this property forces recreation of the resource.
316
+ :param pulumi.Input[str] vpc_id: The ID of the Aiven VPC. Changing this property forces recreation of the resource.
310
317
  """
311
318
  ...
312
319
  @overload
@@ -315,29 +322,31 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
315
322
  args: AzureVpcPeeringConnectionArgs,
316
323
  opts: Optional[pulumi.ResourceOptions] = None):
317
324
  """
318
- The Azure VPC Peering Connection resource allows the creation and management of Aiven VPC Peering Connections.
325
+ Creates and manages an Azure VPC peering connection with an Aiven VPC.
319
326
 
320
327
  ## Example Usage
321
328
 
322
- <!--Start PulumiCodeChooser -->
323
329
  ```python
324
330
  import pulumi
325
331
  import pulumi_aiven as aiven
326
332
 
327
- foo = aiven.AzureVpcPeeringConnection("foo",
328
- vpc_id=data["aiven_project_vpc"]["vpc"]["id"],
329
- azure_subscription_id="xxxxxx",
330
- peer_resource_group="my-pr1",
331
- vnet_name="my-vnet1",
332
- peer_azure_app_id="xxxxxx",
333
- peer_azure_tenant_id="xxxxxx")
333
+ example_vpc = aiven.ProjectVpc("example_vpc",
334
+ project=example_project["project"],
335
+ cloud_name="google-europe-west1",
336
+ network_cidr="192.168.1.0/24")
337
+ azure_to_aiven_peering = aiven.AzureVpcPeeringConnection("azure_to_aiven_peering",
338
+ vpc_id=example_vpc.id,
339
+ azure_subscription_id="00000000-0000-0000-0000-000000000000",
340
+ peer_resource_group="example-resource-group",
341
+ vnet_name="example-vnet",
342
+ peer_azure_app_id="00000000-0000-0000-0000-000000000000",
343
+ peer_azure_tenant_id="00000000-0000-0000-0000-000000000000")
334
344
  ```
335
- <!--End PulumiCodeChooser -->
336
345
 
337
346
  ## Import
338
347
 
339
348
  ```sh
340
- $ pulumi import aiven:index/azureVpcPeeringConnection:AzureVpcPeeringConnection foo project_name/vpc_id/azure_subscription_id/vnet_name
349
+ $ pulumi import aiven:index/azureVpcPeeringConnection:AzureVpcPeeringConnection azure_to_aiven_peering PROJECT/VPC_ID/AZURE_SUBSCRIPTION_ID/VNET_NAME
341
350
  ```
342
351
 
343
352
  :param str resource_name: The name of the resource.
@@ -407,7 +416,7 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
407
416
  peer_resource_group: Optional[pulumi.Input[str]] = None,
408
417
  peering_connection_id: Optional[pulumi.Input[str]] = None,
409
418
  state: Optional[pulumi.Input[str]] = None,
410
- state_info: Optional[pulumi.Input[Mapping[str, Any]]] = None,
419
+ state_info: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
411
420
  vnet_name: Optional[pulumi.Input[str]] = None,
412
421
  vpc_id: Optional[pulumi.Input[str]] = None) -> 'AzureVpcPeeringConnection':
413
422
  """
@@ -417,15 +426,15 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
417
426
  :param str resource_name: The unique name of the resulting resource.
418
427
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
419
428
  :param pulumi.ResourceOptions opts: Options for the resource.
420
- :param pulumi.Input[str] azure_subscription_id: Azure Subscription ID. This property cannot be changed, doing so forces recreation of the resource.
421
- :param pulumi.Input[str] peer_azure_app_id: Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet. This property cannot be changed, doing so forces recreation of the resource.
422
- :param pulumi.Input[str] peer_azure_tenant_id: Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
423
- :param pulumi.Input[str] peer_resource_group: Azure resource group name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
424
- :param pulumi.Input[str] peering_connection_id: Cloud provider identifier for the peering connection if available
429
+ :param pulumi.Input[str] azure_subscription_id: The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
430
+ :param pulumi.Input[str] peer_azure_app_id: The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
431
+ :param pulumi.Input[str] peer_azure_tenant_id: The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
432
+ :param pulumi.Input[str] peer_resource_group: The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
433
+ :param pulumi.Input[str] peering_connection_id: The ID of the cloud provider for the peering connection.
425
434
  :param pulumi.Input[str] state: State of the peering connection
426
- :param pulumi.Input[Mapping[str, Any]] state_info: State-specific help or error information
427
- :param pulumi.Input[str] vnet_name: Azure Network name. This property cannot be changed, doing so forces recreation of the resource.
428
- :param pulumi.Input[str] vpc_id: The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
435
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] state_info: State-specific help or error information.
436
+ :param pulumi.Input[str] vnet_name: The name of the Azure VNet. Changing this property forces recreation of the resource.
437
+ :param pulumi.Input[str] vpc_id: The ID of the Aiven VPC. Changing this property forces recreation of the resource.
429
438
  """
430
439
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
431
440
 
@@ -446,7 +455,7 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
446
455
  @pulumi.getter(name="azureSubscriptionId")
447
456
  def azure_subscription_id(self) -> pulumi.Output[str]:
448
457
  """
449
- Azure Subscription ID. This property cannot be changed, doing so forces recreation of the resource.
458
+ The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
450
459
  """
451
460
  return pulumi.get(self, "azure_subscription_id")
452
461
 
@@ -454,7 +463,7 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
454
463
  @pulumi.getter(name="peerAzureAppId")
455
464
  def peer_azure_app_id(self) -> pulumi.Output[str]:
456
465
  """
457
- Azure app registration id in UUID4 form that is allowed to create a peering to the peer vnet. This property cannot be changed, doing so forces recreation of the resource.
466
+ The ID of the Azure app that is allowed to create a peering to the Azure Virtual Network (VNet) in UUID4 format. Changing this property forces recreation of the resource.
458
467
  """
459
468
  return pulumi.get(self, "peer_azure_app_id")
460
469
 
@@ -462,7 +471,7 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
462
471
  @pulumi.getter(name="peerAzureTenantId")
463
472
  def peer_azure_tenant_id(self) -> pulumi.Output[str]:
464
473
  """
465
- Azure tenant id in UUID4 form. This property cannot be changed, doing so forces recreation of the resource.
474
+ The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
466
475
  """
467
476
  return pulumi.get(self, "peer_azure_tenant_id")
468
477
 
@@ -470,7 +479,7 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
470
479
  @pulumi.getter(name="peerResourceGroup")
471
480
  def peer_resource_group(self) -> pulumi.Output[str]:
472
481
  """
473
- Azure resource group name of the peered VPC. This property cannot be changed, doing so forces recreation of the resource.
482
+ The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
474
483
  """
475
484
  return pulumi.get(self, "peer_resource_group")
476
485
 
@@ -478,7 +487,7 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
478
487
  @pulumi.getter(name="peeringConnectionId")
479
488
  def peering_connection_id(self) -> pulumi.Output[str]:
480
489
  """
481
- Cloud provider identifier for the peering connection if available
490
+ The ID of the cloud provider for the peering connection.
482
491
  """
483
492
  return pulumi.get(self, "peering_connection_id")
484
493
 
@@ -492,9 +501,9 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
492
501
 
493
502
  @property
494
503
  @pulumi.getter(name="stateInfo")
495
- def state_info(self) -> pulumi.Output[Mapping[str, Any]]:
504
+ def state_info(self) -> pulumi.Output[Mapping[str, str]]:
496
505
  """
497
- State-specific help or error information
506
+ State-specific help or error information.
498
507
  """
499
508
  return pulumi.get(self, "state_info")
500
509
 
@@ -502,7 +511,7 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
502
511
  @pulumi.getter(name="vnetName")
503
512
  def vnet_name(self) -> pulumi.Output[str]:
504
513
  """
505
- Azure Network name. This property cannot be changed, doing so forces recreation of the resource.
514
+ The name of the Azure VNet. Changing this property forces recreation of the resource.
506
515
  """
507
516
  return pulumi.get(self, "vnet_name")
508
517
 
@@ -510,7 +519,7 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
510
519
  @pulumi.getter(name="vpcId")
511
520
  def vpc_id(self) -> pulumi.Output[str]:
512
521
  """
513
- The VPC the peering connection belongs to. This property cannot be changed, doing so forces recreation of the resource.
522
+ The ID of the Aiven VPC. Changing this property forces recreation of the resource.
514
523
  """
515
524
  return pulumi.get(self, "vpc_id")
516
525
 
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['BillingGroupArgs', 'BillingGroup']
@@ -43,7 +48,7 @@ class BillingGroupArgs:
43
48
  :param pulumi.Input[str] country_code: Two-letter country code.
44
49
  :param pulumi.Input[str] name: Name of the billing group.
45
50
  :param pulumi.Input[str] parent_id: Link a billing group to an existing organization or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
46
- :param pulumi.Input[str] state: State or province.
51
+ :param pulumi.Input[str] state: Address state.
47
52
  :param pulumi.Input[str] vat_id: The VAT identification number for your company.
48
53
  :param pulumi.Input[str] zip_code: Zip or postal code.
49
54
  """
@@ -83,13 +88,11 @@ class BillingGroupArgs:
83
88
 
84
89
  @property
85
90
  @pulumi.getter(name="accountId")
91
+ @_utilities.deprecated("""Use parent_id instead. This field will be removed in the next major release.""")
86
92
  def account_id(self) -> Optional[pulumi.Input[str]]:
87
93
  """
88
94
  Account ID.
89
95
  """
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
96
  return pulumi.get(self, "account_id")
94
97
 
95
98
  @account_id.setter
@@ -232,7 +235,7 @@ class BillingGroupArgs:
232
235
  @pulumi.getter
233
236
  def state(self) -> Optional[pulumi.Input[str]]:
234
237
  """
235
- State or province.
238
+ Address state.
236
239
  """
237
240
  return pulumi.get(self, "state")
238
241
 
@@ -297,7 +300,7 @@ class _BillingGroupState:
297
300
  :param pulumi.Input[str] country_code: Two-letter country code.
298
301
  :param pulumi.Input[str] name: Name of the billing group.
299
302
  :param pulumi.Input[str] parent_id: Link a billing group to an existing organization or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
300
- :param pulumi.Input[str] state: State or province.
303
+ :param pulumi.Input[str] state: Address state.
301
304
  :param pulumi.Input[str] vat_id: The VAT identification number for your company.
302
305
  :param pulumi.Input[str] zip_code: Zip or postal code.
303
306
  """
@@ -337,13 +340,11 @@ class _BillingGroupState:
337
340
 
338
341
  @property
339
342
  @pulumi.getter(name="accountId")
343
+ @_utilities.deprecated("""Use parent_id instead. This field will be removed in the next major release.""")
340
344
  def account_id(self) -> Optional[pulumi.Input[str]]:
341
345
  """
342
346
  Account ID.
343
347
  """
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
348
  return pulumi.get(self, "account_id")
348
349
 
349
350
  @account_id.setter
@@ -486,7 +487,7 @@ class _BillingGroupState:
486
487
  @pulumi.getter
487
488
  def state(self) -> Optional[pulumi.Input[str]]:
488
489
  """
489
- State or province.
490
+ Address state.
490
491
  """
491
492
  return pulumi.get(self, "state")
492
493
 
@@ -541,28 +542,28 @@ class BillingGroup(pulumi.CustomResource):
541
542
  zip_code: Optional[pulumi.Input[str]] = None,
542
543
  __props__=None):
543
544
  """
544
- Creates and manages billing groups and assigns them to projects.
545
+ Creates and manages [billing groups](https://aiven.io/docs/platform/concepts/billing-groups) and assigns them to projects.
545
546
 
546
547
  ## Example Usage
547
548
 
548
- <!--Start PulumiCodeChooser -->
549
549
  ```python
550
550
  import pulumi
551
551
  import pulumi_aiven as aiven
552
552
 
553
- bybg1 = aiven.BillingGroup("bybg1",
553
+ example_billing_group = aiven.BillingGroup("example_billing_group",
554
+ name="example-billing-group",
554
555
  billing_currency="USD",
555
- vat_id="123ABC")
556
- pr1 = aiven.Project("pr1",
557
- project="pr1",
558
- billing_group=bybg1.id)
556
+ vat_id="123ABC",
557
+ parent_id=main["id"])
558
+ example_project = aiven.Project("example_project",
559
+ project="example-project",
560
+ billing_group=example_billing_group.id)
559
561
  ```
560
- <!--End PulumiCodeChooser -->
561
562
 
562
563
  ## Import
563
564
 
564
565
  ```sh
565
- $ pulumi import aiven:index/billingGroup:BillingGroup bybg1 id
566
+ $ pulumi import aiven:index/billingGroup:BillingGroup example_billing_group ID
566
567
  ```
567
568
 
568
569
  :param str resource_name: The name of the resource.
@@ -579,7 +580,7 @@ class BillingGroup(pulumi.CustomResource):
579
580
  :param pulumi.Input[str] country_code: Two-letter country code.
580
581
  :param pulumi.Input[str] name: Name of the billing group.
581
582
  :param pulumi.Input[str] parent_id: Link a billing group to an existing organization or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
582
- :param pulumi.Input[str] state: State or province.
583
+ :param pulumi.Input[str] state: Address state.
583
584
  :param pulumi.Input[str] vat_id: The VAT identification number for your company.
584
585
  :param pulumi.Input[str] zip_code: Zip or postal code.
585
586
  """
@@ -590,28 +591,28 @@ class BillingGroup(pulumi.CustomResource):
590
591
  args: Optional[BillingGroupArgs] = None,
591
592
  opts: Optional[pulumi.ResourceOptions] = None):
592
593
  """
593
- Creates and manages billing groups and assigns them to projects.
594
+ Creates and manages [billing groups](https://aiven.io/docs/platform/concepts/billing-groups) and assigns them to projects.
594
595
 
595
596
  ## Example Usage
596
597
 
597
- <!--Start PulumiCodeChooser -->
598
598
  ```python
599
599
  import pulumi
600
600
  import pulumi_aiven as aiven
601
601
 
602
- bybg1 = aiven.BillingGroup("bybg1",
602
+ example_billing_group = aiven.BillingGroup("example_billing_group",
603
+ name="example-billing-group",
603
604
  billing_currency="USD",
604
- vat_id="123ABC")
605
- pr1 = aiven.Project("pr1",
606
- project="pr1",
607
- billing_group=bybg1.id)
605
+ vat_id="123ABC",
606
+ parent_id=main["id"])
607
+ example_project = aiven.Project("example_project",
608
+ project="example-project",
609
+ billing_group=example_billing_group.id)
608
610
  ```
609
- <!--End PulumiCodeChooser -->
610
611
 
611
612
  ## Import
612
613
 
613
614
  ```sh
614
- $ pulumi import aiven:index/billingGroup:BillingGroup bybg1 id
615
+ $ pulumi import aiven:index/billingGroup:BillingGroup example_billing_group ID
615
616
  ```
616
617
 
617
618
  :param str resource_name: The name of the resource.
@@ -712,7 +713,7 @@ class BillingGroup(pulumi.CustomResource):
712
713
  :param pulumi.Input[str] country_code: Two-letter country code.
713
714
  :param pulumi.Input[str] name: Name of the billing group.
714
715
  :param pulumi.Input[str] parent_id: Link a billing group to an existing organization or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
715
- :param pulumi.Input[str] state: State or province.
716
+ :param pulumi.Input[str] state: Address state.
716
717
  :param pulumi.Input[str] vat_id: The VAT identification number for your company.
717
718
  :param pulumi.Input[str] zip_code: Zip or postal code.
718
719
  """
@@ -739,13 +740,11 @@ class BillingGroup(pulumi.CustomResource):
739
740
 
740
741
  @property
741
742
  @pulumi.getter(name="accountId")
743
+ @_utilities.deprecated("""Use parent_id instead. This field will be removed in the next major release.""")
742
744
  def account_id(self) -> pulumi.Output[Optional[str]]:
743
745
  """
744
746
  Account ID.
745
747
  """
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
748
  return pulumi.get(self, "account_id")
750
749
 
751
750
  @property
@@ -840,7 +839,7 @@ class BillingGroup(pulumi.CustomResource):
840
839
  @pulumi.getter
841
840
  def state(self) -> pulumi.Output[Optional[str]]:
842
841
  """
843
- State or province.
842
+ Address state.
844
843
  """
845
844
  return pulumi.get(self, "state")
846
845