pulumi-aiven 6.37.0a1744182902__py3-none-any.whl → 6.37.0a1744255932__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 +21 -0
- pulumi_aiven/_inputs.py +603 -15
- pulumi_aiven/alloydbomni.py +7 -15
- pulumi_aiven/cassandra.py +7 -15
- pulumi_aiven/clickhouse.py +7 -15
- pulumi_aiven/dragonfly.py +7 -15
- pulumi_aiven/flink.py +7 -15
- pulumi_aiven/get_alloydbomni.py +1 -4
- pulumi_aiven/get_cassanda.py +1 -4
- pulumi_aiven/get_cassandra.py +1 -4
- pulumi_aiven/get_clickhouse.py +1 -4
- pulumi_aiven/get_dragonfly.py +1 -4
- pulumi_aiven/get_flink.py +1 -4
- pulumi_aiven/get_grafana.py +1 -4
- pulumi_aiven/get_kafka.py +1 -4
- pulumi_aiven/get_kafka_connect.py +1 -4
- pulumi_aiven/get_kafka_mirror_maker.py +1 -4
- pulumi_aiven/get_m3_aggregator.py +1 -4
- pulumi_aiven/get_m3_db.py +1 -4
- pulumi_aiven/get_my_sql.py +1 -4
- pulumi_aiven/get_open_search.py +1 -4
- pulumi_aiven/get_organization.py +2 -2
- pulumi_aiven/get_organization_address.py +227 -0
- pulumi_aiven/get_organization_application_user.py +0 -20
- pulumi_aiven/get_organization_billing_group.py +241 -0
- pulumi_aiven/get_organization_billing_group_list.py +110 -0
- pulumi_aiven/get_organization_project.py +15 -1
- pulumi_aiven/get_organization_user_list.py +25 -13
- pulumi_aiven/get_pg.py +1 -4
- pulumi_aiven/get_redis.py +1 -4
- pulumi_aiven/get_service_component.py +15 -1
- pulumi_aiven/get_service_integration.py +2 -2
- pulumi_aiven/get_thanos.py +1 -4
- pulumi_aiven/get_valkey.py +1 -4
- pulumi_aiven/grafana.py +7 -15
- pulumi_aiven/influx_db.py +21 -15
- pulumi_aiven/kafka.py +7 -15
- pulumi_aiven/kafka_connect.py +7 -15
- pulumi_aiven/kafka_mirror_maker.py +7 -15
- pulumi_aiven/kafka_native_acl.py +1 -1
- pulumi_aiven/m3_aggregator.py +7 -15
- pulumi_aiven/m3_db.py +7 -15
- pulumi_aiven/my_sql.py +7 -15
- pulumi_aiven/open_search.py +7 -15
- pulumi_aiven/organization.py +2 -2
- pulumi_aiven/organization_address.py +557 -0
- pulumi_aiven/organization_application_user.py +4 -4
- pulumi_aiven/organization_billing_group.py +645 -0
- pulumi_aiven/organization_permission.py +2 -2
- pulumi_aiven/organization_project.py +47 -16
- pulumi_aiven/organization_user_group_member.py +0 -32
- pulumi_aiven/outputs.py +807 -42
- pulumi_aiven/pg.py +7 -15
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +7 -15
- pulumi_aiven/service_integration.py +4 -4
- pulumi_aiven/thanos.py +7 -15
- pulumi_aiven/valkey.py +7 -15
- {pulumi_aiven-6.37.0a1744182902.dist-info → pulumi_aiven-6.37.0a1744255932.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.37.0a1744182902.dist-info → pulumi_aiven-6.37.0a1744255932.dist-info}/RECORD +62 -57
- {pulumi_aiven-6.37.0a1744182902.dist-info → pulumi_aiven-6.37.0a1744255932.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.37.0a1744182902.dist-info → pulumi_aiven-6.37.0a1744255932.dist-info}/top_level.txt +0 -0
|
@@ -24,24 +24,23 @@ class OrganizationProjectArgs:
|
|
|
24
24
|
def __init__(__self__, *,
|
|
25
25
|
billing_group_id: pulumi.Input[builtins.str],
|
|
26
26
|
organization_id: pulumi.Input[builtins.str],
|
|
27
|
+
parent_id: pulumi.Input[builtins.str],
|
|
27
28
|
project_id: pulumi.Input[builtins.str],
|
|
28
|
-
parent_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
29
29
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['OrganizationProjectTagArgs']]]] = None,
|
|
30
30
|
technical_emails: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
31
31
|
"""
|
|
32
32
|
The set of arguments for constructing a OrganizationProject resource.
|
|
33
33
|
:param pulumi.Input[builtins.str] billing_group_id: Billing group ID to assign to the project.
|
|
34
34
|
:param pulumi.Input[builtins.str] organization_id: ID of an organization. Changing this property forces recreation of the resource.
|
|
35
|
-
:param pulumi.Input[builtins.str] project_id: Unique identifier for the project that also serves as the project name.
|
|
36
35
|
: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: Unique identifier for the project that also serves as the project name.
|
|
37
37
|
:param pulumi.Input[Sequence[pulumi.Input['OrganizationProjectTagArgs']]] tags: Tags are key-value pairs that allow you to categorize projects.
|
|
38
38
|
: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
39
|
"""
|
|
40
40
|
pulumi.set(__self__, "billing_group_id", billing_group_id)
|
|
41
41
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
42
|
+
pulumi.set(__self__, "parent_id", parent_id)
|
|
42
43
|
pulumi.set(__self__, "project_id", project_id)
|
|
43
|
-
if parent_id is not None:
|
|
44
|
-
pulumi.set(__self__, "parent_id", parent_id)
|
|
45
44
|
if tags is not None:
|
|
46
45
|
pulumi.set(__self__, "tags", tags)
|
|
47
46
|
if technical_emails is not None:
|
|
@@ -71,6 +70,18 @@ class OrganizationProjectArgs:
|
|
|
71
70
|
def organization_id(self, value: pulumi.Input[builtins.str]):
|
|
72
71
|
pulumi.set(self, "organization_id", value)
|
|
73
72
|
|
|
73
|
+
@property
|
|
74
|
+
@pulumi.getter(name="parentId")
|
|
75
|
+
def parent_id(self) -> pulumi.Input[builtins.str]:
|
|
76
|
+
"""
|
|
77
|
+
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.
|
|
78
|
+
"""
|
|
79
|
+
return pulumi.get(self, "parent_id")
|
|
80
|
+
|
|
81
|
+
@parent_id.setter
|
|
82
|
+
def parent_id(self, value: pulumi.Input[builtins.str]):
|
|
83
|
+
pulumi.set(self, "parent_id", value)
|
|
84
|
+
|
|
74
85
|
@property
|
|
75
86
|
@pulumi.getter(name="projectId")
|
|
76
87
|
def project_id(self) -> pulumi.Input[builtins.str]:
|
|
@@ -83,18 +94,6 @@ class OrganizationProjectArgs:
|
|
|
83
94
|
def project_id(self, value: pulumi.Input[builtins.str]):
|
|
84
95
|
pulumi.set(self, "project_id", value)
|
|
85
96
|
|
|
86
|
-
@property
|
|
87
|
-
@pulumi.getter(name="parentId")
|
|
88
|
-
def parent_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
89
|
-
"""
|
|
90
|
-
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.
|
|
91
|
-
"""
|
|
92
|
-
return pulumi.get(self, "parent_id")
|
|
93
|
-
|
|
94
|
-
@parent_id.setter
|
|
95
|
-
def parent_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
96
|
-
pulumi.set(self, "parent_id", value)
|
|
97
|
-
|
|
98
97
|
@property
|
|
99
98
|
@pulumi.getter
|
|
100
99
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OrganizationProjectTagArgs']]]]:
|
|
@@ -124,6 +123,7 @@ class OrganizationProjectArgs:
|
|
|
124
123
|
class _OrganizationProjectState:
|
|
125
124
|
def __init__(__self__, *,
|
|
126
125
|
billing_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
126
|
+
ca_cert: Optional[pulumi.Input[builtins.str]] = None,
|
|
127
127
|
organization_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
128
128
|
parent_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
129
129
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -132,6 +132,7 @@ class _OrganizationProjectState:
|
|
|
132
132
|
"""
|
|
133
133
|
Input properties used for looking up and filtering OrganizationProject resources.
|
|
134
134
|
:param pulumi.Input[builtins.str] billing_group_id: Billing group ID to assign to the project.
|
|
135
|
+
:param pulumi.Input[builtins.str] ca_cert: The CA certificate for the project. This is required for configuring clients that connect to certain services like Kafka.
|
|
135
136
|
:param pulumi.Input[builtins.str] organization_id: ID of an organization. Changing this property forces recreation of the resource.
|
|
136
137
|
: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.
|
|
137
138
|
:param pulumi.Input[builtins.str] project_id: Unique identifier for the project that also serves as the project name.
|
|
@@ -140,6 +141,8 @@ class _OrganizationProjectState:
|
|
|
140
141
|
"""
|
|
141
142
|
if billing_group_id is not None:
|
|
142
143
|
pulumi.set(__self__, "billing_group_id", billing_group_id)
|
|
144
|
+
if ca_cert is not None:
|
|
145
|
+
pulumi.set(__self__, "ca_cert", ca_cert)
|
|
143
146
|
if organization_id is not None:
|
|
144
147
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
145
148
|
if parent_id is not None:
|
|
@@ -163,6 +166,18 @@ class _OrganizationProjectState:
|
|
|
163
166
|
def billing_group_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
164
167
|
pulumi.set(self, "billing_group_id", value)
|
|
165
168
|
|
|
169
|
+
@property
|
|
170
|
+
@pulumi.getter(name="caCert")
|
|
171
|
+
def ca_cert(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
172
|
+
"""
|
|
173
|
+
The CA certificate for the project. This is required for configuring clients that connect to certain services like Kafka.
|
|
174
|
+
"""
|
|
175
|
+
return pulumi.get(self, "ca_cert")
|
|
176
|
+
|
|
177
|
+
@ca_cert.setter
|
|
178
|
+
def ca_cert(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
179
|
+
pulumi.set(self, "ca_cert", value)
|
|
180
|
+
|
|
166
181
|
@property
|
|
167
182
|
@pulumi.getter(name="organizationId")
|
|
168
183
|
def organization_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
@@ -343,12 +358,17 @@ class OrganizationProject(pulumi.CustomResource):
|
|
|
343
358
|
if organization_id is None and not opts.urn:
|
|
344
359
|
raise TypeError("Missing required property 'organization_id'")
|
|
345
360
|
__props__.__dict__["organization_id"] = organization_id
|
|
361
|
+
if parent_id is None and not opts.urn:
|
|
362
|
+
raise TypeError("Missing required property 'parent_id'")
|
|
346
363
|
__props__.__dict__["parent_id"] = parent_id
|
|
347
364
|
if project_id is None and not opts.urn:
|
|
348
365
|
raise TypeError("Missing required property 'project_id'")
|
|
349
366
|
__props__.__dict__["project_id"] = project_id
|
|
350
367
|
__props__.__dict__["tags"] = tags
|
|
351
368
|
__props__.__dict__["technical_emails"] = technical_emails
|
|
369
|
+
__props__.__dict__["ca_cert"] = None
|
|
370
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["caCert"])
|
|
371
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
352
372
|
super(OrganizationProject, __self__).__init__(
|
|
353
373
|
'aiven:index/organizationProject:OrganizationProject',
|
|
354
374
|
resource_name,
|
|
@@ -360,6 +380,7 @@ class OrganizationProject(pulumi.CustomResource):
|
|
|
360
380
|
id: pulumi.Input[str],
|
|
361
381
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
362
382
|
billing_group_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
383
|
+
ca_cert: Optional[pulumi.Input[builtins.str]] = None,
|
|
363
384
|
organization_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
364
385
|
parent_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
365
386
|
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -373,6 +394,7 @@ class OrganizationProject(pulumi.CustomResource):
|
|
|
373
394
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
374
395
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
375
396
|
:param pulumi.Input[builtins.str] billing_group_id: Billing group ID to assign to the project.
|
|
397
|
+
:param pulumi.Input[builtins.str] ca_cert: The CA certificate for the project. This is required for configuring clients that connect to certain services like Kafka.
|
|
376
398
|
:param pulumi.Input[builtins.str] organization_id: ID of an organization. Changing this property forces recreation of the resource.
|
|
377
399
|
: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.
|
|
378
400
|
:param pulumi.Input[builtins.str] project_id: Unique identifier for the project that also serves as the project name.
|
|
@@ -384,6 +406,7 @@ class OrganizationProject(pulumi.CustomResource):
|
|
|
384
406
|
__props__ = _OrganizationProjectState.__new__(_OrganizationProjectState)
|
|
385
407
|
|
|
386
408
|
__props__.__dict__["billing_group_id"] = billing_group_id
|
|
409
|
+
__props__.__dict__["ca_cert"] = ca_cert
|
|
387
410
|
__props__.__dict__["organization_id"] = organization_id
|
|
388
411
|
__props__.__dict__["parent_id"] = parent_id
|
|
389
412
|
__props__.__dict__["project_id"] = project_id
|
|
@@ -399,6 +422,14 @@ class OrganizationProject(pulumi.CustomResource):
|
|
|
399
422
|
"""
|
|
400
423
|
return pulumi.get(self, "billing_group_id")
|
|
401
424
|
|
|
425
|
+
@property
|
|
426
|
+
@pulumi.getter(name="caCert")
|
|
427
|
+
def ca_cert(self) -> pulumi.Output[builtins.str]:
|
|
428
|
+
"""
|
|
429
|
+
The CA certificate for the project. This is required for configuring clients that connect to certain services like Kafka.
|
|
430
|
+
"""
|
|
431
|
+
return pulumi.get(self, "ca_cert")
|
|
432
|
+
|
|
402
433
|
@property
|
|
403
434
|
@pulumi.getter(name="organizationId")
|
|
404
435
|
def organization_id(self) -> pulumi.Output[builtins.str]:
|
|
@@ -184,22 +184,6 @@ class OrganizationUserGroupMember(pulumi.CustomResource):
|
|
|
184
184
|
|
|
185
185
|
Groups are granted roles and permissions using the `OrganizationPermission` resource.
|
|
186
186
|
|
|
187
|
-
## Example Usage
|
|
188
|
-
|
|
189
|
-
```python
|
|
190
|
-
import pulumi
|
|
191
|
-
import pulumi_aiven as aiven
|
|
192
|
-
|
|
193
|
-
example = aiven.OrganizationUserGroup("example",
|
|
194
|
-
description="Example group of users.",
|
|
195
|
-
organization_id=main["id"],
|
|
196
|
-
name="Example group")
|
|
197
|
-
project_admin = aiven.OrganizationUserGroupMember("project_admin",
|
|
198
|
-
group_id=example.group_id,
|
|
199
|
-
organization_id=main["id"],
|
|
200
|
-
user_id="u123a456b7890c")
|
|
201
|
-
```
|
|
202
|
-
|
|
203
187
|
## Import
|
|
204
188
|
|
|
205
189
|
```sh
|
|
@@ -224,22 +208,6 @@ class OrganizationUserGroupMember(pulumi.CustomResource):
|
|
|
224
208
|
|
|
225
209
|
Groups are granted roles and permissions using the `OrganizationPermission` resource.
|
|
226
210
|
|
|
227
|
-
## Example Usage
|
|
228
|
-
|
|
229
|
-
```python
|
|
230
|
-
import pulumi
|
|
231
|
-
import pulumi_aiven as aiven
|
|
232
|
-
|
|
233
|
-
example = aiven.OrganizationUserGroup("example",
|
|
234
|
-
description="Example group of users.",
|
|
235
|
-
organization_id=main["id"],
|
|
236
|
-
name="Example group")
|
|
237
|
-
project_admin = aiven.OrganizationUserGroupMember("project_admin",
|
|
238
|
-
group_id=example.group_id,
|
|
239
|
-
organization_id=main["id"],
|
|
240
|
-
user_id="u123a456b7890c")
|
|
241
|
-
```
|
|
242
|
-
|
|
243
211
|
## Import
|
|
244
212
|
|
|
245
213
|
```sh
|