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
pulumi_aiven/get_pg_user.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__ = [
|
|
@@ -54,7 +59,7 @@ class GetPgUserResult:
|
|
|
54
59
|
@pulumi.getter(name="accessCert")
|
|
55
60
|
def access_cert(self) -> str:
|
|
56
61
|
"""
|
|
57
|
-
|
|
62
|
+
The access certificate for the servie user.
|
|
58
63
|
"""
|
|
59
64
|
return pulumi.get(self, "access_cert")
|
|
60
65
|
|
|
@@ -62,7 +67,7 @@ class GetPgUserResult:
|
|
|
62
67
|
@pulumi.getter(name="accessKey")
|
|
63
68
|
def access_key(self) -> str:
|
|
64
69
|
"""
|
|
65
|
-
|
|
70
|
+
The access certificate key for the service user.
|
|
66
71
|
"""
|
|
67
72
|
return pulumi.get(self, "access_key")
|
|
68
73
|
|
|
@@ -78,7 +83,7 @@ class GetPgUserResult:
|
|
|
78
83
|
@pulumi.getter
|
|
79
84
|
def password(self) -> str:
|
|
80
85
|
"""
|
|
81
|
-
The password of the
|
|
86
|
+
The password of the service user.
|
|
82
87
|
"""
|
|
83
88
|
return pulumi.get(self, "password")
|
|
84
89
|
|
|
@@ -86,7 +91,7 @@ class GetPgUserResult:
|
|
|
86
91
|
@pulumi.getter(name="pgAllowReplication")
|
|
87
92
|
def pg_allow_replication(self) -> bool:
|
|
88
93
|
"""
|
|
89
|
-
|
|
94
|
+
Allows replication. For the default avnadmin user this attribute is required and is always `true`.
|
|
90
95
|
"""
|
|
91
96
|
return pulumi.get(self, "pg_allow_replication")
|
|
92
97
|
|
|
@@ -94,7 +99,7 @@ class GetPgUserResult:
|
|
|
94
99
|
@pulumi.getter
|
|
95
100
|
def project(self) -> str:
|
|
96
101
|
"""
|
|
97
|
-
|
|
102
|
+
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.
|
|
98
103
|
"""
|
|
99
104
|
return pulumi.get(self, "project")
|
|
100
105
|
|
|
@@ -102,7 +107,7 @@ class GetPgUserResult:
|
|
|
102
107
|
@pulumi.getter(name="serviceName")
|
|
103
108
|
def service_name(self) -> str:
|
|
104
109
|
"""
|
|
105
|
-
|
|
110
|
+
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.
|
|
106
111
|
"""
|
|
107
112
|
return pulumi.get(self, "service_name")
|
|
108
113
|
|
|
@@ -110,7 +115,7 @@ class GetPgUserResult:
|
|
|
110
115
|
@pulumi.getter
|
|
111
116
|
def type(self) -> str:
|
|
112
117
|
"""
|
|
113
|
-
|
|
118
|
+
The service user account type, either primary or regular.
|
|
114
119
|
"""
|
|
115
120
|
return pulumi.get(self, "type")
|
|
116
121
|
|
|
@@ -118,7 +123,7 @@ class GetPgUserResult:
|
|
|
118
123
|
@pulumi.getter
|
|
119
124
|
def username(self) -> str:
|
|
120
125
|
"""
|
|
121
|
-
The
|
|
126
|
+
The name of the service user for this service. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
122
127
|
"""
|
|
123
128
|
return pulumi.get(self, "username")
|
|
124
129
|
|
|
@@ -145,7 +150,7 @@ def get_pg_user(project: Optional[str] = None,
|
|
|
145
150
|
username: Optional[str] = None,
|
|
146
151
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPgUserResult:
|
|
147
152
|
"""
|
|
148
|
-
|
|
153
|
+
Gets information about an Aiven for PostgreSQL® service user.
|
|
149
154
|
|
|
150
155
|
## Example Usage
|
|
151
156
|
|
|
@@ -153,15 +158,15 @@ def get_pg_user(project: Optional[str] = None,
|
|
|
153
158
|
import pulumi
|
|
154
159
|
import pulumi_aiven as aiven
|
|
155
160
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
username="
|
|
161
|
+
example_user = aiven.get_pg_user(service_name=example_postgres["serviceName"],
|
|
162
|
+
project=example_project["project"],
|
|
163
|
+
username="example-service-user")
|
|
159
164
|
```
|
|
160
165
|
|
|
161
166
|
|
|
162
|
-
:param str project:
|
|
163
|
-
:param str service_name:
|
|
164
|
-
:param str username: The
|
|
167
|
+
: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.
|
|
168
|
+
: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.
|
|
169
|
+
:param str username: The name of the service user for this service. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
165
170
|
"""
|
|
166
171
|
__args__ = dict()
|
|
167
172
|
__args__['project'] = project
|
|
@@ -180,15 +185,12 @@ def get_pg_user(project: Optional[str] = None,
|
|
|
180
185
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
181
186
|
type=pulumi.get(__ret__, 'type'),
|
|
182
187
|
username=pulumi.get(__ret__, 'username'))
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
@_utilities.lift_output_func(get_pg_user)
|
|
186
188
|
def get_pg_user_output(project: Optional[pulumi.Input[str]] = None,
|
|
187
189
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
188
190
|
username: Optional[pulumi.Input[str]] = None,
|
|
189
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPgUserResult]:
|
|
191
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPgUserResult]:
|
|
190
192
|
"""
|
|
191
|
-
|
|
193
|
+
Gets information about an Aiven for PostgreSQL® service user.
|
|
192
194
|
|
|
193
195
|
## Example Usage
|
|
194
196
|
|
|
@@ -196,14 +198,29 @@ def get_pg_user_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
196
198
|
import pulumi
|
|
197
199
|
import pulumi_aiven as aiven
|
|
198
200
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
username="
|
|
201
|
+
example_user = aiven.get_pg_user(service_name=example_postgres["serviceName"],
|
|
202
|
+
project=example_project["project"],
|
|
203
|
+
username="example-service-user")
|
|
202
204
|
```
|
|
203
205
|
|
|
204
206
|
|
|
205
|
-
:param str project:
|
|
206
|
-
:param str service_name:
|
|
207
|
-
:param str username: The
|
|
207
|
+
: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.
|
|
208
|
+
: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.
|
|
209
|
+
:param str username: The name of the service user for this service. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
208
210
|
"""
|
|
209
|
-
|
|
211
|
+
__args__ = dict()
|
|
212
|
+
__args__['project'] = project
|
|
213
|
+
__args__['serviceName'] = service_name
|
|
214
|
+
__args__['username'] = username
|
|
215
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
216
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getPgUser:getPgUser', __args__, opts=opts, typ=GetPgUserResult)
|
|
217
|
+
return __ret__.apply(lambda __response__: GetPgUserResult(
|
|
218
|
+
access_cert=pulumi.get(__response__, 'access_cert'),
|
|
219
|
+
access_key=pulumi.get(__response__, 'access_key'),
|
|
220
|
+
id=pulumi.get(__response__, 'id'),
|
|
221
|
+
password=pulumi.get(__response__, 'password'),
|
|
222
|
+
pg_allow_replication=pulumi.get(__response__, 'pg_allow_replication'),
|
|
223
|
+
project=pulumi.get(__response__, 'project'),
|
|
224
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
225
|
+
type=pulumi.get(__response__, 'type'),
|
|
226
|
+
username=pulumi.get(__response__, 'username')))
|
pulumi_aiven/get_project.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
|
from . import outputs
|
|
12
17
|
|
|
@@ -73,7 +78,7 @@ class GetProjectResult:
|
|
|
73
78
|
@pulumi.getter(name="accountId")
|
|
74
79
|
def account_id(self) -> str:
|
|
75
80
|
"""
|
|
76
|
-
|
|
81
|
+
Link a project to an existing account using its account ID. This field is deprecated. Use `parent_id` instead. To set up proper dependencies please refer to this variable as a reference.
|
|
77
82
|
"""
|
|
78
83
|
return pulumi.get(self, "account_id")
|
|
79
84
|
|
|
@@ -89,7 +94,7 @@ class GetProjectResult:
|
|
|
89
94
|
@pulumi.getter(name="availableCredits")
|
|
90
95
|
def available_credits(self) -> str:
|
|
91
96
|
"""
|
|
92
|
-
The
|
|
97
|
+
The number of trial or promotional credits remaining for this project.
|
|
93
98
|
"""
|
|
94
99
|
return pulumi.get(self, "available_credits")
|
|
95
100
|
|
|
@@ -97,7 +102,7 @@ class GetProjectResult:
|
|
|
97
102
|
@pulumi.getter(name="billingGroup")
|
|
98
103
|
def billing_group(self) -> str:
|
|
99
104
|
"""
|
|
100
|
-
The
|
|
105
|
+
The ID of the billing group this project is assigned to. To set up proper dependencies please refer to this variable as a reference.
|
|
101
106
|
"""
|
|
102
107
|
return pulumi.get(self, "billing_group")
|
|
103
108
|
|
|
@@ -105,7 +110,7 @@ class GetProjectResult:
|
|
|
105
110
|
@pulumi.getter(name="caCert")
|
|
106
111
|
def ca_cert(self) -> str:
|
|
107
112
|
"""
|
|
108
|
-
The CA certificate
|
|
113
|
+
The CA certificate for the project. This is required for configuring clients that connect to certain services like Kafka.
|
|
109
114
|
"""
|
|
110
115
|
return pulumi.get(self, "ca_cert")
|
|
111
116
|
|
|
@@ -113,7 +118,7 @@ class GetProjectResult:
|
|
|
113
118
|
@pulumi.getter(name="copyFromProject")
|
|
114
119
|
def copy_from_project(self) -> str:
|
|
115
120
|
"""
|
|
116
|
-
|
|
121
|
+
The name of the project to copy billing information, technical contacts, and some other project attributes from. This is most useful to set up the same billing method when you use bank transfers to pay invoices for other projects. You can only do this when creating a project. You can't set the billing over the API for an existing. To set up proper dependencies please refer to this variable as a reference.
|
|
117
122
|
"""
|
|
118
123
|
return pulumi.get(self, "copy_from_project")
|
|
119
124
|
|
|
@@ -121,7 +126,7 @@ class GetProjectResult:
|
|
|
121
126
|
@pulumi.getter(name="defaultCloud")
|
|
122
127
|
def default_cloud(self) -> str:
|
|
123
128
|
"""
|
|
124
|
-
|
|
129
|
+
Default cloud provider and region where services are hosted. This can be changed after the project is created and will not affect existing services.
|
|
125
130
|
"""
|
|
126
131
|
return pulumi.get(self, "default_cloud")
|
|
127
132
|
|
|
@@ -129,7 +134,7 @@ class GetProjectResult:
|
|
|
129
134
|
@pulumi.getter(name="estimatedBalance")
|
|
130
135
|
def estimated_balance(self) -> str:
|
|
131
136
|
"""
|
|
132
|
-
The
|
|
137
|
+
The monthly running estimate for this project for the current billing period.
|
|
133
138
|
"""
|
|
134
139
|
return pulumi.get(self, "estimated_balance")
|
|
135
140
|
|
|
@@ -145,7 +150,7 @@ class GetProjectResult:
|
|
|
145
150
|
@pulumi.getter(name="parentId")
|
|
146
151
|
def parent_id(self) -> str:
|
|
147
152
|
"""
|
|
148
|
-
|
|
153
|
+
Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/orgs-units-projects) or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
149
154
|
"""
|
|
150
155
|
return pulumi.get(self, "parent_id")
|
|
151
156
|
|
|
@@ -153,7 +158,7 @@ class GetProjectResult:
|
|
|
153
158
|
@pulumi.getter(name="paymentMethod")
|
|
154
159
|
def payment_method(self) -> str:
|
|
155
160
|
"""
|
|
156
|
-
The
|
|
161
|
+
The payment type used for this project. For example,`card`.
|
|
157
162
|
"""
|
|
158
163
|
return pulumi.get(self, "payment_method")
|
|
159
164
|
|
|
@@ -161,7 +166,7 @@ class GetProjectResult:
|
|
|
161
166
|
@pulumi.getter
|
|
162
167
|
def project(self) -> str:
|
|
163
168
|
"""
|
|
164
|
-
|
|
169
|
+
The name of the project. Names must be globally unique among all Aiven customers and cannot be changed later without destroying and re-creating the project, including all sub-resources.
|
|
165
170
|
"""
|
|
166
171
|
return pulumi.get(self, "project")
|
|
167
172
|
|
|
@@ -177,7 +182,7 @@ class GetProjectResult:
|
|
|
177
182
|
@pulumi.getter(name="technicalEmails")
|
|
178
183
|
def technical_emails(self) -> Sequence[str]:
|
|
179
184
|
"""
|
|
180
|
-
|
|
185
|
+
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.
|
|
181
186
|
"""
|
|
182
187
|
return pulumi.get(self, "technical_emails")
|
|
183
188
|
|
|
@@ -216,7 +221,7 @@ class AwaitableGetProjectResult(GetProjectResult):
|
|
|
216
221
|
def get_project(project: Optional[str] = None,
|
|
217
222
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectResult:
|
|
218
223
|
"""
|
|
219
|
-
|
|
224
|
+
Gets information about an Aiven project.
|
|
220
225
|
|
|
221
226
|
## Example Usage
|
|
222
227
|
|
|
@@ -224,11 +229,11 @@ def get_project(project: Optional[str] = None,
|
|
|
224
229
|
import pulumi
|
|
225
230
|
import pulumi_aiven as aiven
|
|
226
231
|
|
|
227
|
-
|
|
232
|
+
example_project = aiven.get_project(project="example-project")
|
|
228
233
|
```
|
|
229
234
|
|
|
230
235
|
|
|
231
|
-
:param str project:
|
|
236
|
+
:param str project: The name of the project. Names must be globally unique among all Aiven customers and cannot be changed later without destroying and re-creating the project, including all sub-resources.
|
|
232
237
|
"""
|
|
233
238
|
__args__ = dict()
|
|
234
239
|
__args__['project'] = project
|
|
@@ -251,13 +256,10 @@ def get_project(project: Optional[str] = None,
|
|
|
251
256
|
tags=pulumi.get(__ret__, 'tags'),
|
|
252
257
|
technical_emails=pulumi.get(__ret__, 'technical_emails'),
|
|
253
258
|
use_source_project_billing_group=pulumi.get(__ret__, 'use_source_project_billing_group'))
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
@_utilities.lift_output_func(get_project)
|
|
257
259
|
def get_project_output(project: Optional[pulumi.Input[str]] = None,
|
|
258
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectResult]:
|
|
260
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectResult]:
|
|
259
261
|
"""
|
|
260
|
-
|
|
262
|
+
Gets information about an Aiven project.
|
|
261
263
|
|
|
262
264
|
## Example Usage
|
|
263
265
|
|
|
@@ -265,10 +267,29 @@ def get_project_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
265
267
|
import pulumi
|
|
266
268
|
import pulumi_aiven as aiven
|
|
267
269
|
|
|
268
|
-
|
|
270
|
+
example_project = aiven.get_project(project="example-project")
|
|
269
271
|
```
|
|
270
272
|
|
|
271
273
|
|
|
272
|
-
:param str project:
|
|
274
|
+
:param str project: The name of the project. Names must be globally unique among all Aiven customers and cannot be changed later without destroying and re-creating the project, including all sub-resources.
|
|
273
275
|
"""
|
|
274
|
-
|
|
276
|
+
__args__ = dict()
|
|
277
|
+
__args__['project'] = project
|
|
278
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
279
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getProject:getProject', __args__, opts=opts, typ=GetProjectResult)
|
|
280
|
+
return __ret__.apply(lambda __response__: GetProjectResult(
|
|
281
|
+
account_id=pulumi.get(__response__, 'account_id'),
|
|
282
|
+
add_account_owners_admin_access=pulumi.get(__response__, 'add_account_owners_admin_access'),
|
|
283
|
+
available_credits=pulumi.get(__response__, 'available_credits'),
|
|
284
|
+
billing_group=pulumi.get(__response__, 'billing_group'),
|
|
285
|
+
ca_cert=pulumi.get(__response__, 'ca_cert'),
|
|
286
|
+
copy_from_project=pulumi.get(__response__, 'copy_from_project'),
|
|
287
|
+
default_cloud=pulumi.get(__response__, 'default_cloud'),
|
|
288
|
+
estimated_balance=pulumi.get(__response__, 'estimated_balance'),
|
|
289
|
+
id=pulumi.get(__response__, 'id'),
|
|
290
|
+
parent_id=pulumi.get(__response__, 'parent_id'),
|
|
291
|
+
payment_method=pulumi.get(__response__, 'payment_method'),
|
|
292
|
+
project=pulumi.get(__response__, 'project'),
|
|
293
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
294
|
+
technical_emails=pulumi.get(__response__, 'technical_emails'),
|
|
295
|
+
use_source_project_billing_group=pulumi.get(__response__, 'use_source_project_billing_group')))
|
pulumi_aiven/get_project_user.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__ = [
|
|
@@ -42,7 +47,7 @@ class GetProjectUserResult:
|
|
|
42
47
|
@pulumi.getter
|
|
43
48
|
def accepted(self) -> bool:
|
|
44
49
|
"""
|
|
45
|
-
Whether the user has accepted the request to join the project
|
|
50
|
+
Whether the user has accepted the request to join the project. Users get an invite and become project members after accepting the invite.
|
|
46
51
|
"""
|
|
47
52
|
return pulumi.get(self, "accepted")
|
|
48
53
|
|
|
@@ -50,7 +55,7 @@ class GetProjectUserResult:
|
|
|
50
55
|
@pulumi.getter
|
|
51
56
|
def email(self) -> str:
|
|
52
57
|
"""
|
|
53
|
-
Email address of the user
|
|
58
|
+
Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
54
59
|
"""
|
|
55
60
|
return pulumi.get(self, "email")
|
|
56
61
|
|
|
@@ -66,7 +71,7 @@ class GetProjectUserResult:
|
|
|
66
71
|
@pulumi.getter(name="memberType")
|
|
67
72
|
def member_type(self) -> str:
|
|
68
73
|
"""
|
|
69
|
-
Project membership type. The possible values are `admin`, `developer` and `
|
|
74
|
+
Project membership type. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:projects:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.
|
|
70
75
|
"""
|
|
71
76
|
return pulumi.get(self, "member_type")
|
|
72
77
|
|
|
@@ -74,7 +79,7 @@ class GetProjectUserResult:
|
|
|
74
79
|
@pulumi.getter
|
|
75
80
|
def project(self) -> str:
|
|
76
81
|
"""
|
|
77
|
-
|
|
82
|
+
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.
|
|
78
83
|
"""
|
|
79
84
|
return pulumi.get(self, "project")
|
|
80
85
|
|
|
@@ -104,13 +109,13 @@ def get_project_user(email: Optional[str] = None,
|
|
|
104
109
|
import pulumi
|
|
105
110
|
import pulumi_aiven as aiven
|
|
106
111
|
|
|
107
|
-
mytestuser = aiven.get_project_user(project=
|
|
112
|
+
mytestuser = aiven.get_project_user(project=myproject["project"],
|
|
108
113
|
email="john.doe@example.com")
|
|
109
114
|
```
|
|
110
115
|
|
|
111
116
|
|
|
112
|
-
:param str email: Email address of the user
|
|
113
|
-
:param str project:
|
|
117
|
+
:param str email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
118
|
+
: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.
|
|
114
119
|
"""
|
|
115
120
|
__args__ = dict()
|
|
116
121
|
__args__['email'] = email
|
|
@@ -124,12 +129,9 @@ def get_project_user(email: Optional[str] = None,
|
|
|
124
129
|
id=pulumi.get(__ret__, 'id'),
|
|
125
130
|
member_type=pulumi.get(__ret__, 'member_type'),
|
|
126
131
|
project=pulumi.get(__ret__, 'project'))
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
@_utilities.lift_output_func(get_project_user)
|
|
130
132
|
def get_project_user_output(email: Optional[pulumi.Input[str]] = None,
|
|
131
133
|
project: Optional[pulumi.Input[str]] = None,
|
|
132
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectUserResult]:
|
|
134
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectUserResult]:
|
|
133
135
|
"""
|
|
134
136
|
The Project User data source provides information about the existing Aiven Project User.
|
|
135
137
|
|
|
@@ -139,12 +141,22 @@ def get_project_user_output(email: Optional[pulumi.Input[str]] = None,
|
|
|
139
141
|
import pulumi
|
|
140
142
|
import pulumi_aiven as aiven
|
|
141
143
|
|
|
142
|
-
mytestuser = aiven.get_project_user(project=
|
|
144
|
+
mytestuser = aiven.get_project_user(project=myproject["project"],
|
|
143
145
|
email="john.doe@example.com")
|
|
144
146
|
```
|
|
145
147
|
|
|
146
148
|
|
|
147
|
-
:param str email: Email address of the user
|
|
148
|
-
:param str project:
|
|
149
|
+
:param str email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
150
|
+
: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.
|
|
149
151
|
"""
|
|
150
|
-
|
|
152
|
+
__args__ = dict()
|
|
153
|
+
__args__['email'] = email
|
|
154
|
+
__args__['project'] = project
|
|
155
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
156
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getProjectUser:getProjectUser', __args__, opts=opts, typ=GetProjectUserResult)
|
|
157
|
+
return __ret__.apply(lambda __response__: GetProjectUserResult(
|
|
158
|
+
accepted=pulumi.get(__response__, 'accepted'),
|
|
159
|
+
email=pulumi.get(__response__, 'email'),
|
|
160
|
+
id=pulumi.get(__response__, 'id'),
|
|
161
|
+
member_type=pulumi.get(__response__, 'member_type'),
|
|
162
|
+
project=pulumi.get(__response__, 'project')))
|
pulumi_aiven/get_project_vpc.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__ = [
|
|
@@ -45,7 +50,7 @@ class GetProjectVpcResult:
|
|
|
45
50
|
@pulumi.getter(name="cloudName")
|
|
46
51
|
def cloud_name(self) -> Optional[str]:
|
|
47
52
|
"""
|
|
48
|
-
|
|
53
|
+
The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`.
|
|
49
54
|
"""
|
|
50
55
|
return pulumi.get(self, "cloud_name")
|
|
51
56
|
|
|
@@ -61,7 +66,7 @@ class GetProjectVpcResult:
|
|
|
61
66
|
@pulumi.getter(name="networkCidr")
|
|
62
67
|
def network_cidr(self) -> str:
|
|
63
68
|
"""
|
|
64
|
-
Network address range used by the VPC
|
|
69
|
+
Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
65
70
|
"""
|
|
66
71
|
return pulumi.get(self, "network_cidr")
|
|
67
72
|
|
|
@@ -77,7 +82,7 @@ class GetProjectVpcResult:
|
|
|
77
82
|
@pulumi.getter
|
|
78
83
|
def state(self) -> str:
|
|
79
84
|
"""
|
|
80
|
-
State of the VPC. The possible values are `
|
|
85
|
+
State of the VPC. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`.
|
|
81
86
|
"""
|
|
82
87
|
return pulumi.get(self, "state")
|
|
83
88
|
|
|
@@ -85,7 +90,7 @@ class GetProjectVpcResult:
|
|
|
85
90
|
@pulumi.getter(name="vpcId")
|
|
86
91
|
def vpc_id(self) -> Optional[str]:
|
|
87
92
|
"""
|
|
88
|
-
ID of the VPC. This can be used to filter out the
|
|
93
|
+
The ID of the VPC. This can be used to filter out the other VPCs if there are more than one for the project and cloud.
|
|
89
94
|
"""
|
|
90
95
|
return pulumi.get(self, "vpc_id")
|
|
91
96
|
|
|
@@ -109,7 +114,7 @@ def get_project_vpc(cloud_name: Optional[str] = None,
|
|
|
109
114
|
vpc_id: Optional[str] = None,
|
|
110
115
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectVpcResult:
|
|
111
116
|
"""
|
|
112
|
-
|
|
117
|
+
Gets information about the VPC for an Aiven project.
|
|
113
118
|
|
|
114
119
|
## Example Usage
|
|
115
120
|
|
|
@@ -117,15 +122,14 @@ def get_project_vpc(cloud_name: Optional[str] = None,
|
|
|
117
122
|
import pulumi
|
|
118
123
|
import pulumi_aiven as aiven
|
|
119
124
|
|
|
120
|
-
|
|
125
|
+
example_vpc = aiven.get_project_vpc(project=example_project["project"],
|
|
121
126
|
cloud_name="google-europe-west1")
|
|
122
|
-
myvpc_id = aiven.get_project_vpc(vpc_id=aiven_project_vpc["vpc"]["id"])
|
|
123
127
|
```
|
|
124
128
|
|
|
125
129
|
|
|
126
|
-
:param str cloud_name:
|
|
130
|
+
:param str cloud_name: The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`.
|
|
127
131
|
:param str project: Identifies the project this resource belongs to.
|
|
128
|
-
:param str vpc_id: ID of the VPC. This can be used to filter out the
|
|
132
|
+
:param str vpc_id: The ID of the VPC. This can be used to filter out the other VPCs if there are more than one for the project and cloud.
|
|
129
133
|
"""
|
|
130
134
|
__args__ = dict()
|
|
131
135
|
__args__['cloudName'] = cloud_name
|
|
@@ -141,15 +145,12 @@ def get_project_vpc(cloud_name: Optional[str] = None,
|
|
|
141
145
|
project=pulumi.get(__ret__, 'project'),
|
|
142
146
|
state=pulumi.get(__ret__, 'state'),
|
|
143
147
|
vpc_id=pulumi.get(__ret__, 'vpc_id'))
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
@_utilities.lift_output_func(get_project_vpc)
|
|
147
148
|
def get_project_vpc_output(cloud_name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
148
149
|
project: Optional[pulumi.Input[Optional[str]]] = None,
|
|
149
150
|
vpc_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
150
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectVpcResult]:
|
|
151
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectVpcResult]:
|
|
151
152
|
"""
|
|
152
|
-
|
|
153
|
+
Gets information about the VPC for an Aiven project.
|
|
153
154
|
|
|
154
155
|
## Example Usage
|
|
155
156
|
|
|
@@ -157,14 +158,25 @@ def get_project_vpc_output(cloud_name: Optional[pulumi.Input[Optional[str]]] = N
|
|
|
157
158
|
import pulumi
|
|
158
159
|
import pulumi_aiven as aiven
|
|
159
160
|
|
|
160
|
-
|
|
161
|
+
example_vpc = aiven.get_project_vpc(project=example_project["project"],
|
|
161
162
|
cloud_name="google-europe-west1")
|
|
162
|
-
myvpc_id = aiven.get_project_vpc(vpc_id=aiven_project_vpc["vpc"]["id"])
|
|
163
163
|
```
|
|
164
164
|
|
|
165
165
|
|
|
166
|
-
:param str cloud_name:
|
|
166
|
+
:param str cloud_name: The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`.
|
|
167
167
|
:param str project: Identifies the project this resource belongs to.
|
|
168
|
-
:param str vpc_id: ID of the VPC. This can be used to filter out the
|
|
168
|
+
:param str vpc_id: The ID of the VPC. This can be used to filter out the other VPCs if there are more than one for the project and cloud.
|
|
169
169
|
"""
|
|
170
|
-
|
|
170
|
+
__args__ = dict()
|
|
171
|
+
__args__['cloudName'] = cloud_name
|
|
172
|
+
__args__['project'] = project
|
|
173
|
+
__args__['vpcId'] = vpc_id
|
|
174
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
175
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getProjectVpc:getProjectVpc', __args__, opts=opts, typ=GetProjectVpcResult)
|
|
176
|
+
return __ret__.apply(lambda __response__: GetProjectVpcResult(
|
|
177
|
+
cloud_name=pulumi.get(__response__, 'cloud_name'),
|
|
178
|
+
id=pulumi.get(__response__, 'id'),
|
|
179
|
+
network_cidr=pulumi.get(__response__, 'network_cidr'),
|
|
180
|
+
project=pulumi.get(__response__, 'project'),
|
|
181
|
+
state=pulumi.get(__response__, 'state'),
|
|
182
|
+
vpc_id=pulumi.get(__response__, 'vpc_id')))
|