pulumi-aiven 6.12.0a1708492523__py3-none-any.whl → 6.13.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 +28 -0
- pulumi_aiven/_inputs.py +2973 -1323
- pulumi_aiven/account.py +40 -32
- pulumi_aiven/account_authentication.py +8 -4
- pulumi_aiven/account_team.py +36 -4
- pulumi_aiven/account_team_member.py +69 -35
- pulumi_aiven/account_team_project.py +52 -12
- pulumi_aiven/aws_privatelink.py +43 -39
- pulumi_aiven/aws_vpc_peering_connection.py +66 -52
- pulumi_aiven/azure_privatelink.py +53 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +33 -33
- pulumi_aiven/azure_vpc_peering_connection.py +80 -68
- pulumi_aiven/billing_group.py +6 -2
- pulumi_aiven/cassandra.py +17 -13
- pulumi_aiven/cassandra_user.py +27 -23
- pulumi_aiven/clickhouse.py +13 -9
- pulumi_aiven/clickhouse_database.py +27 -23
- pulumi_aiven/clickhouse_grant.py +46 -42
- pulumi_aiven/clickhouse_role.py +27 -23
- pulumi_aiven/clickhouse_user.py +27 -23
- pulumi_aiven/connection_pool.py +34 -30
- pulumi_aiven/dragonfly.py +1344 -0
- pulumi_aiven/flink.py +13 -9
- pulumi_aiven/flink_application.py +20 -16
- pulumi_aiven/flink_application_deployment.py +14 -14
- pulumi_aiven/flink_application_version.py +16 -16
- pulumi_aiven/gcp_privatelink.py +26 -26
- pulumi_aiven/gcp_privatelink_connection_approval.py +33 -33
- pulumi_aiven/gcp_vpc_peering_connection.py +41 -37
- pulumi_aiven/get_account.py +4 -0
- pulumi_aiven/get_account_team_member.py +9 -9
- pulumi_aiven/get_aws_privatelink.py +19 -15
- pulumi_aiven/get_aws_vpc_peering_connection.py +37 -23
- pulumi_aiven/get_azure_privatelink.py +21 -17
- pulumi_aiven/get_azure_vpc_peering_connection.py +58 -26
- pulumi_aiven/get_cassanda.py +7 -3
- pulumi_aiven/get_cassandra.py +7 -3
- pulumi_aiven/get_cassandra_user.py +13 -9
- pulumi_aiven/get_clickhouse.py +7 -3
- pulumi_aiven/get_clickhouse_database.py +13 -9
- pulumi_aiven/get_clickhouse_user.py +13 -9
- pulumi_aiven/get_connection_pool.py +14 -10
- pulumi_aiven/get_dragonfly.py +443 -0
- pulumi_aiven/get_flink.py +7 -3
- pulumi_aiven/get_flink_application.py +10 -6
- pulumi_aiven/get_flink_application_version.py +10 -6
- pulumi_aiven/get_gcp_vpc_peering_connection.py +22 -18
- pulumi_aiven/get_grafana.py +7 -3
- pulumi_aiven/get_influx_db.py +2 -114
- pulumi_aiven/get_influxdb_database.py +2 -21
- pulumi_aiven/get_influxdb_user.py +2 -55
- pulumi_aiven/get_kafka.py +7 -3
- pulumi_aiven/get_kafka_acl.py +19 -15
- pulumi_aiven/get_kafka_connect.py +7 -3
- pulumi_aiven/get_kafka_connector.py +13 -9
- pulumi_aiven/get_kafka_mirror_maker.py +7 -3
- pulumi_aiven/get_kafka_schema.py +13 -9
- pulumi_aiven/get_kafka_schema_configuration.py +11 -7
- pulumi_aiven/get_kafka_schema_registry_acl.py +15 -15
- pulumi_aiven/get_kafka_topic.py +13 -9
- pulumi_aiven/get_kafka_user.py +13 -9
- pulumi_aiven/get_m3_aggregator.py +7 -3
- pulumi_aiven/get_m3_db.py +7 -3
- pulumi_aiven/get_m3db_user.py +13 -9
- pulumi_aiven/get_mirror_maker_replication_flow.py +10 -6
- pulumi_aiven/get_my_sql.py +7 -3
- pulumi_aiven/get_mysql_database.py +13 -9
- pulumi_aiven/get_mysql_user.py +13 -9
- pulumi_aiven/get_open_search.py +7 -3
- pulumi_aiven/get_open_search_acl_config.py +10 -6
- pulumi_aiven/get_open_search_acl_rule.py +16 -12
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -6
- pulumi_aiven/get_opensearch_user.py +13 -9
- pulumi_aiven/get_organization.py +12 -8
- pulumi_aiven/get_organization_user_group.py +33 -9
- pulumi_aiven/get_organizational_unit.py +9 -9
- pulumi_aiven/get_pg.py +7 -3
- pulumi_aiven/get_pg_database.py +15 -11
- pulumi_aiven/get_pg_user.py +13 -9
- pulumi_aiven/get_project.py +4 -0
- pulumi_aiven/get_project_user.py +10 -6
- pulumi_aiven/get_project_vpc.py +15 -13
- pulumi_aiven/get_redis.py +7 -3
- pulumi_aiven/get_redis_user.py +17 -13
- pulumi_aiven/get_service_component.py +4 -0
- pulumi_aiven/get_service_integration.py +68 -6
- pulumi_aiven/get_service_integration_endpoint.py +5 -1
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +13 -9
- pulumi_aiven/grafana.py +13 -9
- pulumi_aiven/influx_db.py +239 -138
- pulumi_aiven/influxdb_database.py +37 -25
- pulumi_aiven/influxdb_user.py +44 -63
- pulumi_aiven/kafka.py +19 -15
- pulumi_aiven/kafka_acl.py +41 -37
- pulumi_aiven/kafka_connect.py +13 -9
- pulumi_aiven/kafka_connector.py +29 -25
- pulumi_aiven/kafka_mirror_maker.py +13 -9
- pulumi_aiven/kafka_schema.py +53 -45
- pulumi_aiven/kafka_schema_configuration.py +20 -16
- pulumi_aiven/kafka_schema_registry_acl.py +35 -35
- pulumi_aiven/kafka_topic.py +23 -23
- pulumi_aiven/kafka_user.py +27 -23
- pulumi_aiven/m3_aggregator.py +13 -9
- pulumi_aiven/m3_db.py +13 -9
- pulumi_aiven/m3db_user.py +27 -23
- pulumi_aiven/mirror_maker_replication_flow.py +56 -50
- pulumi_aiven/my_sql.py +13 -9
- pulumi_aiven/mysql_database.py +27 -23
- pulumi_aiven/mysql_user.py +27 -23
- pulumi_aiven/open_search.py +17 -13
- pulumi_aiven/open_search_acl_config.py +20 -16
- pulumi_aiven/open_search_acl_rule.py +34 -30
- pulumi_aiven/opensearch_security_plugin_config.py +68 -16
- pulumi_aiven/opensearch_user.py +27 -23
- pulumi_aiven/organization.py +14 -10
- pulumi_aiven/organization_group_project.py +290 -0
- pulumi_aiven/organization_user.py +20 -18
- pulumi_aiven/organization_user_group.py +77 -38
- pulumi_aiven/organization_user_group_member.py +352 -0
- pulumi_aiven/organizational_unit.py +36 -32
- pulumi_aiven/outputs.py +4004 -1363
- pulumi_aiven/pg.py +16 -16
- pulumi_aiven/pg_database.py +41 -37
- pulumi_aiven/pg_user.py +27 -23
- pulumi_aiven/project.py +28 -2
- pulumi_aiven/project_user.py +20 -16
- pulumi_aiven/project_vpc.py +25 -25
- pulumi_aiven/redis.py +13 -9
- pulumi_aiven/redis_user.py +55 -51
- pulumi_aiven/service_integration.py +207 -15
- pulumi_aiven/service_integration_endpoint.py +7 -7
- pulumi_aiven/static_ip.py +14 -14
- pulumi_aiven/transit_gateway_vpc_attachment.py +27 -23
- {pulumi_aiven-6.12.0a1708492523.dist-info → pulumi_aiven-6.13.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.13.0.dist-info/RECORD +150 -0
- {pulumi_aiven-6.12.0a1708492523.dist-info → pulumi_aiven-6.13.0.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.12.0a1708492523.dist-info/RECORD +0 -146
- {pulumi_aiven-6.12.0a1708492523.dist-info → pulumi_aiven-6.13.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/organization.py
CHANGED
|
@@ -61,7 +61,7 @@ class _OrganizationState:
|
|
|
61
61
|
Input properties used for looking up and filtering Organization resources.
|
|
62
62
|
:param pulumi.Input[str] create_time: Timestamp of the creation of the organization.
|
|
63
63
|
:param pulumi.Input[str] name: Name of the organization.
|
|
64
|
-
:param pulumi.Input[str] tenant_id: Tenant
|
|
64
|
+
:param pulumi.Input[str] tenant_id: Tenant ID of the organization.
|
|
65
65
|
:param pulumi.Input[str] update_time: Timestamp of the last update of the organization.
|
|
66
66
|
"""
|
|
67
67
|
if create_time is not None:
|
|
@@ -103,7 +103,7 @@ class _OrganizationState:
|
|
|
103
103
|
@pulumi.getter(name="tenantId")
|
|
104
104
|
def tenant_id(self) -> Optional[pulumi.Input[str]]:
|
|
105
105
|
"""
|
|
106
|
-
Tenant
|
|
106
|
+
Tenant ID of the organization.
|
|
107
107
|
"""
|
|
108
108
|
return pulumi.get(self, "tenant_id")
|
|
109
109
|
|
|
@@ -142,21 +142,23 @@ class Organization(pulumi.CustomResource):
|
|
|
142
142
|
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationTimeoutsArgs']]] = None,
|
|
143
143
|
__props__=None):
|
|
144
144
|
"""
|
|
145
|
-
Creates and manages an organization
|
|
145
|
+
Creates and manages an [organization](https://aiven.io/docs/platform/concepts/projects_accounts_access).
|
|
146
146
|
|
|
147
147
|
## Example Usage
|
|
148
148
|
|
|
149
|
+
<!--Start PulumiCodeChooser -->
|
|
149
150
|
```python
|
|
150
151
|
import pulumi
|
|
151
152
|
import pulumi_aiven as aiven
|
|
152
153
|
|
|
153
|
-
|
|
154
|
+
main = aiven.Organization("main")
|
|
154
155
|
```
|
|
156
|
+
<!--End PulumiCodeChooser -->
|
|
155
157
|
|
|
156
158
|
## Import
|
|
157
159
|
|
|
158
160
|
```sh
|
|
159
|
-
|
|
161
|
+
$ pulumi import aiven:index/organization:Organization main ORGANIZATION_ID
|
|
160
162
|
```
|
|
161
163
|
|
|
162
164
|
:param str resource_name: The name of the resource.
|
|
@@ -170,21 +172,23 @@ class Organization(pulumi.CustomResource):
|
|
|
170
172
|
args: Optional[OrganizationArgs] = None,
|
|
171
173
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
172
174
|
"""
|
|
173
|
-
Creates and manages an organization
|
|
175
|
+
Creates and manages an [organization](https://aiven.io/docs/platform/concepts/projects_accounts_access).
|
|
174
176
|
|
|
175
177
|
## Example Usage
|
|
176
178
|
|
|
179
|
+
<!--Start PulumiCodeChooser -->
|
|
177
180
|
```python
|
|
178
181
|
import pulumi
|
|
179
182
|
import pulumi_aiven as aiven
|
|
180
183
|
|
|
181
|
-
|
|
184
|
+
main = aiven.Organization("main")
|
|
182
185
|
```
|
|
186
|
+
<!--End PulumiCodeChooser -->
|
|
183
187
|
|
|
184
188
|
## Import
|
|
185
189
|
|
|
186
190
|
```sh
|
|
187
|
-
|
|
191
|
+
$ pulumi import aiven:index/organization:Organization main ORGANIZATION_ID
|
|
188
192
|
```
|
|
189
193
|
|
|
190
194
|
:param str resource_name: The name of the resource.
|
|
@@ -242,7 +246,7 @@ class Organization(pulumi.CustomResource):
|
|
|
242
246
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
243
247
|
:param pulumi.Input[str] create_time: Timestamp of the creation of the organization.
|
|
244
248
|
:param pulumi.Input[str] name: Name of the organization.
|
|
245
|
-
:param pulumi.Input[str] tenant_id: Tenant
|
|
249
|
+
:param pulumi.Input[str] tenant_id: Tenant ID of the organization.
|
|
246
250
|
:param pulumi.Input[str] update_time: Timestamp of the last update of the organization.
|
|
247
251
|
"""
|
|
248
252
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -276,7 +280,7 @@ class Organization(pulumi.CustomResource):
|
|
|
276
280
|
@pulumi.getter(name="tenantId")
|
|
277
281
|
def tenant_id(self) -> pulumi.Output[str]:
|
|
278
282
|
"""
|
|
279
|
-
Tenant
|
|
283
|
+
Tenant ID of the organization.
|
|
280
284
|
"""
|
|
281
285
|
return pulumi.get(self, "tenant_id")
|
|
282
286
|
|
|
@@ -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,8 +174,9 @@ class OrganizationUser(pulumi.CustomResource):
|
|
|
174
174
|
user_email: Optional[pulumi.Input[str]] = None,
|
|
175
175
|
__props__=None):
|
|
176
176
|
"""
|
|
177
|
-
This resource is deprecated
|
|
178
|
-
|
|
177
|
+
**This resource is deprecated**. Use the `OrganizationUser` data source instead.
|
|
178
|
+
|
|
179
|
+
The organization user resource allows the creation and management of an Aiven organization user.
|
|
179
180
|
|
|
180
181
|
During the creation of `OrganizationUser`resource, an email invitation will be sent
|
|
181
182
|
to a user using `user_email` address. If the user accepts an invitation, they will become
|
|
@@ -185,8 +186,8 @@ class OrganizationUser(pulumi.CustomResource):
|
|
|
185
186
|
|
|
186
187
|
:param str resource_name: The name of the resource.
|
|
187
188
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
188
|
-
:param pulumi.Input[str] organization_id: The unique organization ID.
|
|
189
|
-
: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.
|
|
190
191
|
"""
|
|
191
192
|
...
|
|
192
193
|
@overload
|
|
@@ -195,8 +196,9 @@ class OrganizationUser(pulumi.CustomResource):
|
|
|
195
196
|
args: OrganizationUserArgs,
|
|
196
197
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
197
198
|
"""
|
|
198
|
-
This resource is deprecated
|
|
199
|
-
|
|
199
|
+
**This resource is deprecated**. Use the `OrganizationUser` data source instead.
|
|
200
|
+
|
|
201
|
+
The organization user resource allows the creation and management of an Aiven organization user.
|
|
200
202
|
|
|
201
203
|
During the creation of `OrganizationUser`resource, an email invitation will be sent
|
|
202
204
|
to a user using `user_email` address. If the user accepts an invitation, they will become
|
|
@@ -266,8 +268,8 @@ class OrganizationUser(pulumi.CustomResource):
|
|
|
266
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.
|
|
267
269
|
:param pulumi.Input[str] create_time: Time of creation
|
|
268
270
|
:param pulumi.Input[str] invited_by: The email address of the user who sent an invitation to the user.
|
|
269
|
-
:param pulumi.Input[str] organization_id: The unique organization ID.
|
|
270
|
-
: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.
|
|
271
273
|
:param pulumi.Input[str] user_id: The unique organization user ID
|
|
272
274
|
"""
|
|
273
275
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -316,7 +318,7 @@ class OrganizationUser(pulumi.CustomResource):
|
|
|
316
318
|
@pulumi.getter(name="organizationId")
|
|
317
319
|
def organization_id(self) -> pulumi.Output[str]:
|
|
318
320
|
"""
|
|
319
|
-
The unique organization ID.
|
|
321
|
+
The unique organization ID. Changing this property forces recreation of the resource.
|
|
320
322
|
"""
|
|
321
323
|
return pulumi.get(self, "organization_id")
|
|
322
324
|
|
|
@@ -324,7 +326,7 @@ class OrganizationUser(pulumi.CustomResource):
|
|
|
324
326
|
@pulumi.getter(name="userEmail")
|
|
325
327
|
def user_email(self) -> pulumi.Output[str]:
|
|
326
328
|
"""
|
|
327
|
-
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.
|
|
328
330
|
"""
|
|
329
331
|
return pulumi.get(self, "user_email")
|
|
330
332
|
|