pulumi-aiven 6.34.0a1739941685__py3-none-any.whl → 6.35.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 +50 -0
- pulumi_aiven/_inputs.py +52 -0
- pulumi_aiven/account.py +2 -4
- pulumi_aiven/account_authentication.py +2 -4
- 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/gcp_org_vpc_peering_connection.py +403 -0
- pulumi_aiven/get_account.py +2 -4
- pulumi_aiven/get_account_authentication.py +2 -4
- 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 +1 -1
- pulumi_aiven/get_gcp_org_vpc_peering_connection.py +188 -0
- pulumi_aiven/get_organization_project.py +197 -0
- pulumi_aiven/get_organization_vpc.py +190 -0
- pulumi_aiven/get_project.py +1 -1
- pulumi_aiven/get_project_user.py +8 -6
- pulumi_aiven/organization_project.py +440 -0
- pulumi_aiven/organization_vpc.py +401 -0
- pulumi_aiven/outputs.py +60 -0
- pulumi_aiven/project.py +7 -7
- pulumi_aiven/project_user.py +6 -12
- pulumi_aiven/pulumi-plugin.json +1 -1
- {pulumi_aiven-6.34.0a1739941685.dist-info → pulumi_aiven-6.35.0.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.34.0a1739941685.dist-info → pulumi_aiven-6.35.0.dist-info}/RECORD +28 -18
- {pulumi_aiven-6.34.0a1739941685.dist-info → pulumi_aiven-6.35.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.34.0a1739941685.dist-info → pulumi_aiven-6.35.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,401 @@
|
|
|
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__ = ['OrganizationVpcArgs', 'OrganizationVpc']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class OrganizationVpcArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
cloud_name: pulumi.Input[str],
|
|
23
|
+
network_cidr: pulumi.Input[str],
|
|
24
|
+
organization_id: pulumi.Input[str]):
|
|
25
|
+
"""
|
|
26
|
+
The set of arguments for constructing a OrganizationVpc resource.
|
|
27
|
+
:param pulumi.Input[str] cloud_name: The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`. Changing this property forces recreation of the resource.
|
|
28
|
+
:param pulumi.Input[str] network_cidr: Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
29
|
+
:param pulumi.Input[str] organization_id: The ID of the organization.
|
|
30
|
+
"""
|
|
31
|
+
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
32
|
+
pulumi.set(__self__, "network_cidr", network_cidr)
|
|
33
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
34
|
+
|
|
35
|
+
@property
|
|
36
|
+
@pulumi.getter(name="cloudName")
|
|
37
|
+
def cloud_name(self) -> pulumi.Input[str]:
|
|
38
|
+
"""
|
|
39
|
+
The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`. Changing this property forces recreation of the resource.
|
|
40
|
+
"""
|
|
41
|
+
return pulumi.get(self, "cloud_name")
|
|
42
|
+
|
|
43
|
+
@cloud_name.setter
|
|
44
|
+
def cloud_name(self, value: pulumi.Input[str]):
|
|
45
|
+
pulumi.set(self, "cloud_name", value)
|
|
46
|
+
|
|
47
|
+
@property
|
|
48
|
+
@pulumi.getter(name="networkCidr")
|
|
49
|
+
def network_cidr(self) -> pulumi.Input[str]:
|
|
50
|
+
"""
|
|
51
|
+
Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
52
|
+
"""
|
|
53
|
+
return pulumi.get(self, "network_cidr")
|
|
54
|
+
|
|
55
|
+
@network_cidr.setter
|
|
56
|
+
def network_cidr(self, value: pulumi.Input[str]):
|
|
57
|
+
pulumi.set(self, "network_cidr", value)
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
@pulumi.getter(name="organizationId")
|
|
61
|
+
def organization_id(self) -> pulumi.Input[str]:
|
|
62
|
+
"""
|
|
63
|
+
The ID 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
|
+
|
|
72
|
+
@pulumi.input_type
|
|
73
|
+
class _OrganizationVpcState:
|
|
74
|
+
def __init__(__self__, *,
|
|
75
|
+
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
76
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
77
|
+
network_cidr: Optional[pulumi.Input[str]] = None,
|
|
78
|
+
organization_id: Optional[pulumi.Input[str]] = None,
|
|
79
|
+
organization_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
80
|
+
state: Optional[pulumi.Input[str]] = None,
|
|
81
|
+
update_time: Optional[pulumi.Input[str]] = None):
|
|
82
|
+
"""
|
|
83
|
+
Input properties used for looking up and filtering OrganizationVpc resources.
|
|
84
|
+
:param pulumi.Input[str] cloud_name: The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`. Changing this property forces recreation of the resource.
|
|
85
|
+
:param pulumi.Input[str] create_time: Time of creation of the VPC.
|
|
86
|
+
:param pulumi.Input[str] network_cidr: Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
87
|
+
:param pulumi.Input[str] organization_id: The ID of the organization.
|
|
88
|
+
:param pulumi.Input[str] organization_vpc_id: The ID of the Aiven Organization VPC.
|
|
89
|
+
:param pulumi.Input[str] state: State of the VPC. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`.
|
|
90
|
+
:param pulumi.Input[str] update_time: Time of the last update of the VPC.
|
|
91
|
+
"""
|
|
92
|
+
if cloud_name is not None:
|
|
93
|
+
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
94
|
+
if create_time is not None:
|
|
95
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
96
|
+
if network_cidr is not None:
|
|
97
|
+
pulumi.set(__self__, "network_cidr", network_cidr)
|
|
98
|
+
if organization_id is not None:
|
|
99
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
100
|
+
if organization_vpc_id is not None:
|
|
101
|
+
pulumi.set(__self__, "organization_vpc_id", organization_vpc_id)
|
|
102
|
+
if state is not None:
|
|
103
|
+
pulumi.set(__self__, "state", state)
|
|
104
|
+
if update_time is not None:
|
|
105
|
+
pulumi.set(__self__, "update_time", update_time)
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
@pulumi.getter(name="cloudName")
|
|
109
|
+
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
110
|
+
"""
|
|
111
|
+
The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`. Changing this property forces recreation of the resource.
|
|
112
|
+
"""
|
|
113
|
+
return pulumi.get(self, "cloud_name")
|
|
114
|
+
|
|
115
|
+
@cloud_name.setter
|
|
116
|
+
def cloud_name(self, value: Optional[pulumi.Input[str]]):
|
|
117
|
+
pulumi.set(self, "cloud_name", value)
|
|
118
|
+
|
|
119
|
+
@property
|
|
120
|
+
@pulumi.getter(name="createTime")
|
|
121
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
122
|
+
"""
|
|
123
|
+
Time of creation of the VPC.
|
|
124
|
+
"""
|
|
125
|
+
return pulumi.get(self, "create_time")
|
|
126
|
+
|
|
127
|
+
@create_time.setter
|
|
128
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
|
129
|
+
pulumi.set(self, "create_time", value)
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
@pulumi.getter(name="networkCidr")
|
|
133
|
+
def network_cidr(self) -> Optional[pulumi.Input[str]]:
|
|
134
|
+
"""
|
|
135
|
+
Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
136
|
+
"""
|
|
137
|
+
return pulumi.get(self, "network_cidr")
|
|
138
|
+
|
|
139
|
+
@network_cidr.setter
|
|
140
|
+
def network_cidr(self, value: Optional[pulumi.Input[str]]):
|
|
141
|
+
pulumi.set(self, "network_cidr", value)
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
@pulumi.getter(name="organizationId")
|
|
145
|
+
def organization_id(self) -> Optional[pulumi.Input[str]]:
|
|
146
|
+
"""
|
|
147
|
+
The ID of the organization.
|
|
148
|
+
"""
|
|
149
|
+
return pulumi.get(self, "organization_id")
|
|
150
|
+
|
|
151
|
+
@organization_id.setter
|
|
152
|
+
def organization_id(self, value: Optional[pulumi.Input[str]]):
|
|
153
|
+
pulumi.set(self, "organization_id", value)
|
|
154
|
+
|
|
155
|
+
@property
|
|
156
|
+
@pulumi.getter(name="organizationVpcId")
|
|
157
|
+
def organization_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
158
|
+
"""
|
|
159
|
+
The ID of the Aiven Organization VPC.
|
|
160
|
+
"""
|
|
161
|
+
return pulumi.get(self, "organization_vpc_id")
|
|
162
|
+
|
|
163
|
+
@organization_vpc_id.setter
|
|
164
|
+
def organization_vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
165
|
+
pulumi.set(self, "organization_vpc_id", value)
|
|
166
|
+
|
|
167
|
+
@property
|
|
168
|
+
@pulumi.getter
|
|
169
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
|
170
|
+
"""
|
|
171
|
+
State of the VPC. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`.
|
|
172
|
+
"""
|
|
173
|
+
return pulumi.get(self, "state")
|
|
174
|
+
|
|
175
|
+
@state.setter
|
|
176
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
|
177
|
+
pulumi.set(self, "state", value)
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
@pulumi.getter(name="updateTime")
|
|
181
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
|
182
|
+
"""
|
|
183
|
+
Time of the last update of the VPC.
|
|
184
|
+
"""
|
|
185
|
+
return pulumi.get(self, "update_time")
|
|
186
|
+
|
|
187
|
+
@update_time.setter
|
|
188
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
|
189
|
+
pulumi.set(self, "update_time", value)
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
class OrganizationVpc(pulumi.CustomResource):
|
|
193
|
+
@overload
|
|
194
|
+
def __init__(__self__,
|
|
195
|
+
resource_name: str,
|
|
196
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
197
|
+
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
198
|
+
network_cidr: Optional[pulumi.Input[str]] = None,
|
|
199
|
+
organization_id: Optional[pulumi.Input[str]] = None,
|
|
200
|
+
__props__=None):
|
|
201
|
+
"""
|
|
202
|
+
Creates and manages a VPC for an Aiven organization.
|
|
203
|
+
|
|
204
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
205
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
206
|
+
|
|
207
|
+
## Example Usage
|
|
208
|
+
|
|
209
|
+
```python
|
|
210
|
+
import pulumi
|
|
211
|
+
import pulumi_aiven as aiven
|
|
212
|
+
|
|
213
|
+
example_vpc = aiven.OrganizationVpc("example_vpc",
|
|
214
|
+
organization_id=example["id"],
|
|
215
|
+
cloud_name="aws-eu-central-1",
|
|
216
|
+
network_cidr="10.0.0.0/24")
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
## Import
|
|
220
|
+
|
|
221
|
+
```sh
|
|
222
|
+
$ pulumi import aiven:index/organizationVpc:OrganizationVpc example ORGANIZATION_ID/ORGANIZATION_VPC_ID
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
:param str resource_name: The name of the resource.
|
|
226
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
227
|
+
:param pulumi.Input[str] cloud_name: The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`. Changing this property forces recreation of the resource.
|
|
228
|
+
:param pulumi.Input[str] network_cidr: Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
229
|
+
:param pulumi.Input[str] organization_id: The ID of the organization.
|
|
230
|
+
"""
|
|
231
|
+
...
|
|
232
|
+
@overload
|
|
233
|
+
def __init__(__self__,
|
|
234
|
+
resource_name: str,
|
|
235
|
+
args: OrganizationVpcArgs,
|
|
236
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
237
|
+
"""
|
|
238
|
+
Creates and manages a VPC for an Aiven organization.
|
|
239
|
+
|
|
240
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
241
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
242
|
+
|
|
243
|
+
## Example Usage
|
|
244
|
+
|
|
245
|
+
```python
|
|
246
|
+
import pulumi
|
|
247
|
+
import pulumi_aiven as aiven
|
|
248
|
+
|
|
249
|
+
example_vpc = aiven.OrganizationVpc("example_vpc",
|
|
250
|
+
organization_id=example["id"],
|
|
251
|
+
cloud_name="aws-eu-central-1",
|
|
252
|
+
network_cidr="10.0.0.0/24")
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
## Import
|
|
256
|
+
|
|
257
|
+
```sh
|
|
258
|
+
$ pulumi import aiven:index/organizationVpc:OrganizationVpc example ORGANIZATION_ID/ORGANIZATION_VPC_ID
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
:param str resource_name: The name of the resource.
|
|
262
|
+
:param OrganizationVpcArgs args: The arguments to use to populate this resource's properties.
|
|
263
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
264
|
+
"""
|
|
265
|
+
...
|
|
266
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
267
|
+
resource_args, opts = _utilities.get_resource_args_opts(OrganizationVpcArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
268
|
+
if resource_args is not None:
|
|
269
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
270
|
+
else:
|
|
271
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
272
|
+
|
|
273
|
+
def _internal_init(__self__,
|
|
274
|
+
resource_name: str,
|
|
275
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
276
|
+
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
277
|
+
network_cidr: Optional[pulumi.Input[str]] = None,
|
|
278
|
+
organization_id: Optional[pulumi.Input[str]] = None,
|
|
279
|
+
__props__=None):
|
|
280
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
281
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
282
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
283
|
+
if opts.id is None:
|
|
284
|
+
if __props__ is not None:
|
|
285
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
286
|
+
__props__ = OrganizationVpcArgs.__new__(OrganizationVpcArgs)
|
|
287
|
+
|
|
288
|
+
if cloud_name is None and not opts.urn:
|
|
289
|
+
raise TypeError("Missing required property 'cloud_name'")
|
|
290
|
+
__props__.__dict__["cloud_name"] = cloud_name
|
|
291
|
+
if network_cidr is None and not opts.urn:
|
|
292
|
+
raise TypeError("Missing required property 'network_cidr'")
|
|
293
|
+
__props__.__dict__["network_cidr"] = network_cidr
|
|
294
|
+
if organization_id is None and not opts.urn:
|
|
295
|
+
raise TypeError("Missing required property 'organization_id'")
|
|
296
|
+
__props__.__dict__["organization_id"] = organization_id
|
|
297
|
+
__props__.__dict__["create_time"] = None
|
|
298
|
+
__props__.__dict__["organization_vpc_id"] = None
|
|
299
|
+
__props__.__dict__["state"] = None
|
|
300
|
+
__props__.__dict__["update_time"] = None
|
|
301
|
+
super(OrganizationVpc, __self__).__init__(
|
|
302
|
+
'aiven:index/organizationVpc:OrganizationVpc',
|
|
303
|
+
resource_name,
|
|
304
|
+
__props__,
|
|
305
|
+
opts)
|
|
306
|
+
|
|
307
|
+
@staticmethod
|
|
308
|
+
def get(resource_name: str,
|
|
309
|
+
id: pulumi.Input[str],
|
|
310
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
311
|
+
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
312
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
313
|
+
network_cidr: Optional[pulumi.Input[str]] = None,
|
|
314
|
+
organization_id: Optional[pulumi.Input[str]] = None,
|
|
315
|
+
organization_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
316
|
+
state: Optional[pulumi.Input[str]] = None,
|
|
317
|
+
update_time: Optional[pulumi.Input[str]] = None) -> 'OrganizationVpc':
|
|
318
|
+
"""
|
|
319
|
+
Get an existing OrganizationVpc resource's state with the given name, id, and optional extra
|
|
320
|
+
properties used to qualify the lookup.
|
|
321
|
+
|
|
322
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
323
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
324
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
325
|
+
:param pulumi.Input[str] cloud_name: The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`. Changing this property forces recreation of the resource.
|
|
326
|
+
:param pulumi.Input[str] create_time: Time of creation of the VPC.
|
|
327
|
+
:param pulumi.Input[str] network_cidr: Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
328
|
+
:param pulumi.Input[str] organization_id: The ID of the organization.
|
|
329
|
+
:param pulumi.Input[str] organization_vpc_id: The ID of the Aiven Organization VPC.
|
|
330
|
+
:param pulumi.Input[str] state: State of the VPC. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`.
|
|
331
|
+
:param pulumi.Input[str] update_time: Time of the last update of the VPC.
|
|
332
|
+
"""
|
|
333
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
334
|
+
|
|
335
|
+
__props__ = _OrganizationVpcState.__new__(_OrganizationVpcState)
|
|
336
|
+
|
|
337
|
+
__props__.__dict__["cloud_name"] = cloud_name
|
|
338
|
+
__props__.__dict__["create_time"] = create_time
|
|
339
|
+
__props__.__dict__["network_cidr"] = network_cidr
|
|
340
|
+
__props__.__dict__["organization_id"] = organization_id
|
|
341
|
+
__props__.__dict__["organization_vpc_id"] = organization_vpc_id
|
|
342
|
+
__props__.__dict__["state"] = state
|
|
343
|
+
__props__.__dict__["update_time"] = update_time
|
|
344
|
+
return OrganizationVpc(resource_name, opts=opts, __props__=__props__)
|
|
345
|
+
|
|
346
|
+
@property
|
|
347
|
+
@pulumi.getter(name="cloudName")
|
|
348
|
+
def cloud_name(self) -> pulumi.Output[str]:
|
|
349
|
+
"""
|
|
350
|
+
The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`. Changing this property forces recreation of the resource.
|
|
351
|
+
"""
|
|
352
|
+
return pulumi.get(self, "cloud_name")
|
|
353
|
+
|
|
354
|
+
@property
|
|
355
|
+
@pulumi.getter(name="createTime")
|
|
356
|
+
def create_time(self) -> pulumi.Output[str]:
|
|
357
|
+
"""
|
|
358
|
+
Time of creation of the VPC.
|
|
359
|
+
"""
|
|
360
|
+
return pulumi.get(self, "create_time")
|
|
361
|
+
|
|
362
|
+
@property
|
|
363
|
+
@pulumi.getter(name="networkCidr")
|
|
364
|
+
def network_cidr(self) -> pulumi.Output[str]:
|
|
365
|
+
"""
|
|
366
|
+
Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
367
|
+
"""
|
|
368
|
+
return pulumi.get(self, "network_cidr")
|
|
369
|
+
|
|
370
|
+
@property
|
|
371
|
+
@pulumi.getter(name="organizationId")
|
|
372
|
+
def organization_id(self) -> pulumi.Output[str]:
|
|
373
|
+
"""
|
|
374
|
+
The ID of the organization.
|
|
375
|
+
"""
|
|
376
|
+
return pulumi.get(self, "organization_id")
|
|
377
|
+
|
|
378
|
+
@property
|
|
379
|
+
@pulumi.getter(name="organizationVpcId")
|
|
380
|
+
def organization_vpc_id(self) -> pulumi.Output[str]:
|
|
381
|
+
"""
|
|
382
|
+
The ID of the Aiven Organization VPC.
|
|
383
|
+
"""
|
|
384
|
+
return pulumi.get(self, "organization_vpc_id")
|
|
385
|
+
|
|
386
|
+
@property
|
|
387
|
+
@pulumi.getter
|
|
388
|
+
def state(self) -> pulumi.Output[str]:
|
|
389
|
+
"""
|
|
390
|
+
State of the VPC. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`.
|
|
391
|
+
"""
|
|
392
|
+
return pulumi.get(self, "state")
|
|
393
|
+
|
|
394
|
+
@property
|
|
395
|
+
@pulumi.getter(name="updateTime")
|
|
396
|
+
def update_time(self) -> pulumi.Output[str]:
|
|
397
|
+
"""
|
|
398
|
+
Time of the last update of the VPC.
|
|
399
|
+
"""
|
|
400
|
+
return pulumi.get(self, "update_time")
|
|
401
|
+
|
pulumi_aiven/outputs.py
CHANGED
|
@@ -235,6 +235,7 @@ __all__ = [
|
|
|
235
235
|
'OpenSearchTechEmail',
|
|
236
236
|
'OrganizationGroupProjectTimeouts',
|
|
237
237
|
'OrganizationPermissionPermission',
|
|
238
|
+
'OrganizationProjectTag',
|
|
238
239
|
'OrganizationTimeouts',
|
|
239
240
|
'OrganizationUserGroupMemberTimeouts',
|
|
240
241
|
'PgComponent',
|
|
@@ -562,6 +563,7 @@ __all__ = [
|
|
|
562
563
|
'GetOpenSearchServiceIntegrationResult',
|
|
563
564
|
'GetOpenSearchTagResult',
|
|
564
565
|
'GetOpenSearchTechEmailResult',
|
|
566
|
+
'GetOrganizationProjectTagResult',
|
|
565
567
|
'GetOrganizationUserListUserResult',
|
|
566
568
|
'GetOrganizationUserListUserUserInfoResult',
|
|
567
569
|
'GetPgComponentResult',
|
|
@@ -20824,6 +20826,35 @@ class OrganizationPermissionPermission(dict):
|
|
|
20824
20826
|
return pulumi.get(self, "update_time")
|
|
20825
20827
|
|
|
20826
20828
|
|
|
20829
|
+
@pulumi.output_type
|
|
20830
|
+
class OrganizationProjectTag(dict):
|
|
20831
|
+
def __init__(__self__, *,
|
|
20832
|
+
key: str,
|
|
20833
|
+
value: str):
|
|
20834
|
+
"""
|
|
20835
|
+
:param str key: Project tag key.
|
|
20836
|
+
:param str value: Project tag value.
|
|
20837
|
+
"""
|
|
20838
|
+
pulumi.set(__self__, "key", key)
|
|
20839
|
+
pulumi.set(__self__, "value", value)
|
|
20840
|
+
|
|
20841
|
+
@property
|
|
20842
|
+
@pulumi.getter
|
|
20843
|
+
def key(self) -> str:
|
|
20844
|
+
"""
|
|
20845
|
+
Project tag key.
|
|
20846
|
+
"""
|
|
20847
|
+
return pulumi.get(self, "key")
|
|
20848
|
+
|
|
20849
|
+
@property
|
|
20850
|
+
@pulumi.getter
|
|
20851
|
+
def value(self) -> str:
|
|
20852
|
+
"""
|
|
20853
|
+
Project tag value.
|
|
20854
|
+
"""
|
|
20855
|
+
return pulumi.get(self, "value")
|
|
20856
|
+
|
|
20857
|
+
|
|
20827
20858
|
@pulumi.output_type
|
|
20828
20859
|
class OrganizationTimeouts(dict):
|
|
20829
20860
|
def __init__(__self__, *,
|
|
@@ -46063,6 +46094,35 @@ class GetOpenSearchTechEmailResult(dict):
|
|
|
46063
46094
|
return pulumi.get(self, "email")
|
|
46064
46095
|
|
|
46065
46096
|
|
|
46097
|
+
@pulumi.output_type
|
|
46098
|
+
class GetOrganizationProjectTagResult(dict):
|
|
46099
|
+
def __init__(__self__, *,
|
|
46100
|
+
key: str,
|
|
46101
|
+
value: str):
|
|
46102
|
+
"""
|
|
46103
|
+
:param str key: Project tag key.
|
|
46104
|
+
:param str value: Project tag value.
|
|
46105
|
+
"""
|
|
46106
|
+
pulumi.set(__self__, "key", key)
|
|
46107
|
+
pulumi.set(__self__, "value", value)
|
|
46108
|
+
|
|
46109
|
+
@property
|
|
46110
|
+
@pulumi.getter
|
|
46111
|
+
def key(self) -> str:
|
|
46112
|
+
"""
|
|
46113
|
+
Project tag key.
|
|
46114
|
+
"""
|
|
46115
|
+
return pulumi.get(self, "key")
|
|
46116
|
+
|
|
46117
|
+
@property
|
|
46118
|
+
@pulumi.getter
|
|
46119
|
+
def value(self) -> str:
|
|
46120
|
+
"""
|
|
46121
|
+
Project tag value.
|
|
46122
|
+
"""
|
|
46123
|
+
return pulumi.get(self, "value")
|
|
46124
|
+
|
|
46125
|
+
|
|
46066
46126
|
@pulumi.output_type
|
|
46067
46127
|
class GetOrganizationUserListUserResult(dict):
|
|
46068
46128
|
def __init__(__self__, *,
|
pulumi_aiven/project.py
CHANGED
|
@@ -39,7 +39,7 @@ class ProjectArgs:
|
|
|
39
39
|
:param pulumi.Input[str] billing_group: The ID of the billing group this project is assigned to. To set up proper dependencies please refer to this variable as a reference.
|
|
40
40
|
:param pulumi.Input[str] copy_from_project: The name of the project to copy billing information, technical contacts, and some other project attributes from. This is most useful to set up the same billing method when you use bank transfers to pay invoices for other projects. You can only do this when creating a project. You can't set the billing over the API for an existing. To set up proper dependencies please refer to this variable as a reference.
|
|
41
41
|
:param pulumi.Input[str] default_cloud: Default cloud provider and region where services are hosted. This can be changed after the project is created and will not affect existing services.
|
|
42
|
-
:param pulumi.Input[str] parent_id: Link a project to an [organization
|
|
42
|
+
:param pulumi.Input[str] parent_id: Link a project to an [organization or organizational unit](https://aiven.io/docs/platform/concepts/orgs-units-projects) by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
43
43
|
:param pulumi.Input[Sequence[pulumi.Input['ProjectTagArgs']]] tags: Tags are key-value pairs that allow you to categorize projects.
|
|
44
44
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] technical_emails: The email addresses for [project contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this project and its services. You can also set email contacts at the service level. It's good practice to keep these up-to-date to be aware of any potential issues with your project.
|
|
45
45
|
:param pulumi.Input[bool] use_source_project_billing_group: Use the same billing group that is used in source project.
|
|
@@ -151,7 +151,7 @@ class ProjectArgs:
|
|
|
151
151
|
@pulumi.getter(name="parentId")
|
|
152
152
|
def parent_id(self) -> Optional[pulumi.Input[str]]:
|
|
153
153
|
"""
|
|
154
|
-
Link a project to an [organization
|
|
154
|
+
Link a project to an [organization or organizational unit](https://aiven.io/docs/platform/concepts/orgs-units-projects) by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
155
155
|
"""
|
|
156
156
|
return pulumi.get(self, "parent_id")
|
|
157
157
|
|
|
@@ -224,7 +224,7 @@ class _ProjectState:
|
|
|
224
224
|
:param pulumi.Input[str] copy_from_project: The name of the project to copy billing information, technical contacts, and some other project attributes from. This is most useful to set up the same billing method when you use bank transfers to pay invoices for other projects. You can only do this when creating a project. You can't set the billing over the API for an existing. To set up proper dependencies please refer to this variable as a reference.
|
|
225
225
|
:param pulumi.Input[str] default_cloud: Default cloud provider and region where services are hosted. This can be changed after the project is created and will not affect existing services.
|
|
226
226
|
:param pulumi.Input[str] estimated_balance: The monthly running estimate for this project for the current billing period.
|
|
227
|
-
:param pulumi.Input[str] parent_id: Link a project to an [organization
|
|
227
|
+
:param pulumi.Input[str] parent_id: Link a project to an [organization or organizational unit](https://aiven.io/docs/platform/concepts/orgs-units-projects) by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
228
228
|
:param pulumi.Input[str] payment_method: The payment type used for this project. For example,`card`.
|
|
229
229
|
:param pulumi.Input[str] project: The name of the project. Names must be globally unique among all Aiven customers and cannot be changed later without destroying and re-creating the project, including all sub-resources.
|
|
230
230
|
:param pulumi.Input[Sequence[pulumi.Input['ProjectTagArgs']]] tags: Tags are key-value pairs that allow you to categorize projects.
|
|
@@ -371,7 +371,7 @@ class _ProjectState:
|
|
|
371
371
|
@pulumi.getter(name="parentId")
|
|
372
372
|
def parent_id(self) -> Optional[pulumi.Input[str]]:
|
|
373
373
|
"""
|
|
374
|
-
Link a project to an [organization
|
|
374
|
+
Link a project to an [organization or organizational unit](https://aiven.io/docs/platform/concepts/orgs-units-projects) by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
375
375
|
"""
|
|
376
376
|
return pulumi.get(self, "parent_id")
|
|
377
377
|
|
|
@@ -484,7 +484,7 @@ class Project(pulumi.CustomResource):
|
|
|
484
484
|
:param pulumi.Input[str] billing_group: The ID of the billing group this project is assigned to. To set up proper dependencies please refer to this variable as a reference.
|
|
485
485
|
:param pulumi.Input[str] copy_from_project: The name of the project to copy billing information, technical contacts, and some other project attributes from. This is most useful to set up the same billing method when you use bank transfers to pay invoices for other projects. You can only do this when creating a project. You can't set the billing over the API for an existing. To set up proper dependencies please refer to this variable as a reference.
|
|
486
486
|
:param pulumi.Input[str] default_cloud: Default cloud provider and region where services are hosted. This can be changed after the project is created and will not affect existing services.
|
|
487
|
-
:param pulumi.Input[str] parent_id: Link a project to an [organization
|
|
487
|
+
:param pulumi.Input[str] parent_id: Link a project to an [organization or organizational unit](https://aiven.io/docs/platform/concepts/orgs-units-projects) by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
488
488
|
:param pulumi.Input[str] project: The name of the project. Names must be globally unique among all Aiven customers and cannot be changed later without destroying and re-creating the project, including all sub-resources.
|
|
489
489
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ProjectTagArgs', 'ProjectTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize projects.
|
|
490
490
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] technical_emails: The email addresses for [project contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this project and its services. You can also set email contacts at the service level. It's good practice to keep these up-to-date to be aware of any potential issues with your project.
|
|
@@ -607,7 +607,7 @@ class Project(pulumi.CustomResource):
|
|
|
607
607
|
:param pulumi.Input[str] copy_from_project: The name of the project to copy billing information, technical contacts, and some other project attributes from. This is most useful to set up the same billing method when you use bank transfers to pay invoices for other projects. You can only do this when creating a project. You can't set the billing over the API for an existing. To set up proper dependencies please refer to this variable as a reference.
|
|
608
608
|
:param pulumi.Input[str] default_cloud: Default cloud provider and region where services are hosted. This can be changed after the project is created and will not affect existing services.
|
|
609
609
|
:param pulumi.Input[str] estimated_balance: The monthly running estimate for this project for the current billing period.
|
|
610
|
-
:param pulumi.Input[str] parent_id: Link a project to an [organization
|
|
610
|
+
:param pulumi.Input[str] parent_id: Link a project to an [organization or organizational unit](https://aiven.io/docs/platform/concepts/orgs-units-projects) by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
611
611
|
:param pulumi.Input[str] payment_method: The payment type used for this project. For example,`card`.
|
|
612
612
|
:param pulumi.Input[str] project: The name of the project. Names must be globally unique among all Aiven customers and cannot be changed later without destroying and re-creating the project, including all sub-resources.
|
|
613
613
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ProjectTagArgs', 'ProjectTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize projects.
|
|
@@ -704,7 +704,7 @@ class Project(pulumi.CustomResource):
|
|
|
704
704
|
@pulumi.getter(name="parentId")
|
|
705
705
|
def parent_id(self) -> pulumi.Output[Optional[str]]:
|
|
706
706
|
"""
|
|
707
|
-
Link a project to an [organization
|
|
707
|
+
Link a project to an [organization or organizational unit](https://aiven.io/docs/platform/concepts/orgs-units-projects) by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
708
708
|
"""
|
|
709
709
|
return pulumi.get(self, "parent_id")
|
|
710
710
|
|
pulumi_aiven/project_user.py
CHANGED
|
@@ -153,14 +153,11 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
153
153
|
"""
|
|
154
154
|
Creates and manages an Aiven project member.
|
|
155
155
|
|
|
156
|
-
**This resource is deprecated
|
|
157
|
-
|
|
156
|
+
> **This resource is deprecated**
|
|
157
|
+
Use `OrganizationPermission` instead and
|
|
158
|
+
migrate existing `ProjectUser` resources
|
|
158
159
|
to the new resource.
|
|
159
160
|
|
|
160
|
-
> **This resource is deprecated**.
|
|
161
|
-
|
|
162
|
-
Use `OrganizationPermission` instead.
|
|
163
|
-
|
|
164
161
|
## Example Usage
|
|
165
162
|
|
|
166
163
|
```python
|
|
@@ -194,14 +191,11 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
194
191
|
"""
|
|
195
192
|
Creates and manages an Aiven project member.
|
|
196
193
|
|
|
197
|
-
**This resource is deprecated
|
|
198
|
-
|
|
194
|
+
> **This resource is deprecated**
|
|
195
|
+
Use `OrganizationPermission` instead and
|
|
196
|
+
migrate existing `ProjectUser` resources
|
|
199
197
|
to the new resource.
|
|
200
198
|
|
|
201
|
-
> **This resource is deprecated**.
|
|
202
|
-
|
|
203
|
-
Use `OrganizationPermission` instead.
|
|
204
|
-
|
|
205
199
|
## Example Usage
|
|
206
200
|
|
|
207
201
|
```python
|
pulumi_aiven/pulumi-plugin.json
CHANGED