pulumi-aiven 6.43.0a1756184863__py3-none-any.whl → 6.47.0a1767071446__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.
- pulumi_aiven/__init__.py +4 -0
- pulumi_aiven/_inputs.py +3087 -602
- pulumi_aiven/account_team.py +6 -12
- pulumi_aiven/account_team_member.py +6 -12
- pulumi_aiven/account_team_project.py +6 -12
- pulumi_aiven/alloydbomni.py +72 -23
- pulumi_aiven/alloydbomni_database.py +26 -0
- pulumi_aiven/alloydbomni_user.py +135 -8
- pulumi_aiven/billing_group.py +225 -114
- pulumi_aiven/cassandra.py +46 -23
- pulumi_aiven/cassandra_user.py +110 -9
- pulumi_aiven/clickhouse.py +46 -23
- pulumi_aiven/clickhouse_user.py +127 -7
- pulumi_aiven/dragonfly.py +46 -23
- pulumi_aiven/flink.py +46 -23
- pulumi_aiven/get_account_team.py +6 -12
- pulumi_aiven/get_account_team_member.py +6 -12
- pulumi_aiven/get_account_team_project.py +6 -12
- pulumi_aiven/get_alloydbomni.py +43 -3
- pulumi_aiven/get_alloydbomni_database.py +26 -0
- pulumi_aiven/get_alloydbomni_user.py +27 -1
- pulumi_aiven/get_billing_group.py +47 -15
- pulumi_aiven/get_cassanda.py +17 -3
- pulumi_aiven/get_cassandra.py +17 -3
- pulumi_aiven/get_cassandra_user.py +1 -1
- pulumi_aiven/get_clickhouse.py +17 -3
- pulumi_aiven/get_clickhouse_user.py +1 -1
- pulumi_aiven/get_dragonfly.py +17 -3
- pulumi_aiven/get_flink.py +17 -3
- pulumi_aiven/get_grafana.py +17 -3
- pulumi_aiven/get_influx_db.py +12 -1
- pulumi_aiven/get_kafka.py +17 -3
- pulumi_aiven/get_kafka_connect.py +17 -3
- pulumi_aiven/get_kafka_mirror_maker.py +17 -3
- pulumi_aiven/get_kafka_user.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +14 -112
- pulumi_aiven/get_m3_db.py +14 -124
- pulumi_aiven/get_m3db_user.py +2 -61
- pulumi_aiven/get_my_sql.py +17 -3
- pulumi_aiven/get_mysql_user.py +1 -1
- pulumi_aiven/get_open_search.py +17 -3
- pulumi_aiven/get_opensearch_user.py +1 -1
- pulumi_aiven/get_organization.py +1 -1
- pulumi_aiven/get_organization_address.py +1 -1
- pulumi_aiven/get_organization_application_user.py +29 -11
- pulumi_aiven/get_organization_billing_group.py +3 -3
- pulumi_aiven/get_organization_project.py +2 -8
- pulumi_aiven/get_organization_user_group_list.py +131 -0
- pulumi_aiven/get_organization_user_group_member_list.py +171 -0
- pulumi_aiven/get_organization_user_list.py +33 -11
- pulumi_aiven/get_organizational_unit.py +4 -0
- pulumi_aiven/get_pg.py +17 -3
- pulumi_aiven/get_pg_user.py +1 -1
- pulumi_aiven/get_redis.py +14 -128
- pulumi_aiven/get_redis_user.py +2 -77
- pulumi_aiven/get_service_component.py +3 -3
- pulumi_aiven/get_service_plan.py +309 -0
- pulumi_aiven/get_service_plan_list.py +151 -0
- pulumi_aiven/get_thanos.py +17 -3
- pulumi_aiven/get_valkey.py +17 -3
- pulumi_aiven/get_valkey_user.py +4 -4
- pulumi_aiven/governance_access.py +12 -0
- pulumi_aiven/grafana.py +46 -23
- pulumi_aiven/influx_db.py +133 -291
- pulumi_aiven/influxdb_database.py +14 -28
- pulumi_aiven/influxdb_user.py +21 -42
- pulumi_aiven/kafka.py +46 -23
- pulumi_aiven/kafka_connect.py +48 -25
- pulumi_aiven/kafka_mirror_maker.py +46 -23
- pulumi_aiven/kafka_schema.py +20 -20
- pulumi_aiven/kafka_user.py +110 -9
- pulumi_aiven/m3_aggregator.py +48 -75
- pulumi_aiven/m3_db.py +48 -95
- pulumi_aiven/m3db_user.py +2 -54
- pulumi_aiven/my_sql.py +46 -23
- pulumi_aiven/mysql_user.py +110 -9
- pulumi_aiven/open_search.py +46 -23
- pulumi_aiven/opensearch_user.py +110 -9
- pulumi_aiven/organization.py +6 -6
- pulumi_aiven/organization_address.py +12 -0
- pulumi_aiven/organization_application_user.py +76 -48
- pulumi_aiven/organization_application_user_token.py +127 -91
- pulumi_aiven/organization_billing_group.py +33 -21
- pulumi_aiven/organization_permission.py +82 -49
- pulumi_aiven/organization_project.py +9 -15
- pulumi_aiven/organization_user.py +8 -8
- pulumi_aiven/organization_user_group_member.py +29 -35
- pulumi_aiven/outputs.py +2042 -326
- pulumi_aiven/pg.py +112 -23
- pulumi_aiven/pg_user.py +109 -8
- pulumi_aiven/project.py +2 -24
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +57 -97
- pulumi_aiven/redis_user.py +23 -79
- pulumi_aiven/thanos.py +46 -23
- pulumi_aiven/valkey.py +46 -23
- pulumi_aiven/valkey_user.py +130 -29
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/METADATA +1 -1
- pulumi_aiven-6.47.0a1767071446.dist-info/RECORD +193 -0
- pulumi_aiven-6.43.0a1756184863.dist-info/RECORD +0 -189
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/top_level.txt +0 -0
pulumi_aiven/get_m3db_user.py
CHANGED
|
@@ -57,41 +57,26 @@ class GetM3dbUserResult:
|
|
|
57
57
|
@_builtins.property
|
|
58
58
|
@pulumi.getter
|
|
59
59
|
def password(self) -> _builtins.str:
|
|
60
|
-
"""
|
|
61
|
-
The M3DB service user's password.
|
|
62
|
-
"""
|
|
63
60
|
return pulumi.get(self, "password")
|
|
64
61
|
|
|
65
62
|
@_builtins.property
|
|
66
63
|
@pulumi.getter
|
|
67
64
|
def project(self) -> _builtins.str:
|
|
68
|
-
"""
|
|
69
|
-
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
70
|
-
"""
|
|
71
65
|
return pulumi.get(self, "project")
|
|
72
66
|
|
|
73
67
|
@_builtins.property
|
|
74
68
|
@pulumi.getter(name="serviceName")
|
|
75
69
|
def service_name(self) -> _builtins.str:
|
|
76
|
-
"""
|
|
77
|
-
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
78
|
-
"""
|
|
79
70
|
return pulumi.get(self, "service_name")
|
|
80
71
|
|
|
81
72
|
@_builtins.property
|
|
82
73
|
@pulumi.getter
|
|
83
74
|
def type(self) -> _builtins.str:
|
|
84
|
-
"""
|
|
85
|
-
User account type, such as primary or regular account.
|
|
86
|
-
"""
|
|
87
75
|
return pulumi.get(self, "type")
|
|
88
76
|
|
|
89
77
|
@_builtins.property
|
|
90
78
|
@pulumi.getter
|
|
91
79
|
def username(self) -> _builtins.str:
|
|
92
|
-
"""
|
|
93
|
-
Name of the M3DB service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
94
|
-
"""
|
|
95
80
|
return pulumi.get(self, "username")
|
|
96
81
|
|
|
97
82
|
|
|
@@ -114,29 +99,7 @@ def get_m3db_user(project: Optional[_builtins.str] = None,
|
|
|
114
99
|
username: Optional[_builtins.str] = None,
|
|
115
100
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetM3dbUserResult:
|
|
116
101
|
"""
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
!> **End of life notice**
|
|
120
|
-
**After 30 April 2025** all running Aiven for M3 services will be powered off and deleted, making data from these services inaccessible.
|
|
121
|
-
You cannot create M3DB services in Aiven projects that didn't have M3DB services before.
|
|
122
|
-
To avoid interruptions to your service, migrate to Aiven for Thanos Metrics
|
|
123
|
-
before the end of life date.
|
|
124
|
-
|
|
125
|
-
## Example Usage
|
|
126
|
-
|
|
127
|
-
```python
|
|
128
|
-
import pulumi
|
|
129
|
-
import pulumi_aiven as aiven
|
|
130
|
-
|
|
131
|
-
example_service_user = aiven.get_m3db_user(service_name=example_m3db["serviceName"],
|
|
132
|
-
project=example_project["project"],
|
|
133
|
-
username="example-m3db-user")
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
:param _builtins.str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
138
|
-
:param _builtins.str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
139
|
-
:param _builtins.str username: Name of the M3DB service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
102
|
+
Use this data source to access information about an existing resource.
|
|
140
103
|
"""
|
|
141
104
|
__args__ = dict()
|
|
142
105
|
__args__['project'] = project
|
|
@@ -157,29 +120,7 @@ def get_m3db_user_output(project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
157
120
|
username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
158
121
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetM3dbUserResult]:
|
|
159
122
|
"""
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
!> **End of life notice**
|
|
163
|
-
**After 30 April 2025** all running Aiven for M3 services will be powered off and deleted, making data from these services inaccessible.
|
|
164
|
-
You cannot create M3DB services in Aiven projects that didn't have M3DB services before.
|
|
165
|
-
To avoid interruptions to your service, migrate to Aiven for Thanos Metrics
|
|
166
|
-
before the end of life date.
|
|
167
|
-
|
|
168
|
-
## Example Usage
|
|
169
|
-
|
|
170
|
-
```python
|
|
171
|
-
import pulumi
|
|
172
|
-
import pulumi_aiven as aiven
|
|
173
|
-
|
|
174
|
-
example_service_user = aiven.get_m3db_user(service_name=example_m3db["serviceName"],
|
|
175
|
-
project=example_project["project"],
|
|
176
|
-
username="example-m3db-user")
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
:param _builtins.str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
181
|
-
:param _builtins.str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
182
|
-
:param _builtins.str username: Name of the M3DB service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
123
|
+
Use this data source to access information about an existing resource.
|
|
183
124
|
"""
|
|
184
125
|
__args__ = dict()
|
|
185
126
|
__args__['project'] = project
|
pulumi_aiven/get_my_sql.py
CHANGED
|
@@ -27,7 +27,7 @@ class GetMySqlResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getMySql.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, additional_disk_space=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, maintenance_window_dow=None, maintenance_window_time=None, mysql_user_configs=None, mysqls=None, plan=None, project=None, project_vpc_id=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
|
|
30
|
+
def __init__(__self__, additional_disk_space=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, maintenance_window_dow=None, maintenance_window_enabled=None, maintenance_window_time=None, mysql_user_configs=None, mysqls=None, plan=None, project=None, project_vpc_id=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
|
|
31
31
|
if additional_disk_space and not isinstance(additional_disk_space, str):
|
|
32
32
|
raise TypeError("Expected argument 'additional_disk_space' to be a str")
|
|
33
33
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -58,6 +58,9 @@ class GetMySqlResult:
|
|
|
58
58
|
if maintenance_window_dow and not isinstance(maintenance_window_dow, str):
|
|
59
59
|
raise TypeError("Expected argument 'maintenance_window_dow' to be a str")
|
|
60
60
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
61
|
+
if maintenance_window_enabled and not isinstance(maintenance_window_enabled, bool):
|
|
62
|
+
raise TypeError("Expected argument 'maintenance_window_enabled' to be a bool")
|
|
63
|
+
pulumi.set(__self__, "maintenance_window_enabled", maintenance_window_enabled)
|
|
61
64
|
if maintenance_window_time and not isinstance(maintenance_window_time, str):
|
|
62
65
|
raise TypeError("Expected argument 'maintenance_window_time' to be a str")
|
|
63
66
|
pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
|
|
@@ -144,7 +147,7 @@ class GetMySqlResult:
|
|
|
144
147
|
@pulumi.getter(name="diskSpace")
|
|
145
148
|
def disk_space(self) -> _builtins.str:
|
|
146
149
|
"""
|
|
147
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
150
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
148
151
|
"""
|
|
149
152
|
return pulumi.get(self, "disk_space")
|
|
150
153
|
|
|
@@ -176,7 +179,7 @@ class GetMySqlResult:
|
|
|
176
179
|
@pulumi.getter(name="diskSpaceUsed")
|
|
177
180
|
def disk_space_used(self) -> _builtins.str:
|
|
178
181
|
"""
|
|
179
|
-
|
|
182
|
+
The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
180
183
|
"""
|
|
181
184
|
return pulumi.get(self, "disk_space_used")
|
|
182
185
|
|
|
@@ -196,6 +199,14 @@ class GetMySqlResult:
|
|
|
196
199
|
"""
|
|
197
200
|
return pulumi.get(self, "maintenance_window_dow")
|
|
198
201
|
|
|
202
|
+
@_builtins.property
|
|
203
|
+
@pulumi.getter(name="maintenanceWindowEnabled")
|
|
204
|
+
def maintenance_window_enabled(self) -> _builtins.bool:
|
|
205
|
+
"""
|
|
206
|
+
Indicates whether the maintenance window is currently enabled for this service.
|
|
207
|
+
"""
|
|
208
|
+
return pulumi.get(self, "maintenance_window_enabled")
|
|
209
|
+
|
|
199
210
|
@_builtins.property
|
|
200
211
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
201
212
|
def maintenance_window_time(self) -> _builtins.str:
|
|
@@ -362,6 +373,7 @@ class AwaitableGetMySqlResult(GetMySqlResult):
|
|
|
362
373
|
disk_space_used=self.disk_space_used,
|
|
363
374
|
id=self.id,
|
|
364
375
|
maintenance_window_dow=self.maintenance_window_dow,
|
|
376
|
+
maintenance_window_enabled=self.maintenance_window_enabled,
|
|
365
377
|
maintenance_window_time=self.maintenance_window_time,
|
|
366
378
|
mysql_user_configs=self.mysql_user_configs,
|
|
367
379
|
mysqls=self.mysqls,
|
|
@@ -420,6 +432,7 @@ def get_my_sql(project: Optional[_builtins.str] = None,
|
|
|
420
432
|
disk_space_used=pulumi.get(__ret__, 'disk_space_used'),
|
|
421
433
|
id=pulumi.get(__ret__, 'id'),
|
|
422
434
|
maintenance_window_dow=pulumi.get(__ret__, 'maintenance_window_dow'),
|
|
435
|
+
maintenance_window_enabled=pulumi.get(__ret__, 'maintenance_window_enabled'),
|
|
423
436
|
maintenance_window_time=pulumi.get(__ret__, 'maintenance_window_time'),
|
|
424
437
|
mysql_user_configs=pulumi.get(__ret__, 'mysql_user_configs'),
|
|
425
438
|
mysqls=pulumi.get(__ret__, 'mysqls'),
|
|
@@ -475,6 +488,7 @@ def get_my_sql_output(project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
475
488
|
disk_space_used=pulumi.get(__response__, 'disk_space_used'),
|
|
476
489
|
id=pulumi.get(__response__, 'id'),
|
|
477
490
|
maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
|
|
491
|
+
maintenance_window_enabled=pulumi.get(__response__, 'maintenance_window_enabled'),
|
|
478
492
|
maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
|
|
479
493
|
mysql_user_configs=pulumi.get(__response__, 'mysql_user_configs'),
|
|
480
494
|
mysqls=pulumi.get(__response__, 'mysqls'),
|
pulumi_aiven/get_mysql_user.py
CHANGED
|
@@ -91,7 +91,7 @@ class GetMysqlUserResult:
|
|
|
91
91
|
@pulumi.getter
|
|
92
92
|
def password(self) -> _builtins.str:
|
|
93
93
|
"""
|
|
94
|
-
The password of the
|
|
94
|
+
The password of the service user (auto-generated if not provided). Must be 8-256 characters if specified.
|
|
95
95
|
"""
|
|
96
96
|
return pulumi.get(self, "password")
|
|
97
97
|
|
pulumi_aiven/get_open_search.py
CHANGED
|
@@ -27,7 +27,7 @@ class GetOpenSearchResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getOpenSearch.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, additional_disk_space=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, maintenance_window_dow=None, maintenance_window_time=None, opensearch_user_configs=None, opensearches=None, plan=None, project=None, project_vpc_id=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
|
|
30
|
+
def __init__(__self__, additional_disk_space=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, maintenance_window_dow=None, maintenance_window_enabled=None, maintenance_window_time=None, opensearch_user_configs=None, opensearches=None, plan=None, project=None, project_vpc_id=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
|
|
31
31
|
if additional_disk_space and not isinstance(additional_disk_space, str):
|
|
32
32
|
raise TypeError("Expected argument 'additional_disk_space' to be a str")
|
|
33
33
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -58,6 +58,9 @@ class GetOpenSearchResult:
|
|
|
58
58
|
if maintenance_window_dow and not isinstance(maintenance_window_dow, str):
|
|
59
59
|
raise TypeError("Expected argument 'maintenance_window_dow' to be a str")
|
|
60
60
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
61
|
+
if maintenance_window_enabled and not isinstance(maintenance_window_enabled, bool):
|
|
62
|
+
raise TypeError("Expected argument 'maintenance_window_enabled' to be a bool")
|
|
63
|
+
pulumi.set(__self__, "maintenance_window_enabled", maintenance_window_enabled)
|
|
61
64
|
if maintenance_window_time and not isinstance(maintenance_window_time, str):
|
|
62
65
|
raise TypeError("Expected argument 'maintenance_window_time' to be a str")
|
|
63
66
|
pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
|
|
@@ -144,7 +147,7 @@ class GetOpenSearchResult:
|
|
|
144
147
|
@pulumi.getter(name="diskSpace")
|
|
145
148
|
def disk_space(self) -> _builtins.str:
|
|
146
149
|
"""
|
|
147
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
150
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
148
151
|
"""
|
|
149
152
|
return pulumi.get(self, "disk_space")
|
|
150
153
|
|
|
@@ -176,7 +179,7 @@ class GetOpenSearchResult:
|
|
|
176
179
|
@pulumi.getter(name="diskSpaceUsed")
|
|
177
180
|
def disk_space_used(self) -> _builtins.str:
|
|
178
181
|
"""
|
|
179
|
-
|
|
182
|
+
The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
180
183
|
"""
|
|
181
184
|
return pulumi.get(self, "disk_space_used")
|
|
182
185
|
|
|
@@ -196,6 +199,14 @@ class GetOpenSearchResult:
|
|
|
196
199
|
"""
|
|
197
200
|
return pulumi.get(self, "maintenance_window_dow")
|
|
198
201
|
|
|
202
|
+
@_builtins.property
|
|
203
|
+
@pulumi.getter(name="maintenanceWindowEnabled")
|
|
204
|
+
def maintenance_window_enabled(self) -> _builtins.bool:
|
|
205
|
+
"""
|
|
206
|
+
Indicates whether the maintenance window is currently enabled for this service.
|
|
207
|
+
"""
|
|
208
|
+
return pulumi.get(self, "maintenance_window_enabled")
|
|
209
|
+
|
|
199
210
|
@_builtins.property
|
|
200
211
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
201
212
|
def maintenance_window_time(self) -> _builtins.str:
|
|
@@ -362,6 +373,7 @@ class AwaitableGetOpenSearchResult(GetOpenSearchResult):
|
|
|
362
373
|
disk_space_used=self.disk_space_used,
|
|
363
374
|
id=self.id,
|
|
364
375
|
maintenance_window_dow=self.maintenance_window_dow,
|
|
376
|
+
maintenance_window_enabled=self.maintenance_window_enabled,
|
|
365
377
|
maintenance_window_time=self.maintenance_window_time,
|
|
366
378
|
opensearch_user_configs=self.opensearch_user_configs,
|
|
367
379
|
opensearches=self.opensearches,
|
|
@@ -420,6 +432,7 @@ def get_open_search(project: Optional[_builtins.str] = None,
|
|
|
420
432
|
disk_space_used=pulumi.get(__ret__, 'disk_space_used'),
|
|
421
433
|
id=pulumi.get(__ret__, 'id'),
|
|
422
434
|
maintenance_window_dow=pulumi.get(__ret__, 'maintenance_window_dow'),
|
|
435
|
+
maintenance_window_enabled=pulumi.get(__ret__, 'maintenance_window_enabled'),
|
|
423
436
|
maintenance_window_time=pulumi.get(__ret__, 'maintenance_window_time'),
|
|
424
437
|
opensearch_user_configs=pulumi.get(__ret__, 'opensearch_user_configs'),
|
|
425
438
|
opensearches=pulumi.get(__ret__, 'opensearches'),
|
|
@@ -475,6 +488,7 @@ def get_open_search_output(project: Optional[pulumi.Input[_builtins.str]] = None
|
|
|
475
488
|
disk_space_used=pulumi.get(__response__, 'disk_space_used'),
|
|
476
489
|
id=pulumi.get(__response__, 'id'),
|
|
477
490
|
maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
|
|
491
|
+
maintenance_window_enabled=pulumi.get(__response__, 'maintenance_window_enabled'),
|
|
478
492
|
maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
|
|
479
493
|
opensearch_user_configs=pulumi.get(__response__, 'opensearch_user_configs'),
|
|
480
494
|
opensearches=pulumi.get(__response__, 'opensearches'),
|
|
@@ -58,7 +58,7 @@ class GetOpensearchUserResult:
|
|
|
58
58
|
@pulumi.getter
|
|
59
59
|
def password(self) -> _builtins.str:
|
|
60
60
|
"""
|
|
61
|
-
The
|
|
61
|
+
The password of the service user (auto-generated if not provided). Must be 8-256 characters if specified.
|
|
62
62
|
"""
|
|
63
63
|
return pulumi.get(self, "password")
|
|
64
64
|
|
pulumi_aiven/get_organization.py
CHANGED
|
@@ -77,7 +77,7 @@ class GetOrganizationResult:
|
|
|
77
77
|
@_utilities.deprecated("""This field is deprecated and will be removed in the next major release.""")
|
|
78
78
|
def tenant_id(self) -> _builtins.str:
|
|
79
79
|
"""
|
|
80
|
-
Tenant identifier.
|
|
80
|
+
Tenant identifier. **Deprecated**: This field is deprecated and will be removed in the next major release.
|
|
81
81
|
"""
|
|
82
82
|
return pulumi.get(self, "tenant_id")
|
|
83
83
|
|
|
@@ -110,7 +110,7 @@ class GetOrganizationAddressResult:
|
|
|
110
110
|
@pulumi.getter
|
|
111
111
|
def id(self) -> _builtins.str:
|
|
112
112
|
"""
|
|
113
|
-
Resource ID
|
|
113
|
+
Resource ID composed as: `organization_id/address_id`.
|
|
114
114
|
"""
|
|
115
115
|
return pulumi.get(self, "id")
|
|
116
116
|
|
|
@@ -13,6 +13,8 @@ if sys.version_info >= (3, 11):
|
|
|
13
13
|
else:
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
15
|
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
16
18
|
|
|
17
19
|
__all__ = [
|
|
18
20
|
'GetOrganizationApplicationUserResult',
|
|
@@ -26,7 +28,7 @@ class GetOrganizationApplicationUserResult:
|
|
|
26
28
|
"""
|
|
27
29
|
A collection of values returned by getOrganizationApplicationUser.
|
|
28
30
|
"""
|
|
29
|
-
def __init__(__self__, email=None, id=None, is_super_admin=None, name=None, organization_id=None, user_id=None):
|
|
31
|
+
def __init__(__self__, email=None, id=None, is_super_admin=None, name=None, organization_id=None, timeouts=None, user_id=None):
|
|
30
32
|
if email and not isinstance(email, str):
|
|
31
33
|
raise TypeError("Expected argument 'email' to be a str")
|
|
32
34
|
pulumi.set(__self__, "email", email)
|
|
@@ -42,6 +44,9 @@ class GetOrganizationApplicationUserResult:
|
|
|
42
44
|
if organization_id and not isinstance(organization_id, str):
|
|
43
45
|
raise TypeError("Expected argument 'organization_id' to be a str")
|
|
44
46
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
47
|
+
if timeouts and not isinstance(timeouts, dict):
|
|
48
|
+
raise TypeError("Expected argument 'timeouts' to be a dict")
|
|
49
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
45
50
|
if user_id and not isinstance(user_id, str):
|
|
46
51
|
raise TypeError("Expected argument 'user_id' to be a str")
|
|
47
52
|
pulumi.set(__self__, "user_id", user_id)
|
|
@@ -50,7 +55,7 @@ class GetOrganizationApplicationUserResult:
|
|
|
50
55
|
@pulumi.getter
|
|
51
56
|
def email(self) -> _builtins.str:
|
|
52
57
|
"""
|
|
53
|
-
|
|
58
|
+
User Email.
|
|
54
59
|
"""
|
|
55
60
|
return pulumi.get(self, "email")
|
|
56
61
|
|
|
@@ -58,15 +63,16 @@ class GetOrganizationApplicationUserResult:
|
|
|
58
63
|
@pulumi.getter
|
|
59
64
|
def id(self) -> _builtins.str:
|
|
60
65
|
"""
|
|
61
|
-
|
|
66
|
+
Resource ID composed as: `organization_id/user_id`.
|
|
62
67
|
"""
|
|
63
68
|
return pulumi.get(self, "id")
|
|
64
69
|
|
|
65
70
|
@_builtins.property
|
|
66
71
|
@pulumi.getter(name="isSuperAdmin")
|
|
72
|
+
@_utilities.deprecated("""This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the `OrganizationPermission` resource.""")
|
|
67
73
|
def is_super_admin(self) -> _builtins.bool:
|
|
68
74
|
"""
|
|
69
|
-
|
|
75
|
+
Alters super admin state of the organization application user. The default value is `false`. **Deprecated**: This field is no longer accepted by the API. For administrative tasks, assign application users the organization admin role instead using the `OrganizationPermission` resource.
|
|
70
76
|
"""
|
|
71
77
|
return pulumi.get(self, "is_super_admin")
|
|
72
78
|
|
|
@@ -74,7 +80,7 @@ class GetOrganizationApplicationUserResult:
|
|
|
74
80
|
@pulumi.getter
|
|
75
81
|
def name(self) -> _builtins.str:
|
|
76
82
|
"""
|
|
77
|
-
Name
|
|
83
|
+
Name.
|
|
78
84
|
"""
|
|
79
85
|
return pulumi.get(self, "name")
|
|
80
86
|
|
|
@@ -82,15 +88,20 @@ class GetOrganizationApplicationUserResult:
|
|
|
82
88
|
@pulumi.getter(name="organizationId")
|
|
83
89
|
def organization_id(self) -> _builtins.str:
|
|
84
90
|
"""
|
|
85
|
-
|
|
91
|
+
ID of an organization.
|
|
86
92
|
"""
|
|
87
93
|
return pulumi.get(self, "organization_id")
|
|
88
94
|
|
|
95
|
+
@_builtins.property
|
|
96
|
+
@pulumi.getter
|
|
97
|
+
def timeouts(self) -> Optional['outputs.GetOrganizationApplicationUserTimeoutsResult']:
|
|
98
|
+
return pulumi.get(self, "timeouts")
|
|
99
|
+
|
|
89
100
|
@_builtins.property
|
|
90
101
|
@pulumi.getter(name="userId")
|
|
91
102
|
def user_id(self) -> _builtins.str:
|
|
92
103
|
"""
|
|
93
|
-
|
|
104
|
+
User ID.
|
|
94
105
|
"""
|
|
95
106
|
return pulumi.get(self, "user_id")
|
|
96
107
|
|
|
@@ -106,21 +117,24 @@ class AwaitableGetOrganizationApplicationUserResult(GetOrganizationApplicationUs
|
|
|
106
117
|
is_super_admin=self.is_super_admin,
|
|
107
118
|
name=self.name,
|
|
108
119
|
organization_id=self.organization_id,
|
|
120
|
+
timeouts=self.timeouts,
|
|
109
121
|
user_id=self.user_id)
|
|
110
122
|
|
|
111
123
|
|
|
112
124
|
def get_organization_application_user(organization_id: Optional[_builtins.str] = None,
|
|
125
|
+
timeouts: Optional[Union['GetOrganizationApplicationUserTimeoutsArgs', 'GetOrganizationApplicationUserTimeoutsArgsDict']] = None,
|
|
113
126
|
user_id: Optional[_builtins.str] = None,
|
|
114
127
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationApplicationUserResult:
|
|
115
128
|
"""
|
|
116
129
|
Gets information about an application user.
|
|
117
130
|
|
|
118
131
|
|
|
119
|
-
:param _builtins.str organization_id:
|
|
120
|
-
:param _builtins.str user_id:
|
|
132
|
+
:param _builtins.str organization_id: ID of an organization.
|
|
133
|
+
:param _builtins.str user_id: User ID.
|
|
121
134
|
"""
|
|
122
135
|
__args__ = dict()
|
|
123
136
|
__args__['organizationId'] = organization_id
|
|
137
|
+
__args__['timeouts'] = timeouts
|
|
124
138
|
__args__['userId'] = user_id
|
|
125
139
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
126
140
|
__ret__ = pulumi.runtime.invoke('aiven:index/getOrganizationApplicationUser:getOrganizationApplicationUser', __args__, opts=opts, typ=GetOrganizationApplicationUserResult).value
|
|
@@ -131,19 +145,22 @@ def get_organization_application_user(organization_id: Optional[_builtins.str] =
|
|
|
131
145
|
is_super_admin=pulumi.get(__ret__, 'is_super_admin'),
|
|
132
146
|
name=pulumi.get(__ret__, 'name'),
|
|
133
147
|
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
148
|
+
timeouts=pulumi.get(__ret__, 'timeouts'),
|
|
134
149
|
user_id=pulumi.get(__ret__, 'user_id'))
|
|
135
150
|
def get_organization_application_user_output(organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
151
|
+
timeouts: Optional[pulumi.Input[Optional[Union['GetOrganizationApplicationUserTimeoutsArgs', 'GetOrganizationApplicationUserTimeoutsArgsDict']]]] = None,
|
|
136
152
|
user_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
137
153
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationApplicationUserResult]:
|
|
138
154
|
"""
|
|
139
155
|
Gets information about an application user.
|
|
140
156
|
|
|
141
157
|
|
|
142
|
-
:param _builtins.str organization_id:
|
|
143
|
-
:param _builtins.str user_id:
|
|
158
|
+
:param _builtins.str organization_id: ID of an organization.
|
|
159
|
+
:param _builtins.str user_id: User ID.
|
|
144
160
|
"""
|
|
145
161
|
__args__ = dict()
|
|
146
162
|
__args__['organizationId'] = organization_id
|
|
163
|
+
__args__['timeouts'] = timeouts
|
|
147
164
|
__args__['userId'] = user_id
|
|
148
165
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
149
166
|
__ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganizationApplicationUser:getOrganizationApplicationUser', __args__, opts=opts, typ=GetOrganizationApplicationUserResult)
|
|
@@ -153,4 +170,5 @@ def get_organization_application_user_output(organization_id: Optional[pulumi.In
|
|
|
153
170
|
is_super_admin=pulumi.get(__response__, 'is_super_admin'),
|
|
154
171
|
name=pulumi.get(__response__, 'name'),
|
|
155
172
|
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
173
|
+
timeouts=pulumi.get(__response__, 'timeouts'),
|
|
156
174
|
user_id=pulumi.get(__response__, 'user_id')))
|
|
@@ -81,7 +81,7 @@ class GetOrganizationBillingGroupResult:
|
|
|
81
81
|
@pulumi.getter(name="billingContactEmails")
|
|
82
82
|
def billing_contact_emails(self) -> Sequence[_builtins.str]:
|
|
83
83
|
"""
|
|
84
|
-
|
|
84
|
+
Aiven contacts these email addresses when there are billing issues or questions.
|
|
85
85
|
"""
|
|
86
86
|
return pulumi.get(self, "billing_contact_emails")
|
|
87
87
|
|
|
@@ -89,7 +89,7 @@ class GetOrganizationBillingGroupResult:
|
|
|
89
89
|
@pulumi.getter(name="billingEmails")
|
|
90
90
|
def billing_emails(self) -> Sequence[_builtins.str]:
|
|
91
91
|
"""
|
|
92
|
-
|
|
92
|
+
PDF invoices are sent to these email addresses.
|
|
93
93
|
"""
|
|
94
94
|
return pulumi.get(self, "billing_emails")
|
|
95
95
|
|
|
@@ -129,7 +129,7 @@ class GetOrganizationBillingGroupResult:
|
|
|
129
129
|
@pulumi.getter
|
|
130
130
|
def id(self) -> _builtins.str:
|
|
131
131
|
"""
|
|
132
|
-
Resource ID
|
|
132
|
+
Resource ID composed as: `organization_id/billing_group_id`.
|
|
133
133
|
"""
|
|
134
134
|
return pulumi.get(self, "id")
|
|
135
135
|
|
|
@@ -64,7 +64,7 @@ class GetOrganizationProjectResult:
|
|
|
64
64
|
@pulumi.getter(name="basePort")
|
|
65
65
|
def base_port(self) -> _builtins.int:
|
|
66
66
|
"""
|
|
67
|
-
Valid port number (
|
|
67
|
+
Valid port number (10000-30000) to use as a base for service port allocation.
|
|
68
68
|
"""
|
|
69
69
|
return pulumi.get(self, "base_port")
|
|
70
70
|
|
|
@@ -88,7 +88,7 @@ class GetOrganizationProjectResult:
|
|
|
88
88
|
@pulumi.getter
|
|
89
89
|
def id(self) -> _builtins.str:
|
|
90
90
|
"""
|
|
91
|
-
Resource ID
|
|
91
|
+
Resource ID composed as: `organization_id/project_id`.
|
|
92
92
|
"""
|
|
93
93
|
return pulumi.get(self, "id")
|
|
94
94
|
|
|
@@ -164,9 +164,6 @@ def get_organization_project(organization_id: Optional[_builtins.str] = None,
|
|
|
164
164
|
"""
|
|
165
165
|
Gets information about an Aiven project.
|
|
166
166
|
|
|
167
|
-
**This resource is in the beta stage and may change without notice.** Set
|
|
168
|
-
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
169
|
-
|
|
170
167
|
## Example Usage
|
|
171
168
|
|
|
172
169
|
```python
|
|
@@ -209,9 +206,6 @@ def get_organization_project_output(organization_id: Optional[pulumi.Input[_buil
|
|
|
209
206
|
"""
|
|
210
207
|
Gets information about an Aiven project.
|
|
211
208
|
|
|
212
|
-
**This resource is in the beta stage and may change without notice.** Set
|
|
213
|
-
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
214
|
-
|
|
215
209
|
## Example Usage
|
|
216
210
|
|
|
217
211
|
```python
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
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
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'GetOrganizationUserGroupListResult',
|
|
21
|
+
'AwaitableGetOrganizationUserGroupListResult',
|
|
22
|
+
'get_organization_user_group_list',
|
|
23
|
+
'get_organization_user_group_list_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetOrganizationUserGroupListResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getOrganizationUserGroupList.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, id=None, organization_id=None, timeouts=None, user_groups=None):
|
|
32
|
+
if id and not isinstance(id, str):
|
|
33
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
34
|
+
pulumi.set(__self__, "id", id)
|
|
35
|
+
if organization_id and not isinstance(organization_id, str):
|
|
36
|
+
raise TypeError("Expected argument 'organization_id' to be a str")
|
|
37
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
38
|
+
if timeouts and not isinstance(timeouts, dict):
|
|
39
|
+
raise TypeError("Expected argument 'timeouts' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
41
|
+
if user_groups and not isinstance(user_groups, list):
|
|
42
|
+
raise TypeError("Expected argument 'user_groups' to be a list")
|
|
43
|
+
pulumi.set(__self__, "user_groups", user_groups)
|
|
44
|
+
|
|
45
|
+
@_builtins.property
|
|
46
|
+
@pulumi.getter
|
|
47
|
+
def id(self) -> _builtins.str:
|
|
48
|
+
"""
|
|
49
|
+
Resource ID, equal to `organization_id`.
|
|
50
|
+
"""
|
|
51
|
+
return pulumi.get(self, "id")
|
|
52
|
+
|
|
53
|
+
@_builtins.property
|
|
54
|
+
@pulumi.getter(name="organizationId")
|
|
55
|
+
def organization_id(self) -> _builtins.str:
|
|
56
|
+
"""
|
|
57
|
+
ID of an organization.
|
|
58
|
+
"""
|
|
59
|
+
return pulumi.get(self, "organization_id")
|
|
60
|
+
|
|
61
|
+
@_builtins.property
|
|
62
|
+
@pulumi.getter
|
|
63
|
+
def timeouts(self) -> Optional['outputs.GetOrganizationUserGroupListTimeoutsResult']:
|
|
64
|
+
return pulumi.get(self, "timeouts")
|
|
65
|
+
|
|
66
|
+
@_builtins.property
|
|
67
|
+
@pulumi.getter(name="userGroups")
|
|
68
|
+
def user_groups(self) -> Optional[Sequence['outputs.GetOrganizationUserGroupListUserGroupResult']]:
|
|
69
|
+
"""
|
|
70
|
+
User Groups.
|
|
71
|
+
"""
|
|
72
|
+
return pulumi.get(self, "user_groups")
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
class AwaitableGetOrganizationUserGroupListResult(GetOrganizationUserGroupListResult):
|
|
76
|
+
# pylint: disable=using-constant-test
|
|
77
|
+
def __await__(self):
|
|
78
|
+
if False:
|
|
79
|
+
yield self
|
|
80
|
+
return GetOrganizationUserGroupListResult(
|
|
81
|
+
id=self.id,
|
|
82
|
+
organization_id=self.organization_id,
|
|
83
|
+
timeouts=self.timeouts,
|
|
84
|
+
user_groups=self.user_groups)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
def get_organization_user_group_list(organization_id: Optional[_builtins.str] = None,
|
|
88
|
+
timeouts: Optional[Union['GetOrganizationUserGroupListTimeoutsArgs', 'GetOrganizationUserGroupListTimeoutsArgsDict']] = None,
|
|
89
|
+
user_groups: Optional[Sequence[Union['GetOrganizationUserGroupListUserGroupArgs', 'GetOrganizationUserGroupListUserGroupArgsDict']]] = None,
|
|
90
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationUserGroupListResult:
|
|
91
|
+
"""
|
|
92
|
+
List all user groups within an organization.
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
:param _builtins.str organization_id: ID of an organization.
|
|
96
|
+
:param Sequence[Union['GetOrganizationUserGroupListUserGroupArgs', 'GetOrganizationUserGroupListUserGroupArgsDict']] user_groups: User Groups.
|
|
97
|
+
"""
|
|
98
|
+
__args__ = dict()
|
|
99
|
+
__args__['organizationId'] = organization_id
|
|
100
|
+
__args__['timeouts'] = timeouts
|
|
101
|
+
__args__['userGroups'] = user_groups
|
|
102
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
103
|
+
__ret__ = pulumi.runtime.invoke('aiven:index/getOrganizationUserGroupList:getOrganizationUserGroupList', __args__, opts=opts, typ=GetOrganizationUserGroupListResult).value
|
|
104
|
+
|
|
105
|
+
return AwaitableGetOrganizationUserGroupListResult(
|
|
106
|
+
id=pulumi.get(__ret__, 'id'),
|
|
107
|
+
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
108
|
+
timeouts=pulumi.get(__ret__, 'timeouts'),
|
|
109
|
+
user_groups=pulumi.get(__ret__, 'user_groups'))
|
|
110
|
+
def get_organization_user_group_list_output(organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
111
|
+
timeouts: Optional[pulumi.Input[Optional[Union['GetOrganizationUserGroupListTimeoutsArgs', 'GetOrganizationUserGroupListTimeoutsArgsDict']]]] = None,
|
|
112
|
+
user_groups: Optional[pulumi.Input[Optional[Sequence[Union['GetOrganizationUserGroupListUserGroupArgs', 'GetOrganizationUserGroupListUserGroupArgsDict']]]]] = None,
|
|
113
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationUserGroupListResult]:
|
|
114
|
+
"""
|
|
115
|
+
List all user groups within an organization.
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
:param _builtins.str organization_id: ID of an organization.
|
|
119
|
+
:param Sequence[Union['GetOrganizationUserGroupListUserGroupArgs', 'GetOrganizationUserGroupListUserGroupArgsDict']] user_groups: User Groups.
|
|
120
|
+
"""
|
|
121
|
+
__args__ = dict()
|
|
122
|
+
__args__['organizationId'] = organization_id
|
|
123
|
+
__args__['timeouts'] = timeouts
|
|
124
|
+
__args__['userGroups'] = user_groups
|
|
125
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
126
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganizationUserGroupList:getOrganizationUserGroupList', __args__, opts=opts, typ=GetOrganizationUserGroupListResult)
|
|
127
|
+
return __ret__.apply(lambda __response__: GetOrganizationUserGroupListResult(
|
|
128
|
+
id=pulumi.get(__response__, 'id'),
|
|
129
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
130
|
+
timeouts=pulumi.get(__response__, 'timeouts'),
|
|
131
|
+
user_groups=pulumi.get(__response__, 'user_groups')))
|