pulumi-aiven 6.13.0a1709702245__py3-none-any.whl → 6.31.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 +136 -0
- pulumi_aiven/_inputs.py +32960 -13922
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +34 -43
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +37 -12
- pulumi_aiven/account_team_member.py +48 -35
- pulumi_aiven/account_team_project.py +42 -25
- pulumi_aiven/alloydbomni.py +1335 -0
- pulumi_aiven/alloydbomni_database.py +347 -0
- pulumi_aiven/alloydbomni_user.py +433 -0
- pulumi_aiven/aws_privatelink.py +44 -39
- pulumi_aiven/aws_vpc_peering_connection.py +72 -57
- pulumi_aiven/azure_privatelink.py +54 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -73
- pulumi_aiven/billing_group.py +33 -30
- pulumi_aiven/cassandra.py +145 -122
- pulumi_aiven/cassandra_user.py +59 -54
- pulumi_aiven/clickhouse.py +133 -110
- pulumi_aiven/clickhouse_database.py +58 -58
- pulumi_aiven/clickhouse_grant.py +135 -130
- pulumi_aiven/clickhouse_role.py +36 -45
- pulumi_aiven/clickhouse_user.py +50 -45
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -62
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -100
- pulumi_aiven/flink_application.py +58 -51
- pulumi_aiven/flink_application_deployment.py +178 -73
- pulumi_aiven/flink_application_version.py +179 -96
- pulumi_aiven/gcp_privatelink.py +69 -42
- pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
- pulumi_aiven/gcp_vpc_peering_connection.py +49 -44
- pulumi_aiven/get_account.py +20 -5
- pulumi_aiven/get_account_authentication.py +31 -5
- pulumi_aiven/get_account_team.py +18 -5
- pulumi_aiven/get_account_team_member.py +29 -14
- pulumi_aiven/get_account_team_project.py +19 -6
- pulumi_aiven/get_alloydbomni.py +499 -0
- pulumi_aiven/get_alloydbomni_database.py +168 -0
- pulumi_aiven/get_alloydbomni_user.py +210 -0
- pulumi_aiven/get_aws_privatelink.py +33 -20
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -29
- pulumi_aiven/get_azure_privatelink.py +37 -22
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -19
- pulumi_aiven/get_cassandra.py +55 -19
- pulumi_aiven/get_cassandra_user.py +42 -26
- pulumi_aiven/get_clickhouse.py +55 -19
- pulumi_aiven/get_clickhouse_database.py +35 -22
- pulumi_aiven/get_clickhouse_user.py +40 -25
- pulumi_aiven/get_connection_pool.py +43 -26
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -19
- pulumi_aiven/get_flink_application.py +44 -27
- pulumi_aiven/get_flink_application_version.py +55 -33
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -24
- pulumi_aiven/get_grafana.py +55 -19
- pulumi_aiven/get_influx_db.py +41 -5
- pulumi_aiven/get_influxdb_database.py +18 -5
- pulumi_aiven/get_influxdb_user.py +21 -5
- pulumi_aiven/get_kafka.py +59 -21
- pulumi_aiven/get_kafka_acl.py +50 -33
- pulumi_aiven/get_kafka_connect.py +54 -32
- pulumi_aiven/get_kafka_connector.py +44 -24
- pulumi_aiven/get_kafka_mirror_maker.py +50 -28
- pulumi_aiven/get_kafka_schema.py +35 -19
- pulumi_aiven/get_kafka_schema_configuration.py +32 -17
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -25
- pulumi_aiven/get_kafka_user.py +42 -26
- pulumi_aiven/get_m3_aggregator.py +51 -15
- pulumi_aiven/get_m3_db.py +55 -19
- pulumi_aiven/get_m3db_user.py +38 -24
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -21
- pulumi_aiven/get_my_sql.py +50 -14
- pulumi_aiven/get_mysql_database.py +31 -18
- pulumi_aiven/get_mysql_user.py +36 -19
- pulumi_aiven/get_open_search.py +50 -14
- pulumi_aiven/get_open_search_acl_config.py +27 -15
- pulumi_aiven/get_open_search_acl_rule.py +37 -21
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -15
- pulumi_aiven/get_opensearch_user.py +32 -18
- pulumi_aiven/get_organization.py +25 -13
- pulumi_aiven/get_organization_application_user.py +176 -0
- pulumi_aiven/get_organization_user.py +18 -5
- pulumi_aiven/get_organization_user_group.py +48 -14
- pulumi_aiven/get_organization_user_list.py +121 -0
- pulumi_aiven/get_organizational_unit.py +26 -14
- pulumi_aiven/get_pg.py +55 -19
- pulumi_aiven/get_pg_database.py +39 -24
- pulumi_aiven/get_pg_user.py +44 -27
- pulumi_aiven/get_project.py +43 -22
- pulumi_aiven/get_project_user.py +27 -15
- pulumi_aiven/get_project_vpc.py +31 -19
- pulumi_aiven/get_redis.py +50 -14
- pulumi_aiven/get_redis_user.py +40 -22
- pulumi_aiven/get_service_component.py +40 -18
- pulumi_aiven/get_service_integration.py +163 -49
- pulumi_aiven/get_service_integration_endpoint.py +128 -33
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -18
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -318
- pulumi_aiven/influx_db.py +127 -90
- pulumi_aiven/influxdb_database.py +40 -55
- pulumi_aiven/influxdb_user.py +47 -42
- pulumi_aiven/kafka.py +157 -140
- pulumi_aiven/kafka_acl.py +64 -53
- pulumi_aiven/kafka_connect.py +201 -328
- pulumi_aiven/kafka_connector.py +67 -56
- pulumi_aiven/kafka_mirror_maker.py +139 -318
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_quota.py +604 -0
- pulumi_aiven/kafka_schema.py +65 -56
- pulumi_aiven/kafka_schema_configuration.py +25 -20
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -54
- pulumi_aiven/m3_aggregator.py +176 -308
- pulumi_aiven/m3_db.py +190 -322
- pulumi_aiven/m3db_user.py +51 -46
- pulumi_aiven/mirror_maker_replication_flow.py +217 -53
- pulumi_aiven/my_sql.py +190 -322
- pulumi_aiven/mysql_database.py +32 -47
- pulumi_aiven/mysql_user.py +37 -32
- pulumi_aiven/open_search.py +128 -105
- pulumi_aiven/open_search_acl_config.py +33 -32
- pulumi_aiven/open_search_acl_rule.py +55 -50
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -25
- pulumi_aiven/organization.py +18 -13
- pulumi_aiven/organization_application_user.py +345 -0
- pulumi_aiven/organization_application_user_token.py +711 -0
- pulumi_aiven/organization_group_project.py +349 -0
- pulumi_aiven/organization_permission.py +421 -0
- pulumi_aiven/organization_user.py +25 -46
- pulumi_aiven/organization_user_group.py +64 -23
- pulumi_aiven/organization_user_group_member.py +359 -0
- pulumi_aiven/organizational_unit.py +41 -32
- pulumi_aiven/outputs.py +38714 -21632
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -67
- pulumi_aiven/pg_user.py +80 -61
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -31
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +163 -295
- pulumi_aiven/redis_user.py +58 -53
- pulumi_aiven/service_integration.py +511 -161
- pulumi_aiven/service_integration_endpoint.py +466 -158
- pulumi_aiven/static_ip.py +21 -16
- pulumi_aiven/thanos.py +1262 -0
- pulumi_aiven/transit_gateway_vpc_attachment.py +44 -54
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0.dist-info/RECORD +170 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/top_level.txt +0 -0
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -53,7 +58,7 @@ class GetOpenSearchAclRuleResult:
|
|
|
53
58
|
@pulumi.getter
|
|
54
59
|
def index(self) -> str:
|
|
55
60
|
"""
|
|
56
|
-
The index pattern for this ACL entry. Maximum length: `249`.
|
|
61
|
+
The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
|
|
57
62
|
"""
|
|
58
63
|
return pulumi.get(self, "index")
|
|
59
64
|
|
|
@@ -69,7 +74,7 @@ class GetOpenSearchAclRuleResult:
|
|
|
69
74
|
@pulumi.getter
|
|
70
75
|
def project(self) -> str:
|
|
71
76
|
"""
|
|
72
|
-
|
|
77
|
+
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.
|
|
73
78
|
"""
|
|
74
79
|
return pulumi.get(self, "project")
|
|
75
80
|
|
|
@@ -77,7 +82,7 @@ class GetOpenSearchAclRuleResult:
|
|
|
77
82
|
@pulumi.getter(name="serviceName")
|
|
78
83
|
def service_name(self) -> str:
|
|
79
84
|
"""
|
|
80
|
-
|
|
85
|
+
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.
|
|
81
86
|
"""
|
|
82
87
|
return pulumi.get(self, "service_name")
|
|
83
88
|
|
|
@@ -85,7 +90,7 @@ class GetOpenSearchAclRuleResult:
|
|
|
85
90
|
@pulumi.getter
|
|
86
91
|
def username(self) -> str:
|
|
87
92
|
"""
|
|
88
|
-
The username for the ACL entry. Maximum length: `40`. To set up proper dependencies please refer to this variable as a reference.
|
|
93
|
+
The username for the ACL entry. Maximum length: `40`. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
89
94
|
"""
|
|
90
95
|
return pulumi.get(self, "username")
|
|
91
96
|
|
|
@@ -119,18 +124,18 @@ def get_open_search_acl_rule(index: Optional[str] = None,
|
|
|
119
124
|
import pulumi
|
|
120
125
|
import pulumi_aiven as aiven
|
|
121
126
|
|
|
122
|
-
os_acl_rule = aiven.get_open_search_acl_rule(project=
|
|
123
|
-
service_name=
|
|
127
|
+
os_acl_rule = aiven.get_open_search_acl_rule(project=os_acls_config["project"],
|
|
128
|
+
service_name=os_acls_config["serviceName"],
|
|
124
129
|
username="<USERNAME>",
|
|
125
130
|
index="<INDEX>")
|
|
126
131
|
```
|
|
127
132
|
|
|
128
133
|
|
|
129
|
-
:param str index: The index pattern for this ACL entry. Maximum length: `249`.
|
|
134
|
+
:param str index: The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
|
|
130
135
|
:param str permission: The permissions for this ACL entry. The possible values are `deny`, `admin`, `read`, `readwrite` and `write`.
|
|
131
|
-
:param str project:
|
|
132
|
-
:param str service_name:
|
|
133
|
-
:param str username: The username for the ACL entry. Maximum length: `40`. To set up proper dependencies please refer to this variable as a reference.
|
|
136
|
+
:param 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.
|
|
137
|
+
:param 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.
|
|
138
|
+
:param str username: The username for the ACL entry. Maximum length: `40`. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
134
139
|
"""
|
|
135
140
|
__args__ = dict()
|
|
136
141
|
__args__['index'] = index
|
|
@@ -148,15 +153,12 @@ def get_open_search_acl_rule(index: Optional[str] = None,
|
|
|
148
153
|
project=pulumi.get(__ret__, 'project'),
|
|
149
154
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
150
155
|
username=pulumi.get(__ret__, 'username'))
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
@_utilities.lift_output_func(get_open_search_acl_rule)
|
|
154
156
|
def get_open_search_acl_rule_output(index: Optional[pulumi.Input[str]] = None,
|
|
155
157
|
permission: Optional[pulumi.Input[str]] = None,
|
|
156
158
|
project: Optional[pulumi.Input[str]] = None,
|
|
157
159
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
158
160
|
username: Optional[pulumi.Input[str]] = None,
|
|
159
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOpenSearchAclRuleResult]:
|
|
161
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOpenSearchAclRuleResult]:
|
|
160
162
|
"""
|
|
161
163
|
The OpenSearch ACL Rule data source provides information about an existing Aiven OpenSearch ACL Rule.
|
|
162
164
|
|
|
@@ -166,17 +168,31 @@ def get_open_search_acl_rule_output(index: Optional[pulumi.Input[str]] = None,
|
|
|
166
168
|
import pulumi
|
|
167
169
|
import pulumi_aiven as aiven
|
|
168
170
|
|
|
169
|
-
os_acl_rule = aiven.get_open_search_acl_rule(project=
|
|
170
|
-
service_name=
|
|
171
|
+
os_acl_rule = aiven.get_open_search_acl_rule(project=os_acls_config["project"],
|
|
172
|
+
service_name=os_acls_config["serviceName"],
|
|
171
173
|
username="<USERNAME>",
|
|
172
174
|
index="<INDEX>")
|
|
173
175
|
```
|
|
174
176
|
|
|
175
177
|
|
|
176
|
-
:param str index: The index pattern for this ACL entry. Maximum length: `249`.
|
|
178
|
+
:param str index: The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
|
|
177
179
|
:param str permission: The permissions for this ACL entry. The possible values are `deny`, `admin`, `read`, `readwrite` and `write`.
|
|
178
|
-
:param str project:
|
|
179
|
-
:param str service_name:
|
|
180
|
-
:param str username: The username for the ACL entry. Maximum length: `40`. To set up proper dependencies please refer to this variable as a reference.
|
|
180
|
+
:param 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 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 str username: The username for the ACL entry. Maximum length: `40`. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
181
183
|
"""
|
|
182
|
-
|
|
184
|
+
__args__ = dict()
|
|
185
|
+
__args__['index'] = index
|
|
186
|
+
__args__['permission'] = permission
|
|
187
|
+
__args__['project'] = project
|
|
188
|
+
__args__['serviceName'] = service_name
|
|
189
|
+
__args__['username'] = username
|
|
190
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
191
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getOpenSearchAclRule:getOpenSearchAclRule', __args__, opts=opts, typ=GetOpenSearchAclRuleResult)
|
|
192
|
+
return __ret__.apply(lambda __response__: GetOpenSearchAclRuleResult(
|
|
193
|
+
id=pulumi.get(__response__, 'id'),
|
|
194
|
+
index=pulumi.get(__response__, 'index'),
|
|
195
|
+
permission=pulumi.get(__response__, 'permission'),
|
|
196
|
+
project=pulumi.get(__response__, 'project'),
|
|
197
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
198
|
+
username=pulumi.get(__response__, 'username')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -88,7 +93,7 @@ class GetOpensearchSecurityPluginConfigResult:
|
|
|
88
93
|
@pulumi.getter
|
|
89
94
|
def project(self) -> str:
|
|
90
95
|
"""
|
|
91
|
-
|
|
96
|
+
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.
|
|
92
97
|
"""
|
|
93
98
|
return pulumi.get(self, "project")
|
|
94
99
|
|
|
@@ -96,7 +101,7 @@ class GetOpensearchSecurityPluginConfigResult:
|
|
|
96
101
|
@pulumi.getter(name="serviceName")
|
|
97
102
|
def service_name(self) -> str:
|
|
98
103
|
"""
|
|
99
|
-
|
|
104
|
+
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.
|
|
100
105
|
"""
|
|
101
106
|
return pulumi.get(self, "service_name")
|
|
102
107
|
|
|
@@ -128,13 +133,13 @@ def get_opensearch_security_plugin_config(project: Optional[str] = None,
|
|
|
128
133
|
import pulumi
|
|
129
134
|
import pulumi_aiven as aiven
|
|
130
135
|
|
|
131
|
-
os_sec_config = aiven.get_opensearch_security_plugin_config(project=
|
|
132
|
-
service_name=
|
|
136
|
+
os_sec_config = aiven.get_opensearch_security_plugin_config(project=os_project["project"],
|
|
137
|
+
service_name=os["serviceName"])
|
|
133
138
|
```
|
|
134
139
|
|
|
135
140
|
|
|
136
|
-
:param str project:
|
|
137
|
-
:param str service_name:
|
|
141
|
+
:param 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.
|
|
142
|
+
:param 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.
|
|
138
143
|
"""
|
|
139
144
|
__args__ = dict()
|
|
140
145
|
__args__['project'] = project
|
|
@@ -150,12 +155,9 @@ def get_opensearch_security_plugin_config(project: Optional[str] = None,
|
|
|
150
155
|
id=pulumi.get(__ret__, 'id'),
|
|
151
156
|
project=pulumi.get(__ret__, 'project'),
|
|
152
157
|
service_name=pulumi.get(__ret__, 'service_name'))
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
@_utilities.lift_output_func(get_opensearch_security_plugin_config)
|
|
156
158
|
def get_opensearch_security_plugin_config_output(project: Optional[pulumi.Input[str]] = None,
|
|
157
159
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
158
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOpensearchSecurityPluginConfigResult]:
|
|
160
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOpensearchSecurityPluginConfigResult]:
|
|
159
161
|
"""
|
|
160
162
|
The OpenSearch Security Plugin Config data source provides information about an existing Aiven OpenSearch Security Plugin Config.
|
|
161
163
|
|
|
@@ -165,12 +167,24 @@ def get_opensearch_security_plugin_config_output(project: Optional[pulumi.Input[
|
|
|
165
167
|
import pulumi
|
|
166
168
|
import pulumi_aiven as aiven
|
|
167
169
|
|
|
168
|
-
os_sec_config = aiven.get_opensearch_security_plugin_config(project=
|
|
169
|
-
service_name=
|
|
170
|
+
os_sec_config = aiven.get_opensearch_security_plugin_config(project=os_project["project"],
|
|
171
|
+
service_name=os["serviceName"])
|
|
170
172
|
```
|
|
171
173
|
|
|
172
174
|
|
|
173
|
-
:param str project:
|
|
174
|
-
:param str service_name:
|
|
175
|
+
:param 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.
|
|
176
|
+
:param 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.
|
|
175
177
|
"""
|
|
176
|
-
|
|
178
|
+
__args__ = dict()
|
|
179
|
+
__args__['project'] = project
|
|
180
|
+
__args__['serviceName'] = service_name
|
|
181
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
182
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getOpensearchSecurityPluginConfig:getOpensearchSecurityPluginConfig', __args__, opts=opts, typ=GetOpensearchSecurityPluginConfigResult)
|
|
183
|
+
return __ret__.apply(lambda __response__: GetOpensearchSecurityPluginConfigResult(
|
|
184
|
+
admin_enabled=pulumi.get(__response__, 'admin_enabled'),
|
|
185
|
+
admin_password=pulumi.get(__response__, 'admin_password'),
|
|
186
|
+
available=pulumi.get(__response__, 'available'),
|
|
187
|
+
enabled=pulumi.get(__response__, 'enabled'),
|
|
188
|
+
id=pulumi.get(__response__, 'id'),
|
|
189
|
+
project=pulumi.get(__response__, 'project'),
|
|
190
|
+
service_name=pulumi.get(__response__, 'service_name')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -61,7 +66,7 @@ class GetOpensearchUserResult:
|
|
|
61
66
|
@pulumi.getter
|
|
62
67
|
def project(self) -> str:
|
|
63
68
|
"""
|
|
64
|
-
|
|
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.
|
|
65
70
|
"""
|
|
66
71
|
return pulumi.get(self, "project")
|
|
67
72
|
|
|
@@ -69,7 +74,7 @@ class GetOpensearchUserResult:
|
|
|
69
74
|
@pulumi.getter(name="serviceName")
|
|
70
75
|
def service_name(self) -> str:
|
|
71
76
|
"""
|
|
72
|
-
|
|
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.
|
|
73
78
|
"""
|
|
74
79
|
return pulumi.get(self, "service_name")
|
|
75
80
|
|
|
@@ -85,7 +90,7 @@ class GetOpensearchUserResult:
|
|
|
85
90
|
@pulumi.getter
|
|
86
91
|
def username(self) -> str:
|
|
87
92
|
"""
|
|
88
|
-
The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference.
|
|
93
|
+
The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
89
94
|
"""
|
|
90
95
|
return pulumi.get(self, "username")
|
|
91
96
|
|
|
@@ -117,15 +122,15 @@ def get_opensearch_user(project: Optional[str] = None,
|
|
|
117
122
|
import pulumi
|
|
118
123
|
import pulumi_aiven as aiven
|
|
119
124
|
|
|
120
|
-
user = aiven.get_opensearch_user(
|
|
121
|
-
|
|
125
|
+
user = aiven.get_opensearch_user(service_name="my-service",
|
|
126
|
+
project="my-project",
|
|
122
127
|
username="user1")
|
|
123
128
|
```
|
|
124
129
|
|
|
125
130
|
|
|
126
|
-
:param str project:
|
|
127
|
-
:param str service_name:
|
|
128
|
-
:param str username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference.
|
|
131
|
+
:param 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.
|
|
132
|
+
:param 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.
|
|
133
|
+
:param str username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
129
134
|
"""
|
|
130
135
|
__args__ = dict()
|
|
131
136
|
__args__['project'] = project
|
|
@@ -141,13 +146,10 @@ def get_opensearch_user(project: Optional[str] = None,
|
|
|
141
146
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
142
147
|
type=pulumi.get(__ret__, 'type'),
|
|
143
148
|
username=pulumi.get(__ret__, 'username'))
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
@_utilities.lift_output_func(get_opensearch_user)
|
|
147
149
|
def get_opensearch_user_output(project: Optional[pulumi.Input[str]] = None,
|
|
148
150
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
149
151
|
username: Optional[pulumi.Input[str]] = None,
|
|
150
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOpensearchUserResult]:
|
|
152
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOpensearchUserResult]:
|
|
151
153
|
"""
|
|
152
154
|
The OpenSearch User data source provides information about the existing Aiven OpenSearch User.
|
|
153
155
|
|
|
@@ -157,14 +159,26 @@ def get_opensearch_user_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
157
159
|
import pulumi
|
|
158
160
|
import pulumi_aiven as aiven
|
|
159
161
|
|
|
160
|
-
user = aiven.get_opensearch_user(
|
|
161
|
-
|
|
162
|
+
user = aiven.get_opensearch_user(service_name="my-service",
|
|
163
|
+
project="my-project",
|
|
162
164
|
username="user1")
|
|
163
165
|
```
|
|
164
166
|
|
|
165
167
|
|
|
166
|
-
:param str project:
|
|
167
|
-
:param str service_name:
|
|
168
|
-
:param str username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference.
|
|
168
|
+
:param 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.
|
|
169
|
+
:param 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.
|
|
170
|
+
:param str username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
169
171
|
"""
|
|
170
|
-
|
|
172
|
+
__args__ = dict()
|
|
173
|
+
__args__['project'] = project
|
|
174
|
+
__args__['serviceName'] = service_name
|
|
175
|
+
__args__['username'] = username
|
|
176
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
177
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getOpensearchUser:getOpensearchUser', __args__, opts=opts, typ=GetOpensearchUserResult)
|
|
178
|
+
return __ret__.apply(lambda __response__: GetOpensearchUserResult(
|
|
179
|
+
id=pulumi.get(__response__, 'id'),
|
|
180
|
+
password=pulumi.get(__response__, 'password'),
|
|
181
|
+
project=pulumi.get(__response__, 'project'),
|
|
182
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
183
|
+
type=pulumi.get(__response__, 'type'),
|
|
184
|
+
username=pulumi.get(__response__, 'username')))
|
pulumi_aiven/get_organization.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -50,7 +55,7 @@ class GetOrganizationResult:
|
|
|
50
55
|
@pulumi.getter
|
|
51
56
|
def id(self) -> Optional[str]:
|
|
52
57
|
"""
|
|
53
|
-
|
|
58
|
+
ID of the organization.
|
|
54
59
|
"""
|
|
55
60
|
return pulumi.get(self, "id")
|
|
56
61
|
|
|
@@ -66,7 +71,7 @@ class GetOrganizationResult:
|
|
|
66
71
|
@pulumi.getter(name="tenantId")
|
|
67
72
|
def tenant_id(self) -> str:
|
|
68
73
|
"""
|
|
69
|
-
Tenant
|
|
74
|
+
Tenant ID of the organization.
|
|
70
75
|
"""
|
|
71
76
|
return pulumi.get(self, "tenant_id")
|
|
72
77
|
|
|
@@ -96,7 +101,7 @@ def get_organization(id: Optional[str] = None,
|
|
|
96
101
|
name: Optional[str] = None,
|
|
97
102
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationResult:
|
|
98
103
|
"""
|
|
99
|
-
|
|
104
|
+
Gets information about an organization.
|
|
100
105
|
|
|
101
106
|
## Example Usage
|
|
102
107
|
|
|
@@ -104,11 +109,11 @@ def get_organization(id: Optional[str] = None,
|
|
|
104
109
|
import pulumi
|
|
105
110
|
import pulumi_aiven as aiven
|
|
106
111
|
|
|
107
|
-
|
|
112
|
+
main = aiven.get_organization(name="Example organization")
|
|
108
113
|
```
|
|
109
114
|
|
|
110
115
|
|
|
111
|
-
:param str id:
|
|
116
|
+
:param str id: ID of the organization.
|
|
112
117
|
:param str name: Name of the organization.
|
|
113
118
|
"""
|
|
114
119
|
__args__ = dict()
|
|
@@ -123,14 +128,11 @@ def get_organization(id: Optional[str] = None,
|
|
|
123
128
|
name=pulumi.get(__ret__, 'name'),
|
|
124
129
|
tenant_id=pulumi.get(__ret__, 'tenant_id'),
|
|
125
130
|
update_time=pulumi.get(__ret__, 'update_time'))
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
@_utilities.lift_output_func(get_organization)
|
|
129
131
|
def get_organization_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
130
132
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
131
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOrganizationResult]:
|
|
133
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationResult]:
|
|
132
134
|
"""
|
|
133
|
-
|
|
135
|
+
Gets information about an organization.
|
|
134
136
|
|
|
135
137
|
## Example Usage
|
|
136
138
|
|
|
@@ -138,11 +140,21 @@ def get_organization_output(id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
138
140
|
import pulumi
|
|
139
141
|
import pulumi_aiven as aiven
|
|
140
142
|
|
|
141
|
-
|
|
143
|
+
main = aiven.get_organization(name="Example organization")
|
|
142
144
|
```
|
|
143
145
|
|
|
144
146
|
|
|
145
|
-
:param str id:
|
|
147
|
+
:param str id: ID of the organization.
|
|
146
148
|
:param str name: Name of the organization.
|
|
147
149
|
"""
|
|
148
|
-
|
|
150
|
+
__args__ = dict()
|
|
151
|
+
__args__['id'] = id
|
|
152
|
+
__args__['name'] = name
|
|
153
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
154
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganization:getOrganization', __args__, opts=opts, typ=GetOrganizationResult)
|
|
155
|
+
return __ret__.apply(lambda __response__: GetOrganizationResult(
|
|
156
|
+
create_time=pulumi.get(__response__, 'create_time'),
|
|
157
|
+
id=pulumi.get(__response__, 'id'),
|
|
158
|
+
name=pulumi.get(__response__, 'name'),
|
|
159
|
+
tenant_id=pulumi.get(__response__, 'tenant_id'),
|
|
160
|
+
update_time=pulumi.get(__response__, 'update_time')))
|
|
@@ -0,0 +1,176 @@
|
|
|
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__ = [
|
|
18
|
+
'GetOrganizationApplicationUserResult',
|
|
19
|
+
'AwaitableGetOrganizationApplicationUserResult',
|
|
20
|
+
'get_organization_application_user',
|
|
21
|
+
'get_organization_application_user_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetOrganizationApplicationUserResult:
|
|
26
|
+
"""
|
|
27
|
+
A collection of values returned by getOrganizationApplicationUser.
|
|
28
|
+
"""
|
|
29
|
+
def __init__(__self__, email=None, id=None, is_super_admin=None, name=None, organization_id=None, user_id=None):
|
|
30
|
+
if email and not isinstance(email, str):
|
|
31
|
+
raise TypeError("Expected argument 'email' to be a str")
|
|
32
|
+
pulumi.set(__self__, "email", email)
|
|
33
|
+
if id and not isinstance(id, str):
|
|
34
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
35
|
+
pulumi.set(__self__, "id", id)
|
|
36
|
+
if is_super_admin and not isinstance(is_super_admin, bool):
|
|
37
|
+
raise TypeError("Expected argument 'is_super_admin' to be a bool")
|
|
38
|
+
pulumi.set(__self__, "is_super_admin", is_super_admin)
|
|
39
|
+
if name and not isinstance(name, str):
|
|
40
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
41
|
+
pulumi.set(__self__, "name", name)
|
|
42
|
+
if organization_id and not isinstance(organization_id, str):
|
|
43
|
+
raise TypeError("Expected argument 'organization_id' to be a str")
|
|
44
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
45
|
+
if user_id and not isinstance(user_id, str):
|
|
46
|
+
raise TypeError("Expected argument 'user_id' to be a str")
|
|
47
|
+
pulumi.set(__self__, "user_id", user_id)
|
|
48
|
+
|
|
49
|
+
@property
|
|
50
|
+
@pulumi.getter
|
|
51
|
+
def email(self) -> str:
|
|
52
|
+
"""
|
|
53
|
+
An email address automatically generated by Aiven to help identify the application user. No notifications are sent to this email.
|
|
54
|
+
"""
|
|
55
|
+
return pulumi.get(self, "email")
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
@pulumi.getter
|
|
59
|
+
def id(self) -> str:
|
|
60
|
+
"""
|
|
61
|
+
The provider-assigned unique ID for this managed resource.
|
|
62
|
+
"""
|
|
63
|
+
return pulumi.get(self, "id")
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
@pulumi.getter(name="isSuperAdmin")
|
|
67
|
+
def is_super_admin(self) -> bool:
|
|
68
|
+
"""
|
|
69
|
+
Makes the application user a super admin. The super admin role has full access to an organization, its billing and settings, and all its organizational units, projects, and services.
|
|
70
|
+
"""
|
|
71
|
+
return pulumi.get(self, "is_super_admin")
|
|
72
|
+
|
|
73
|
+
@property
|
|
74
|
+
@pulumi.getter
|
|
75
|
+
def name(self) -> str:
|
|
76
|
+
"""
|
|
77
|
+
Name of the application user.
|
|
78
|
+
"""
|
|
79
|
+
return pulumi.get(self, "name")
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
@pulumi.getter(name="organizationId")
|
|
83
|
+
def organization_id(self) -> str:
|
|
84
|
+
"""
|
|
85
|
+
The ID of the organization the application user belongs to.
|
|
86
|
+
"""
|
|
87
|
+
return pulumi.get(self, "organization_id")
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
@pulumi.getter(name="userId")
|
|
91
|
+
def user_id(self) -> str:
|
|
92
|
+
"""
|
|
93
|
+
The ID of the application user.
|
|
94
|
+
"""
|
|
95
|
+
return pulumi.get(self, "user_id")
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
class AwaitableGetOrganizationApplicationUserResult(GetOrganizationApplicationUserResult):
|
|
99
|
+
# pylint: disable=using-constant-test
|
|
100
|
+
def __await__(self):
|
|
101
|
+
if False:
|
|
102
|
+
yield self
|
|
103
|
+
return GetOrganizationApplicationUserResult(
|
|
104
|
+
email=self.email,
|
|
105
|
+
id=self.id,
|
|
106
|
+
is_super_admin=self.is_super_admin,
|
|
107
|
+
name=self.name,
|
|
108
|
+
organization_id=self.organization_id,
|
|
109
|
+
user_id=self.user_id)
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
def get_organization_application_user(organization_id: Optional[str] = None,
|
|
113
|
+
user_id: Optional[str] = None,
|
|
114
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationApplicationUserResult:
|
|
115
|
+
"""
|
|
116
|
+
Gets information about an application user.
|
|
117
|
+
|
|
118
|
+
## Example Usage
|
|
119
|
+
|
|
120
|
+
```python
|
|
121
|
+
import pulumi
|
|
122
|
+
import pulumi_aiven as aiven
|
|
123
|
+
|
|
124
|
+
tf_user = aiven.get_organization_application_user(organization_id=main["id"],
|
|
125
|
+
user_id="u123a456b7890c")
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
:param str organization_id: The ID of the organization the application user belongs to.
|
|
130
|
+
:param str user_id: The ID of the application user.
|
|
131
|
+
"""
|
|
132
|
+
__args__ = dict()
|
|
133
|
+
__args__['organizationId'] = organization_id
|
|
134
|
+
__args__['userId'] = user_id
|
|
135
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
136
|
+
__ret__ = pulumi.runtime.invoke('aiven:index/getOrganizationApplicationUser:getOrganizationApplicationUser', __args__, opts=opts, typ=GetOrganizationApplicationUserResult).value
|
|
137
|
+
|
|
138
|
+
return AwaitableGetOrganizationApplicationUserResult(
|
|
139
|
+
email=pulumi.get(__ret__, 'email'),
|
|
140
|
+
id=pulumi.get(__ret__, 'id'),
|
|
141
|
+
is_super_admin=pulumi.get(__ret__, 'is_super_admin'),
|
|
142
|
+
name=pulumi.get(__ret__, 'name'),
|
|
143
|
+
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
144
|
+
user_id=pulumi.get(__ret__, 'user_id'))
|
|
145
|
+
def get_organization_application_user_output(organization_id: Optional[pulumi.Input[str]] = None,
|
|
146
|
+
user_id: Optional[pulumi.Input[str]] = None,
|
|
147
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationApplicationUserResult]:
|
|
148
|
+
"""
|
|
149
|
+
Gets information about an application user.
|
|
150
|
+
|
|
151
|
+
## Example Usage
|
|
152
|
+
|
|
153
|
+
```python
|
|
154
|
+
import pulumi
|
|
155
|
+
import pulumi_aiven as aiven
|
|
156
|
+
|
|
157
|
+
tf_user = aiven.get_organization_application_user(organization_id=main["id"],
|
|
158
|
+
user_id="u123a456b7890c")
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
:param str organization_id: The ID of the organization the application user belongs to.
|
|
163
|
+
:param str user_id: The ID of the application user.
|
|
164
|
+
"""
|
|
165
|
+
__args__ = dict()
|
|
166
|
+
__args__['organizationId'] = organization_id
|
|
167
|
+
__args__['userId'] = user_id
|
|
168
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
169
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganizationApplicationUser:getOrganizationApplicationUser', __args__, opts=opts, typ=GetOrganizationApplicationUserResult)
|
|
170
|
+
return __ret__.apply(lambda __response__: GetOrganizationApplicationUserResult(
|
|
171
|
+
email=pulumi.get(__response__, 'email'),
|
|
172
|
+
id=pulumi.get(__response__, 'id'),
|
|
173
|
+
is_super_admin=pulumi.get(__response__, 'is_super_admin'),
|
|
174
|
+
name=pulumi.get(__response__, 'name'),
|
|
175
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
176
|
+
user_id=pulumi.get(__response__, 'user_id')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -117,13 +122,10 @@ def get_organization_user(organization_id: Optional[str] = None,
|
|
|
117
122
|
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
118
123
|
user_email=pulumi.get(__ret__, 'user_email'),
|
|
119
124
|
user_id=pulumi.get(__ret__, 'user_id'))
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
@_utilities.lift_output_func(get_organization_user)
|
|
123
125
|
def get_organization_user_output(organization_id: Optional[pulumi.Input[str]] = None,
|
|
124
126
|
user_email: Optional[pulumi.Input[Optional[str]]] = None,
|
|
125
127
|
user_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
126
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOrganizationUserResult]:
|
|
128
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationUserResult]:
|
|
127
129
|
"""
|
|
128
130
|
The Organization User data source provides information about the existing Aiven Organization User.
|
|
129
131
|
|
|
@@ -132,4 +134,15 @@ def get_organization_user_output(organization_id: Optional[pulumi.Input[str]] =
|
|
|
132
134
|
:param str user_email: This is a user email address
|
|
133
135
|
:param str user_id: The unique organization user ID
|
|
134
136
|
"""
|
|
135
|
-
|
|
137
|
+
__args__ = dict()
|
|
138
|
+
__args__['organizationId'] = organization_id
|
|
139
|
+
__args__['userEmail'] = user_email
|
|
140
|
+
__args__['userId'] = user_id
|
|
141
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
142
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganizationUser:getOrganizationUser', __args__, opts=opts, typ=GetOrganizationUserResult)
|
|
143
|
+
return __ret__.apply(lambda __response__: GetOrganizationUserResult(
|
|
144
|
+
create_time=pulumi.get(__response__, 'create_time'),
|
|
145
|
+
id=pulumi.get(__response__, 'id'),
|
|
146
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
147
|
+
user_email=pulumi.get(__response__, 'user_email'),
|
|
148
|
+
user_id=pulumi.get(__response__, 'user_id')))
|