pulumi-aiven 6.43.0a1756184863__py3-none-any.whl → 6.47.0a1767071446__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.
- pulumi_aiven/__init__.py +4 -0
- pulumi_aiven/_inputs.py +3087 -602
- pulumi_aiven/account_team.py +6 -12
- pulumi_aiven/account_team_member.py +6 -12
- pulumi_aiven/account_team_project.py +6 -12
- pulumi_aiven/alloydbomni.py +72 -23
- pulumi_aiven/alloydbomni_database.py +26 -0
- pulumi_aiven/alloydbomni_user.py +135 -8
- pulumi_aiven/billing_group.py +225 -114
- pulumi_aiven/cassandra.py +46 -23
- pulumi_aiven/cassandra_user.py +110 -9
- pulumi_aiven/clickhouse.py +46 -23
- pulumi_aiven/clickhouse_user.py +127 -7
- pulumi_aiven/dragonfly.py +46 -23
- pulumi_aiven/flink.py +46 -23
- pulumi_aiven/get_account_team.py +6 -12
- pulumi_aiven/get_account_team_member.py +6 -12
- pulumi_aiven/get_account_team_project.py +6 -12
- pulumi_aiven/get_alloydbomni.py +43 -3
- pulumi_aiven/get_alloydbomni_database.py +26 -0
- pulumi_aiven/get_alloydbomni_user.py +27 -1
- pulumi_aiven/get_billing_group.py +47 -15
- pulumi_aiven/get_cassanda.py +17 -3
- pulumi_aiven/get_cassandra.py +17 -3
- pulumi_aiven/get_cassandra_user.py +1 -1
- pulumi_aiven/get_clickhouse.py +17 -3
- pulumi_aiven/get_clickhouse_user.py +1 -1
- pulumi_aiven/get_dragonfly.py +17 -3
- pulumi_aiven/get_flink.py +17 -3
- pulumi_aiven/get_grafana.py +17 -3
- pulumi_aiven/get_influx_db.py +12 -1
- pulumi_aiven/get_kafka.py +17 -3
- pulumi_aiven/get_kafka_connect.py +17 -3
- pulumi_aiven/get_kafka_mirror_maker.py +17 -3
- pulumi_aiven/get_kafka_user.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +14 -112
- pulumi_aiven/get_m3_db.py +14 -124
- pulumi_aiven/get_m3db_user.py +2 -61
- pulumi_aiven/get_my_sql.py +17 -3
- pulumi_aiven/get_mysql_user.py +1 -1
- pulumi_aiven/get_open_search.py +17 -3
- pulumi_aiven/get_opensearch_user.py +1 -1
- pulumi_aiven/get_organization.py +1 -1
- pulumi_aiven/get_organization_address.py +1 -1
- pulumi_aiven/get_organization_application_user.py +29 -11
- pulumi_aiven/get_organization_billing_group.py +3 -3
- pulumi_aiven/get_organization_project.py +2 -8
- pulumi_aiven/get_organization_user_group_list.py +131 -0
- pulumi_aiven/get_organization_user_group_member_list.py +171 -0
- pulumi_aiven/get_organization_user_list.py +33 -11
- pulumi_aiven/get_organizational_unit.py +4 -0
- pulumi_aiven/get_pg.py +17 -3
- pulumi_aiven/get_pg_user.py +1 -1
- pulumi_aiven/get_redis.py +14 -128
- pulumi_aiven/get_redis_user.py +2 -77
- pulumi_aiven/get_service_component.py +3 -3
- pulumi_aiven/get_service_plan.py +309 -0
- pulumi_aiven/get_service_plan_list.py +151 -0
- pulumi_aiven/get_thanos.py +17 -3
- pulumi_aiven/get_valkey.py +17 -3
- pulumi_aiven/get_valkey_user.py +4 -4
- pulumi_aiven/governance_access.py +12 -0
- pulumi_aiven/grafana.py +46 -23
- pulumi_aiven/influx_db.py +133 -291
- pulumi_aiven/influxdb_database.py +14 -28
- pulumi_aiven/influxdb_user.py +21 -42
- pulumi_aiven/kafka.py +46 -23
- pulumi_aiven/kafka_connect.py +48 -25
- pulumi_aiven/kafka_mirror_maker.py +46 -23
- pulumi_aiven/kafka_schema.py +20 -20
- pulumi_aiven/kafka_user.py +110 -9
- pulumi_aiven/m3_aggregator.py +48 -75
- pulumi_aiven/m3_db.py +48 -95
- pulumi_aiven/m3db_user.py +2 -54
- pulumi_aiven/my_sql.py +46 -23
- pulumi_aiven/mysql_user.py +110 -9
- pulumi_aiven/open_search.py +46 -23
- pulumi_aiven/opensearch_user.py +110 -9
- pulumi_aiven/organization.py +6 -6
- pulumi_aiven/organization_address.py +12 -0
- pulumi_aiven/organization_application_user.py +76 -48
- pulumi_aiven/organization_application_user_token.py +127 -91
- pulumi_aiven/organization_billing_group.py +33 -21
- pulumi_aiven/organization_permission.py +82 -49
- pulumi_aiven/organization_project.py +9 -15
- pulumi_aiven/organization_user.py +8 -8
- pulumi_aiven/organization_user_group_member.py +29 -35
- pulumi_aiven/outputs.py +2042 -326
- pulumi_aiven/pg.py +112 -23
- pulumi_aiven/pg_user.py +109 -8
- pulumi_aiven/project.py +2 -24
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +57 -97
- pulumi_aiven/redis_user.py +23 -79
- pulumi_aiven/thanos.py +46 -23
- pulumi_aiven/valkey.py +46 -23
- pulumi_aiven/valkey_user.py +130 -29
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/METADATA +1 -1
- pulumi_aiven-6.47.0a1767071446.dist-info/RECORD +193 -0
- pulumi_aiven-6.43.0a1756184863.dist-info/RECORD +0 -189
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
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
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = [
|
|
20
|
+
'GetOrganizationUserGroupMemberListResult',
|
|
21
|
+
'AwaitableGetOrganizationUserGroupMemberListResult',
|
|
22
|
+
'get_organization_user_group_member_list',
|
|
23
|
+
'get_organization_user_group_member_list_output',
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
@pulumi.output_type
|
|
27
|
+
class GetOrganizationUserGroupMemberListResult:
|
|
28
|
+
"""
|
|
29
|
+
A collection of values returned by getOrganizationUserGroupMemberList.
|
|
30
|
+
"""
|
|
31
|
+
def __init__(__self__, id=None, members=None, organization_id=None, timeouts=None, user_group_id=None):
|
|
32
|
+
if id and not isinstance(id, str):
|
|
33
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
34
|
+
pulumi.set(__self__, "id", id)
|
|
35
|
+
if members and not isinstance(members, list):
|
|
36
|
+
raise TypeError("Expected argument 'members' to be a list")
|
|
37
|
+
pulumi.set(__self__, "members", members)
|
|
38
|
+
if organization_id and not isinstance(organization_id, str):
|
|
39
|
+
raise TypeError("Expected argument 'organization_id' to be a str")
|
|
40
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
41
|
+
if timeouts and not isinstance(timeouts, dict):
|
|
42
|
+
raise TypeError("Expected argument 'timeouts' to be a dict")
|
|
43
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
44
|
+
if user_group_id and not isinstance(user_group_id, str):
|
|
45
|
+
raise TypeError("Expected argument 'user_group_id' to be a str")
|
|
46
|
+
pulumi.set(__self__, "user_group_id", user_group_id)
|
|
47
|
+
|
|
48
|
+
@_builtins.property
|
|
49
|
+
@pulumi.getter
|
|
50
|
+
def id(self) -> _builtins.str:
|
|
51
|
+
"""
|
|
52
|
+
Resource ID composed as: `organization_id/user_group_id`.
|
|
53
|
+
"""
|
|
54
|
+
return pulumi.get(self, "id")
|
|
55
|
+
|
|
56
|
+
@_builtins.property
|
|
57
|
+
@pulumi.getter
|
|
58
|
+
def members(self) -> Optional[Sequence['outputs.GetOrganizationUserGroupMemberListMemberResult']]:
|
|
59
|
+
"""
|
|
60
|
+
User group members.
|
|
61
|
+
"""
|
|
62
|
+
return pulumi.get(self, "members")
|
|
63
|
+
|
|
64
|
+
@_builtins.property
|
|
65
|
+
@pulumi.getter(name="organizationId")
|
|
66
|
+
def organization_id(self) -> _builtins.str:
|
|
67
|
+
"""
|
|
68
|
+
ID of an organization.
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "organization_id")
|
|
71
|
+
|
|
72
|
+
@_builtins.property
|
|
73
|
+
@pulumi.getter
|
|
74
|
+
def timeouts(self) -> Optional['outputs.GetOrganizationUserGroupMemberListTimeoutsResult']:
|
|
75
|
+
return pulumi.get(self, "timeouts")
|
|
76
|
+
|
|
77
|
+
@_builtins.property
|
|
78
|
+
@pulumi.getter(name="userGroupId")
|
|
79
|
+
def user_group_id(self) -> _builtins.str:
|
|
80
|
+
"""
|
|
81
|
+
ID of the user group.
|
|
82
|
+
"""
|
|
83
|
+
return pulumi.get(self, "user_group_id")
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
class AwaitableGetOrganizationUserGroupMemberListResult(GetOrganizationUserGroupMemberListResult):
|
|
87
|
+
# pylint: disable=using-constant-test
|
|
88
|
+
def __await__(self):
|
|
89
|
+
if False:
|
|
90
|
+
yield self
|
|
91
|
+
return GetOrganizationUserGroupMemberListResult(
|
|
92
|
+
id=self.id,
|
|
93
|
+
members=self.members,
|
|
94
|
+
organization_id=self.organization_id,
|
|
95
|
+
timeouts=self.timeouts,
|
|
96
|
+
user_group_id=self.user_group_id)
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
def get_organization_user_group_member_list(members: Optional[Sequence[Union['GetOrganizationUserGroupMemberListMemberArgs', 'GetOrganizationUserGroupMemberListMemberArgsDict']]] = None,
|
|
100
|
+
organization_id: Optional[_builtins.str] = None,
|
|
101
|
+
timeouts: Optional[Union['GetOrganizationUserGroupMemberListTimeoutsArgs', 'GetOrganizationUserGroupMemberListTimeoutsArgsDict']] = None,
|
|
102
|
+
user_group_id: Optional[_builtins.str] = None,
|
|
103
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationUserGroupMemberListResult:
|
|
104
|
+
"""
|
|
105
|
+
List members of a user group.
|
|
106
|
+
|
|
107
|
+
## Example Usage
|
|
108
|
+
|
|
109
|
+
```python
|
|
110
|
+
import pulumi
|
|
111
|
+
import pulumi_aiven as aiven
|
|
112
|
+
|
|
113
|
+
foo = aiven.get_organization_user_group_member_list(organization_id=organization_id,
|
|
114
|
+
user_group_id=user_group_id)
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
:param Sequence[Union['GetOrganizationUserGroupMemberListMemberArgs', 'GetOrganizationUserGroupMemberListMemberArgsDict']] members: User group members.
|
|
119
|
+
:param _builtins.str organization_id: ID of an organization.
|
|
120
|
+
:param _builtins.str user_group_id: ID of the user group.
|
|
121
|
+
"""
|
|
122
|
+
__args__ = dict()
|
|
123
|
+
__args__['members'] = members
|
|
124
|
+
__args__['organizationId'] = organization_id
|
|
125
|
+
__args__['timeouts'] = timeouts
|
|
126
|
+
__args__['userGroupId'] = user_group_id
|
|
127
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
128
|
+
__ret__ = pulumi.runtime.invoke('aiven:index/getOrganizationUserGroupMemberList:getOrganizationUserGroupMemberList', __args__, opts=opts, typ=GetOrganizationUserGroupMemberListResult).value
|
|
129
|
+
|
|
130
|
+
return AwaitableGetOrganizationUserGroupMemberListResult(
|
|
131
|
+
id=pulumi.get(__ret__, 'id'),
|
|
132
|
+
members=pulumi.get(__ret__, 'members'),
|
|
133
|
+
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
134
|
+
timeouts=pulumi.get(__ret__, 'timeouts'),
|
|
135
|
+
user_group_id=pulumi.get(__ret__, 'user_group_id'))
|
|
136
|
+
def get_organization_user_group_member_list_output(members: Optional[pulumi.Input[Optional[Sequence[Union['GetOrganizationUserGroupMemberListMemberArgs', 'GetOrganizationUserGroupMemberListMemberArgsDict']]]]] = None,
|
|
137
|
+
organization_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
138
|
+
timeouts: Optional[pulumi.Input[Optional[Union['GetOrganizationUserGroupMemberListTimeoutsArgs', 'GetOrganizationUserGroupMemberListTimeoutsArgsDict']]]] = None,
|
|
139
|
+
user_group_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
140
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationUserGroupMemberListResult]:
|
|
141
|
+
"""
|
|
142
|
+
List members of a user group.
|
|
143
|
+
|
|
144
|
+
## Example Usage
|
|
145
|
+
|
|
146
|
+
```python
|
|
147
|
+
import pulumi
|
|
148
|
+
import pulumi_aiven as aiven
|
|
149
|
+
|
|
150
|
+
foo = aiven.get_organization_user_group_member_list(organization_id=organization_id,
|
|
151
|
+
user_group_id=user_group_id)
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
:param Sequence[Union['GetOrganizationUserGroupMemberListMemberArgs', 'GetOrganizationUserGroupMemberListMemberArgsDict']] members: User group members.
|
|
156
|
+
:param _builtins.str organization_id: ID of an organization.
|
|
157
|
+
:param _builtins.str user_group_id: ID of the user group.
|
|
158
|
+
"""
|
|
159
|
+
__args__ = dict()
|
|
160
|
+
__args__['members'] = members
|
|
161
|
+
__args__['organizationId'] = organization_id
|
|
162
|
+
__args__['timeouts'] = timeouts
|
|
163
|
+
__args__['userGroupId'] = user_group_id
|
|
164
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
165
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganizationUserGroupMemberList:getOrganizationUserGroupMemberList', __args__, opts=opts, typ=GetOrganizationUserGroupMemberListResult)
|
|
166
|
+
return __ret__.apply(lambda __response__: GetOrganizationUserGroupMemberListResult(
|
|
167
|
+
id=pulumi.get(__response__, 'id'),
|
|
168
|
+
members=pulumi.get(__response__, 'members'),
|
|
169
|
+
organization_id=pulumi.get(__response__, 'organization_id'),
|
|
170
|
+
timeouts=pulumi.get(__response__, 'timeouts'),
|
|
171
|
+
user_group_id=pulumi.get(__response__, 'user_group_id')))
|
|
@@ -14,6 +14,7 @@ else:
|
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
15
|
from . import _utilities
|
|
16
16
|
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
17
18
|
|
|
18
19
|
__all__ = [
|
|
19
20
|
'GetOrganizationUserListResult',
|
|
@@ -27,38 +28,46 @@ class GetOrganizationUserListResult:
|
|
|
27
28
|
"""
|
|
28
29
|
A collection of values returned by getOrganizationUserList.
|
|
29
30
|
"""
|
|
30
|
-
def __init__(__self__, id=None, name=None, users=None):
|
|
31
|
+
def __init__(__self__, id=None, name=None, timeouts=None, users=None):
|
|
31
32
|
if id and not isinstance(id, str):
|
|
32
33
|
raise TypeError("Expected argument 'id' to be a str")
|
|
33
34
|
pulumi.set(__self__, "id", id)
|
|
34
35
|
if name and not isinstance(name, str):
|
|
35
36
|
raise TypeError("Expected argument 'name' to be a str")
|
|
36
37
|
pulumi.set(__self__, "name", name)
|
|
38
|
+
if timeouts and not isinstance(timeouts, dict):
|
|
39
|
+
raise TypeError("Expected argument 'timeouts' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
37
41
|
if users and not isinstance(users, list):
|
|
38
42
|
raise TypeError("Expected argument 'users' to be a list")
|
|
39
43
|
pulumi.set(__self__, "users", users)
|
|
40
44
|
|
|
41
45
|
@_builtins.property
|
|
42
46
|
@pulumi.getter
|
|
43
|
-
def id(self) ->
|
|
47
|
+
def id(self) -> _builtins.str:
|
|
44
48
|
"""
|
|
45
|
-
|
|
49
|
+
ID of an organization. Exactly one of the fields must be specified: `id` or `name`.
|
|
46
50
|
"""
|
|
47
51
|
return pulumi.get(self, "id")
|
|
48
52
|
|
|
49
53
|
@_builtins.property
|
|
50
54
|
@pulumi.getter
|
|
51
|
-
def name(self) ->
|
|
55
|
+
def name(self) -> _builtins.str:
|
|
52
56
|
"""
|
|
53
|
-
The name of the organization.
|
|
57
|
+
The name of the organization. Exactly one of the fields must be specified: `id` or `name`.
|
|
54
58
|
"""
|
|
55
59
|
return pulumi.get(self, "name")
|
|
56
60
|
|
|
57
61
|
@_builtins.property
|
|
58
62
|
@pulumi.getter
|
|
59
|
-
def
|
|
63
|
+
def timeouts(self) -> Optional['outputs.GetOrganizationUserListTimeoutsResult']:
|
|
64
|
+
return pulumi.get(self, "timeouts")
|
|
65
|
+
|
|
66
|
+
@_builtins.property
|
|
67
|
+
@pulumi.getter
|
|
68
|
+
def users(self) -> Optional[Sequence['outputs.GetOrganizationUserListUserResult']]:
|
|
60
69
|
"""
|
|
61
|
-
List of
|
|
70
|
+
List of users of the organization.
|
|
62
71
|
"""
|
|
63
72
|
return pulumi.get(self, "users")
|
|
64
73
|
|
|
@@ -71,11 +80,14 @@ class AwaitableGetOrganizationUserListResult(GetOrganizationUserListResult):
|
|
|
71
80
|
return GetOrganizationUserListResult(
|
|
72
81
|
id=self.id,
|
|
73
82
|
name=self.name,
|
|
83
|
+
timeouts=self.timeouts,
|
|
74
84
|
users=self.users)
|
|
75
85
|
|
|
76
86
|
|
|
77
87
|
def get_organization_user_list(id: Optional[_builtins.str] = None,
|
|
78
88
|
name: Optional[_builtins.str] = None,
|
|
89
|
+
timeouts: Optional[Union['GetOrganizationUserListTimeoutsArgs', 'GetOrganizationUserListTimeoutsArgsDict']] = None,
|
|
90
|
+
users: Optional[Sequence[Union['GetOrganizationUserListUserArgs', 'GetOrganizationUserListUserArgsDict']]] = None,
|
|
79
91
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationUserListResult:
|
|
80
92
|
"""
|
|
81
93
|
Returns a list of [users in the organization](https://aiven.io/docs/platform/concepts/user-access-management), their profile details, and other data . This includes users you add to your organization and application users.
|
|
@@ -90,21 +102,27 @@ def get_organization_user_list(id: Optional[_builtins.str] = None,
|
|
|
90
102
|
```
|
|
91
103
|
|
|
92
104
|
|
|
93
|
-
:param _builtins.str id:
|
|
94
|
-
:param _builtins.str name: The name of the organization.
|
|
105
|
+
:param _builtins.str id: ID of an organization. Exactly one of the fields must be specified: `id` or `name`.
|
|
106
|
+
:param _builtins.str name: The name of the organization. Exactly one of the fields must be specified: `id` or `name`.
|
|
107
|
+
:param Sequence[Union['GetOrganizationUserListUserArgs', 'GetOrganizationUserListUserArgsDict']] users: List of users of the organization.
|
|
95
108
|
"""
|
|
96
109
|
__args__ = dict()
|
|
97
110
|
__args__['id'] = id
|
|
98
111
|
__args__['name'] = name
|
|
112
|
+
__args__['timeouts'] = timeouts
|
|
113
|
+
__args__['users'] = users
|
|
99
114
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
100
115
|
__ret__ = pulumi.runtime.invoke('aiven:index/getOrganizationUserList:getOrganizationUserList', __args__, opts=opts, typ=GetOrganizationUserListResult).value
|
|
101
116
|
|
|
102
117
|
return AwaitableGetOrganizationUserListResult(
|
|
103
118
|
id=pulumi.get(__ret__, 'id'),
|
|
104
119
|
name=pulumi.get(__ret__, 'name'),
|
|
120
|
+
timeouts=pulumi.get(__ret__, 'timeouts'),
|
|
105
121
|
users=pulumi.get(__ret__, 'users'))
|
|
106
122
|
def get_organization_user_list_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
107
123
|
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
124
|
+
timeouts: Optional[pulumi.Input[Optional[Union['GetOrganizationUserListTimeoutsArgs', 'GetOrganizationUserListTimeoutsArgsDict']]]] = None,
|
|
125
|
+
users: Optional[pulumi.Input[Optional[Sequence[Union['GetOrganizationUserListUserArgs', 'GetOrganizationUserListUserArgsDict']]]]] = None,
|
|
108
126
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationUserListResult]:
|
|
109
127
|
"""
|
|
110
128
|
Returns a list of [users in the organization](https://aiven.io/docs/platform/concepts/user-access-management), their profile details, and other data . This includes users you add to your organization and application users.
|
|
@@ -119,15 +137,19 @@ def get_organization_user_list_output(id: Optional[pulumi.Input[Optional[_builti
|
|
|
119
137
|
```
|
|
120
138
|
|
|
121
139
|
|
|
122
|
-
:param _builtins.str id:
|
|
123
|
-
:param _builtins.str name: The name of the organization.
|
|
140
|
+
:param _builtins.str id: ID of an organization. Exactly one of the fields must be specified: `id` or `name`.
|
|
141
|
+
:param _builtins.str name: The name of the organization. Exactly one of the fields must be specified: `id` or `name`.
|
|
142
|
+
:param Sequence[Union['GetOrganizationUserListUserArgs', 'GetOrganizationUserListUserArgsDict']] users: List of users of the organization.
|
|
124
143
|
"""
|
|
125
144
|
__args__ = dict()
|
|
126
145
|
__args__['id'] = id
|
|
127
146
|
__args__['name'] = name
|
|
147
|
+
__args__['timeouts'] = timeouts
|
|
148
|
+
__args__['users'] = users
|
|
128
149
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
129
150
|
__ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganizationUserList:getOrganizationUserList', __args__, opts=opts, typ=GetOrganizationUserListResult)
|
|
130
151
|
return __ret__.apply(lambda __response__: GetOrganizationUserListResult(
|
|
131
152
|
id=pulumi.get(__response__, 'id'),
|
|
132
153
|
name=pulumi.get(__response__, 'name'),
|
|
154
|
+
timeouts=pulumi.get(__response__, 'timeouts'),
|
|
133
155
|
users=pulumi.get(__response__, 'users')))
|
|
@@ -114,6 +114,8 @@ def get_organizational_unit(name: Optional[_builtins.str] = None,
|
|
|
114
114
|
"""
|
|
115
115
|
Gets information about an organizational unit.
|
|
116
116
|
|
|
117
|
+
## Example Usage
|
|
118
|
+
|
|
117
119
|
|
|
118
120
|
:param _builtins.str name: The name of the organizational unit.
|
|
119
121
|
"""
|
|
@@ -134,6 +136,8 @@ def get_organizational_unit_output(name: Optional[pulumi.Input[_builtins.str]] =
|
|
|
134
136
|
"""
|
|
135
137
|
Gets information about an organizational unit.
|
|
136
138
|
|
|
139
|
+
## Example Usage
|
|
140
|
+
|
|
137
141
|
|
|
138
142
|
:param _builtins.str name: The name of the organizational unit.
|
|
139
143
|
"""
|
pulumi_aiven/get_pg.py
CHANGED
|
@@ -27,7 +27,7 @@ class GetPgResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getPg.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, additional_disk_space=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, maintenance_window_dow=None, maintenance_window_time=None, pg_user_configs=None, pgs=None, plan=None, project=None, project_vpc_id=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
|
|
30
|
+
def __init__(__self__, additional_disk_space=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, maintenance_window_dow=None, maintenance_window_enabled=None, maintenance_window_time=None, pg_user_configs=None, pgs=None, plan=None, project=None, project_vpc_id=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
|
|
31
31
|
if additional_disk_space and not isinstance(additional_disk_space, str):
|
|
32
32
|
raise TypeError("Expected argument 'additional_disk_space' to be a str")
|
|
33
33
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -58,6 +58,9 @@ class GetPgResult:
|
|
|
58
58
|
if maintenance_window_dow and not isinstance(maintenance_window_dow, str):
|
|
59
59
|
raise TypeError("Expected argument 'maintenance_window_dow' to be a str")
|
|
60
60
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
61
|
+
if maintenance_window_enabled and not isinstance(maintenance_window_enabled, bool):
|
|
62
|
+
raise TypeError("Expected argument 'maintenance_window_enabled' to be a bool")
|
|
63
|
+
pulumi.set(__self__, "maintenance_window_enabled", maintenance_window_enabled)
|
|
61
64
|
if maintenance_window_time and not isinstance(maintenance_window_time, str):
|
|
62
65
|
raise TypeError("Expected argument 'maintenance_window_time' to be a str")
|
|
63
66
|
pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
|
|
@@ -144,7 +147,7 @@ class GetPgResult:
|
|
|
144
147
|
@pulumi.getter(name="diskSpace")
|
|
145
148
|
def disk_space(self) -> _builtins.str:
|
|
146
149
|
"""
|
|
147
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
150
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
148
151
|
"""
|
|
149
152
|
return pulumi.get(self, "disk_space")
|
|
150
153
|
|
|
@@ -176,7 +179,7 @@ class GetPgResult:
|
|
|
176
179
|
@pulumi.getter(name="diskSpaceUsed")
|
|
177
180
|
def disk_space_used(self) -> _builtins.str:
|
|
178
181
|
"""
|
|
179
|
-
|
|
182
|
+
The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
180
183
|
"""
|
|
181
184
|
return pulumi.get(self, "disk_space_used")
|
|
182
185
|
|
|
@@ -196,6 +199,14 @@ class GetPgResult:
|
|
|
196
199
|
"""
|
|
197
200
|
return pulumi.get(self, "maintenance_window_dow")
|
|
198
201
|
|
|
202
|
+
@_builtins.property
|
|
203
|
+
@pulumi.getter(name="maintenanceWindowEnabled")
|
|
204
|
+
def maintenance_window_enabled(self) -> _builtins.bool:
|
|
205
|
+
"""
|
|
206
|
+
Indicates whether the maintenance window is currently enabled for this service.
|
|
207
|
+
"""
|
|
208
|
+
return pulumi.get(self, "maintenance_window_enabled")
|
|
209
|
+
|
|
199
210
|
@_builtins.property
|
|
200
211
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
201
212
|
def maintenance_window_time(self) -> _builtins.str:
|
|
@@ -362,6 +373,7 @@ class AwaitableGetPgResult(GetPgResult):
|
|
|
362
373
|
disk_space_used=self.disk_space_used,
|
|
363
374
|
id=self.id,
|
|
364
375
|
maintenance_window_dow=self.maintenance_window_dow,
|
|
376
|
+
maintenance_window_enabled=self.maintenance_window_enabled,
|
|
365
377
|
maintenance_window_time=self.maintenance_window_time,
|
|
366
378
|
pg_user_configs=self.pg_user_configs,
|
|
367
379
|
pgs=self.pgs,
|
|
@@ -420,6 +432,7 @@ def get_pg(project: Optional[_builtins.str] = None,
|
|
|
420
432
|
disk_space_used=pulumi.get(__ret__, 'disk_space_used'),
|
|
421
433
|
id=pulumi.get(__ret__, 'id'),
|
|
422
434
|
maintenance_window_dow=pulumi.get(__ret__, 'maintenance_window_dow'),
|
|
435
|
+
maintenance_window_enabled=pulumi.get(__ret__, 'maintenance_window_enabled'),
|
|
423
436
|
maintenance_window_time=pulumi.get(__ret__, 'maintenance_window_time'),
|
|
424
437
|
pg_user_configs=pulumi.get(__ret__, 'pg_user_configs'),
|
|
425
438
|
pgs=pulumi.get(__ret__, 'pgs'),
|
|
@@ -475,6 +488,7 @@ def get_pg_output(project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
475
488
|
disk_space_used=pulumi.get(__response__, 'disk_space_used'),
|
|
476
489
|
id=pulumi.get(__response__, 'id'),
|
|
477
490
|
maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
|
|
491
|
+
maintenance_window_enabled=pulumi.get(__response__, 'maintenance_window_enabled'),
|
|
478
492
|
maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
|
|
479
493
|
pg_user_configs=pulumi.get(__response__, 'pg_user_configs'),
|
|
480
494
|
pgs=pulumi.get(__response__, 'pgs'),
|
pulumi_aiven/get_pg_user.py
CHANGED
|
@@ -83,7 +83,7 @@ class GetPgUserResult:
|
|
|
83
83
|
@pulumi.getter
|
|
84
84
|
def password(self) -> _builtins.str:
|
|
85
85
|
"""
|
|
86
|
-
The password of the service user.
|
|
86
|
+
The password of the service user (auto-generated if not provided). Must be 8-256 characters if specified.
|
|
87
87
|
"""
|
|
88
88
|
return pulumi.get(self, "password")
|
|
89
89
|
|