pulumi-aiven 6.13.0a1710994538__py3-none-any.whl → 6.13.0a1711361534__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 +28 -0
- pulumi_aiven/_inputs.py +2479 -932
- pulumi_aiven/account.py +34 -30
- pulumi_aiven/account_authentication.py +6 -2
- pulumi_aiven/account_team_member.py +21 -21
- pulumi_aiven/aws_privatelink.py +39 -39
- pulumi_aiven/aws_vpc_peering_connection.py +62 -52
- pulumi_aiven/azure_privatelink.py +49 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +33 -33
- pulumi_aiven/azure_vpc_peering_connection.py +76 -68
- pulumi_aiven/cassandra.py +7 -7
- pulumi_aiven/cassandra_user.py +21 -21
- pulumi_aiven/clickhouse.py +7 -7
- pulumi_aiven/clickhouse_database.py +21 -21
- pulumi_aiven/clickhouse_grant.py +42 -42
- pulumi_aiven/clickhouse_role.py +21 -21
- pulumi_aiven/clickhouse_user.py +21 -21
- pulumi_aiven/connection_pool.py +28 -28
- pulumi_aiven/dragonfly.py +1344 -0
- pulumi_aiven/flink.py +7 -7
- pulumi_aiven/flink_application.py +14 -14
- pulumi_aiven/flink_application_deployment.py +14 -14
- pulumi_aiven/flink_application_version.py +14 -14
- pulumi_aiven/gcp_privatelink.py +26 -26
- pulumi_aiven/gcp_privatelink_connection_approval.py +33 -33
- pulumi_aiven/gcp_vpc_peering_connection.py +35 -35
- pulumi_aiven/get_account_team_member.py +9 -9
- pulumi_aiven/get_aws_privatelink.py +15 -15
- pulumi_aiven/get_aws_vpc_peering_connection.py +33 -23
- pulumi_aiven/get_azure_privatelink.py +17 -17
- pulumi_aiven/get_azure_vpc_peering_connection.py +58 -26
- pulumi_aiven/get_cassanda.py +3 -3
- pulumi_aiven/get_cassandra.py +3 -3
- pulumi_aiven/get_cassandra_user.py +9 -9
- pulumi_aiven/get_clickhouse.py +3 -3
- pulumi_aiven/get_clickhouse_database.py +9 -9
- pulumi_aiven/get_clickhouse_user.py +9 -9
- pulumi_aiven/get_connection_pool.py +10 -10
- pulumi_aiven/get_dragonfly.py +443 -0
- pulumi_aiven/get_flink.py +3 -3
- pulumi_aiven/get_flink_application.py +6 -6
- pulumi_aiven/get_flink_application_version.py +6 -6
- pulumi_aiven/get_gcp_vpc_peering_connection.py +18 -18
- pulumi_aiven/get_grafana.py +3 -3
- pulumi_aiven/get_kafka.py +3 -3
- pulumi_aiven/get_kafka_acl.py +15 -15
- pulumi_aiven/get_kafka_connect.py +3 -3
- pulumi_aiven/get_kafka_connector.py +9 -9
- pulumi_aiven/get_kafka_mirror_maker.py +3 -3
- pulumi_aiven/get_kafka_schema.py +9 -9
- pulumi_aiven/get_kafka_schema_configuration.py +7 -7
- pulumi_aiven/get_kafka_schema_registry_acl.py +15 -15
- pulumi_aiven/get_kafka_topic.py +9 -9
- pulumi_aiven/get_kafka_user.py +9 -9
- pulumi_aiven/get_m3_aggregator.py +3 -3
- pulumi_aiven/get_m3_db.py +3 -3
- pulumi_aiven/get_m3db_user.py +9 -9
- pulumi_aiven/get_mirror_maker_replication_flow.py +6 -6
- pulumi_aiven/get_my_sql.py +3 -3
- pulumi_aiven/get_mysql_database.py +9 -9
- pulumi_aiven/get_mysql_user.py +9 -9
- pulumi_aiven/get_open_search.py +3 -3
- pulumi_aiven/get_open_search_acl_config.py +6 -6
- pulumi_aiven/get_open_search_acl_rule.py +12 -12
- pulumi_aiven/get_opensearch_security_plugin_config.py +6 -6
- pulumi_aiven/get_opensearch_user.py +9 -9
- pulumi_aiven/get_organization.py +8 -8
- pulumi_aiven/get_organization_user_group.py +33 -9
- pulumi_aiven/get_organizational_unit.py +9 -9
- pulumi_aiven/get_pg.py +3 -3
- pulumi_aiven/get_pg_database.py +11 -11
- pulumi_aiven/get_pg_user.py +9 -9
- pulumi_aiven/get_project_user.py +6 -6
- pulumi_aiven/get_project_vpc.py +11 -13
- pulumi_aiven/get_redis.py +3 -3
- pulumi_aiven/get_redis_user.py +13 -13
- pulumi_aiven/get_service_integration.py +56 -4
- pulumi_aiven/get_service_integration_endpoint.py +1 -1
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +9 -9
- pulumi_aiven/grafana.py +7 -7
- pulumi_aiven/influx_db.py +7 -7
- pulumi_aiven/influxdb_database.py +21 -21
- pulumi_aiven/influxdb_user.py +28 -28
- pulumi_aiven/kafka.py +7 -7
- pulumi_aiven/kafka_acl.py +35 -35
- pulumi_aiven/kafka_connect.py +7 -7
- pulumi_aiven/kafka_connector.py +21 -21
- pulumi_aiven/kafka_mirror_maker.py +7 -7
- pulumi_aiven/kafka_schema.py +47 -43
- pulumi_aiven/kafka_schema_configuration.py +14 -14
- pulumi_aiven/kafka_schema_registry_acl.py +35 -35
- pulumi_aiven/kafka_topic.py +21 -21
- pulumi_aiven/kafka_user.py +21 -21
- pulumi_aiven/m3_aggregator.py +7 -7
- pulumi_aiven/m3_db.py +7 -7
- pulumi_aiven/m3db_user.py +21 -21
- pulumi_aiven/mirror_maker_replication_flow.py +50 -48
- pulumi_aiven/my_sql.py +7 -7
- pulumi_aiven/mysql_database.py +21 -21
- pulumi_aiven/mysql_user.py +21 -21
- pulumi_aiven/open_search.py +7 -7
- pulumi_aiven/open_search_acl_config.py +14 -14
- pulumi_aiven/open_search_acl_rule.py +28 -28
- pulumi_aiven/opensearch_security_plugin_config.py +66 -14
- pulumi_aiven/opensearch_user.py +21 -21
- pulumi_aiven/organization.py +10 -10
- pulumi_aiven/organization_group_project.py +290 -0
- pulumi_aiven/organization_user.py +16 -16
- pulumi_aiven/organization_user_group.py +61 -23
- pulumi_aiven/organization_user_group_member.py +352 -0
- pulumi_aiven/organizational_unit.py +32 -32
- pulumi_aiven/outputs.py +2989 -467
- pulumi_aiven/pg.py +7 -7
- pulumi_aiven/pg_database.py +35 -35
- pulumi_aiven/pg_user.py +21 -21
- pulumi_aiven/project.py +26 -0
- pulumi_aiven/project_user.py +14 -14
- pulumi_aiven/project_vpc.py +25 -25
- pulumi_aiven/redis.py +7 -7
- pulumi_aiven/redis_user.py +49 -49
- pulumi_aiven/service_integration.py +195 -7
- pulumi_aiven/service_integration_endpoint.py +7 -7
- pulumi_aiven/static_ip.py +14 -14
- pulumi_aiven/transit_gateway_vpc_attachment.py +21 -21
- {pulumi_aiven-6.13.0a1710994538.dist-info → pulumi_aiven-6.13.0a1711361534.dist-info}/METADATA +1 -1
- pulumi_aiven-6.13.0a1711361534.dist-info/RECORD +150 -0
- pulumi_aiven-6.13.0a1710994538.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1710994538.dist-info → pulumi_aiven-6.13.0a1711361534.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.13.0a1710994538.dist-info → pulumi_aiven-6.13.0a1711361534.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import pulumi
|
|
8
|
+
import pulumi.runtime
|
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
+
from . import _utilities
|
|
11
|
+
from . import outputs
|
|
12
|
+
from ._inputs import *
|
|
13
|
+
|
|
14
|
+
__all__ = ['OrganizationGroupProjectArgs', 'OrganizationGroupProject']
|
|
15
|
+
|
|
16
|
+
@pulumi.input_type
|
|
17
|
+
class OrganizationGroupProjectArgs:
|
|
18
|
+
def __init__(__self__, *,
|
|
19
|
+
group_id: pulumi.Input[str],
|
|
20
|
+
project: pulumi.Input[str],
|
|
21
|
+
role: pulumi.Input[str],
|
|
22
|
+
timeouts: Optional[pulumi.Input['OrganizationGroupProjectTimeoutsArgs']] = None):
|
|
23
|
+
"""
|
|
24
|
+
The set of arguments for constructing a OrganizationGroupProject resource.
|
|
25
|
+
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
26
|
+
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
27
|
+
:param pulumi.Input[str] role: Role assigned to all users in the group for the project.
|
|
28
|
+
"""
|
|
29
|
+
pulumi.set(__self__, "group_id", group_id)
|
|
30
|
+
pulumi.set(__self__, "project", project)
|
|
31
|
+
pulumi.set(__self__, "role", role)
|
|
32
|
+
if timeouts is not None:
|
|
33
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
34
|
+
|
|
35
|
+
@property
|
|
36
|
+
@pulumi.getter(name="groupId")
|
|
37
|
+
def group_id(self) -> pulumi.Input[str]:
|
|
38
|
+
"""
|
|
39
|
+
The ID of the user group.
|
|
40
|
+
"""
|
|
41
|
+
return pulumi.get(self, "group_id")
|
|
42
|
+
|
|
43
|
+
@group_id.setter
|
|
44
|
+
def group_id(self, value: pulumi.Input[str]):
|
|
45
|
+
pulumi.set(self, "group_id", value)
|
|
46
|
+
|
|
47
|
+
@property
|
|
48
|
+
@pulumi.getter
|
|
49
|
+
def project(self) -> pulumi.Input[str]:
|
|
50
|
+
"""
|
|
51
|
+
The project that the users in the group are members of.
|
|
52
|
+
"""
|
|
53
|
+
return pulumi.get(self, "project")
|
|
54
|
+
|
|
55
|
+
@project.setter
|
|
56
|
+
def project(self, value: pulumi.Input[str]):
|
|
57
|
+
pulumi.set(self, "project", value)
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
@pulumi.getter
|
|
61
|
+
def role(self) -> pulumi.Input[str]:
|
|
62
|
+
"""
|
|
63
|
+
Role assigned to all users in the group for the project.
|
|
64
|
+
"""
|
|
65
|
+
return pulumi.get(self, "role")
|
|
66
|
+
|
|
67
|
+
@role.setter
|
|
68
|
+
def role(self, value: pulumi.Input[str]):
|
|
69
|
+
pulumi.set(self, "role", value)
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
@pulumi.getter
|
|
73
|
+
def timeouts(self) -> Optional[pulumi.Input['OrganizationGroupProjectTimeoutsArgs']]:
|
|
74
|
+
return pulumi.get(self, "timeouts")
|
|
75
|
+
|
|
76
|
+
@timeouts.setter
|
|
77
|
+
def timeouts(self, value: Optional[pulumi.Input['OrganizationGroupProjectTimeoutsArgs']]):
|
|
78
|
+
pulumi.set(self, "timeouts", value)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
@pulumi.input_type
|
|
82
|
+
class _OrganizationGroupProjectState:
|
|
83
|
+
def __init__(__self__, *,
|
|
84
|
+
group_id: Optional[pulumi.Input[str]] = None,
|
|
85
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
86
|
+
role: Optional[pulumi.Input[str]] = None,
|
|
87
|
+
timeouts: Optional[pulumi.Input['OrganizationGroupProjectTimeoutsArgs']] = None):
|
|
88
|
+
"""
|
|
89
|
+
Input properties used for looking up and filtering OrganizationGroupProject resources.
|
|
90
|
+
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
91
|
+
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
92
|
+
:param pulumi.Input[str] role: Role assigned to all users in the group for the project.
|
|
93
|
+
"""
|
|
94
|
+
if group_id is not None:
|
|
95
|
+
pulumi.set(__self__, "group_id", group_id)
|
|
96
|
+
if project is not None:
|
|
97
|
+
pulumi.set(__self__, "project", project)
|
|
98
|
+
if role is not None:
|
|
99
|
+
pulumi.set(__self__, "role", role)
|
|
100
|
+
if timeouts is not None:
|
|
101
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
102
|
+
|
|
103
|
+
@property
|
|
104
|
+
@pulumi.getter(name="groupId")
|
|
105
|
+
def group_id(self) -> Optional[pulumi.Input[str]]:
|
|
106
|
+
"""
|
|
107
|
+
The ID of the user group.
|
|
108
|
+
"""
|
|
109
|
+
return pulumi.get(self, "group_id")
|
|
110
|
+
|
|
111
|
+
@group_id.setter
|
|
112
|
+
def group_id(self, value: Optional[pulumi.Input[str]]):
|
|
113
|
+
pulumi.set(self, "group_id", value)
|
|
114
|
+
|
|
115
|
+
@property
|
|
116
|
+
@pulumi.getter
|
|
117
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
|
118
|
+
"""
|
|
119
|
+
The project that the users in the group are members of.
|
|
120
|
+
"""
|
|
121
|
+
return pulumi.get(self, "project")
|
|
122
|
+
|
|
123
|
+
@project.setter
|
|
124
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
|
125
|
+
pulumi.set(self, "project", value)
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
@pulumi.getter
|
|
129
|
+
def role(self) -> Optional[pulumi.Input[str]]:
|
|
130
|
+
"""
|
|
131
|
+
Role assigned to all users in the group for the project.
|
|
132
|
+
"""
|
|
133
|
+
return pulumi.get(self, "role")
|
|
134
|
+
|
|
135
|
+
@role.setter
|
|
136
|
+
def role(self, value: Optional[pulumi.Input[str]]):
|
|
137
|
+
pulumi.set(self, "role", value)
|
|
138
|
+
|
|
139
|
+
@property
|
|
140
|
+
@pulumi.getter
|
|
141
|
+
def timeouts(self) -> Optional[pulumi.Input['OrganizationGroupProjectTimeoutsArgs']]:
|
|
142
|
+
return pulumi.get(self, "timeouts")
|
|
143
|
+
|
|
144
|
+
@timeouts.setter
|
|
145
|
+
def timeouts(self, value: Optional[pulumi.Input['OrganizationGroupProjectTimeoutsArgs']]):
|
|
146
|
+
pulumi.set(self, "timeouts", value)
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
class OrganizationGroupProject(pulumi.CustomResource):
|
|
150
|
+
@overload
|
|
151
|
+
def __init__(__self__,
|
|
152
|
+
resource_name: str,
|
|
153
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
154
|
+
group_id: Optional[pulumi.Input[str]] = None,
|
|
155
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
156
|
+
role: Optional[pulumi.Input[str]] = None,
|
|
157
|
+
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationGroupProjectTimeoutsArgs']]] = None,
|
|
158
|
+
__props__=None):
|
|
159
|
+
"""
|
|
160
|
+
Adds and manages a [group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups) of users as [members of a project](https://aiven.io/docs/platform/reference/project-member-privileges).
|
|
161
|
+
|
|
162
|
+
## Import
|
|
163
|
+
|
|
164
|
+
```sh
|
|
165
|
+
$ pulumi import aiven:index/organizationGroupProject:OrganizationGroupProject example PROJECT/USER_GROUP_ID
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
:param str resource_name: The name of the resource.
|
|
169
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
170
|
+
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
171
|
+
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
172
|
+
:param pulumi.Input[str] role: Role assigned to all users in the group for the project.
|
|
173
|
+
"""
|
|
174
|
+
...
|
|
175
|
+
@overload
|
|
176
|
+
def __init__(__self__,
|
|
177
|
+
resource_name: str,
|
|
178
|
+
args: OrganizationGroupProjectArgs,
|
|
179
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
180
|
+
"""
|
|
181
|
+
Adds and manages a [group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups) of users as [members of a project](https://aiven.io/docs/platform/reference/project-member-privileges).
|
|
182
|
+
|
|
183
|
+
## Import
|
|
184
|
+
|
|
185
|
+
```sh
|
|
186
|
+
$ pulumi import aiven:index/organizationGroupProject:OrganizationGroupProject example PROJECT/USER_GROUP_ID
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
:param str resource_name: The name of the resource.
|
|
190
|
+
:param OrganizationGroupProjectArgs args: The arguments to use to populate this resource's properties.
|
|
191
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
192
|
+
"""
|
|
193
|
+
...
|
|
194
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
195
|
+
resource_args, opts = _utilities.get_resource_args_opts(OrganizationGroupProjectArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
196
|
+
if resource_args is not None:
|
|
197
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
198
|
+
else:
|
|
199
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
200
|
+
|
|
201
|
+
def _internal_init(__self__,
|
|
202
|
+
resource_name: str,
|
|
203
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
204
|
+
group_id: Optional[pulumi.Input[str]] = None,
|
|
205
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
206
|
+
role: Optional[pulumi.Input[str]] = None,
|
|
207
|
+
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationGroupProjectTimeoutsArgs']]] = None,
|
|
208
|
+
__props__=None):
|
|
209
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
210
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
211
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
212
|
+
if opts.id is None:
|
|
213
|
+
if __props__ is not None:
|
|
214
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
215
|
+
__props__ = OrganizationGroupProjectArgs.__new__(OrganizationGroupProjectArgs)
|
|
216
|
+
|
|
217
|
+
if group_id is None and not opts.urn:
|
|
218
|
+
raise TypeError("Missing required property 'group_id'")
|
|
219
|
+
__props__.__dict__["group_id"] = group_id
|
|
220
|
+
if project is None and not opts.urn:
|
|
221
|
+
raise TypeError("Missing required property 'project'")
|
|
222
|
+
__props__.__dict__["project"] = project
|
|
223
|
+
if role is None and not opts.urn:
|
|
224
|
+
raise TypeError("Missing required property 'role'")
|
|
225
|
+
__props__.__dict__["role"] = role
|
|
226
|
+
__props__.__dict__["timeouts"] = timeouts
|
|
227
|
+
super(OrganizationGroupProject, __self__).__init__(
|
|
228
|
+
'aiven:index/organizationGroupProject:OrganizationGroupProject',
|
|
229
|
+
resource_name,
|
|
230
|
+
__props__,
|
|
231
|
+
opts)
|
|
232
|
+
|
|
233
|
+
@staticmethod
|
|
234
|
+
def get(resource_name: str,
|
|
235
|
+
id: pulumi.Input[str],
|
|
236
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
237
|
+
group_id: Optional[pulumi.Input[str]] = None,
|
|
238
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
239
|
+
role: Optional[pulumi.Input[str]] = None,
|
|
240
|
+
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationGroupProjectTimeoutsArgs']]] = None) -> 'OrganizationGroupProject':
|
|
241
|
+
"""
|
|
242
|
+
Get an existing OrganizationGroupProject resource's state with the given name, id, and optional extra
|
|
243
|
+
properties used to qualify the lookup.
|
|
244
|
+
|
|
245
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
246
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
247
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
248
|
+
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
249
|
+
:param pulumi.Input[str] project: The project that the users in the group are members of.
|
|
250
|
+
:param pulumi.Input[str] role: Role assigned to all users in the group for the project.
|
|
251
|
+
"""
|
|
252
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
253
|
+
|
|
254
|
+
__props__ = _OrganizationGroupProjectState.__new__(_OrganizationGroupProjectState)
|
|
255
|
+
|
|
256
|
+
__props__.__dict__["group_id"] = group_id
|
|
257
|
+
__props__.__dict__["project"] = project
|
|
258
|
+
__props__.__dict__["role"] = role
|
|
259
|
+
__props__.__dict__["timeouts"] = timeouts
|
|
260
|
+
return OrganizationGroupProject(resource_name, opts=opts, __props__=__props__)
|
|
261
|
+
|
|
262
|
+
@property
|
|
263
|
+
@pulumi.getter(name="groupId")
|
|
264
|
+
def group_id(self) -> pulumi.Output[str]:
|
|
265
|
+
"""
|
|
266
|
+
The ID of the user group.
|
|
267
|
+
"""
|
|
268
|
+
return pulumi.get(self, "group_id")
|
|
269
|
+
|
|
270
|
+
@property
|
|
271
|
+
@pulumi.getter
|
|
272
|
+
def project(self) -> pulumi.Output[str]:
|
|
273
|
+
"""
|
|
274
|
+
The project that the users in the group are members of.
|
|
275
|
+
"""
|
|
276
|
+
return pulumi.get(self, "project")
|
|
277
|
+
|
|
278
|
+
@property
|
|
279
|
+
@pulumi.getter
|
|
280
|
+
def role(self) -> pulumi.Output[str]:
|
|
281
|
+
"""
|
|
282
|
+
Role assigned to all users in the group for the project.
|
|
283
|
+
"""
|
|
284
|
+
return pulumi.get(self, "role")
|
|
285
|
+
|
|
286
|
+
@property
|
|
287
|
+
@pulumi.getter
|
|
288
|
+
def timeouts(self) -> pulumi.Output[Optional['outputs.OrganizationGroupProjectTimeouts']]:
|
|
289
|
+
return pulumi.get(self, "timeouts")
|
|
290
|
+
|
|
@@ -18,8 +18,8 @@ class OrganizationUserArgs:
|
|
|
18
18
|
user_email: pulumi.Input[str]):
|
|
19
19
|
"""
|
|
20
20
|
The set of arguments for constructing a OrganizationUser resource.
|
|
21
|
-
:param pulumi.Input[str] organization_id: The unique organization ID.
|
|
22
|
-
:param pulumi.Input[str] user_email: This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase.
|
|
21
|
+
:param pulumi.Input[str] organization_id: The unique organization ID. Changing this property forces recreation of the resource.
|
|
22
|
+
:param pulumi.Input[str] user_email: This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. Changing this property forces recreation of the resource.
|
|
23
23
|
"""
|
|
24
24
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
25
25
|
pulumi.set(__self__, "user_email", user_email)
|
|
@@ -28,7 +28,7 @@ class OrganizationUserArgs:
|
|
|
28
28
|
@pulumi.getter(name="organizationId")
|
|
29
29
|
def organization_id(self) -> pulumi.Input[str]:
|
|
30
30
|
"""
|
|
31
|
-
The unique organization ID.
|
|
31
|
+
The unique organization ID. Changing this property forces recreation of the resource.
|
|
32
32
|
"""
|
|
33
33
|
return pulumi.get(self, "organization_id")
|
|
34
34
|
|
|
@@ -40,7 +40,7 @@ class OrganizationUserArgs:
|
|
|
40
40
|
@pulumi.getter(name="userEmail")
|
|
41
41
|
def user_email(self) -> pulumi.Input[str]:
|
|
42
42
|
"""
|
|
43
|
-
This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase.
|
|
43
|
+
This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. Changing this property forces recreation of the resource.
|
|
44
44
|
"""
|
|
45
45
|
return pulumi.get(self, "user_email")
|
|
46
46
|
|
|
@@ -63,8 +63,8 @@ class _OrganizationUserState:
|
|
|
63
63
|
:param pulumi.Input[bool] accepted: This is a boolean flag that determines whether an invitation was accepted or not by the user. `false` value means that the invitation was sent to the user but not yet accepted. `true` means that the user accepted the invitation and now a member of an organization.
|
|
64
64
|
:param pulumi.Input[str] create_time: Time of creation
|
|
65
65
|
:param pulumi.Input[str] invited_by: The email address of the user who sent an invitation to the user.
|
|
66
|
-
:param pulumi.Input[str] organization_id: The unique organization ID.
|
|
67
|
-
:param pulumi.Input[str] user_email: This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase.
|
|
66
|
+
:param pulumi.Input[str] organization_id: The unique organization ID. Changing this property forces recreation of the resource.
|
|
67
|
+
:param pulumi.Input[str] user_email: This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. Changing this property forces recreation of the resource.
|
|
68
68
|
:param pulumi.Input[str] user_id: The unique organization user ID
|
|
69
69
|
"""
|
|
70
70
|
if accepted is not None:
|
|
@@ -132,7 +132,7 @@ class _OrganizationUserState:
|
|
|
132
132
|
@pulumi.getter(name="organizationId")
|
|
133
133
|
def organization_id(self) -> Optional[pulumi.Input[str]]:
|
|
134
134
|
"""
|
|
135
|
-
The unique organization ID.
|
|
135
|
+
The unique organization ID. Changing this property forces recreation of the resource.
|
|
136
136
|
"""
|
|
137
137
|
return pulumi.get(self, "organization_id")
|
|
138
138
|
|
|
@@ -144,7 +144,7 @@ class _OrganizationUserState:
|
|
|
144
144
|
@pulumi.getter(name="userEmail")
|
|
145
145
|
def user_email(self) -> Optional[pulumi.Input[str]]:
|
|
146
146
|
"""
|
|
147
|
-
This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase.
|
|
147
|
+
This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. Changing this property forces recreation of the resource.
|
|
148
148
|
"""
|
|
149
149
|
return pulumi.get(self, "user_email")
|
|
150
150
|
|
|
@@ -174,7 +174,7 @@ class OrganizationUser(pulumi.CustomResource):
|
|
|
174
174
|
user_email: Optional[pulumi.Input[str]] = None,
|
|
175
175
|
__props__=None):
|
|
176
176
|
"""
|
|
177
|
-
**This resource is deprecated**. Use the OrganizationUser data source instead.
|
|
177
|
+
**This resource is deprecated**. Use the `OrganizationUser` data source instead.
|
|
178
178
|
|
|
179
179
|
The organization user resource allows the creation and management of an Aiven organization user.
|
|
180
180
|
|
|
@@ -186,8 +186,8 @@ class OrganizationUser(pulumi.CustomResource):
|
|
|
186
186
|
|
|
187
187
|
:param str resource_name: The name of the resource.
|
|
188
188
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
189
|
-
:param pulumi.Input[str] organization_id: The unique organization ID.
|
|
190
|
-
:param pulumi.Input[str] user_email: This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase.
|
|
189
|
+
:param pulumi.Input[str] organization_id: The unique organization ID. Changing this property forces recreation of the resource.
|
|
190
|
+
:param pulumi.Input[str] user_email: This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. Changing this property forces recreation of the resource.
|
|
191
191
|
"""
|
|
192
192
|
...
|
|
193
193
|
@overload
|
|
@@ -196,7 +196,7 @@ class OrganizationUser(pulumi.CustomResource):
|
|
|
196
196
|
args: OrganizationUserArgs,
|
|
197
197
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
198
198
|
"""
|
|
199
|
-
**This resource is deprecated**. Use the OrganizationUser data source instead.
|
|
199
|
+
**This resource is deprecated**. Use the `OrganizationUser` data source instead.
|
|
200
200
|
|
|
201
201
|
The organization user resource allows the creation and management of an Aiven organization user.
|
|
202
202
|
|
|
@@ -268,8 +268,8 @@ class OrganizationUser(pulumi.CustomResource):
|
|
|
268
268
|
:param pulumi.Input[bool] accepted: This is a boolean flag that determines whether an invitation was accepted or not by the user. `false` value means that the invitation was sent to the user but not yet accepted. `true` means that the user accepted the invitation and now a member of an organization.
|
|
269
269
|
:param pulumi.Input[str] create_time: Time of creation
|
|
270
270
|
:param pulumi.Input[str] invited_by: The email address of the user who sent an invitation to the user.
|
|
271
|
-
:param pulumi.Input[str] organization_id: The unique organization ID.
|
|
272
|
-
:param pulumi.Input[str] user_email: This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase.
|
|
271
|
+
:param pulumi.Input[str] organization_id: The unique organization ID. Changing this property forces recreation of the resource.
|
|
272
|
+
:param pulumi.Input[str] user_email: This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. Changing this property forces recreation of the resource.
|
|
273
273
|
:param pulumi.Input[str] user_id: The unique organization user ID
|
|
274
274
|
"""
|
|
275
275
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -318,7 +318,7 @@ class OrganizationUser(pulumi.CustomResource):
|
|
|
318
318
|
@pulumi.getter(name="organizationId")
|
|
319
319
|
def organization_id(self) -> pulumi.Output[str]:
|
|
320
320
|
"""
|
|
321
|
-
The unique organization ID.
|
|
321
|
+
The unique organization ID. Changing this property forces recreation of the resource.
|
|
322
322
|
"""
|
|
323
323
|
return pulumi.get(self, "organization_id")
|
|
324
324
|
|
|
@@ -326,7 +326,7 @@ class OrganizationUser(pulumi.CustomResource):
|
|
|
326
326
|
@pulumi.getter(name="userEmail")
|
|
327
327
|
def user_email(self) -> pulumi.Output[str]:
|
|
328
328
|
"""
|
|
329
|
-
This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase.
|
|
329
|
+
This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. Changing this property forces recreation of the resource.
|
|
330
330
|
"""
|
|
331
331
|
return pulumi.get(self, "user_email")
|
|
332
332
|
|
|
@@ -19,9 +19,9 @@ class OrganizationUserGroupArgs:
|
|
|
19
19
|
name: Optional[pulumi.Input[str]] = None):
|
|
20
20
|
"""
|
|
21
21
|
The set of arguments for constructing a OrganizationUserGroup resource.
|
|
22
|
-
:param pulumi.Input[str] description: The description of the user group.
|
|
23
|
-
:param pulumi.Input[str] organization_id: The ID of the organization.
|
|
24
|
-
:param pulumi.Input[str] name: The name of the user group.
|
|
22
|
+
:param pulumi.Input[str] description: The description of the user group. Changing this property forces recreation of the resource.
|
|
23
|
+
:param pulumi.Input[str] organization_id: The ID of the organization. Changing this property forces recreation of the resource.
|
|
24
|
+
:param pulumi.Input[str] name: The name of the user group. Changing this property forces recreation of the resource.
|
|
25
25
|
"""
|
|
26
26
|
pulumi.set(__self__, "description", description)
|
|
27
27
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
@@ -32,7 +32,7 @@ class OrganizationUserGroupArgs:
|
|
|
32
32
|
@pulumi.getter
|
|
33
33
|
def description(self) -> pulumi.Input[str]:
|
|
34
34
|
"""
|
|
35
|
-
The description of the user group.
|
|
35
|
+
The description of the user group. Changing this property forces recreation of the resource.
|
|
36
36
|
"""
|
|
37
37
|
return pulumi.get(self, "description")
|
|
38
38
|
|
|
@@ -44,7 +44,7 @@ class OrganizationUserGroupArgs:
|
|
|
44
44
|
@pulumi.getter(name="organizationId")
|
|
45
45
|
def organization_id(self) -> pulumi.Input[str]:
|
|
46
46
|
"""
|
|
47
|
-
The ID of the organization.
|
|
47
|
+
The ID of the organization. Changing this property forces recreation of the resource.
|
|
48
48
|
"""
|
|
49
49
|
return pulumi.get(self, "organization_id")
|
|
50
50
|
|
|
@@ -56,7 +56,7 @@ class OrganizationUserGroupArgs:
|
|
|
56
56
|
@pulumi.getter
|
|
57
57
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
58
58
|
"""
|
|
59
|
-
The name of the user group.
|
|
59
|
+
The name of the user group. Changing this property forces recreation of the resource.
|
|
60
60
|
"""
|
|
61
61
|
return pulumi.get(self, "name")
|
|
62
62
|
|
|
@@ -77,10 +77,10 @@ class _OrganizationUserGroupState:
|
|
|
77
77
|
"""
|
|
78
78
|
Input properties used for looking up and filtering OrganizationUserGroup resources.
|
|
79
79
|
:param pulumi.Input[str] create_time: Time of creation.
|
|
80
|
-
:param pulumi.Input[str] description: The description of the user group.
|
|
80
|
+
:param pulumi.Input[str] description: The description of the user group. Changing this property forces recreation of the resource.
|
|
81
81
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
82
|
-
:param pulumi.Input[str] name: The name of the user group.
|
|
83
|
-
:param pulumi.Input[str] organization_id: The ID of the organization.
|
|
82
|
+
:param pulumi.Input[str] name: The name of the user group. Changing this property forces recreation of the resource.
|
|
83
|
+
:param pulumi.Input[str] organization_id: The ID of the organization. Changing this property forces recreation of the resource.
|
|
84
84
|
:param pulumi.Input[str] update_time: Time of last update.
|
|
85
85
|
"""
|
|
86
86
|
if create_time is not None:
|
|
@@ -112,7 +112,7 @@ class _OrganizationUserGroupState:
|
|
|
112
112
|
@pulumi.getter
|
|
113
113
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
114
114
|
"""
|
|
115
|
-
The description of the user group.
|
|
115
|
+
The description of the user group. Changing this property forces recreation of the resource.
|
|
116
116
|
"""
|
|
117
117
|
return pulumi.get(self, "description")
|
|
118
118
|
|
|
@@ -136,7 +136,7 @@ class _OrganizationUserGroupState:
|
|
|
136
136
|
@pulumi.getter
|
|
137
137
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
138
138
|
"""
|
|
139
|
-
The name of the user group.
|
|
139
|
+
The name of the user group. Changing this property forces recreation of the resource.
|
|
140
140
|
"""
|
|
141
141
|
return pulumi.get(self, "name")
|
|
142
142
|
|
|
@@ -148,7 +148,7 @@ class _OrganizationUserGroupState:
|
|
|
148
148
|
@pulumi.getter(name="organizationId")
|
|
149
149
|
def organization_id(self) -> Optional[pulumi.Input[str]]:
|
|
150
150
|
"""
|
|
151
|
-
The ID of the organization.
|
|
151
|
+
The ID of the organization. Changing this property forces recreation of the resource.
|
|
152
152
|
"""
|
|
153
153
|
return pulumi.get(self, "organization_id")
|
|
154
154
|
|
|
@@ -179,13 +179,32 @@ class OrganizationUserGroup(pulumi.CustomResource):
|
|
|
179
179
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
180
180
|
__props__=None):
|
|
181
181
|
"""
|
|
182
|
-
Creates and manages a user group in an organization.
|
|
182
|
+
Creates and manages a [user group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups) in an organization.
|
|
183
|
+
|
|
184
|
+
## Example Usage
|
|
185
|
+
|
|
186
|
+
<!--Start PulumiCodeChooser -->
|
|
187
|
+
```python
|
|
188
|
+
import pulumi
|
|
189
|
+
import pulumi_aiven as aiven
|
|
190
|
+
|
|
191
|
+
example = aiven.OrganizationUserGroup("example",
|
|
192
|
+
description="Example group of users.",
|
|
193
|
+
organization_id=aiven_organization["main"]["id"])
|
|
194
|
+
```
|
|
195
|
+
<!--End PulumiCodeChooser -->
|
|
196
|
+
|
|
197
|
+
## Import
|
|
198
|
+
|
|
199
|
+
```sh
|
|
200
|
+
$ pulumi import aiven:index/organizationUserGroup:OrganizationUserGroup example ORGANIZATION_ID/USER_GROUP_ID
|
|
201
|
+
```
|
|
183
202
|
|
|
184
203
|
:param str resource_name: The name of the resource.
|
|
185
204
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
186
|
-
:param pulumi.Input[str] description: The description of the user group.
|
|
187
|
-
:param pulumi.Input[str] name: The name of the user group.
|
|
188
|
-
:param pulumi.Input[str] organization_id: The ID of the organization.
|
|
205
|
+
:param pulumi.Input[str] description: The description of the user group. Changing this property forces recreation of the resource.
|
|
206
|
+
:param pulumi.Input[str] name: The name of the user group. Changing this property forces recreation of the resource.
|
|
207
|
+
:param pulumi.Input[str] organization_id: The ID of the organization. Changing this property forces recreation of the resource.
|
|
189
208
|
"""
|
|
190
209
|
...
|
|
191
210
|
@overload
|
|
@@ -194,7 +213,26 @@ class OrganizationUserGroup(pulumi.CustomResource):
|
|
|
194
213
|
args: OrganizationUserGroupArgs,
|
|
195
214
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
196
215
|
"""
|
|
197
|
-
Creates and manages a user group in an organization.
|
|
216
|
+
Creates and manages a [user group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups) in an organization.
|
|
217
|
+
|
|
218
|
+
## Example Usage
|
|
219
|
+
|
|
220
|
+
<!--Start PulumiCodeChooser -->
|
|
221
|
+
```python
|
|
222
|
+
import pulumi
|
|
223
|
+
import pulumi_aiven as aiven
|
|
224
|
+
|
|
225
|
+
example = aiven.OrganizationUserGroup("example",
|
|
226
|
+
description="Example group of users.",
|
|
227
|
+
organization_id=aiven_organization["main"]["id"])
|
|
228
|
+
```
|
|
229
|
+
<!--End PulumiCodeChooser -->
|
|
230
|
+
|
|
231
|
+
## Import
|
|
232
|
+
|
|
233
|
+
```sh
|
|
234
|
+
$ pulumi import aiven:index/organizationUserGroup:OrganizationUserGroup example ORGANIZATION_ID/USER_GROUP_ID
|
|
235
|
+
```
|
|
198
236
|
|
|
199
237
|
:param str resource_name: The name of the resource.
|
|
200
238
|
:param OrganizationUserGroupArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -257,10 +295,10 @@ class OrganizationUserGroup(pulumi.CustomResource):
|
|
|
257
295
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
258
296
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
259
297
|
:param pulumi.Input[str] create_time: Time of creation.
|
|
260
|
-
:param pulumi.Input[str] description: The description of the user group.
|
|
298
|
+
:param pulumi.Input[str] description: The description of the user group. Changing this property forces recreation of the resource.
|
|
261
299
|
:param pulumi.Input[str] group_id: The ID of the user group.
|
|
262
|
-
:param pulumi.Input[str] name: The name of the user group.
|
|
263
|
-
:param pulumi.Input[str] organization_id: The ID of the organization.
|
|
300
|
+
:param pulumi.Input[str] name: The name of the user group. Changing this property forces recreation of the resource.
|
|
301
|
+
:param pulumi.Input[str] organization_id: The ID of the organization. Changing this property forces recreation of the resource.
|
|
264
302
|
:param pulumi.Input[str] update_time: Time of last update.
|
|
265
303
|
"""
|
|
266
304
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -287,7 +325,7 @@ class OrganizationUserGroup(pulumi.CustomResource):
|
|
|
287
325
|
@pulumi.getter
|
|
288
326
|
def description(self) -> pulumi.Output[str]:
|
|
289
327
|
"""
|
|
290
|
-
The description of the user group.
|
|
328
|
+
The description of the user group. Changing this property forces recreation of the resource.
|
|
291
329
|
"""
|
|
292
330
|
return pulumi.get(self, "description")
|
|
293
331
|
|
|
@@ -303,7 +341,7 @@ class OrganizationUserGroup(pulumi.CustomResource):
|
|
|
303
341
|
@pulumi.getter
|
|
304
342
|
def name(self) -> pulumi.Output[str]:
|
|
305
343
|
"""
|
|
306
|
-
The name of the user group.
|
|
344
|
+
The name of the user group. Changing this property forces recreation of the resource.
|
|
307
345
|
"""
|
|
308
346
|
return pulumi.get(self, "name")
|
|
309
347
|
|
|
@@ -311,7 +349,7 @@ class OrganizationUserGroup(pulumi.CustomResource):
|
|
|
311
349
|
@pulumi.getter(name="organizationId")
|
|
312
350
|
def organization_id(self) -> pulumi.Output[str]:
|
|
313
351
|
"""
|
|
314
|
-
The ID of the organization.
|
|
352
|
+
The ID of the organization. Changing this property forces recreation of the resource.
|
|
315
353
|
"""
|
|
316
354
|
return pulumi.get(self, "organization_id")
|
|
317
355
|
|