pulumi-aiven 6.35.0a1740028090__py3-none-any.whl → 6.36.0__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (67) hide show
  1. pulumi_aiven/__init__.py +40 -0
  2. pulumi_aiven/_inputs.py +214 -3
  3. pulumi_aiven/account_team_project.py +7 -7
  4. pulumi_aiven/alloydbomni.py +7 -7
  5. pulumi_aiven/aws_org_vpc_peering_connection.py +481 -0
  6. pulumi_aiven/azure_org_vpc_peering_connection.py +553 -0
  7. pulumi_aiven/billing_group.py +7 -7
  8. pulumi_aiven/cassandra.py +7 -7
  9. pulumi_aiven/clickhouse.py +7 -7
  10. pulumi_aiven/dragonfly.py +7 -7
  11. pulumi_aiven/flink.py +7 -7
  12. pulumi_aiven/gcp_org_vpc_peering_connection.py +403 -0
  13. pulumi_aiven/get_account_team_project.py +1 -1
  14. pulumi_aiven/get_alloydbomni.py +1 -1
  15. pulumi_aiven/get_aws_org_vpc_peering_connection.py +222 -0
  16. pulumi_aiven/get_azure_org_vpc_peering_connection.py +236 -0
  17. pulumi_aiven/get_billing_group.py +22 -4
  18. pulumi_aiven/get_cassanda.py +1 -1
  19. pulumi_aiven/get_cassandra.py +1 -1
  20. pulumi_aiven/get_clickhouse.py +1 -1
  21. pulumi_aiven/get_dragonfly.py +1 -1
  22. pulumi_aiven/get_flink.py +1 -1
  23. pulumi_aiven/get_gcp_org_vpc_peering_connection.py +188 -0
  24. pulumi_aiven/get_grafana.py +1 -1
  25. pulumi_aiven/get_kafka.py +1 -1
  26. pulumi_aiven/get_kafka_connect.py +1 -1
  27. pulumi_aiven/get_kafka_mirror_maker.py +1 -1
  28. pulumi_aiven/get_m3_aggregator.py +1 -1
  29. pulumi_aiven/get_m3_db.py +1 -1
  30. pulumi_aiven/get_my_sql.py +1 -1
  31. pulumi_aiven/get_open_search.py +1 -1
  32. pulumi_aiven/get_organization_application_user.py +1 -1
  33. pulumi_aiven/get_organization_project.py +1 -1
  34. pulumi_aiven/get_organization_vpc.py +190 -0
  35. pulumi_aiven/get_pg.py +1 -1
  36. pulumi_aiven/get_project.py +1 -1
  37. pulumi_aiven/get_project_user.py +3 -3
  38. pulumi_aiven/get_redis.py +1 -1
  39. pulumi_aiven/get_thanos.py +1 -1
  40. pulumi_aiven/get_valkey.py +1 -1
  41. pulumi_aiven/grafana.py +7 -7
  42. pulumi_aiven/influx_db.py +42 -42
  43. pulumi_aiven/kafka.py +9 -9
  44. pulumi_aiven/kafka_connect.py +7 -7
  45. pulumi_aiven/kafka_mirror_maker.py +7 -7
  46. pulumi_aiven/m3_aggregator.py +7 -7
  47. pulumi_aiven/m3_db.py +7 -7
  48. pulumi_aiven/my_sql.py +7 -7
  49. pulumi_aiven/open_search.py +7 -7
  50. pulumi_aiven/organization_application_user.py +13 -15
  51. pulumi_aiven/organization_application_user_token.py +47 -0
  52. pulumi_aiven/organization_group_project.py +9 -9
  53. pulumi_aiven/organization_permission.py +16 -2
  54. pulumi_aiven/organization_project.py +7 -7
  55. pulumi_aiven/organization_vpc.py +401 -0
  56. pulumi_aiven/outputs.py +277 -2
  57. pulumi_aiven/pg.py +7 -7
  58. pulumi_aiven/project.py +7 -7
  59. pulumi_aiven/project_user.py +9 -9
  60. pulumi_aiven/pulumi-plugin.json +1 -1
  61. pulumi_aiven/redis.py +7 -7
  62. pulumi_aiven/thanos.py +7 -7
  63. pulumi_aiven/valkey.py +7 -7
  64. {pulumi_aiven-6.35.0a1740028090.dist-info → pulumi_aiven-6.36.0.dist-info}/METADATA +1 -1
  65. {pulumi_aiven-6.35.0a1740028090.dist-info → pulumi_aiven-6.36.0.dist-info}/RECORD +67 -59
  66. {pulumi_aiven-6.35.0a1740028090.dist-info → pulumi_aiven-6.36.0.dist-info}/WHEEL +1 -1
  67. {pulumi_aiven-6.35.0a1740028090.dist-info → pulumi_aiven-6.36.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,236 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
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
15
+ from . import _utilities
16
+
17
+ __all__ = [
18
+ 'GetAzureOrgVpcPeeringConnectionResult',
19
+ 'AwaitableGetAzureOrgVpcPeeringConnectionResult',
20
+ 'get_azure_org_vpc_peering_connection',
21
+ 'get_azure_org_vpc_peering_connection_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetAzureOrgVpcPeeringConnectionResult:
26
+ """
27
+ A collection of values returned by getAzureOrgVpcPeeringConnection.
28
+ """
29
+ def __init__(__self__, azure_subscription_id=None, id=None, organization_id=None, organization_vpc_id=None, peer_azure_app_id=None, peer_azure_tenant_id=None, peer_resource_group=None, peering_connection_id=None, state=None, vnet_name=None):
30
+ if azure_subscription_id and not isinstance(azure_subscription_id, str):
31
+ raise TypeError("Expected argument 'azure_subscription_id' to be a str")
32
+ pulumi.set(__self__, "azure_subscription_id", azure_subscription_id)
33
+ if id and not isinstance(id, str):
34
+ raise TypeError("Expected argument 'id' to be a str")
35
+ pulumi.set(__self__, "id", id)
36
+ if organization_id and not isinstance(organization_id, str):
37
+ raise TypeError("Expected argument 'organization_id' to be a str")
38
+ pulumi.set(__self__, "organization_id", organization_id)
39
+ if organization_vpc_id and not isinstance(organization_vpc_id, str):
40
+ raise TypeError("Expected argument 'organization_vpc_id' to be a str")
41
+ pulumi.set(__self__, "organization_vpc_id", organization_vpc_id)
42
+ if peer_azure_app_id and not isinstance(peer_azure_app_id, str):
43
+ raise TypeError("Expected argument 'peer_azure_app_id' to be a str")
44
+ pulumi.set(__self__, "peer_azure_app_id", peer_azure_app_id)
45
+ if peer_azure_tenant_id and not isinstance(peer_azure_tenant_id, str):
46
+ raise TypeError("Expected argument 'peer_azure_tenant_id' to be a str")
47
+ pulumi.set(__self__, "peer_azure_tenant_id", peer_azure_tenant_id)
48
+ if peer_resource_group and not isinstance(peer_resource_group, str):
49
+ raise TypeError("Expected argument 'peer_resource_group' to be a str")
50
+ pulumi.set(__self__, "peer_resource_group", peer_resource_group)
51
+ if peering_connection_id and not isinstance(peering_connection_id, str):
52
+ raise TypeError("Expected argument 'peering_connection_id' to be a str")
53
+ pulumi.set(__self__, "peering_connection_id", peering_connection_id)
54
+ if state and not isinstance(state, str):
55
+ raise TypeError("Expected argument 'state' to be a str")
56
+ pulumi.set(__self__, "state", state)
57
+ if vnet_name and not isinstance(vnet_name, str):
58
+ raise TypeError("Expected argument 'vnet_name' to be a str")
59
+ pulumi.set(__self__, "vnet_name", vnet_name)
60
+
61
+ @property
62
+ @pulumi.getter(name="azureSubscriptionId")
63
+ def azure_subscription_id(self) -> str:
64
+ """
65
+ The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
66
+ """
67
+ return pulumi.get(self, "azure_subscription_id")
68
+
69
+ @property
70
+ @pulumi.getter
71
+ def id(self) -> str:
72
+ """
73
+ The provider-assigned unique ID for this managed resource.
74
+ """
75
+ return pulumi.get(self, "id")
76
+
77
+ @property
78
+ @pulumi.getter(name="organizationId")
79
+ def organization_id(self) -> str:
80
+ """
81
+ Identifier of the organization.
82
+ """
83
+ return pulumi.get(self, "organization_id")
84
+
85
+ @property
86
+ @pulumi.getter(name="organizationVpcId")
87
+ def organization_vpc_id(self) -> str:
88
+ """
89
+ Identifier of the organization VPC.
90
+ """
91
+ return pulumi.get(self, "organization_vpc_id")
92
+
93
+ @property
94
+ @pulumi.getter(name="peerAzureAppId")
95
+ def peer_azure_app_id(self) -> str:
96
+ """
97
+ 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.
98
+ """
99
+ return pulumi.get(self, "peer_azure_app_id")
100
+
101
+ @property
102
+ @pulumi.getter(name="peerAzureTenantId")
103
+ def peer_azure_tenant_id(self) -> str:
104
+ """
105
+ The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
106
+ """
107
+ return pulumi.get(self, "peer_azure_tenant_id")
108
+
109
+ @property
110
+ @pulumi.getter(name="peerResourceGroup")
111
+ def peer_resource_group(self) -> str:
112
+ """
113
+ The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
114
+ """
115
+ return pulumi.get(self, "peer_resource_group")
116
+
117
+ @property
118
+ @pulumi.getter(name="peeringConnectionId")
119
+ def peering_connection_id(self) -> str:
120
+ """
121
+ The ID of the cloud provider for the peering connection.
122
+ """
123
+ return pulumi.get(self, "peering_connection_id")
124
+
125
+ @property
126
+ @pulumi.getter
127
+ def state(self) -> str:
128
+ """
129
+ State of the peering connection
130
+ """
131
+ return pulumi.get(self, "state")
132
+
133
+ @property
134
+ @pulumi.getter(name="vnetName")
135
+ def vnet_name(self) -> str:
136
+ """
137
+ The name of the Azure VNet. Changing this property forces recreation of the resource.
138
+ """
139
+ return pulumi.get(self, "vnet_name")
140
+
141
+
142
+ class AwaitableGetAzureOrgVpcPeeringConnectionResult(GetAzureOrgVpcPeeringConnectionResult):
143
+ # pylint: disable=using-constant-test
144
+ def __await__(self):
145
+ if False:
146
+ yield self
147
+ return GetAzureOrgVpcPeeringConnectionResult(
148
+ azure_subscription_id=self.azure_subscription_id,
149
+ id=self.id,
150
+ organization_id=self.organization_id,
151
+ organization_vpc_id=self.organization_vpc_id,
152
+ peer_azure_app_id=self.peer_azure_app_id,
153
+ peer_azure_tenant_id=self.peer_azure_tenant_id,
154
+ peer_resource_group=self.peer_resource_group,
155
+ peering_connection_id=self.peering_connection_id,
156
+ state=self.state,
157
+ vnet_name=self.vnet_name)
158
+
159
+
160
+ def get_azure_org_vpc_peering_connection(azure_subscription_id: Optional[str] = None,
161
+ organization_id: Optional[str] = None,
162
+ organization_vpc_id: Optional[str] = None,
163
+ peer_resource_group: Optional[str] = None,
164
+ vnet_name: Optional[str] = None,
165
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAzureOrgVpcPeeringConnectionResult:
166
+ """
167
+ Gets information about about an Azure VPC peering connection.
168
+
169
+ **This resource is in the beta stage and may change without notice.** Set
170
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
171
+
172
+
173
+ :param str azure_subscription_id: The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
174
+ :param str organization_id: Identifier of the organization.
175
+ :param str organization_vpc_id: Identifier of the organization VPC.
176
+ :param str peer_resource_group: The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
177
+ :param str vnet_name: The name of the Azure VNet. Changing this property forces recreation of the resource.
178
+ """
179
+ __args__ = dict()
180
+ __args__['azureSubscriptionId'] = azure_subscription_id
181
+ __args__['organizationId'] = organization_id
182
+ __args__['organizationVpcId'] = organization_vpc_id
183
+ __args__['peerResourceGroup'] = peer_resource_group
184
+ __args__['vnetName'] = vnet_name
185
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
186
+ __ret__ = pulumi.runtime.invoke('aiven:index/getAzureOrgVpcPeeringConnection:getAzureOrgVpcPeeringConnection', __args__, opts=opts, typ=GetAzureOrgVpcPeeringConnectionResult).value
187
+
188
+ return AwaitableGetAzureOrgVpcPeeringConnectionResult(
189
+ azure_subscription_id=pulumi.get(__ret__, 'azure_subscription_id'),
190
+ id=pulumi.get(__ret__, 'id'),
191
+ organization_id=pulumi.get(__ret__, 'organization_id'),
192
+ organization_vpc_id=pulumi.get(__ret__, 'organization_vpc_id'),
193
+ peer_azure_app_id=pulumi.get(__ret__, 'peer_azure_app_id'),
194
+ peer_azure_tenant_id=pulumi.get(__ret__, 'peer_azure_tenant_id'),
195
+ peer_resource_group=pulumi.get(__ret__, 'peer_resource_group'),
196
+ peering_connection_id=pulumi.get(__ret__, 'peering_connection_id'),
197
+ state=pulumi.get(__ret__, 'state'),
198
+ vnet_name=pulumi.get(__ret__, 'vnet_name'))
199
+ def get_azure_org_vpc_peering_connection_output(azure_subscription_id: Optional[pulumi.Input[str]] = None,
200
+ organization_id: Optional[pulumi.Input[str]] = None,
201
+ organization_vpc_id: Optional[pulumi.Input[str]] = None,
202
+ peer_resource_group: Optional[pulumi.Input[str]] = None,
203
+ vnet_name: Optional[pulumi.Input[str]] = None,
204
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAzureOrgVpcPeeringConnectionResult]:
205
+ """
206
+ Gets information about about an Azure VPC peering connection.
207
+
208
+ **This resource is in the beta stage and may change without notice.** Set
209
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
210
+
211
+
212
+ :param str azure_subscription_id: The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
213
+ :param str organization_id: Identifier of the organization.
214
+ :param str organization_vpc_id: Identifier of the organization VPC.
215
+ :param str peer_resource_group: The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
216
+ :param str vnet_name: The name of the Azure VNet. Changing this property forces recreation of the resource.
217
+ """
218
+ __args__ = dict()
219
+ __args__['azureSubscriptionId'] = azure_subscription_id
220
+ __args__['organizationId'] = organization_id
221
+ __args__['organizationVpcId'] = organization_vpc_id
222
+ __args__['peerResourceGroup'] = peer_resource_group
223
+ __args__['vnetName'] = vnet_name
224
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
225
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getAzureOrgVpcPeeringConnection:getAzureOrgVpcPeeringConnection', __args__, opts=opts, typ=GetAzureOrgVpcPeeringConnectionResult)
226
+ return __ret__.apply(lambda __response__: GetAzureOrgVpcPeeringConnectionResult(
227
+ azure_subscription_id=pulumi.get(__response__, 'azure_subscription_id'),
228
+ id=pulumi.get(__response__, 'id'),
229
+ organization_id=pulumi.get(__response__, 'organization_id'),
230
+ organization_vpc_id=pulumi.get(__response__, 'organization_vpc_id'),
231
+ peer_azure_app_id=pulumi.get(__response__, 'peer_azure_app_id'),
232
+ peer_azure_tenant_id=pulumi.get(__response__, 'peer_azure_tenant_id'),
233
+ peer_resource_group=pulumi.get(__response__, 'peer_resource_group'),
234
+ peering_connection_id=pulumi.get(__response__, 'peering_connection_id'),
235
+ state=pulumi.get(__response__, 'state'),
236
+ vnet_name=pulumi.get(__response__, 'vnet_name')))
@@ -123,7 +123,7 @@ class GetBillingGroupResult:
123
123
  @pulumi.getter(name="billingGroupId")
124
124
  def billing_group_id(self) -> str:
125
125
  """
126
- The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
126
+ The [ID of the billing group](https://aiven.io/docs/platform/reference/get-resource-IDs#get-a-billing-group-id). To set up proper dependencies please refer to this variable as a reference.
127
127
  """
128
128
  return pulumi.get(self, "billing_group_id")
129
129
 
@@ -187,7 +187,7 @@ class GetBillingGroupResult:
187
187
  @pulumi.getter(name="parentId")
188
188
  def parent_id(self) -> str:
189
189
  """
190
- 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.
190
+ Link a billing group to an existing organization by using its ID. To set up proper dependencies please refer to this variable as a reference.
191
191
  """
192
192
  return pulumi.get(self, "parent_id")
193
193
 
@@ -246,8 +246,17 @@ def get_billing_group(billing_group_id: Optional[str] = None,
246
246
  """
247
247
  Gets information about a billing group.
248
248
 
249
+ ## Example Usage
249
250
 
250
- :param str billing_group_id: The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
251
+ ```python
252
+ import pulumi
253
+ import pulumi_aiven as aiven
254
+
255
+ example_billing_group = aiven.get_billing_group(billing_group_id="1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d")
256
+ ```
257
+
258
+
259
+ :param str billing_group_id: The [ID of the billing group](https://aiven.io/docs/platform/reference/get-resource-IDs#get-a-billing-group-id). To set up proper dependencies please refer to this variable as a reference.
251
260
  """
252
261
  __args__ = dict()
253
262
  __args__['billingGroupId'] = billing_group_id
@@ -277,8 +286,17 @@ def get_billing_group_output(billing_group_id: Optional[pulumi.Input[str]] = Non
277
286
  """
278
287
  Gets information about a billing group.
279
288
 
289
+ ## Example Usage
290
+
291
+ ```python
292
+ import pulumi
293
+ import pulumi_aiven as aiven
294
+
295
+ example_billing_group = aiven.get_billing_group(billing_group_id="1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d")
296
+ ```
297
+
280
298
 
281
- :param str billing_group_id: The ID of the billing group. To set up proper dependencies please refer to this variable as a reference.
299
+ :param str billing_group_id: The [ID of the billing group](https://aiven.io/docs/platform/reference/get-resource-IDs#get-a-billing-group-id). To set up proper dependencies please refer to this variable as a reference.
282
300
  """
283
301
  __args__ = dict()
284
302
  __args__['billingGroupId'] = billing_group_id
@@ -146,7 +146,7 @@ class GetCassandaResult:
146
146
  @pulumi.getter(name="cloudName")
147
147
  def cloud_name(self) -> str:
148
148
  """
149
- Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
149
+ The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
150
150
  """
151
151
  return pulumi.get(self, "cloud_name")
152
152
 
@@ -144,7 +144,7 @@ class GetCassandraResult:
144
144
  @pulumi.getter(name="cloudName")
145
145
  def cloud_name(self) -> str:
146
146
  """
147
- Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
147
+ The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
148
148
  """
149
149
  return pulumi.get(self, "cloud_name")
150
150
 
@@ -144,7 +144,7 @@ class GetClickhouseResult:
144
144
  @pulumi.getter(name="cloudName")
145
145
  def cloud_name(self) -> str:
146
146
  """
147
- Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
147
+ The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
148
148
  """
149
149
  return pulumi.get(self, "cloud_name")
150
150
 
@@ -128,7 +128,7 @@ class GetDragonflyResult:
128
128
  @pulumi.getter(name="cloudName")
129
129
  def cloud_name(self) -> str:
130
130
  """
131
- Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
131
+ The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
132
132
  """
133
133
  return pulumi.get(self, "cloud_name")
134
134
 
pulumi_aiven/get_flink.py CHANGED
@@ -128,7 +128,7 @@ class GetFlinkResult:
128
128
  @pulumi.getter(name="cloudName")
129
129
  def cloud_name(self) -> str:
130
130
  """
131
- Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
131
+ The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
132
132
  """
133
133
  return pulumi.get(self, "cloud_name")
134
134
 
@@ -0,0 +1,188 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
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
15
+ from . import _utilities
16
+
17
+ __all__ = [
18
+ 'GetGcpOrgVpcPeeringConnectionResult',
19
+ 'AwaitableGetGcpOrgVpcPeeringConnectionResult',
20
+ 'get_gcp_org_vpc_peering_connection',
21
+ 'get_gcp_org_vpc_peering_connection_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetGcpOrgVpcPeeringConnectionResult:
26
+ """
27
+ A collection of values returned by getGcpOrgVpcPeeringConnection.
28
+ """
29
+ def __init__(__self__, gcp_project_id=None, id=None, organization_id=None, organization_vpc_id=None, peer_vpc=None, self_link=None, state=None):
30
+ if gcp_project_id and not isinstance(gcp_project_id, str):
31
+ raise TypeError("Expected argument 'gcp_project_id' to be a str")
32
+ pulumi.set(__self__, "gcp_project_id", gcp_project_id)
33
+ if id and not isinstance(id, str):
34
+ raise TypeError("Expected argument 'id' to be a str")
35
+ pulumi.set(__self__, "id", id)
36
+ if organization_id and not isinstance(organization_id, str):
37
+ raise TypeError("Expected argument 'organization_id' to be a str")
38
+ pulumi.set(__self__, "organization_id", organization_id)
39
+ if organization_vpc_id and not isinstance(organization_vpc_id, str):
40
+ raise TypeError("Expected argument 'organization_vpc_id' to be a str")
41
+ pulumi.set(__self__, "organization_vpc_id", organization_vpc_id)
42
+ if peer_vpc and not isinstance(peer_vpc, str):
43
+ raise TypeError("Expected argument 'peer_vpc' to be a str")
44
+ pulumi.set(__self__, "peer_vpc", peer_vpc)
45
+ if self_link and not isinstance(self_link, str):
46
+ raise TypeError("Expected argument 'self_link' to be a str")
47
+ pulumi.set(__self__, "self_link", self_link)
48
+ if state and not isinstance(state, str):
49
+ raise TypeError("Expected argument 'state' to be a str")
50
+ pulumi.set(__self__, "state", state)
51
+
52
+ @property
53
+ @pulumi.getter(name="gcpProjectId")
54
+ def gcp_project_id(self) -> str:
55
+ """
56
+ Google Cloud project ID. Changing this property forces recreation of the resource.
57
+ """
58
+ return pulumi.get(self, "gcp_project_id")
59
+
60
+ @property
61
+ @pulumi.getter
62
+ def id(self) -> str:
63
+ """
64
+ The provider-assigned unique ID for this managed resource.
65
+ """
66
+ return pulumi.get(self, "id")
67
+
68
+ @property
69
+ @pulumi.getter(name="organizationId")
70
+ def organization_id(self) -> str:
71
+ """
72
+ Identifier of the organization.
73
+ """
74
+ return pulumi.get(self, "organization_id")
75
+
76
+ @property
77
+ @pulumi.getter(name="organizationVpcId")
78
+ def organization_vpc_id(self) -> str:
79
+ """
80
+ Identifier of the organization VPC.
81
+ """
82
+ return pulumi.get(self, "organization_vpc_id")
83
+
84
+ @property
85
+ @pulumi.getter(name="peerVpc")
86
+ def peer_vpc(self) -> str:
87
+ """
88
+ Google Cloud VPC network name. Changing this property forces recreation of the resource.
89
+ """
90
+ return pulumi.get(self, "peer_vpc")
91
+
92
+ @property
93
+ @pulumi.getter(name="selfLink")
94
+ def self_link(self) -> str:
95
+ """
96
+ Computed Google Cloud network peering link.
97
+ """
98
+ return pulumi.get(self, "self_link")
99
+
100
+ @property
101
+ @pulumi.getter
102
+ def state(self) -> str:
103
+ """
104
+ State of the peering connection.
105
+ """
106
+ return pulumi.get(self, "state")
107
+
108
+
109
+ class AwaitableGetGcpOrgVpcPeeringConnectionResult(GetGcpOrgVpcPeeringConnectionResult):
110
+ # pylint: disable=using-constant-test
111
+ def __await__(self):
112
+ if False:
113
+ yield self
114
+ return GetGcpOrgVpcPeeringConnectionResult(
115
+ gcp_project_id=self.gcp_project_id,
116
+ id=self.id,
117
+ organization_id=self.organization_id,
118
+ organization_vpc_id=self.organization_vpc_id,
119
+ peer_vpc=self.peer_vpc,
120
+ self_link=self.self_link,
121
+ state=self.state)
122
+
123
+
124
+ def get_gcp_org_vpc_peering_connection(gcp_project_id: Optional[str] = None,
125
+ organization_id: Optional[str] = None,
126
+ organization_vpc_id: Optional[str] = None,
127
+ peer_vpc: Optional[str] = None,
128
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGcpOrgVpcPeeringConnectionResult:
129
+ """
130
+ The GCP VPC Peering Connection data source provides information about the existing Aiven VPC Peering Connection.
131
+
132
+ **This resource is in the beta stage and may change without notice.** Set
133
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
134
+
135
+
136
+ :param str gcp_project_id: Google Cloud project ID. Changing this property forces recreation of the resource.
137
+ :param str organization_id: Identifier of the organization.
138
+ :param str organization_vpc_id: Identifier of the organization VPC.
139
+ :param str peer_vpc: Google Cloud VPC network name. Changing this property forces recreation of the resource.
140
+ """
141
+ __args__ = dict()
142
+ __args__['gcpProjectId'] = gcp_project_id
143
+ __args__['organizationId'] = organization_id
144
+ __args__['organizationVpcId'] = organization_vpc_id
145
+ __args__['peerVpc'] = peer_vpc
146
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
147
+ __ret__ = pulumi.runtime.invoke('aiven:index/getGcpOrgVpcPeeringConnection:getGcpOrgVpcPeeringConnection', __args__, opts=opts, typ=GetGcpOrgVpcPeeringConnectionResult).value
148
+
149
+ return AwaitableGetGcpOrgVpcPeeringConnectionResult(
150
+ gcp_project_id=pulumi.get(__ret__, 'gcp_project_id'),
151
+ id=pulumi.get(__ret__, 'id'),
152
+ organization_id=pulumi.get(__ret__, 'organization_id'),
153
+ organization_vpc_id=pulumi.get(__ret__, 'organization_vpc_id'),
154
+ peer_vpc=pulumi.get(__ret__, 'peer_vpc'),
155
+ self_link=pulumi.get(__ret__, 'self_link'),
156
+ state=pulumi.get(__ret__, 'state'))
157
+ def get_gcp_org_vpc_peering_connection_output(gcp_project_id: Optional[pulumi.Input[str]] = None,
158
+ organization_id: Optional[pulumi.Input[str]] = None,
159
+ organization_vpc_id: Optional[pulumi.Input[str]] = None,
160
+ peer_vpc: Optional[pulumi.Input[str]] = None,
161
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGcpOrgVpcPeeringConnectionResult]:
162
+ """
163
+ The GCP VPC Peering Connection data source provides information about the existing Aiven VPC Peering Connection.
164
+
165
+ **This resource is in the beta stage and may change without notice.** Set
166
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
167
+
168
+
169
+ :param str gcp_project_id: Google Cloud project ID. Changing this property forces recreation of the resource.
170
+ :param str organization_id: Identifier of the organization.
171
+ :param str organization_vpc_id: Identifier of the organization VPC.
172
+ :param str peer_vpc: Google Cloud VPC network name. Changing this property forces recreation of the resource.
173
+ """
174
+ __args__ = dict()
175
+ __args__['gcpProjectId'] = gcp_project_id
176
+ __args__['organizationId'] = organization_id
177
+ __args__['organizationVpcId'] = organization_vpc_id
178
+ __args__['peerVpc'] = peer_vpc
179
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
180
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getGcpOrgVpcPeeringConnection:getGcpOrgVpcPeeringConnection', __args__, opts=opts, typ=GetGcpOrgVpcPeeringConnectionResult)
181
+ return __ret__.apply(lambda __response__: GetGcpOrgVpcPeeringConnectionResult(
182
+ gcp_project_id=pulumi.get(__response__, 'gcp_project_id'),
183
+ id=pulumi.get(__response__, 'id'),
184
+ organization_id=pulumi.get(__response__, 'organization_id'),
185
+ organization_vpc_id=pulumi.get(__response__, 'organization_vpc_id'),
186
+ peer_vpc=pulumi.get(__response__, 'peer_vpc'),
187
+ self_link=pulumi.get(__response__, 'self_link'),
188
+ state=pulumi.get(__response__, 'state')))
@@ -128,7 +128,7 @@ class GetGrafanaResult:
128
128
  @pulumi.getter(name="cloudName")
129
129
  def cloud_name(self) -> str:
130
130
  """
131
- Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
131
+ The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
132
132
  """
133
133
  return pulumi.get(self, "cloud_name")
134
134
 
pulumi_aiven/get_kafka.py CHANGED
@@ -134,7 +134,7 @@ class GetKafkaResult:
134
134
  @pulumi.getter(name="cloudName")
135
135
  def cloud_name(self) -> str:
136
136
  """
137
- Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
137
+ The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
138
138
  """
139
139
  return pulumi.get(self, "cloud_name")
140
140
 
@@ -125,7 +125,7 @@ class GetKafkaConnectResult:
125
125
  @pulumi.getter(name="cloudName")
126
126
  def cloud_name(self) -> str:
127
127
  """
128
- Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
128
+ The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
129
129
  """
130
130
  return pulumi.get(self, "cloud_name")
131
131
 
@@ -125,7 +125,7 @@ class GetKafkaMirrorMakerResult:
125
125
  @pulumi.getter(name="cloudName")
126
126
  def cloud_name(self) -> str:
127
127
  """
128
- Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
128
+ The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
129
129
  """
130
130
  return pulumi.get(self, "cloud_name")
131
131
 
@@ -128,7 +128,7 @@ class GetM3AggregatorResult:
128
128
  @pulumi.getter(name="cloudName")
129
129
  def cloud_name(self) -> str:
130
130
  """
131
- Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
131
+ The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
132
132
  """
133
133
  return pulumi.get(self, "cloud_name")
134
134
 
pulumi_aiven/get_m3_db.py CHANGED
@@ -128,7 +128,7 @@ class GetM3DbResult:
128
128
  @pulumi.getter(name="cloudName")
129
129
  def cloud_name(self) -> str:
130
130
  """
131
- Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
131
+ The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
132
132
  """
133
133
  return pulumi.get(self, "cloud_name")
134
134