pulumi-aiven 6.38.0a1747372094__py3-none-any.whl → 6.39.0a1747890420__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 +9 -0
- pulumi_aiven/_inputs.py +1302 -160
- pulumi_aiven/clickhouse_grant.py +18 -0
- pulumi_aiven/get_external_identity.py +5 -5
- pulumi_aiven/get_open_search.py +7 -7
- pulumi_aiven/get_open_search_acl_config.py +7 -7
- pulumi_aiven/get_open_search_acl_rule.py +19 -19
- pulumi_aiven/get_opensearch_security_plugin_config.py +7 -7
- pulumi_aiven/get_opensearch_user.py +13 -13
- pulumi_aiven/get_organization.py +24 -6
- pulumi_aiven/get_organization_address.py +52 -29
- pulumi_aiven/get_organization_billing_group.py +38 -15
- pulumi_aiven/get_organization_billing_group_list.py +40 -12
- pulumi_aiven/get_organization_project.py +50 -14
- pulumi_aiven/governance_access.py +418 -0
- pulumi_aiven/open_search.py +17 -19
- pulumi_aiven/open_search_acl_config.py +29 -41
- pulumi_aiven/open_search_acl_rule.py +47 -47
- pulumi_aiven/opensearch_security_plugin_config.py +14 -42
- pulumi_aiven/opensearch_user.py +32 -32
- pulumi_aiven/organization.py +24 -19
- pulumi_aiven/organization_address.py +102 -96
- pulumi_aiven/organization_application_user.py +9 -0
- pulumi_aiven/organization_billing_group.py +66 -60
- pulumi_aiven/organization_project.py +111 -62
- pulumi_aiven/outputs.py +1039 -189
- pulumi_aiven/pulumi-plugin.json +1 -1
- {pulumi_aiven-6.38.0a1747372094.dist-info → pulumi_aiven-6.39.0a1747890420.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.38.0a1747372094.dist-info → pulumi_aiven-6.39.0a1747890420.dist-info}/RECORD +31 -30
- {pulumi_aiven-6.38.0a1747372094.dist-info → pulumi_aiven-6.39.0a1747890420.dist-info}/WHEEL +1 -1
- {pulumi_aiven-6.38.0a1747372094.dist-info → pulumi_aiven-6.39.0a1747890420.dist-info}/top_level.txt +0 -0
|
@@ -26,14 +26,17 @@ class OrganizationProjectArgs:
|
|
|
26
26
|
organization_id: pulumi.Input[builtins.str],
|
|
27
27
|
parent_id: pulumi.Input[builtins.str],
|
|
28
28
|
project_id: pulumi.Input[builtins.str],
|
|
29
|
+
base_port: Optional[pulumi.Input[builtins.int]] = None,
|
|
29
30
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['OrganizationProjectTagArgs']]]] = None,
|
|
30
|
-
technical_emails: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None
|
|
31
|
+
technical_emails: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
32
|
+
timeouts: Optional[pulumi.Input['OrganizationProjectTimeoutsArgs']] = None):
|
|
31
33
|
"""
|
|
32
34
|
The set of arguments for constructing a OrganizationProject resource.
|
|
33
|
-
:param pulumi.Input[builtins.str] billing_group_id: Billing group ID to assign to the project.
|
|
34
|
-
:param pulumi.Input[builtins.str] organization_id: ID of an organization.
|
|
35
|
+
:param pulumi.Input[builtins.str] billing_group_id: Billing group ID to assign to the project. It's required when moving projects between organizations.
|
|
36
|
+
:param pulumi.Input[builtins.str] organization_id: ID of an organization. Maximum length: `36`.
|
|
35
37
|
:param pulumi.Input[builtins.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.
|
|
36
|
-
:param pulumi.Input[builtins.str] project_id:
|
|
38
|
+
:param pulumi.Input[builtins.str] project_id: The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource. Changing this property forces recreation of the resource.
|
|
39
|
+
:param pulumi.Input[builtins.int] base_port: Valid port number (1-65535) to use as a base for service port allocation.
|
|
37
40
|
:param pulumi.Input[Sequence[pulumi.Input['OrganizationProjectTagArgs']]] tags: Tags are key-value pairs that allow you to categorize projects.
|
|
38
41
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.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.
|
|
39
42
|
"""
|
|
@@ -41,16 +44,20 @@ class OrganizationProjectArgs:
|
|
|
41
44
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
42
45
|
pulumi.set(__self__, "parent_id", parent_id)
|
|
43
46
|
pulumi.set(__self__, "project_id", project_id)
|
|
47
|
+
if base_port is not None:
|
|
48
|
+
pulumi.set(__self__, "base_port", base_port)
|
|
44
49
|
if tags is not None:
|
|
45
50
|
pulumi.set(__self__, "tags", tags)
|
|
46
51
|
if technical_emails is not None:
|
|
47
52
|
pulumi.set(__self__, "technical_emails", technical_emails)
|
|
53
|
+
if timeouts is not None:
|
|
54
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
48
55
|
|
|
49
56
|
@property
|
|
50
57
|
@pulumi.getter(name="billingGroupId")
|
|
51
58
|
def billing_group_id(self) -> pulumi.Input[builtins.str]:
|
|
52
59
|
"""
|
|
53
|
-
Billing group ID to assign to the project.
|
|
60
|
+
Billing group ID to assign to the project. It's required when moving projects between organizations.
|
|
54
61
|
"""
|
|
55
62
|
return pulumi.get(self, "billing_group_id")
|
|
56
63
|
|
|
@@ -62,7 +69,7 @@ class OrganizationProjectArgs:
|
|
|
62
69
|
@pulumi.getter(name="organizationId")
|
|
63
70
|
def organization_id(self) -> pulumi.Input[builtins.str]:
|
|
64
71
|
"""
|
|
65
|
-
ID of an organization.
|
|
72
|
+
ID of an organization. Maximum length: `36`.
|
|
66
73
|
"""
|
|
67
74
|
return pulumi.get(self, "organization_id")
|
|
68
75
|
|
|
@@ -86,7 +93,7 @@ class OrganizationProjectArgs:
|
|
|
86
93
|
@pulumi.getter(name="projectId")
|
|
87
94
|
def project_id(self) -> pulumi.Input[builtins.str]:
|
|
88
95
|
"""
|
|
89
|
-
|
|
96
|
+
The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource. Changing this property forces recreation of the resource.
|
|
90
97
|
"""
|
|
91
98
|
return pulumi.get(self, "project_id")
|
|
92
99
|
|
|
@@ -94,6 +101,18 @@ class OrganizationProjectArgs:
|
|
|
94
101
|
def project_id(self, value: pulumi.Input[builtins.str]):
|
|
95
102
|
pulumi.set(self, "project_id", value)
|
|
96
103
|
|
|
104
|
+
@property
|
|
105
|
+
@pulumi.getter(name="basePort")
|
|
106
|
+
def base_port(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
107
|
+
"""
|
|
108
|
+
Valid port number (1-65535) to use as a base for service port allocation.
|
|
109
|
+
"""
|
|
110
|
+
return pulumi.get(self, "base_port")
|
|
111
|
+
|
|
112
|
+
@base_port.setter
|
|
113
|
+
def base_port(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
114
|
+
pulumi.set(self, "base_port", value)
|
|
115
|
+
|
|
97
116
|
@property
|
|
98
117
|
@pulumi.getter
|
|
99
118
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OrganizationProjectTagArgs']]]]:
|
|
@@ -118,27 +137,41 @@ class OrganizationProjectArgs:
|
|
|
118
137
|
def technical_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
119
138
|
pulumi.set(self, "technical_emails", value)
|
|
120
139
|
|
|
140
|
+
@property
|
|
141
|
+
@pulumi.getter
|
|
142
|
+
def timeouts(self) -> Optional[pulumi.Input['OrganizationProjectTimeoutsArgs']]:
|
|
143
|
+
return pulumi.get(self, "timeouts")
|
|
144
|
+
|
|
145
|
+
@timeouts.setter
|
|
146
|
+
def timeouts(self, value: Optional[pulumi.Input['OrganizationProjectTimeoutsArgs']]):
|
|
147
|
+
pulumi.set(self, "timeouts", value)
|
|
148
|
+
|
|
121
149
|
|
|
122
150
|
@pulumi.input_type
|
|
123
151
|
class _OrganizationProjectState:
|
|
124
152
|
def __init__(__self__, *,
|
|
153
|
+
base_port: Optional[pulumi.Input[builtins.int]] = None,
|
|
125
154
|
billing_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
126
155
|
ca_cert: Optional[pulumi.Input[builtins.str]] = None,
|
|
127
156
|
organization_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
128
157
|
parent_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
129
158
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
130
159
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['OrganizationProjectTagArgs']]]] = None,
|
|
131
|
-
technical_emails: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None
|
|
160
|
+
technical_emails: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
161
|
+
timeouts: Optional[pulumi.Input['OrganizationProjectTimeoutsArgs']] = None):
|
|
132
162
|
"""
|
|
133
163
|
Input properties used for looking up and filtering OrganizationProject resources.
|
|
134
|
-
:param pulumi.Input[builtins.
|
|
135
|
-
:param pulumi.Input[builtins.str]
|
|
136
|
-
:param pulumi.Input[builtins.str]
|
|
164
|
+
:param pulumi.Input[builtins.int] base_port: Valid port number (1-65535) to use as a base for service port allocation.
|
|
165
|
+
:param pulumi.Input[builtins.str] billing_group_id: Billing group ID to assign to the project. It's required when moving projects between organizations.
|
|
166
|
+
:param pulumi.Input[builtins.str] ca_cert: PEM encoded certificate.
|
|
167
|
+
:param pulumi.Input[builtins.str] organization_id: ID of an organization. Maximum length: `36`.
|
|
137
168
|
:param pulumi.Input[builtins.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.
|
|
138
|
-
:param pulumi.Input[builtins.str] project_id:
|
|
169
|
+
:param pulumi.Input[builtins.str] project_id: The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource. Changing this property forces recreation of the resource.
|
|
139
170
|
:param pulumi.Input[Sequence[pulumi.Input['OrganizationProjectTagArgs']]] tags: Tags are key-value pairs that allow you to categorize projects.
|
|
140
171
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.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.
|
|
141
172
|
"""
|
|
173
|
+
if base_port is not None:
|
|
174
|
+
pulumi.set(__self__, "base_port", base_port)
|
|
142
175
|
if billing_group_id is not None:
|
|
143
176
|
pulumi.set(__self__, "billing_group_id", billing_group_id)
|
|
144
177
|
if ca_cert is not None:
|
|
@@ -153,12 +186,26 @@ class _OrganizationProjectState:
|
|
|
153
186
|
pulumi.set(__self__, "tags", tags)
|
|
154
187
|
if technical_emails is not None:
|
|
155
188
|
pulumi.set(__self__, "technical_emails", technical_emails)
|
|
189
|
+
if timeouts is not None:
|
|
190
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
191
|
+
|
|
192
|
+
@property
|
|
193
|
+
@pulumi.getter(name="basePort")
|
|
194
|
+
def base_port(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
195
|
+
"""
|
|
196
|
+
Valid port number (1-65535) to use as a base for service port allocation.
|
|
197
|
+
"""
|
|
198
|
+
return pulumi.get(self, "base_port")
|
|
199
|
+
|
|
200
|
+
@base_port.setter
|
|
201
|
+
def base_port(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
202
|
+
pulumi.set(self, "base_port", value)
|
|
156
203
|
|
|
157
204
|
@property
|
|
158
205
|
@pulumi.getter(name="billingGroupId")
|
|
159
206
|
def billing_group_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
160
207
|
"""
|
|
161
|
-
Billing group ID to assign to the project.
|
|
208
|
+
Billing group ID to assign to the project. It's required when moving projects between organizations.
|
|
162
209
|
"""
|
|
163
210
|
return pulumi.get(self, "billing_group_id")
|
|
164
211
|
|
|
@@ -170,7 +217,7 @@ class _OrganizationProjectState:
|
|
|
170
217
|
@pulumi.getter(name="caCert")
|
|
171
218
|
def ca_cert(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
172
219
|
"""
|
|
173
|
-
|
|
220
|
+
PEM encoded certificate.
|
|
174
221
|
"""
|
|
175
222
|
return pulumi.get(self, "ca_cert")
|
|
176
223
|
|
|
@@ -182,7 +229,7 @@ class _OrganizationProjectState:
|
|
|
182
229
|
@pulumi.getter(name="organizationId")
|
|
183
230
|
def organization_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
184
231
|
"""
|
|
185
|
-
ID of an organization.
|
|
232
|
+
ID of an organization. Maximum length: `36`.
|
|
186
233
|
"""
|
|
187
234
|
return pulumi.get(self, "organization_id")
|
|
188
235
|
|
|
@@ -206,7 +253,7 @@ class _OrganizationProjectState:
|
|
|
206
253
|
@pulumi.getter(name="projectId")
|
|
207
254
|
def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
208
255
|
"""
|
|
209
|
-
|
|
256
|
+
The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource. Changing this property forces recreation of the resource.
|
|
210
257
|
"""
|
|
211
258
|
return pulumi.get(self, "project_id")
|
|
212
259
|
|
|
@@ -238,6 +285,15 @@ class _OrganizationProjectState:
|
|
|
238
285
|
def technical_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
239
286
|
pulumi.set(self, "technical_emails", value)
|
|
240
287
|
|
|
288
|
+
@property
|
|
289
|
+
@pulumi.getter
|
|
290
|
+
def timeouts(self) -> Optional[pulumi.Input['OrganizationProjectTimeoutsArgs']]:
|
|
291
|
+
return pulumi.get(self, "timeouts")
|
|
292
|
+
|
|
293
|
+
@timeouts.setter
|
|
294
|
+
def timeouts(self, value: Optional[pulumi.Input['OrganizationProjectTimeoutsArgs']]):
|
|
295
|
+
pulumi.set(self, "timeouts", value)
|
|
296
|
+
|
|
241
297
|
|
|
242
298
|
@pulumi.type_token("aiven:index/organizationProject:OrganizationProject")
|
|
243
299
|
class OrganizationProject(pulumi.CustomResource):
|
|
@@ -245,12 +301,14 @@ class OrganizationProject(pulumi.CustomResource):
|
|
|
245
301
|
def __init__(__self__,
|
|
246
302
|
resource_name: str,
|
|
247
303
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
304
|
+
base_port: Optional[pulumi.Input[builtins.int]] = None,
|
|
248
305
|
billing_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
249
306
|
organization_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
250
307
|
parent_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
251
308
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
252
309
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OrganizationProjectTagArgs', 'OrganizationProjectTagArgsDict']]]]] = None,
|
|
253
310
|
technical_emails: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
311
|
+
timeouts: Optional[pulumi.Input[Union['OrganizationProjectTimeoutsArgs', 'OrganizationProjectTimeoutsArgsDict']]] = None,
|
|
254
312
|
__props__=None):
|
|
255
313
|
"""
|
|
256
314
|
Creates and manages an [Aiven project](https://aiven.io/docs/platform/concepts/orgs-units-projects#projects).
|
|
@@ -258,34 +316,19 @@ class OrganizationProject(pulumi.CustomResource):
|
|
|
258
316
|
**This resource is in the beta stage and may change without notice.** Set
|
|
259
317
|
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
260
318
|
|
|
261
|
-
## Example Usage
|
|
262
|
-
|
|
263
|
-
```python
|
|
264
|
-
import pulumi
|
|
265
|
-
import pulumi_aiven as aiven
|
|
266
|
-
|
|
267
|
-
foo = aiven.OrganizationProject("foo",
|
|
268
|
-
project_id="example-project",
|
|
269
|
-
organization_id=foo_aiven_organization["id"],
|
|
270
|
-
billing_group_id=foo_aiven_billing_group["id"],
|
|
271
|
-
tags=[{
|
|
272
|
-
"key": "key_1",
|
|
273
|
-
"value": "value_1",
|
|
274
|
-
}])
|
|
275
|
-
```
|
|
276
|
-
|
|
277
319
|
## Import
|
|
278
320
|
|
|
279
321
|
```sh
|
|
280
|
-
$ pulumi import aiven:index/organizationProject:OrganizationProject
|
|
322
|
+
$ pulumi import aiven:index/organizationProject:OrganizationProject example_project ORGANIZATION_ID/PROJECT_ID
|
|
281
323
|
```
|
|
282
324
|
|
|
283
325
|
:param str resource_name: The name of the resource.
|
|
284
326
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
285
|
-
:param pulumi.Input[builtins.
|
|
286
|
-
:param pulumi.Input[builtins.str]
|
|
327
|
+
:param pulumi.Input[builtins.int] base_port: Valid port number (1-65535) to use as a base for service port allocation.
|
|
328
|
+
:param pulumi.Input[builtins.str] billing_group_id: Billing group ID to assign to the project. It's required when moving projects between organizations.
|
|
329
|
+
:param pulumi.Input[builtins.str] organization_id: ID of an organization. Maximum length: `36`.
|
|
287
330
|
:param pulumi.Input[builtins.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.
|
|
288
|
-
:param pulumi.Input[builtins.str] project_id:
|
|
331
|
+
:param pulumi.Input[builtins.str] project_id: The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource. Changing this property forces recreation of the resource.
|
|
289
332
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OrganizationProjectTagArgs', 'OrganizationProjectTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize projects.
|
|
290
333
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.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.
|
|
291
334
|
"""
|
|
@@ -301,26 +344,10 @@ class OrganizationProject(pulumi.CustomResource):
|
|
|
301
344
|
**This resource is in the beta stage and may change without notice.** Set
|
|
302
345
|
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
303
346
|
|
|
304
|
-
## Example Usage
|
|
305
|
-
|
|
306
|
-
```python
|
|
307
|
-
import pulumi
|
|
308
|
-
import pulumi_aiven as aiven
|
|
309
|
-
|
|
310
|
-
foo = aiven.OrganizationProject("foo",
|
|
311
|
-
project_id="example-project",
|
|
312
|
-
organization_id=foo_aiven_organization["id"],
|
|
313
|
-
billing_group_id=foo_aiven_billing_group["id"],
|
|
314
|
-
tags=[{
|
|
315
|
-
"key": "key_1",
|
|
316
|
-
"value": "value_1",
|
|
317
|
-
}])
|
|
318
|
-
```
|
|
319
|
-
|
|
320
347
|
## Import
|
|
321
348
|
|
|
322
349
|
```sh
|
|
323
|
-
$ pulumi import aiven:index/organizationProject:OrganizationProject
|
|
350
|
+
$ pulumi import aiven:index/organizationProject:OrganizationProject example_project ORGANIZATION_ID/PROJECT_ID
|
|
324
351
|
```
|
|
325
352
|
|
|
326
353
|
:param str resource_name: The name of the resource.
|
|
@@ -338,12 +365,14 @@ class OrganizationProject(pulumi.CustomResource):
|
|
|
338
365
|
def _internal_init(__self__,
|
|
339
366
|
resource_name: str,
|
|
340
367
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
368
|
+
base_port: Optional[pulumi.Input[builtins.int]] = None,
|
|
341
369
|
billing_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
342
370
|
organization_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
343
371
|
parent_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
344
372
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
345
373
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OrganizationProjectTagArgs', 'OrganizationProjectTagArgsDict']]]]] = None,
|
|
346
374
|
technical_emails: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
375
|
+
timeouts: Optional[pulumi.Input[Union['OrganizationProjectTimeoutsArgs', 'OrganizationProjectTimeoutsArgsDict']]] = None,
|
|
347
376
|
__props__=None):
|
|
348
377
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
349
378
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -353,6 +382,7 @@ class OrganizationProject(pulumi.CustomResource):
|
|
|
353
382
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
354
383
|
__props__ = OrganizationProjectArgs.__new__(OrganizationProjectArgs)
|
|
355
384
|
|
|
385
|
+
__props__.__dict__["base_port"] = base_port
|
|
356
386
|
if billing_group_id is None and not opts.urn:
|
|
357
387
|
raise TypeError("Missing required property 'billing_group_id'")
|
|
358
388
|
__props__.__dict__["billing_group_id"] = billing_group_id
|
|
@@ -367,6 +397,7 @@ class OrganizationProject(pulumi.CustomResource):
|
|
|
367
397
|
__props__.__dict__["project_id"] = project_id
|
|
368
398
|
__props__.__dict__["tags"] = tags
|
|
369
399
|
__props__.__dict__["technical_emails"] = technical_emails
|
|
400
|
+
__props__.__dict__["timeouts"] = timeouts
|
|
370
401
|
__props__.__dict__["ca_cert"] = None
|
|
371
402
|
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["caCert"])
|
|
372
403
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
@@ -380,13 +411,15 @@ class OrganizationProject(pulumi.CustomResource):
|
|
|
380
411
|
def get(resource_name: str,
|
|
381
412
|
id: pulumi.Input[str],
|
|
382
413
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
414
|
+
base_port: Optional[pulumi.Input[builtins.int]] = None,
|
|
383
415
|
billing_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
384
416
|
ca_cert: Optional[pulumi.Input[builtins.str]] = None,
|
|
385
417
|
organization_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
386
418
|
parent_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
387
419
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
388
420
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OrganizationProjectTagArgs', 'OrganizationProjectTagArgsDict']]]]] = None,
|
|
389
|
-
technical_emails: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None
|
|
421
|
+
technical_emails: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
422
|
+
timeouts: Optional[pulumi.Input[Union['OrganizationProjectTimeoutsArgs', 'OrganizationProjectTimeoutsArgsDict']]] = None) -> 'OrganizationProject':
|
|
390
423
|
"""
|
|
391
424
|
Get an existing OrganizationProject resource's state with the given name, id, and optional extra
|
|
392
425
|
properties used to qualify the lookup.
|
|
@@ -394,11 +427,12 @@ class OrganizationProject(pulumi.CustomResource):
|
|
|
394
427
|
:param str resource_name: The unique name of the resulting resource.
|
|
395
428
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
396
429
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
397
|
-
:param pulumi.Input[builtins.
|
|
398
|
-
:param pulumi.Input[builtins.str]
|
|
399
|
-
:param pulumi.Input[builtins.str]
|
|
430
|
+
:param pulumi.Input[builtins.int] base_port: Valid port number (1-65535) to use as a base for service port allocation.
|
|
431
|
+
:param pulumi.Input[builtins.str] billing_group_id: Billing group ID to assign to the project. It's required when moving projects between organizations.
|
|
432
|
+
:param pulumi.Input[builtins.str] ca_cert: PEM encoded certificate.
|
|
433
|
+
:param pulumi.Input[builtins.str] organization_id: ID of an organization. Maximum length: `36`.
|
|
400
434
|
:param pulumi.Input[builtins.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.
|
|
401
|
-
:param pulumi.Input[builtins.str] project_id:
|
|
435
|
+
:param pulumi.Input[builtins.str] project_id: The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource. Changing this property forces recreation of the resource.
|
|
402
436
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OrganizationProjectTagArgs', 'OrganizationProjectTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize projects.
|
|
403
437
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.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.
|
|
404
438
|
"""
|
|
@@ -406,6 +440,7 @@ class OrganizationProject(pulumi.CustomResource):
|
|
|
406
440
|
|
|
407
441
|
__props__ = _OrganizationProjectState.__new__(_OrganizationProjectState)
|
|
408
442
|
|
|
443
|
+
__props__.__dict__["base_port"] = base_port
|
|
409
444
|
__props__.__dict__["billing_group_id"] = billing_group_id
|
|
410
445
|
__props__.__dict__["ca_cert"] = ca_cert
|
|
411
446
|
__props__.__dict__["organization_id"] = organization_id
|
|
@@ -413,13 +448,22 @@ class OrganizationProject(pulumi.CustomResource):
|
|
|
413
448
|
__props__.__dict__["project_id"] = project_id
|
|
414
449
|
__props__.__dict__["tags"] = tags
|
|
415
450
|
__props__.__dict__["technical_emails"] = technical_emails
|
|
451
|
+
__props__.__dict__["timeouts"] = timeouts
|
|
416
452
|
return OrganizationProject(resource_name, opts=opts, __props__=__props__)
|
|
417
453
|
|
|
454
|
+
@property
|
|
455
|
+
@pulumi.getter(name="basePort")
|
|
456
|
+
def base_port(self) -> pulumi.Output[builtins.int]:
|
|
457
|
+
"""
|
|
458
|
+
Valid port number (1-65535) to use as a base for service port allocation.
|
|
459
|
+
"""
|
|
460
|
+
return pulumi.get(self, "base_port")
|
|
461
|
+
|
|
418
462
|
@property
|
|
419
463
|
@pulumi.getter(name="billingGroupId")
|
|
420
464
|
def billing_group_id(self) -> pulumi.Output[builtins.str]:
|
|
421
465
|
"""
|
|
422
|
-
Billing group ID to assign to the project.
|
|
466
|
+
Billing group ID to assign to the project. It's required when moving projects between organizations.
|
|
423
467
|
"""
|
|
424
468
|
return pulumi.get(self, "billing_group_id")
|
|
425
469
|
|
|
@@ -427,7 +471,7 @@ class OrganizationProject(pulumi.CustomResource):
|
|
|
427
471
|
@pulumi.getter(name="caCert")
|
|
428
472
|
def ca_cert(self) -> pulumi.Output[builtins.str]:
|
|
429
473
|
"""
|
|
430
|
-
|
|
474
|
+
PEM encoded certificate.
|
|
431
475
|
"""
|
|
432
476
|
return pulumi.get(self, "ca_cert")
|
|
433
477
|
|
|
@@ -435,7 +479,7 @@ class OrganizationProject(pulumi.CustomResource):
|
|
|
435
479
|
@pulumi.getter(name="organizationId")
|
|
436
480
|
def organization_id(self) -> pulumi.Output[builtins.str]:
|
|
437
481
|
"""
|
|
438
|
-
ID of an organization.
|
|
482
|
+
ID of an organization. Maximum length: `36`.
|
|
439
483
|
"""
|
|
440
484
|
return pulumi.get(self, "organization_id")
|
|
441
485
|
|
|
@@ -451,7 +495,7 @@ class OrganizationProject(pulumi.CustomResource):
|
|
|
451
495
|
@pulumi.getter(name="projectId")
|
|
452
496
|
def project_id(self) -> pulumi.Output[builtins.str]:
|
|
453
497
|
"""
|
|
454
|
-
|
|
498
|
+
The name of the project. Names must be globally unique among all Aiven customers. Names must begin with a letter (a-z), and consist of letters, numbers, and dashes. It's recommended to use a random string or your organization name as a prefix or suffix. Changing this property forces recreation of the resource. Changing this property forces recreation of the resource.
|
|
455
499
|
"""
|
|
456
500
|
return pulumi.get(self, "project_id")
|
|
457
501
|
|
|
@@ -471,3 +515,8 @@ class OrganizationProject(pulumi.CustomResource):
|
|
|
471
515
|
"""
|
|
472
516
|
return pulumi.get(self, "technical_emails")
|
|
473
517
|
|
|
518
|
+
@property
|
|
519
|
+
@pulumi.getter
|
|
520
|
+
def timeouts(self) -> pulumi.Output[Optional['outputs.OrganizationProjectTimeouts']]:
|
|
521
|
+
return pulumi.get(self, "timeouts")
|
|
522
|
+
|