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.
- pulumi_aiven/__init__.py +40 -0
- pulumi_aiven/_inputs.py +214 -3
- pulumi_aiven/account_team_project.py +7 -7
- pulumi_aiven/alloydbomni.py +7 -7
- pulumi_aiven/aws_org_vpc_peering_connection.py +481 -0
- pulumi_aiven/azure_org_vpc_peering_connection.py +553 -0
- pulumi_aiven/billing_group.py +7 -7
- pulumi_aiven/cassandra.py +7 -7
- pulumi_aiven/clickhouse.py +7 -7
- pulumi_aiven/dragonfly.py +7 -7
- pulumi_aiven/flink.py +7 -7
- pulumi_aiven/gcp_org_vpc_peering_connection.py +403 -0
- pulumi_aiven/get_account_team_project.py +1 -1
- pulumi_aiven/get_alloydbomni.py +1 -1
- pulumi_aiven/get_aws_org_vpc_peering_connection.py +222 -0
- pulumi_aiven/get_azure_org_vpc_peering_connection.py +236 -0
- pulumi_aiven/get_billing_group.py +22 -4
- pulumi_aiven/get_cassanda.py +1 -1
- pulumi_aiven/get_cassandra.py +1 -1
- pulumi_aiven/get_clickhouse.py +1 -1
- pulumi_aiven/get_dragonfly.py +1 -1
- pulumi_aiven/get_flink.py +1 -1
- pulumi_aiven/get_gcp_org_vpc_peering_connection.py +188 -0
- pulumi_aiven/get_grafana.py +1 -1
- pulumi_aiven/get_kafka.py +1 -1
- pulumi_aiven/get_kafka_connect.py +1 -1
- pulumi_aiven/get_kafka_mirror_maker.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +1 -1
- pulumi_aiven/get_m3_db.py +1 -1
- pulumi_aiven/get_my_sql.py +1 -1
- pulumi_aiven/get_open_search.py +1 -1
- pulumi_aiven/get_organization_application_user.py +1 -1
- pulumi_aiven/get_organization_project.py +1 -1
- pulumi_aiven/get_organization_vpc.py +190 -0
- pulumi_aiven/get_pg.py +1 -1
- pulumi_aiven/get_project.py +1 -1
- pulumi_aiven/get_project_user.py +3 -3
- pulumi_aiven/get_redis.py +1 -1
- pulumi_aiven/get_thanos.py +1 -1
- pulumi_aiven/get_valkey.py +1 -1
- pulumi_aiven/grafana.py +7 -7
- pulumi_aiven/influx_db.py +42 -42
- pulumi_aiven/kafka.py +9 -9
- pulumi_aiven/kafka_connect.py +7 -7
- pulumi_aiven/kafka_mirror_maker.py +7 -7
- pulumi_aiven/m3_aggregator.py +7 -7
- pulumi_aiven/m3_db.py +7 -7
- pulumi_aiven/my_sql.py +7 -7
- pulumi_aiven/open_search.py +7 -7
- pulumi_aiven/organization_application_user.py +13 -15
- pulumi_aiven/organization_application_user_token.py +47 -0
- pulumi_aiven/organization_group_project.py +9 -9
- pulumi_aiven/organization_permission.py +16 -2
- pulumi_aiven/organization_project.py +7 -7
- pulumi_aiven/organization_vpc.py +401 -0
- pulumi_aiven/outputs.py +277 -2
- pulumi_aiven/pg.py +7 -7
- pulumi_aiven/project.py +7 -7
- pulumi_aiven/project_user.py +9 -9
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +7 -7
- pulumi_aiven/thanos.py +7 -7
- pulumi_aiven/valkey.py +7 -7
- {pulumi_aiven-6.35.0a1740028090.dist-info → pulumi_aiven-6.36.0.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.35.0a1740028090.dist-info → pulumi_aiven-6.36.0.dist-info}/RECORD +67 -59
- {pulumi_aiven-6.35.0a1740028090.dist-info → pulumi_aiven-6.36.0.dist-info}/WHEEL +1 -1
- {pulumi_aiven-6.35.0a1740028090.dist-info → pulumi_aiven-6.36.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,553 @@
|
|
|
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__ = ['AzureOrgVpcPeeringConnectionArgs', 'AzureOrgVpcPeeringConnection']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class AzureOrgVpcPeeringConnectionArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
azure_subscription_id: pulumi.Input[str],
|
|
23
|
+
organization_id: pulumi.Input[str],
|
|
24
|
+
organization_vpc_id: pulumi.Input[str],
|
|
25
|
+
peer_azure_app_id: pulumi.Input[str],
|
|
26
|
+
peer_azure_tenant_id: pulumi.Input[str],
|
|
27
|
+
peer_resource_group: pulumi.Input[str],
|
|
28
|
+
vnet_name: pulumi.Input[str]):
|
|
29
|
+
"""
|
|
30
|
+
The set of arguments for constructing a AzureOrgVpcPeeringConnection resource.
|
|
31
|
+
:param pulumi.Input[str] azure_subscription_id: The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
|
|
32
|
+
:param pulumi.Input[str] organization_id: Identifier of the organization.
|
|
33
|
+
:param pulumi.Input[str] organization_vpc_id: Identifier of the organization VPC.
|
|
34
|
+
: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.
|
|
35
|
+
:param pulumi.Input[str] peer_azure_tenant_id: The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
|
|
36
|
+
: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.
|
|
37
|
+
:param pulumi.Input[str] vnet_name: The name of the Azure VNet. Changing this property forces recreation of the resource.
|
|
38
|
+
"""
|
|
39
|
+
pulumi.set(__self__, "azure_subscription_id", azure_subscription_id)
|
|
40
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
41
|
+
pulumi.set(__self__, "organization_vpc_id", organization_vpc_id)
|
|
42
|
+
pulumi.set(__self__, "peer_azure_app_id", peer_azure_app_id)
|
|
43
|
+
pulumi.set(__self__, "peer_azure_tenant_id", peer_azure_tenant_id)
|
|
44
|
+
pulumi.set(__self__, "peer_resource_group", peer_resource_group)
|
|
45
|
+
pulumi.set(__self__, "vnet_name", vnet_name)
|
|
46
|
+
|
|
47
|
+
@property
|
|
48
|
+
@pulumi.getter(name="azureSubscriptionId")
|
|
49
|
+
def azure_subscription_id(self) -> pulumi.Input[str]:
|
|
50
|
+
"""
|
|
51
|
+
The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
|
|
52
|
+
"""
|
|
53
|
+
return pulumi.get(self, "azure_subscription_id")
|
|
54
|
+
|
|
55
|
+
@azure_subscription_id.setter
|
|
56
|
+
def azure_subscription_id(self, value: pulumi.Input[str]):
|
|
57
|
+
pulumi.set(self, "azure_subscription_id", value)
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
@pulumi.getter(name="organizationId")
|
|
61
|
+
def organization_id(self) -> pulumi.Input[str]:
|
|
62
|
+
"""
|
|
63
|
+
Identifier of the organization.
|
|
64
|
+
"""
|
|
65
|
+
return pulumi.get(self, "organization_id")
|
|
66
|
+
|
|
67
|
+
@organization_id.setter
|
|
68
|
+
def organization_id(self, value: pulumi.Input[str]):
|
|
69
|
+
pulumi.set(self, "organization_id", value)
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
@pulumi.getter(name="organizationVpcId")
|
|
73
|
+
def organization_vpc_id(self) -> pulumi.Input[str]:
|
|
74
|
+
"""
|
|
75
|
+
Identifier of the organization VPC.
|
|
76
|
+
"""
|
|
77
|
+
return pulumi.get(self, "organization_vpc_id")
|
|
78
|
+
|
|
79
|
+
@organization_vpc_id.setter
|
|
80
|
+
def organization_vpc_id(self, value: pulumi.Input[str]):
|
|
81
|
+
pulumi.set(self, "organization_vpc_id", value)
|
|
82
|
+
|
|
83
|
+
@property
|
|
84
|
+
@pulumi.getter(name="peerAzureAppId")
|
|
85
|
+
def peer_azure_app_id(self) -> pulumi.Input[str]:
|
|
86
|
+
"""
|
|
87
|
+
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.
|
|
88
|
+
"""
|
|
89
|
+
return pulumi.get(self, "peer_azure_app_id")
|
|
90
|
+
|
|
91
|
+
@peer_azure_app_id.setter
|
|
92
|
+
def peer_azure_app_id(self, value: pulumi.Input[str]):
|
|
93
|
+
pulumi.set(self, "peer_azure_app_id", value)
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
@pulumi.getter(name="peerAzureTenantId")
|
|
97
|
+
def peer_azure_tenant_id(self) -> pulumi.Input[str]:
|
|
98
|
+
"""
|
|
99
|
+
The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
|
|
100
|
+
"""
|
|
101
|
+
return pulumi.get(self, "peer_azure_tenant_id")
|
|
102
|
+
|
|
103
|
+
@peer_azure_tenant_id.setter
|
|
104
|
+
def peer_azure_tenant_id(self, value: pulumi.Input[str]):
|
|
105
|
+
pulumi.set(self, "peer_azure_tenant_id", value)
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
@pulumi.getter(name="peerResourceGroup")
|
|
109
|
+
def peer_resource_group(self) -> pulumi.Input[str]:
|
|
110
|
+
"""
|
|
111
|
+
The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
|
|
112
|
+
"""
|
|
113
|
+
return pulumi.get(self, "peer_resource_group")
|
|
114
|
+
|
|
115
|
+
@peer_resource_group.setter
|
|
116
|
+
def peer_resource_group(self, value: pulumi.Input[str]):
|
|
117
|
+
pulumi.set(self, "peer_resource_group", value)
|
|
118
|
+
|
|
119
|
+
@property
|
|
120
|
+
@pulumi.getter(name="vnetName")
|
|
121
|
+
def vnet_name(self) -> pulumi.Input[str]:
|
|
122
|
+
"""
|
|
123
|
+
The name of the Azure VNet. Changing this property forces recreation of the resource.
|
|
124
|
+
"""
|
|
125
|
+
return pulumi.get(self, "vnet_name")
|
|
126
|
+
|
|
127
|
+
@vnet_name.setter
|
|
128
|
+
def vnet_name(self, value: pulumi.Input[str]):
|
|
129
|
+
pulumi.set(self, "vnet_name", value)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
@pulumi.input_type
|
|
133
|
+
class _AzureOrgVpcPeeringConnectionState:
|
|
134
|
+
def __init__(__self__, *,
|
|
135
|
+
azure_subscription_id: Optional[pulumi.Input[str]] = None,
|
|
136
|
+
organization_id: Optional[pulumi.Input[str]] = None,
|
|
137
|
+
organization_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
138
|
+
peer_azure_app_id: Optional[pulumi.Input[str]] = None,
|
|
139
|
+
peer_azure_tenant_id: Optional[pulumi.Input[str]] = None,
|
|
140
|
+
peer_resource_group: Optional[pulumi.Input[str]] = None,
|
|
141
|
+
peering_connection_id: Optional[pulumi.Input[str]] = None,
|
|
142
|
+
state: Optional[pulumi.Input[str]] = None,
|
|
143
|
+
vnet_name: Optional[pulumi.Input[str]] = None):
|
|
144
|
+
"""
|
|
145
|
+
Input properties used for looking up and filtering AzureOrgVpcPeeringConnection resources.
|
|
146
|
+
:param pulumi.Input[str] azure_subscription_id: The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
|
|
147
|
+
:param pulumi.Input[str] organization_id: Identifier of the organization.
|
|
148
|
+
:param pulumi.Input[str] organization_vpc_id: Identifier of the organization VPC.
|
|
149
|
+
: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.
|
|
150
|
+
:param pulumi.Input[str] peer_azure_tenant_id: The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
|
|
151
|
+
: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.
|
|
152
|
+
:param pulumi.Input[str] peering_connection_id: The ID of the cloud provider for the peering connection.
|
|
153
|
+
:param pulumi.Input[str] state: State of the peering connection
|
|
154
|
+
:param pulumi.Input[str] vnet_name: The name of the Azure VNet. Changing this property forces recreation of the resource.
|
|
155
|
+
"""
|
|
156
|
+
if azure_subscription_id is not None:
|
|
157
|
+
pulumi.set(__self__, "azure_subscription_id", azure_subscription_id)
|
|
158
|
+
if organization_id is not None:
|
|
159
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
160
|
+
if organization_vpc_id is not None:
|
|
161
|
+
pulumi.set(__self__, "organization_vpc_id", organization_vpc_id)
|
|
162
|
+
if peer_azure_app_id is not None:
|
|
163
|
+
pulumi.set(__self__, "peer_azure_app_id", peer_azure_app_id)
|
|
164
|
+
if peer_azure_tenant_id is not None:
|
|
165
|
+
pulumi.set(__self__, "peer_azure_tenant_id", peer_azure_tenant_id)
|
|
166
|
+
if peer_resource_group is not None:
|
|
167
|
+
pulumi.set(__self__, "peer_resource_group", peer_resource_group)
|
|
168
|
+
if peering_connection_id is not None:
|
|
169
|
+
pulumi.set(__self__, "peering_connection_id", peering_connection_id)
|
|
170
|
+
if state is not None:
|
|
171
|
+
pulumi.set(__self__, "state", state)
|
|
172
|
+
if vnet_name is not None:
|
|
173
|
+
pulumi.set(__self__, "vnet_name", vnet_name)
|
|
174
|
+
|
|
175
|
+
@property
|
|
176
|
+
@pulumi.getter(name="azureSubscriptionId")
|
|
177
|
+
def azure_subscription_id(self) -> Optional[pulumi.Input[str]]:
|
|
178
|
+
"""
|
|
179
|
+
The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
|
|
180
|
+
"""
|
|
181
|
+
return pulumi.get(self, "azure_subscription_id")
|
|
182
|
+
|
|
183
|
+
@azure_subscription_id.setter
|
|
184
|
+
def azure_subscription_id(self, value: Optional[pulumi.Input[str]]):
|
|
185
|
+
pulumi.set(self, "azure_subscription_id", value)
|
|
186
|
+
|
|
187
|
+
@property
|
|
188
|
+
@pulumi.getter(name="organizationId")
|
|
189
|
+
def organization_id(self) -> Optional[pulumi.Input[str]]:
|
|
190
|
+
"""
|
|
191
|
+
Identifier of the organization.
|
|
192
|
+
"""
|
|
193
|
+
return pulumi.get(self, "organization_id")
|
|
194
|
+
|
|
195
|
+
@organization_id.setter
|
|
196
|
+
def organization_id(self, value: Optional[pulumi.Input[str]]):
|
|
197
|
+
pulumi.set(self, "organization_id", value)
|
|
198
|
+
|
|
199
|
+
@property
|
|
200
|
+
@pulumi.getter(name="organizationVpcId")
|
|
201
|
+
def organization_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
202
|
+
"""
|
|
203
|
+
Identifier of the organization VPC.
|
|
204
|
+
"""
|
|
205
|
+
return pulumi.get(self, "organization_vpc_id")
|
|
206
|
+
|
|
207
|
+
@organization_vpc_id.setter
|
|
208
|
+
def organization_vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
209
|
+
pulumi.set(self, "organization_vpc_id", value)
|
|
210
|
+
|
|
211
|
+
@property
|
|
212
|
+
@pulumi.getter(name="peerAzureAppId")
|
|
213
|
+
def peer_azure_app_id(self) -> Optional[pulumi.Input[str]]:
|
|
214
|
+
"""
|
|
215
|
+
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.
|
|
216
|
+
"""
|
|
217
|
+
return pulumi.get(self, "peer_azure_app_id")
|
|
218
|
+
|
|
219
|
+
@peer_azure_app_id.setter
|
|
220
|
+
def peer_azure_app_id(self, value: Optional[pulumi.Input[str]]):
|
|
221
|
+
pulumi.set(self, "peer_azure_app_id", value)
|
|
222
|
+
|
|
223
|
+
@property
|
|
224
|
+
@pulumi.getter(name="peerAzureTenantId")
|
|
225
|
+
def peer_azure_tenant_id(self) -> Optional[pulumi.Input[str]]:
|
|
226
|
+
"""
|
|
227
|
+
The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
|
|
228
|
+
"""
|
|
229
|
+
return pulumi.get(self, "peer_azure_tenant_id")
|
|
230
|
+
|
|
231
|
+
@peer_azure_tenant_id.setter
|
|
232
|
+
def peer_azure_tenant_id(self, value: Optional[pulumi.Input[str]]):
|
|
233
|
+
pulumi.set(self, "peer_azure_tenant_id", value)
|
|
234
|
+
|
|
235
|
+
@property
|
|
236
|
+
@pulumi.getter(name="peerResourceGroup")
|
|
237
|
+
def peer_resource_group(self) -> Optional[pulumi.Input[str]]:
|
|
238
|
+
"""
|
|
239
|
+
The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
|
|
240
|
+
"""
|
|
241
|
+
return pulumi.get(self, "peer_resource_group")
|
|
242
|
+
|
|
243
|
+
@peer_resource_group.setter
|
|
244
|
+
def peer_resource_group(self, value: Optional[pulumi.Input[str]]):
|
|
245
|
+
pulumi.set(self, "peer_resource_group", value)
|
|
246
|
+
|
|
247
|
+
@property
|
|
248
|
+
@pulumi.getter(name="peeringConnectionId")
|
|
249
|
+
def peering_connection_id(self) -> Optional[pulumi.Input[str]]:
|
|
250
|
+
"""
|
|
251
|
+
The ID of the cloud provider for the peering connection.
|
|
252
|
+
"""
|
|
253
|
+
return pulumi.get(self, "peering_connection_id")
|
|
254
|
+
|
|
255
|
+
@peering_connection_id.setter
|
|
256
|
+
def peering_connection_id(self, value: Optional[pulumi.Input[str]]):
|
|
257
|
+
pulumi.set(self, "peering_connection_id", value)
|
|
258
|
+
|
|
259
|
+
@property
|
|
260
|
+
@pulumi.getter
|
|
261
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
|
262
|
+
"""
|
|
263
|
+
State of the peering connection
|
|
264
|
+
"""
|
|
265
|
+
return pulumi.get(self, "state")
|
|
266
|
+
|
|
267
|
+
@state.setter
|
|
268
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
|
269
|
+
pulumi.set(self, "state", value)
|
|
270
|
+
|
|
271
|
+
@property
|
|
272
|
+
@pulumi.getter(name="vnetName")
|
|
273
|
+
def vnet_name(self) -> Optional[pulumi.Input[str]]:
|
|
274
|
+
"""
|
|
275
|
+
The name of the Azure VNet. Changing this property forces recreation of the resource.
|
|
276
|
+
"""
|
|
277
|
+
return pulumi.get(self, "vnet_name")
|
|
278
|
+
|
|
279
|
+
@vnet_name.setter
|
|
280
|
+
def vnet_name(self, value: Optional[pulumi.Input[str]]):
|
|
281
|
+
pulumi.set(self, "vnet_name", value)
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
class AzureOrgVpcPeeringConnection(pulumi.CustomResource):
|
|
285
|
+
@overload
|
|
286
|
+
def __init__(__self__,
|
|
287
|
+
resource_name: str,
|
|
288
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
289
|
+
azure_subscription_id: Optional[pulumi.Input[str]] = None,
|
|
290
|
+
organization_id: Optional[pulumi.Input[str]] = None,
|
|
291
|
+
organization_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
292
|
+
peer_azure_app_id: Optional[pulumi.Input[str]] = None,
|
|
293
|
+
peer_azure_tenant_id: Optional[pulumi.Input[str]] = None,
|
|
294
|
+
peer_resource_group: Optional[pulumi.Input[str]] = None,
|
|
295
|
+
vnet_name: Optional[pulumi.Input[str]] = None,
|
|
296
|
+
__props__=None):
|
|
297
|
+
"""
|
|
298
|
+
Creates and manages an Azure VPC peering connection with an Aiven VPC.
|
|
299
|
+
|
|
300
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
301
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
302
|
+
|
|
303
|
+
## Example Usage
|
|
304
|
+
|
|
305
|
+
```python
|
|
306
|
+
import pulumi
|
|
307
|
+
import pulumi_aiven as aiven
|
|
308
|
+
|
|
309
|
+
example_vpc = aiven.OrganizationVpc("example_vpc",
|
|
310
|
+
organization_id=example["id"],
|
|
311
|
+
cloud_name="azure-germany-westcentral",
|
|
312
|
+
network_cidr="10.0.0.0/24")
|
|
313
|
+
example_peering = aiven.AzureOrgVpcPeeringConnection("example_peering",
|
|
314
|
+
organization_id=example_vpc.organization_id,
|
|
315
|
+
organization_vpc_id=example_vpc.organization_vpc_id,
|
|
316
|
+
azure_subscription_id="12345678-1234-1234-1234-123456789012",
|
|
317
|
+
vnet_name="my-vnet",
|
|
318
|
+
peer_resource_group="my-resource-group",
|
|
319
|
+
peer_azure_app_id="87654321-4321-4321-4321-210987654321",
|
|
320
|
+
peer_azure_tenant_id="11111111-2222-3333-4444-555555555555")
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
## Import
|
|
324
|
+
|
|
325
|
+
```sh
|
|
326
|
+
$ pulumi import aiven:index/azureOrgVpcPeeringConnection:AzureOrgVpcPeeringConnection example ORGANIZATION_ID/ORGANIZATION_VPC_ID/AZURE_SUBSCRIPTION_ID/VNET_NAME/RESOURCE_GROUP
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
:param str resource_name: The name of the resource.
|
|
330
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
331
|
+
:param pulumi.Input[str] azure_subscription_id: The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
|
|
332
|
+
:param pulumi.Input[str] organization_id: Identifier of the organization.
|
|
333
|
+
:param pulumi.Input[str] organization_vpc_id: Identifier of the organization VPC.
|
|
334
|
+
: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.
|
|
335
|
+
:param pulumi.Input[str] peer_azure_tenant_id: The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
|
|
336
|
+
: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.
|
|
337
|
+
:param pulumi.Input[str] vnet_name: The name of the Azure VNet. Changing this property forces recreation of the resource.
|
|
338
|
+
"""
|
|
339
|
+
...
|
|
340
|
+
@overload
|
|
341
|
+
def __init__(__self__,
|
|
342
|
+
resource_name: str,
|
|
343
|
+
args: AzureOrgVpcPeeringConnectionArgs,
|
|
344
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
345
|
+
"""
|
|
346
|
+
Creates and manages an Azure VPC peering connection with an Aiven VPC.
|
|
347
|
+
|
|
348
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
349
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
350
|
+
|
|
351
|
+
## Example Usage
|
|
352
|
+
|
|
353
|
+
```python
|
|
354
|
+
import pulumi
|
|
355
|
+
import pulumi_aiven as aiven
|
|
356
|
+
|
|
357
|
+
example_vpc = aiven.OrganizationVpc("example_vpc",
|
|
358
|
+
organization_id=example["id"],
|
|
359
|
+
cloud_name="azure-germany-westcentral",
|
|
360
|
+
network_cidr="10.0.0.0/24")
|
|
361
|
+
example_peering = aiven.AzureOrgVpcPeeringConnection("example_peering",
|
|
362
|
+
organization_id=example_vpc.organization_id,
|
|
363
|
+
organization_vpc_id=example_vpc.organization_vpc_id,
|
|
364
|
+
azure_subscription_id="12345678-1234-1234-1234-123456789012",
|
|
365
|
+
vnet_name="my-vnet",
|
|
366
|
+
peer_resource_group="my-resource-group",
|
|
367
|
+
peer_azure_app_id="87654321-4321-4321-4321-210987654321",
|
|
368
|
+
peer_azure_tenant_id="11111111-2222-3333-4444-555555555555")
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
## Import
|
|
372
|
+
|
|
373
|
+
```sh
|
|
374
|
+
$ pulumi import aiven:index/azureOrgVpcPeeringConnection:AzureOrgVpcPeeringConnection example ORGANIZATION_ID/ORGANIZATION_VPC_ID/AZURE_SUBSCRIPTION_ID/VNET_NAME/RESOURCE_GROUP
|
|
375
|
+
```
|
|
376
|
+
|
|
377
|
+
:param str resource_name: The name of the resource.
|
|
378
|
+
:param AzureOrgVpcPeeringConnectionArgs args: The arguments to use to populate this resource's properties.
|
|
379
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
380
|
+
"""
|
|
381
|
+
...
|
|
382
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
383
|
+
resource_args, opts = _utilities.get_resource_args_opts(AzureOrgVpcPeeringConnectionArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
384
|
+
if resource_args is not None:
|
|
385
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
386
|
+
else:
|
|
387
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
388
|
+
|
|
389
|
+
def _internal_init(__self__,
|
|
390
|
+
resource_name: str,
|
|
391
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
392
|
+
azure_subscription_id: Optional[pulumi.Input[str]] = None,
|
|
393
|
+
organization_id: Optional[pulumi.Input[str]] = None,
|
|
394
|
+
organization_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
395
|
+
peer_azure_app_id: Optional[pulumi.Input[str]] = None,
|
|
396
|
+
peer_azure_tenant_id: Optional[pulumi.Input[str]] = None,
|
|
397
|
+
peer_resource_group: Optional[pulumi.Input[str]] = None,
|
|
398
|
+
vnet_name: Optional[pulumi.Input[str]] = None,
|
|
399
|
+
__props__=None):
|
|
400
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
401
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
402
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
403
|
+
if opts.id is None:
|
|
404
|
+
if __props__ is not None:
|
|
405
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
406
|
+
__props__ = AzureOrgVpcPeeringConnectionArgs.__new__(AzureOrgVpcPeeringConnectionArgs)
|
|
407
|
+
|
|
408
|
+
if azure_subscription_id is None and not opts.urn:
|
|
409
|
+
raise TypeError("Missing required property 'azure_subscription_id'")
|
|
410
|
+
__props__.__dict__["azure_subscription_id"] = azure_subscription_id
|
|
411
|
+
if organization_id is None and not opts.urn:
|
|
412
|
+
raise TypeError("Missing required property 'organization_id'")
|
|
413
|
+
__props__.__dict__["organization_id"] = organization_id
|
|
414
|
+
if organization_vpc_id is None and not opts.urn:
|
|
415
|
+
raise TypeError("Missing required property 'organization_vpc_id'")
|
|
416
|
+
__props__.__dict__["organization_vpc_id"] = organization_vpc_id
|
|
417
|
+
if peer_azure_app_id is None and not opts.urn:
|
|
418
|
+
raise TypeError("Missing required property 'peer_azure_app_id'")
|
|
419
|
+
__props__.__dict__["peer_azure_app_id"] = peer_azure_app_id
|
|
420
|
+
if peer_azure_tenant_id is None and not opts.urn:
|
|
421
|
+
raise TypeError("Missing required property 'peer_azure_tenant_id'")
|
|
422
|
+
__props__.__dict__["peer_azure_tenant_id"] = peer_azure_tenant_id
|
|
423
|
+
if peer_resource_group is None and not opts.urn:
|
|
424
|
+
raise TypeError("Missing required property 'peer_resource_group'")
|
|
425
|
+
__props__.__dict__["peer_resource_group"] = peer_resource_group
|
|
426
|
+
if vnet_name is None and not opts.urn:
|
|
427
|
+
raise TypeError("Missing required property 'vnet_name'")
|
|
428
|
+
__props__.__dict__["vnet_name"] = vnet_name
|
|
429
|
+
__props__.__dict__["peering_connection_id"] = None
|
|
430
|
+
__props__.__dict__["state"] = None
|
|
431
|
+
super(AzureOrgVpcPeeringConnection, __self__).__init__(
|
|
432
|
+
'aiven:index/azureOrgVpcPeeringConnection:AzureOrgVpcPeeringConnection',
|
|
433
|
+
resource_name,
|
|
434
|
+
__props__,
|
|
435
|
+
opts)
|
|
436
|
+
|
|
437
|
+
@staticmethod
|
|
438
|
+
def get(resource_name: str,
|
|
439
|
+
id: pulumi.Input[str],
|
|
440
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
441
|
+
azure_subscription_id: Optional[pulumi.Input[str]] = None,
|
|
442
|
+
organization_id: Optional[pulumi.Input[str]] = None,
|
|
443
|
+
organization_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
444
|
+
peer_azure_app_id: Optional[pulumi.Input[str]] = None,
|
|
445
|
+
peer_azure_tenant_id: Optional[pulumi.Input[str]] = None,
|
|
446
|
+
peer_resource_group: Optional[pulumi.Input[str]] = None,
|
|
447
|
+
peering_connection_id: Optional[pulumi.Input[str]] = None,
|
|
448
|
+
state: Optional[pulumi.Input[str]] = None,
|
|
449
|
+
vnet_name: Optional[pulumi.Input[str]] = None) -> 'AzureOrgVpcPeeringConnection':
|
|
450
|
+
"""
|
|
451
|
+
Get an existing AzureOrgVpcPeeringConnection resource's state with the given name, id, and optional extra
|
|
452
|
+
properties used to qualify the lookup.
|
|
453
|
+
|
|
454
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
455
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
456
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
457
|
+
:param pulumi.Input[str] azure_subscription_id: The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
|
|
458
|
+
:param pulumi.Input[str] organization_id: Identifier of the organization.
|
|
459
|
+
:param pulumi.Input[str] organization_vpc_id: Identifier of the organization VPC.
|
|
460
|
+
: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.
|
|
461
|
+
:param pulumi.Input[str] peer_azure_tenant_id: The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
|
|
462
|
+
: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.
|
|
463
|
+
:param pulumi.Input[str] peering_connection_id: The ID of the cloud provider for the peering connection.
|
|
464
|
+
:param pulumi.Input[str] state: State of the peering connection
|
|
465
|
+
:param pulumi.Input[str] vnet_name: The name of the Azure VNet. Changing this property forces recreation of the resource.
|
|
466
|
+
"""
|
|
467
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
468
|
+
|
|
469
|
+
__props__ = _AzureOrgVpcPeeringConnectionState.__new__(_AzureOrgVpcPeeringConnectionState)
|
|
470
|
+
|
|
471
|
+
__props__.__dict__["azure_subscription_id"] = azure_subscription_id
|
|
472
|
+
__props__.__dict__["organization_id"] = organization_id
|
|
473
|
+
__props__.__dict__["organization_vpc_id"] = organization_vpc_id
|
|
474
|
+
__props__.__dict__["peer_azure_app_id"] = peer_azure_app_id
|
|
475
|
+
__props__.__dict__["peer_azure_tenant_id"] = peer_azure_tenant_id
|
|
476
|
+
__props__.__dict__["peer_resource_group"] = peer_resource_group
|
|
477
|
+
__props__.__dict__["peering_connection_id"] = peering_connection_id
|
|
478
|
+
__props__.__dict__["state"] = state
|
|
479
|
+
__props__.__dict__["vnet_name"] = vnet_name
|
|
480
|
+
return AzureOrgVpcPeeringConnection(resource_name, opts=opts, __props__=__props__)
|
|
481
|
+
|
|
482
|
+
@property
|
|
483
|
+
@pulumi.getter(name="azureSubscriptionId")
|
|
484
|
+
def azure_subscription_id(self) -> pulumi.Output[str]:
|
|
485
|
+
"""
|
|
486
|
+
The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
|
|
487
|
+
"""
|
|
488
|
+
return pulumi.get(self, "azure_subscription_id")
|
|
489
|
+
|
|
490
|
+
@property
|
|
491
|
+
@pulumi.getter(name="organizationId")
|
|
492
|
+
def organization_id(self) -> pulumi.Output[str]:
|
|
493
|
+
"""
|
|
494
|
+
Identifier of the organization.
|
|
495
|
+
"""
|
|
496
|
+
return pulumi.get(self, "organization_id")
|
|
497
|
+
|
|
498
|
+
@property
|
|
499
|
+
@pulumi.getter(name="organizationVpcId")
|
|
500
|
+
def organization_vpc_id(self) -> pulumi.Output[str]:
|
|
501
|
+
"""
|
|
502
|
+
Identifier of the organization VPC.
|
|
503
|
+
"""
|
|
504
|
+
return pulumi.get(self, "organization_vpc_id")
|
|
505
|
+
|
|
506
|
+
@property
|
|
507
|
+
@pulumi.getter(name="peerAzureAppId")
|
|
508
|
+
def peer_azure_app_id(self) -> pulumi.Output[str]:
|
|
509
|
+
"""
|
|
510
|
+
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.
|
|
511
|
+
"""
|
|
512
|
+
return pulumi.get(self, "peer_azure_app_id")
|
|
513
|
+
|
|
514
|
+
@property
|
|
515
|
+
@pulumi.getter(name="peerAzureTenantId")
|
|
516
|
+
def peer_azure_tenant_id(self) -> pulumi.Output[str]:
|
|
517
|
+
"""
|
|
518
|
+
The Azure tenant ID in UUID4 format. Changing this property forces recreation of the resource.
|
|
519
|
+
"""
|
|
520
|
+
return pulumi.get(self, "peer_azure_tenant_id")
|
|
521
|
+
|
|
522
|
+
@property
|
|
523
|
+
@pulumi.getter(name="peerResourceGroup")
|
|
524
|
+
def peer_resource_group(self) -> pulumi.Output[str]:
|
|
525
|
+
"""
|
|
526
|
+
The name of the Azure resource group associated with the VNet. Changing this property forces recreation of the resource.
|
|
527
|
+
"""
|
|
528
|
+
return pulumi.get(self, "peer_resource_group")
|
|
529
|
+
|
|
530
|
+
@property
|
|
531
|
+
@pulumi.getter(name="peeringConnectionId")
|
|
532
|
+
def peering_connection_id(self) -> pulumi.Output[str]:
|
|
533
|
+
"""
|
|
534
|
+
The ID of the cloud provider for the peering connection.
|
|
535
|
+
"""
|
|
536
|
+
return pulumi.get(self, "peering_connection_id")
|
|
537
|
+
|
|
538
|
+
@property
|
|
539
|
+
@pulumi.getter
|
|
540
|
+
def state(self) -> pulumi.Output[str]:
|
|
541
|
+
"""
|
|
542
|
+
State of the peering connection
|
|
543
|
+
"""
|
|
544
|
+
return pulumi.get(self, "state")
|
|
545
|
+
|
|
546
|
+
@property
|
|
547
|
+
@pulumi.getter(name="vnetName")
|
|
548
|
+
def vnet_name(self) -> pulumi.Output[str]:
|
|
549
|
+
"""
|
|
550
|
+
The name of the Azure VNet. Changing this property forces recreation of the resource.
|
|
551
|
+
"""
|
|
552
|
+
return pulumi.get(self, "vnet_name")
|
|
553
|
+
|
pulumi_aiven/billing_group.py
CHANGED
|
@@ -47,7 +47,7 @@ class BillingGroupArgs:
|
|
|
47
47
|
:param pulumi.Input[str] copy_from_billing_group: ID of the billing group to copy the company name, address, currency, billing contacts, and extra text from.
|
|
48
48
|
:param pulumi.Input[str] country_code: Two-letter country code.
|
|
49
49
|
:param pulumi.Input[str] name: Name of the billing group.
|
|
50
|
-
:param pulumi.Input[str] parent_id: Link a billing group to an existing organization
|
|
50
|
+
:param pulumi.Input[str] parent_id: 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.
|
|
51
51
|
:param pulumi.Input[str] state: Address state.
|
|
52
52
|
:param pulumi.Input[str] vat_id: The VAT identification number for your company.
|
|
53
53
|
:param pulumi.Input[str] zip_code: Zip or postal code.
|
|
@@ -223,7 +223,7 @@ class BillingGroupArgs:
|
|
|
223
223
|
@pulumi.getter(name="parentId")
|
|
224
224
|
def parent_id(self) -> Optional[pulumi.Input[str]]:
|
|
225
225
|
"""
|
|
226
|
-
Link a billing group to an existing organization
|
|
226
|
+
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.
|
|
227
227
|
"""
|
|
228
228
|
return pulumi.get(self, "parent_id")
|
|
229
229
|
|
|
@@ -299,7 +299,7 @@ class _BillingGroupState:
|
|
|
299
299
|
:param pulumi.Input[str] copy_from_billing_group: ID of the billing group to copy the company name, address, currency, billing contacts, and extra text from.
|
|
300
300
|
:param pulumi.Input[str] country_code: Two-letter country code.
|
|
301
301
|
:param pulumi.Input[str] name: Name of the billing group.
|
|
302
|
-
:param pulumi.Input[str] parent_id: Link a billing group to an existing organization
|
|
302
|
+
:param pulumi.Input[str] parent_id: 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.
|
|
303
303
|
:param pulumi.Input[str] state: Address state.
|
|
304
304
|
:param pulumi.Input[str] vat_id: The VAT identification number for your company.
|
|
305
305
|
:param pulumi.Input[str] zip_code: Zip or postal code.
|
|
@@ -475,7 +475,7 @@ class _BillingGroupState:
|
|
|
475
475
|
@pulumi.getter(name="parentId")
|
|
476
476
|
def parent_id(self) -> Optional[pulumi.Input[str]]:
|
|
477
477
|
"""
|
|
478
|
-
Link a billing group to an existing organization
|
|
478
|
+
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.
|
|
479
479
|
"""
|
|
480
480
|
return pulumi.get(self, "parent_id")
|
|
481
481
|
|
|
@@ -579,7 +579,7 @@ class BillingGroup(pulumi.CustomResource):
|
|
|
579
579
|
:param pulumi.Input[str] copy_from_billing_group: ID of the billing group to copy the company name, address, currency, billing contacts, and extra text from.
|
|
580
580
|
:param pulumi.Input[str] country_code: Two-letter country code.
|
|
581
581
|
:param pulumi.Input[str] name: Name of the billing group.
|
|
582
|
-
:param pulumi.Input[str] parent_id: Link a billing group to an existing organization
|
|
582
|
+
:param pulumi.Input[str] parent_id: 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.
|
|
583
583
|
:param pulumi.Input[str] state: Address state.
|
|
584
584
|
:param pulumi.Input[str] vat_id: The VAT identification number for your company.
|
|
585
585
|
:param pulumi.Input[str] zip_code: Zip or postal code.
|
|
@@ -712,7 +712,7 @@ class BillingGroup(pulumi.CustomResource):
|
|
|
712
712
|
:param pulumi.Input[str] copy_from_billing_group: ID of the billing group to copy the company name, address, currency, billing contacts, and extra text from.
|
|
713
713
|
:param pulumi.Input[str] country_code: Two-letter country code.
|
|
714
714
|
:param pulumi.Input[str] name: Name of the billing group.
|
|
715
|
-
:param pulumi.Input[str] parent_id: Link a billing group to an existing organization
|
|
715
|
+
:param pulumi.Input[str] parent_id: 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.
|
|
716
716
|
:param pulumi.Input[str] state: Address state.
|
|
717
717
|
:param pulumi.Input[str] vat_id: The VAT identification number for your company.
|
|
718
718
|
:param pulumi.Input[str] zip_code: Zip or postal code.
|
|
@@ -831,7 +831,7 @@ class BillingGroup(pulumi.CustomResource):
|
|
|
831
831
|
@pulumi.getter(name="parentId")
|
|
832
832
|
def parent_id(self) -> pulumi.Output[Optional[str]]:
|
|
833
833
|
"""
|
|
834
|
-
Link a billing group to an existing organization
|
|
834
|
+
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.
|
|
835
835
|
"""
|
|
836
836
|
return pulumi.get(self, "parent_id")
|
|
837
837
|
|