pulumi-aiven 6.13.0a1709702245__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 +32826 -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_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 +38509 -21612
- 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.0a1736831339.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.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.0a1736831339.dist-info}/top_level.txt +0 -0
pulumi_aiven/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__ = ['ProjectUserArgs', 'ProjectUser']
|
|
@@ -19,9 +24,9 @@ class ProjectUserArgs:
|
|
|
19
24
|
project: pulumi.Input[str]):
|
|
20
25
|
"""
|
|
21
26
|
The set of arguments for constructing a ProjectUser resource.
|
|
22
|
-
:param pulumi.Input[str] email: Email address of the user
|
|
23
|
-
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `
|
|
24
|
-
:param pulumi.Input[str] project:
|
|
27
|
+
:param pulumi.Input[str] email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
28
|
+
:param pulumi.Input[str] member_type: 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`.
|
|
29
|
+
:param pulumi.Input[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.
|
|
25
30
|
"""
|
|
26
31
|
pulumi.set(__self__, "email", email)
|
|
27
32
|
pulumi.set(__self__, "member_type", member_type)
|
|
@@ -31,7 +36,7 @@ class ProjectUserArgs:
|
|
|
31
36
|
@pulumi.getter
|
|
32
37
|
def email(self) -> pulumi.Input[str]:
|
|
33
38
|
"""
|
|
34
|
-
Email address of the user
|
|
39
|
+
Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
35
40
|
"""
|
|
36
41
|
return pulumi.get(self, "email")
|
|
37
42
|
|
|
@@ -43,7 +48,7 @@ class ProjectUserArgs:
|
|
|
43
48
|
@pulumi.getter(name="memberType")
|
|
44
49
|
def member_type(self) -> pulumi.Input[str]:
|
|
45
50
|
"""
|
|
46
|
-
Project membership type. The possible values are `admin`, `developer` and `
|
|
51
|
+
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`.
|
|
47
52
|
"""
|
|
48
53
|
return pulumi.get(self, "member_type")
|
|
49
54
|
|
|
@@ -55,7 +60,7 @@ class ProjectUserArgs:
|
|
|
55
60
|
@pulumi.getter
|
|
56
61
|
def project(self) -> pulumi.Input[str]:
|
|
57
62
|
"""
|
|
58
|
-
|
|
63
|
+
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.
|
|
59
64
|
"""
|
|
60
65
|
return pulumi.get(self, "project")
|
|
61
66
|
|
|
@@ -73,10 +78,10 @@ class _ProjectUserState:
|
|
|
73
78
|
project: Optional[pulumi.Input[str]] = None):
|
|
74
79
|
"""
|
|
75
80
|
Input properties used for looking up and filtering ProjectUser resources.
|
|
76
|
-
:param pulumi.Input[bool] accepted: Whether the user has accepted the request to join the project
|
|
77
|
-
:param pulumi.Input[str] email: Email address of the user
|
|
78
|
-
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `
|
|
79
|
-
:param pulumi.Input[str] project:
|
|
81
|
+
:param pulumi.Input[bool] accepted: Whether the user has accepted the request to join the project. Users get an invite and become project members after accepting the invite.
|
|
82
|
+
:param pulumi.Input[str] email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
83
|
+
:param pulumi.Input[str] member_type: 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`.
|
|
84
|
+
:param pulumi.Input[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.
|
|
80
85
|
"""
|
|
81
86
|
if accepted is not None:
|
|
82
87
|
pulumi.set(__self__, "accepted", accepted)
|
|
@@ -91,7 +96,7 @@ class _ProjectUserState:
|
|
|
91
96
|
@pulumi.getter
|
|
92
97
|
def accepted(self) -> Optional[pulumi.Input[bool]]:
|
|
93
98
|
"""
|
|
94
|
-
Whether the user has accepted the request to join the project
|
|
99
|
+
Whether the user has accepted the request to join the project. Users get an invite and become project members after accepting the invite.
|
|
95
100
|
"""
|
|
96
101
|
return pulumi.get(self, "accepted")
|
|
97
102
|
|
|
@@ -103,7 +108,7 @@ class _ProjectUserState:
|
|
|
103
108
|
@pulumi.getter
|
|
104
109
|
def email(self) -> Optional[pulumi.Input[str]]:
|
|
105
110
|
"""
|
|
106
|
-
Email address of the user
|
|
111
|
+
Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
107
112
|
"""
|
|
108
113
|
return pulumi.get(self, "email")
|
|
109
114
|
|
|
@@ -115,7 +120,7 @@ class _ProjectUserState:
|
|
|
115
120
|
@pulumi.getter(name="memberType")
|
|
116
121
|
def member_type(self) -> Optional[pulumi.Input[str]]:
|
|
117
122
|
"""
|
|
118
|
-
Project membership type. The possible values are `admin`, `developer` and `
|
|
123
|
+
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`.
|
|
119
124
|
"""
|
|
120
125
|
return pulumi.get(self, "member_type")
|
|
121
126
|
|
|
@@ -127,7 +132,7 @@ class _ProjectUserState:
|
|
|
127
132
|
@pulumi.getter
|
|
128
133
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
129
134
|
"""
|
|
130
|
-
|
|
135
|
+
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.
|
|
131
136
|
"""
|
|
132
137
|
return pulumi.get(self, "project")
|
|
133
138
|
|
|
@@ -146,7 +151,11 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
146
151
|
project: Optional[pulumi.Input[str]] = None,
|
|
147
152
|
__props__=None):
|
|
148
153
|
"""
|
|
149
|
-
|
|
154
|
+
Creates and manages an Aiven project member.
|
|
155
|
+
|
|
156
|
+
**This resource is deprecated.** Use `OrganizationPermission` and
|
|
157
|
+
migrate existing ProjectUser resources
|
|
158
|
+
to the new resource.
|
|
150
159
|
|
|
151
160
|
## Example Usage
|
|
152
161
|
|
|
@@ -155,7 +164,7 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
155
164
|
import pulumi_aiven as aiven
|
|
156
165
|
|
|
157
166
|
mytestuser = aiven.ProjectUser("mytestuser",
|
|
158
|
-
project=
|
|
167
|
+
project=myproject["project"],
|
|
159
168
|
email="john.doe@example.com",
|
|
160
169
|
member_type="admin")
|
|
161
170
|
```
|
|
@@ -163,14 +172,14 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
163
172
|
## Import
|
|
164
173
|
|
|
165
174
|
```sh
|
|
166
|
-
|
|
175
|
+
$ pulumi import aiven:index/projectUser:ProjectUser mytestuser PROJECT/EMAIL
|
|
167
176
|
```
|
|
168
177
|
|
|
169
178
|
:param str resource_name: The name of the resource.
|
|
170
179
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
171
|
-
:param pulumi.Input[str] email: Email address of the user
|
|
172
|
-
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `
|
|
173
|
-
:param pulumi.Input[str] project:
|
|
180
|
+
:param pulumi.Input[str] email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
181
|
+
:param pulumi.Input[str] member_type: 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`.
|
|
182
|
+
:param pulumi.Input[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.
|
|
174
183
|
"""
|
|
175
184
|
...
|
|
176
185
|
@overload
|
|
@@ -179,7 +188,11 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
179
188
|
args: ProjectUserArgs,
|
|
180
189
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
181
190
|
"""
|
|
182
|
-
|
|
191
|
+
Creates and manages an Aiven project member.
|
|
192
|
+
|
|
193
|
+
**This resource is deprecated.** Use `OrganizationPermission` and
|
|
194
|
+
migrate existing ProjectUser resources
|
|
195
|
+
to the new resource.
|
|
183
196
|
|
|
184
197
|
## Example Usage
|
|
185
198
|
|
|
@@ -188,7 +201,7 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
188
201
|
import pulumi_aiven as aiven
|
|
189
202
|
|
|
190
203
|
mytestuser = aiven.ProjectUser("mytestuser",
|
|
191
|
-
project=
|
|
204
|
+
project=myproject["project"],
|
|
192
205
|
email="john.doe@example.com",
|
|
193
206
|
member_type="admin")
|
|
194
207
|
```
|
|
@@ -196,7 +209,7 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
196
209
|
## Import
|
|
197
210
|
|
|
198
211
|
```sh
|
|
199
|
-
|
|
212
|
+
$ pulumi import aiven:index/projectUser:ProjectUser mytestuser PROJECT/EMAIL
|
|
200
213
|
```
|
|
201
214
|
|
|
202
215
|
:param str resource_name: The name of the resource.
|
|
@@ -257,10 +270,10 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
257
270
|
:param str resource_name: The unique name of the resulting resource.
|
|
258
271
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
259
272
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
260
|
-
:param pulumi.Input[bool] accepted: Whether the user has accepted the request to join the project
|
|
261
|
-
:param pulumi.Input[str] email: Email address of the user
|
|
262
|
-
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `
|
|
263
|
-
:param pulumi.Input[str] project:
|
|
273
|
+
:param pulumi.Input[bool] accepted: Whether the user has accepted the request to join the project. Users get an invite and become project members after accepting the invite.
|
|
274
|
+
:param pulumi.Input[str] email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
275
|
+
:param pulumi.Input[str] member_type: 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`.
|
|
276
|
+
:param pulumi.Input[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.
|
|
264
277
|
"""
|
|
265
278
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
266
279
|
|
|
@@ -276,7 +289,7 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
276
289
|
@pulumi.getter
|
|
277
290
|
def accepted(self) -> pulumi.Output[bool]:
|
|
278
291
|
"""
|
|
279
|
-
Whether the user has accepted the request to join the project
|
|
292
|
+
Whether the user has accepted the request to join the project. Users get an invite and become project members after accepting the invite.
|
|
280
293
|
"""
|
|
281
294
|
return pulumi.get(self, "accepted")
|
|
282
295
|
|
|
@@ -284,7 +297,7 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
284
297
|
@pulumi.getter
|
|
285
298
|
def email(self) -> pulumi.Output[str]:
|
|
286
299
|
"""
|
|
287
|
-
Email address of the user
|
|
300
|
+
Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
288
301
|
"""
|
|
289
302
|
return pulumi.get(self, "email")
|
|
290
303
|
|
|
@@ -292,7 +305,7 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
292
305
|
@pulumi.getter(name="memberType")
|
|
293
306
|
def member_type(self) -> pulumi.Output[str]:
|
|
294
307
|
"""
|
|
295
|
-
Project membership type. The possible values are `admin`, `developer` and `
|
|
308
|
+
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`.
|
|
296
309
|
"""
|
|
297
310
|
return pulumi.get(self, "member_type")
|
|
298
311
|
|
|
@@ -300,7 +313,7 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
300
313
|
@pulumi.getter
|
|
301
314
|
def project(self) -> pulumi.Output[str]:
|
|
302
315
|
"""
|
|
303
|
-
|
|
316
|
+
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.
|
|
304
317
|
"""
|
|
305
318
|
return pulumi.get(self, "project")
|
|
306
319
|
|
pulumi_aiven/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__ = ['ProjectVpcArgs', 'ProjectVpc']
|
|
@@ -19,9 +24,9 @@ class ProjectVpcArgs:
|
|
|
19
24
|
project: pulumi.Input[str]):
|
|
20
25
|
"""
|
|
21
26
|
The set of arguments for constructing a ProjectVpc resource.
|
|
22
|
-
:param pulumi.Input[str] cloud_name:
|
|
23
|
-
:param pulumi.Input[str] network_cidr: Network address range used by the VPC
|
|
24
|
-
:param pulumi.Input[str] project:
|
|
27
|
+
:param pulumi.Input[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`. Changing this property forces recreation of the resource.
|
|
28
|
+
:param pulumi.Input[str] network_cidr: Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
29
|
+
:param pulumi.Input[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.
|
|
25
30
|
"""
|
|
26
31
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
27
32
|
pulumi.set(__self__, "network_cidr", network_cidr)
|
|
@@ -31,7 +36,7 @@ class ProjectVpcArgs:
|
|
|
31
36
|
@pulumi.getter(name="cloudName")
|
|
32
37
|
def cloud_name(self) -> pulumi.Input[str]:
|
|
33
38
|
"""
|
|
34
|
-
|
|
39
|
+
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`. Changing this property forces recreation of the resource.
|
|
35
40
|
"""
|
|
36
41
|
return pulumi.get(self, "cloud_name")
|
|
37
42
|
|
|
@@ -43,7 +48,7 @@ class ProjectVpcArgs:
|
|
|
43
48
|
@pulumi.getter(name="networkCidr")
|
|
44
49
|
def network_cidr(self) -> pulumi.Input[str]:
|
|
45
50
|
"""
|
|
46
|
-
Network address range used by the VPC
|
|
51
|
+
Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
47
52
|
"""
|
|
48
53
|
return pulumi.get(self, "network_cidr")
|
|
49
54
|
|
|
@@ -55,7 +60,7 @@ class ProjectVpcArgs:
|
|
|
55
60
|
@pulumi.getter
|
|
56
61
|
def project(self) -> pulumi.Input[str]:
|
|
57
62
|
"""
|
|
58
|
-
|
|
63
|
+
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.
|
|
59
64
|
"""
|
|
60
65
|
return pulumi.get(self, "project")
|
|
61
66
|
|
|
@@ -73,10 +78,10 @@ class _ProjectVpcState:
|
|
|
73
78
|
state: Optional[pulumi.Input[str]] = None):
|
|
74
79
|
"""
|
|
75
80
|
Input properties used for looking up and filtering ProjectVpc resources.
|
|
76
|
-
:param pulumi.Input[str] cloud_name:
|
|
77
|
-
:param pulumi.Input[str] network_cidr: Network address range used by the VPC
|
|
78
|
-
:param pulumi.Input[str] project:
|
|
79
|
-
:param pulumi.Input[str] state: State of the VPC. The possible values are `
|
|
81
|
+
:param pulumi.Input[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`. Changing this property forces recreation of the resource.
|
|
82
|
+
:param pulumi.Input[str] network_cidr: Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
83
|
+
:param pulumi.Input[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.
|
|
84
|
+
:param pulumi.Input[str] state: State of the VPC. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`.
|
|
80
85
|
"""
|
|
81
86
|
if cloud_name is not None:
|
|
82
87
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
@@ -91,7 +96,7 @@ class _ProjectVpcState:
|
|
|
91
96
|
@pulumi.getter(name="cloudName")
|
|
92
97
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
93
98
|
"""
|
|
94
|
-
|
|
99
|
+
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`. Changing this property forces recreation of the resource.
|
|
95
100
|
"""
|
|
96
101
|
return pulumi.get(self, "cloud_name")
|
|
97
102
|
|
|
@@ -103,7 +108,7 @@ class _ProjectVpcState:
|
|
|
103
108
|
@pulumi.getter(name="networkCidr")
|
|
104
109
|
def network_cidr(self) -> Optional[pulumi.Input[str]]:
|
|
105
110
|
"""
|
|
106
|
-
Network address range used by the VPC
|
|
111
|
+
Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
107
112
|
"""
|
|
108
113
|
return pulumi.get(self, "network_cidr")
|
|
109
114
|
|
|
@@ -115,7 +120,7 @@ class _ProjectVpcState:
|
|
|
115
120
|
@pulumi.getter
|
|
116
121
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
117
122
|
"""
|
|
118
|
-
|
|
123
|
+
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.
|
|
119
124
|
"""
|
|
120
125
|
return pulumi.get(self, "project")
|
|
121
126
|
|
|
@@ -127,7 +132,7 @@ class _ProjectVpcState:
|
|
|
127
132
|
@pulumi.getter
|
|
128
133
|
def state(self) -> Optional[pulumi.Input[str]]:
|
|
129
134
|
"""
|
|
130
|
-
State of the VPC. The possible values are `
|
|
135
|
+
State of the VPC. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`.
|
|
131
136
|
"""
|
|
132
137
|
return pulumi.get(self, "state")
|
|
133
138
|
|
|
@@ -146,19 +151,31 @@ class ProjectVpc(pulumi.CustomResource):
|
|
|
146
151
|
project: Optional[pulumi.Input[str]] = None,
|
|
147
152
|
__props__=None):
|
|
148
153
|
"""
|
|
149
|
-
|
|
154
|
+
Creates and manages a VPC for an Aiven project.
|
|
155
|
+
|
|
156
|
+
## Example Usage
|
|
157
|
+
|
|
158
|
+
```python
|
|
159
|
+
import pulumi
|
|
160
|
+
import pulumi_aiven as aiven
|
|
161
|
+
|
|
162
|
+
example_vpc = aiven.ProjectVpc("example_vpc",
|
|
163
|
+
project=example_project["project"],
|
|
164
|
+
cloud_name="google-europe-west1",
|
|
165
|
+
network_cidr="192.168.1.0/24")
|
|
166
|
+
```
|
|
150
167
|
|
|
151
168
|
## Import
|
|
152
169
|
|
|
153
170
|
```sh
|
|
154
|
-
|
|
171
|
+
$ pulumi import aiven:index/projectVpc:ProjectVpc example_vpc PROJECT/ID
|
|
155
172
|
```
|
|
156
173
|
|
|
157
174
|
:param str resource_name: The name of the resource.
|
|
158
175
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
159
|
-
:param pulumi.Input[str] cloud_name:
|
|
160
|
-
:param pulumi.Input[str] network_cidr: Network address range used by the VPC
|
|
161
|
-
:param pulumi.Input[str] project:
|
|
176
|
+
:param pulumi.Input[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`. Changing this property forces recreation of the resource.
|
|
177
|
+
:param pulumi.Input[str] network_cidr: Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
178
|
+
:param pulumi.Input[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.
|
|
162
179
|
"""
|
|
163
180
|
...
|
|
164
181
|
@overload
|
|
@@ -167,12 +184,24 @@ class ProjectVpc(pulumi.CustomResource):
|
|
|
167
184
|
args: ProjectVpcArgs,
|
|
168
185
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
169
186
|
"""
|
|
170
|
-
|
|
187
|
+
Creates and manages a VPC for an Aiven project.
|
|
188
|
+
|
|
189
|
+
## Example Usage
|
|
190
|
+
|
|
191
|
+
```python
|
|
192
|
+
import pulumi
|
|
193
|
+
import pulumi_aiven as aiven
|
|
194
|
+
|
|
195
|
+
example_vpc = aiven.ProjectVpc("example_vpc",
|
|
196
|
+
project=example_project["project"],
|
|
197
|
+
cloud_name="google-europe-west1",
|
|
198
|
+
network_cidr="192.168.1.0/24")
|
|
199
|
+
```
|
|
171
200
|
|
|
172
201
|
## Import
|
|
173
202
|
|
|
174
203
|
```sh
|
|
175
|
-
|
|
204
|
+
$ pulumi import aiven:index/projectVpc:ProjectVpc example_vpc PROJECT/ID
|
|
176
205
|
```
|
|
177
206
|
|
|
178
207
|
:param str resource_name: The name of the resource.
|
|
@@ -233,10 +262,10 @@ class ProjectVpc(pulumi.CustomResource):
|
|
|
233
262
|
:param str resource_name: The unique name of the resulting resource.
|
|
234
263
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
235
264
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
236
|
-
:param pulumi.Input[str] cloud_name:
|
|
237
|
-
:param pulumi.Input[str] network_cidr: Network address range used by the VPC
|
|
238
|
-
:param pulumi.Input[str] project:
|
|
239
|
-
:param pulumi.Input[str] state: State of the VPC. The possible values are `
|
|
265
|
+
:param pulumi.Input[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`. Changing this property forces recreation of the resource.
|
|
266
|
+
:param pulumi.Input[str] network_cidr: Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
267
|
+
:param pulumi.Input[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.
|
|
268
|
+
:param pulumi.Input[str] state: State of the VPC. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`.
|
|
240
269
|
"""
|
|
241
270
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
242
271
|
|
|
@@ -252,7 +281,7 @@ class ProjectVpc(pulumi.CustomResource):
|
|
|
252
281
|
@pulumi.getter(name="cloudName")
|
|
253
282
|
def cloud_name(self) -> pulumi.Output[str]:
|
|
254
283
|
"""
|
|
255
|
-
|
|
284
|
+
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`. Changing this property forces recreation of the resource.
|
|
256
285
|
"""
|
|
257
286
|
return pulumi.get(self, "cloud_name")
|
|
258
287
|
|
|
@@ -260,7 +289,7 @@ class ProjectVpc(pulumi.CustomResource):
|
|
|
260
289
|
@pulumi.getter(name="networkCidr")
|
|
261
290
|
def network_cidr(self) -> pulumi.Output[str]:
|
|
262
291
|
"""
|
|
263
|
-
Network address range used by the VPC
|
|
292
|
+
Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
264
293
|
"""
|
|
265
294
|
return pulumi.get(self, "network_cidr")
|
|
266
295
|
|
|
@@ -268,7 +297,7 @@ class ProjectVpc(pulumi.CustomResource):
|
|
|
268
297
|
@pulumi.getter
|
|
269
298
|
def project(self) -> pulumi.Output[str]:
|
|
270
299
|
"""
|
|
271
|
-
|
|
300
|
+
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.
|
|
272
301
|
"""
|
|
273
302
|
return pulumi.get(self, "project")
|
|
274
303
|
|
|
@@ -276,7 +305,7 @@ class ProjectVpc(pulumi.CustomResource):
|
|
|
276
305
|
@pulumi.getter
|
|
277
306
|
def state(self) -> pulumi.Output[str]:
|
|
278
307
|
"""
|
|
279
|
-
State of the VPC. The possible values are `
|
|
308
|
+
State of the VPC. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`.
|
|
280
309
|
"""
|
|
281
310
|
return pulumi.get(self, "state")
|
|
282
311
|
|
pulumi_aiven/provider.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__ = ['ProviderArgs', 'Provider']
|
pulumi_aiven/pulumi-plugin.json
CHANGED