pulumi-aiven 6.13.0a1710156545__py3-none-any.whl → 6.31.0a1736831339__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 +127 -0
- pulumi_aiven/_inputs.py +32615 -13711
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +32 -45
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +35 -14
- pulumi_aiven/account_team_member.py +48 -39
- pulumi_aiven/account_team_project.py +40 -27
- 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 -43
- pulumi_aiven/aws_vpc_peering_connection.py +72 -61
- pulumi_aiven/azure_privatelink.py +54 -53
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -77
- pulumi_aiven/billing_group.py +33 -34
- pulumi_aiven/cassandra.py +145 -126
- pulumi_aiven/cassandra_user.py +59 -58
- pulumi_aiven/clickhouse.py +133 -114
- pulumi_aiven/clickhouse_database.py +58 -62
- pulumi_aiven/clickhouse_grant.py +135 -134
- pulumi_aiven/clickhouse_role.py +36 -49
- pulumi_aiven/clickhouse_user.py +50 -49
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -66
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -104
- pulumi_aiven/flink_application.py +58 -55
- 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 -48
- pulumi_aiven/get_account.py +20 -9
- 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 -24
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
- pulumi_aiven/get_azure_privatelink.py +37 -26
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -23
- pulumi_aiven/get_cassandra.py +55 -23
- pulumi_aiven/get_cassandra_user.py +42 -30
- pulumi_aiven/get_clickhouse.py +55 -23
- pulumi_aiven/get_clickhouse_database.py +35 -26
- pulumi_aiven/get_clickhouse_user.py +40 -29
- pulumi_aiven/get_connection_pool.py +43 -30
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -23
- pulumi_aiven/get_flink_application.py +44 -31
- pulumi_aiven/get_flink_application_version.py +55 -37
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
- pulumi_aiven/get_grafana.py +55 -23
- 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 -25
- pulumi_aiven/get_kafka_acl.py +50 -37
- pulumi_aiven/get_kafka_connect.py +54 -36
- pulumi_aiven/get_kafka_connector.py +44 -28
- pulumi_aiven/get_kafka_mirror_maker.py +50 -32
- pulumi_aiven/get_kafka_schema.py +35 -23
- pulumi_aiven/get_kafka_schema_configuration.py +32 -21
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -29
- pulumi_aiven/get_kafka_user.py +42 -30
- pulumi_aiven/get_m3_aggregator.py +51 -19
- pulumi_aiven/get_m3_db.py +55 -23
- pulumi_aiven/get_m3db_user.py +38 -28
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
- pulumi_aiven/get_my_sql.py +50 -18
- pulumi_aiven/get_mysql_database.py +31 -22
- pulumi_aiven/get_mysql_user.py +36 -23
- pulumi_aiven/get_open_search.py +50 -18
- pulumi_aiven/get_open_search_acl_config.py +27 -19
- pulumi_aiven/get_open_search_acl_rule.py +37 -25
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
- pulumi_aiven/get_opensearch_user.py +32 -22
- pulumi_aiven/get_organization.py +25 -17
- 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 -23
- pulumi_aiven/get_pg_database.py +39 -28
- pulumi_aiven/get_pg_user.py +44 -31
- pulumi_aiven/get_project.py +43 -26
- pulumi_aiven/get_project_user.py +27 -19
- pulumi_aiven/get_project_vpc.py +31 -23
- pulumi_aiven/get_redis.py +50 -18
- pulumi_aiven/get_redis_user.py +40 -26
- pulumi_aiven/get_service_component.py +40 -22
- pulumi_aiven/get_service_integration.py +163 -53
- pulumi_aiven/get_service_integration_endpoint.py +128 -37
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -322
- 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 -144
- pulumi_aiven/kafka_acl.py +64 -57
- pulumi_aiven/kafka_connect.py +201 -332
- pulumi_aiven/kafka_connector.py +67 -60
- pulumi_aiven/kafka_mirror_maker.py +137 -320
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_schema.py +63 -58
- pulumi_aiven/kafka_schema_configuration.py +25 -24
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -58
- pulumi_aiven/m3_aggregator.py +174 -310
- pulumi_aiven/m3_db.py +190 -326
- pulumi_aiven/m3db_user.py +51 -50
- pulumi_aiven/mirror_maker_replication_flow.py +215 -55
- pulumi_aiven/my_sql.py +188 -324
- pulumi_aiven/mysql_database.py +32 -51
- pulumi_aiven/mysql_user.py +37 -36
- pulumi_aiven/open_search.py +126 -107
- pulumi_aiven/open_search_acl_config.py +33 -36
- pulumi_aiven/open_search_acl_rule.py +55 -54
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -29
- pulumi_aiven/organization.py +18 -17
- 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 -36
- pulumi_aiven/outputs.py +38355 -21458
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -71
- pulumi_aiven/pg_user.py +80 -65
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -35
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +161 -297
- pulumi_aiven/redis_user.py +58 -57
- pulumi_aiven/service_integration.py +511 -165
- 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 -58
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/top_level.txt +0 -0
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,21 +221,19 @@ 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
|
|
|
223
|
-
<!--Start PulumiCodeChooser -->
|
|
224
228
|
```python
|
|
225
229
|
import pulumi
|
|
226
230
|
import pulumi_aiven as aiven
|
|
227
231
|
|
|
228
|
-
|
|
232
|
+
example_project = aiven.get_project(project="example-project")
|
|
229
233
|
```
|
|
230
|
-
<!--End PulumiCodeChooser -->
|
|
231
234
|
|
|
232
235
|
|
|
233
|
-
: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.
|
|
234
237
|
"""
|
|
235
238
|
__args__ = dict()
|
|
236
239
|
__args__['project'] = project
|
|
@@ -253,26 +256,40 @@ def get_project(project: Optional[str] = None,
|
|
|
253
256
|
tags=pulumi.get(__ret__, 'tags'),
|
|
254
257
|
technical_emails=pulumi.get(__ret__, 'technical_emails'),
|
|
255
258
|
use_source_project_billing_group=pulumi.get(__ret__, 'use_source_project_billing_group'))
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
@_utilities.lift_output_func(get_project)
|
|
259
259
|
def get_project_output(project: Optional[pulumi.Input[str]] = None,
|
|
260
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectResult]:
|
|
260
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectResult]:
|
|
261
261
|
"""
|
|
262
|
-
|
|
262
|
+
Gets information about an Aiven project.
|
|
263
263
|
|
|
264
264
|
## Example Usage
|
|
265
265
|
|
|
266
|
-
<!--Start PulumiCodeChooser -->
|
|
267
266
|
```python
|
|
268
267
|
import pulumi
|
|
269
268
|
import pulumi_aiven as aiven
|
|
270
269
|
|
|
271
|
-
|
|
270
|
+
example_project = aiven.get_project(project="example-project")
|
|
272
271
|
```
|
|
273
|
-
<!--End PulumiCodeChooser -->
|
|
274
272
|
|
|
275
273
|
|
|
276
|
-
: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.
|
|
277
275
|
"""
|
|
278
|
-
|
|
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: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
|
|
|
@@ -100,19 +105,17 @@ def get_project_user(email: Optional[str] = None,
|
|
|
100
105
|
|
|
101
106
|
## Example Usage
|
|
102
107
|
|
|
103
|
-
<!--Start PulumiCodeChooser -->
|
|
104
108
|
```python
|
|
105
109
|
import pulumi
|
|
106
110
|
import pulumi_aiven as aiven
|
|
107
111
|
|
|
108
|
-
mytestuser = aiven.get_project_user(project=
|
|
112
|
+
mytestuser = aiven.get_project_user(project=myproject["project"],
|
|
109
113
|
email="john.doe@example.com")
|
|
110
114
|
```
|
|
111
|
-
<!--End PulumiCodeChooser -->
|
|
112
115
|
|
|
113
116
|
|
|
114
|
-
:param str email: Email address of the user
|
|
115
|
-
: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.
|
|
116
119
|
"""
|
|
117
120
|
__args__ = dict()
|
|
118
121
|
__args__['email'] = email
|
|
@@ -126,29 +129,34 @@ def get_project_user(email: Optional[str] = None,
|
|
|
126
129
|
id=pulumi.get(__ret__, 'id'),
|
|
127
130
|
member_type=pulumi.get(__ret__, 'member_type'),
|
|
128
131
|
project=pulumi.get(__ret__, 'project'))
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
@_utilities.lift_output_func(get_project_user)
|
|
132
132
|
def get_project_user_output(email: Optional[pulumi.Input[str]] = None,
|
|
133
133
|
project: Optional[pulumi.Input[str]] = None,
|
|
134
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectUserResult]:
|
|
134
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectUserResult]:
|
|
135
135
|
"""
|
|
136
136
|
The Project User data source provides information about the existing Aiven Project User.
|
|
137
137
|
|
|
138
138
|
## Example Usage
|
|
139
139
|
|
|
140
|
-
<!--Start PulumiCodeChooser -->
|
|
141
140
|
```python
|
|
142
141
|
import pulumi
|
|
143
142
|
import pulumi_aiven as aiven
|
|
144
143
|
|
|
145
|
-
mytestuser = aiven.get_project_user(project=
|
|
144
|
+
mytestuser = aiven.get_project_user(project=myproject["project"],
|
|
146
145
|
email="john.doe@example.com")
|
|
147
146
|
```
|
|
148
|
-
<!--End PulumiCodeChooser -->
|
|
149
147
|
|
|
150
148
|
|
|
151
|
-
:param str email: Email address of the user
|
|
152
|
-
: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.
|
|
153
151
|
"""
|
|
154
|
-
|
|
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,25 +114,22 @@ 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
|
|
|
116
|
-
<!--Start PulumiCodeChooser -->
|
|
117
121
|
```python
|
|
118
122
|
import pulumi
|
|
119
123
|
import pulumi_aiven as aiven
|
|
120
124
|
|
|
121
|
-
|
|
125
|
+
example_vpc = aiven.get_project_vpc(project=example_project["project"],
|
|
122
126
|
cloud_name="google-europe-west1")
|
|
123
|
-
myvpc_id = aiven.get_project_vpc(vpc_id=aiven_project_vpc["vpc"]["id"])
|
|
124
127
|
```
|
|
125
|
-
<!--End PulumiCodeChooser -->
|
|
126
128
|
|
|
127
129
|
|
|
128
|
-
: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`.
|
|
129
131
|
:param str project: Identifies the project this resource belongs to.
|
|
130
|
-
: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.
|
|
131
133
|
"""
|
|
132
134
|
__args__ = dict()
|
|
133
135
|
__args__['cloudName'] = cloud_name
|
|
@@ -143,32 +145,38 @@ def get_project_vpc(cloud_name: Optional[str] = None,
|
|
|
143
145
|
project=pulumi.get(__ret__, 'project'),
|
|
144
146
|
state=pulumi.get(__ret__, 'state'),
|
|
145
147
|
vpc_id=pulumi.get(__ret__, 'vpc_id'))
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
@_utilities.lift_output_func(get_project_vpc)
|
|
149
148
|
def get_project_vpc_output(cloud_name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
150
149
|
project: Optional[pulumi.Input[Optional[str]]] = None,
|
|
151
150
|
vpc_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
152
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectVpcResult]:
|
|
151
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectVpcResult]:
|
|
153
152
|
"""
|
|
154
|
-
|
|
153
|
+
Gets information about the VPC for an Aiven project.
|
|
155
154
|
|
|
156
155
|
## Example Usage
|
|
157
156
|
|
|
158
|
-
<!--Start PulumiCodeChooser -->
|
|
159
157
|
```python
|
|
160
158
|
import pulumi
|
|
161
159
|
import pulumi_aiven as aiven
|
|
162
160
|
|
|
163
|
-
|
|
161
|
+
example_vpc = aiven.get_project_vpc(project=example_project["project"],
|
|
164
162
|
cloud_name="google-europe-west1")
|
|
165
|
-
myvpc_id = aiven.get_project_vpc(vpc_id=aiven_project_vpc["vpc"]["id"])
|
|
166
163
|
```
|
|
167
|
-
<!--End PulumiCodeChooser -->
|
|
168
164
|
|
|
169
165
|
|
|
170
|
-
: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`.
|
|
171
167
|
:param str project: Identifies the project this resource belongs to.
|
|
172
|
-
: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.
|
|
173
169
|
"""
|
|
174
|
-
|
|
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')))
|
pulumi_aiven/get_redis.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
|
|
|
@@ -115,7 +120,7 @@ class GetRedisResult:
|
|
|
115
120
|
@pulumi.getter(name="additionalDiskSpace")
|
|
116
121
|
def additional_disk_space(self) -> str:
|
|
117
122
|
"""
|
|
118
|
-
|
|
123
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
119
124
|
"""
|
|
120
125
|
return pulumi.get(self, "additional_disk_space")
|
|
121
126
|
|
|
@@ -203,7 +208,7 @@ class GetRedisResult:
|
|
|
203
208
|
@pulumi.getter
|
|
204
209
|
def plan(self) -> str:
|
|
205
210
|
"""
|
|
206
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be
|
|
211
|
+
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
207
212
|
"""
|
|
208
213
|
return pulumi.get(self, "plan")
|
|
209
214
|
|
|
@@ -211,7 +216,7 @@ class GetRedisResult:
|
|
|
211
216
|
@pulumi.getter
|
|
212
217
|
def project(self) -> str:
|
|
213
218
|
"""
|
|
214
|
-
|
|
219
|
+
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.
|
|
215
220
|
"""
|
|
216
221
|
return pulumi.get(self, "project")
|
|
217
222
|
|
|
@@ -235,7 +240,7 @@ class GetRedisResult:
|
|
|
235
240
|
@pulumi.getter(name="redisUserConfigs")
|
|
236
241
|
def redis_user_configs(self) -> Sequence['outputs.GetRedisRedisUserConfigResult']:
|
|
237
242
|
"""
|
|
238
|
-
Redis user configurable settings
|
|
243
|
+
Redis user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
239
244
|
"""
|
|
240
245
|
return pulumi.get(self, "redis_user_configs")
|
|
241
246
|
|
|
@@ -331,7 +336,7 @@ class GetRedisResult:
|
|
|
331
336
|
@pulumi.getter(name="techEmails")
|
|
332
337
|
def tech_emails(self) -> Sequence['outputs.GetRedisTechEmailResult']:
|
|
333
338
|
"""
|
|
334
|
-
|
|
339
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
335
340
|
"""
|
|
336
341
|
return pulumi.get(self, "tech_emails")
|
|
337
342
|
|
|
@@ -389,18 +394,16 @@ def get_redis(project: Optional[str] = None,
|
|
|
389
394
|
|
|
390
395
|
## Example Usage
|
|
391
396
|
|
|
392
|
-
<!--Start PulumiCodeChooser -->
|
|
393
397
|
```python
|
|
394
398
|
import pulumi
|
|
395
399
|
import pulumi_aiven as aiven
|
|
396
400
|
|
|
397
|
-
redis1 = aiven.get_redis(project=
|
|
401
|
+
redis1 = aiven.get_redis(project=pr1["project"],
|
|
398
402
|
service_name="my-redis1")
|
|
399
403
|
```
|
|
400
|
-
<!--End PulumiCodeChooser -->
|
|
401
404
|
|
|
402
405
|
|
|
403
|
-
:param str project:
|
|
406
|
+
: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.
|
|
404
407
|
:param str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
405
408
|
"""
|
|
406
409
|
__args__ = dict()
|
|
@@ -439,29 +442,58 @@ def get_redis(project: Optional[str] = None,
|
|
|
439
442
|
tags=pulumi.get(__ret__, 'tags'),
|
|
440
443
|
tech_emails=pulumi.get(__ret__, 'tech_emails'),
|
|
441
444
|
termination_protection=pulumi.get(__ret__, 'termination_protection'))
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
@_utilities.lift_output_func(get_redis)
|
|
445
445
|
def get_redis_output(project: Optional[pulumi.Input[str]] = None,
|
|
446
446
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
447
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRedisResult]:
|
|
447
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRedisResult]:
|
|
448
448
|
"""
|
|
449
449
|
The Redis data source provides information about the existing Aiven Redis service.
|
|
450
450
|
|
|
451
451
|
## Example Usage
|
|
452
452
|
|
|
453
|
-
<!--Start PulumiCodeChooser -->
|
|
454
453
|
```python
|
|
455
454
|
import pulumi
|
|
456
455
|
import pulumi_aiven as aiven
|
|
457
456
|
|
|
458
|
-
redis1 = aiven.get_redis(project=
|
|
457
|
+
redis1 = aiven.get_redis(project=pr1["project"],
|
|
459
458
|
service_name="my-redis1")
|
|
460
459
|
```
|
|
461
|
-
<!--End PulumiCodeChooser -->
|
|
462
460
|
|
|
463
461
|
|
|
464
|
-
:param str project:
|
|
462
|
+
: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.
|
|
465
463
|
:param str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
466
464
|
"""
|
|
467
|
-
|
|
465
|
+
__args__ = dict()
|
|
466
|
+
__args__['project'] = project
|
|
467
|
+
__args__['serviceName'] = service_name
|
|
468
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
469
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getRedis:getRedis', __args__, opts=opts, typ=GetRedisResult)
|
|
470
|
+
return __ret__.apply(lambda __response__: GetRedisResult(
|
|
471
|
+
additional_disk_space=pulumi.get(__response__, 'additional_disk_space'),
|
|
472
|
+
cloud_name=pulumi.get(__response__, 'cloud_name'),
|
|
473
|
+
components=pulumi.get(__response__, 'components'),
|
|
474
|
+
disk_space=pulumi.get(__response__, 'disk_space'),
|
|
475
|
+
disk_space_cap=pulumi.get(__response__, 'disk_space_cap'),
|
|
476
|
+
disk_space_default=pulumi.get(__response__, 'disk_space_default'),
|
|
477
|
+
disk_space_step=pulumi.get(__response__, 'disk_space_step'),
|
|
478
|
+
disk_space_used=pulumi.get(__response__, 'disk_space_used'),
|
|
479
|
+
id=pulumi.get(__response__, 'id'),
|
|
480
|
+
maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
|
|
481
|
+
maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
|
|
482
|
+
plan=pulumi.get(__response__, 'plan'),
|
|
483
|
+
project=pulumi.get(__response__, 'project'),
|
|
484
|
+
project_vpc_id=pulumi.get(__response__, 'project_vpc_id'),
|
|
485
|
+
redis=pulumi.get(__response__, 'redis'),
|
|
486
|
+
redis_user_configs=pulumi.get(__response__, 'redis_user_configs'),
|
|
487
|
+
service_host=pulumi.get(__response__, 'service_host'),
|
|
488
|
+
service_integrations=pulumi.get(__response__, 'service_integrations'),
|
|
489
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
490
|
+
service_password=pulumi.get(__response__, 'service_password'),
|
|
491
|
+
service_port=pulumi.get(__response__, 'service_port'),
|
|
492
|
+
service_type=pulumi.get(__response__, 'service_type'),
|
|
493
|
+
service_uri=pulumi.get(__response__, 'service_uri'),
|
|
494
|
+
service_username=pulumi.get(__response__, 'service_username'),
|
|
495
|
+
state=pulumi.get(__response__, 'state'),
|
|
496
|
+
static_ips=pulumi.get(__response__, 'static_ips'),
|
|
497
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
498
|
+
tech_emails=pulumi.get(__response__, 'tech_emails'),
|
|
499
|
+
termination_protection=pulumi.get(__response__, 'termination_protection')))
|