pulumi-aiven 6.13.0a1710156545__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 +32749 -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_quota.py +604 -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 +38976 -21894
- 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.0.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0.dist-info/RECORD +170 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0.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.0.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: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`.
|
|
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: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`.
|
|
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: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`.
|
|
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: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`.
|
|
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,33 +151,35 @@ 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
|
|
|
153
|
-
<!--Start PulumiCodeChooser -->
|
|
154
162
|
```python
|
|
155
163
|
import pulumi
|
|
156
164
|
import pulumi_aiven as aiven
|
|
157
165
|
|
|
158
166
|
mytestuser = aiven.ProjectUser("mytestuser",
|
|
159
|
-
project=
|
|
167
|
+
project=myproject["project"],
|
|
160
168
|
email="john.doe@example.com",
|
|
161
169
|
member_type="admin")
|
|
162
170
|
```
|
|
163
|
-
<!--End PulumiCodeChooser -->
|
|
164
171
|
|
|
165
172
|
## Import
|
|
166
173
|
|
|
167
174
|
```sh
|
|
168
|
-
$ pulumi import aiven:index/projectUser:ProjectUser mytestuser
|
|
175
|
+
$ pulumi import aiven:index/projectUser:ProjectUser mytestuser PROJECT/EMAIL
|
|
169
176
|
```
|
|
170
177
|
|
|
171
178
|
:param str resource_name: The name of the resource.
|
|
172
179
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
173
|
-
:param pulumi.Input[str] email: Email address of the user
|
|
174
|
-
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `
|
|
175
|
-
: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: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`.
|
|
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.
|
|
176
183
|
"""
|
|
177
184
|
...
|
|
178
185
|
@overload
|
|
@@ -181,26 +188,28 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
181
188
|
args: ProjectUserArgs,
|
|
182
189
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
183
190
|
"""
|
|
184
|
-
|
|
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.
|
|
185
196
|
|
|
186
197
|
## Example Usage
|
|
187
198
|
|
|
188
|
-
<!--Start PulumiCodeChooser -->
|
|
189
199
|
```python
|
|
190
200
|
import pulumi
|
|
191
201
|
import pulumi_aiven as aiven
|
|
192
202
|
|
|
193
203
|
mytestuser = aiven.ProjectUser("mytestuser",
|
|
194
|
-
project=
|
|
204
|
+
project=myproject["project"],
|
|
195
205
|
email="john.doe@example.com",
|
|
196
206
|
member_type="admin")
|
|
197
207
|
```
|
|
198
|
-
<!--End PulumiCodeChooser -->
|
|
199
208
|
|
|
200
209
|
## Import
|
|
201
210
|
|
|
202
211
|
```sh
|
|
203
|
-
$ pulumi import aiven:index/projectUser:ProjectUser mytestuser
|
|
212
|
+
$ pulumi import aiven:index/projectUser:ProjectUser mytestuser PROJECT/EMAIL
|
|
204
213
|
```
|
|
205
214
|
|
|
206
215
|
:param str resource_name: The name of the resource.
|
|
@@ -261,10 +270,10 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
261
270
|
:param str resource_name: The unique name of the resulting resource.
|
|
262
271
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
263
272
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
264
|
-
:param pulumi.Input[bool] accepted: Whether the user has accepted the request to join the project
|
|
265
|
-
:param pulumi.Input[str] email: Email address of the user
|
|
266
|
-
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `
|
|
267
|
-
: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: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`.
|
|
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.
|
|
268
277
|
"""
|
|
269
278
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
270
279
|
|
|
@@ -280,7 +289,7 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
280
289
|
@pulumi.getter
|
|
281
290
|
def accepted(self) -> pulumi.Output[bool]:
|
|
282
291
|
"""
|
|
283
|
-
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.
|
|
284
293
|
"""
|
|
285
294
|
return pulumi.get(self, "accepted")
|
|
286
295
|
|
|
@@ -288,7 +297,7 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
288
297
|
@pulumi.getter
|
|
289
298
|
def email(self) -> pulumi.Output[str]:
|
|
290
299
|
"""
|
|
291
|
-
Email address of the user
|
|
300
|
+
Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
292
301
|
"""
|
|
293
302
|
return pulumi.get(self, "email")
|
|
294
303
|
|
|
@@ -296,7 +305,7 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
296
305
|
@pulumi.getter(name="memberType")
|
|
297
306
|
def member_type(self) -> pulumi.Output[str]:
|
|
298
307
|
"""
|
|
299
|
-
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: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`.
|
|
300
309
|
"""
|
|
301
310
|
return pulumi.get(self, "member_type")
|
|
302
311
|
|
|
@@ -304,7 +313,7 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
304
313
|
@pulumi.getter
|
|
305
314
|
def project(self) -> pulumi.Output[str]:
|
|
306
315
|
"""
|
|
307
|
-
|
|
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.
|
|
308
317
|
"""
|
|
309
318
|
return pulumi.get(self, "project")
|
|
310
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
|
-
$ pulumi import aiven:index/projectVpc:ProjectVpc
|
|
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
|
-
$ pulumi import aiven:index/projectVpc:ProjectVpc
|
|
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