pulumi-aiven 6.9.0a1704258951__py3-none-any.whl → 6.10.0a1704345367__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.

@@ -21,33 +21,22 @@ class GetOrganizationUserResult:
21
21
  """
22
22
  A collection of values returned by getOrganizationUser.
23
23
  """
24
- def __init__(__self__, accepted=None, create_time=None, id=None, invited_by=None, organization_id=None, user_email=None):
25
- if accepted and not isinstance(accepted, bool):
26
- raise TypeError("Expected argument 'accepted' to be a bool")
27
- pulumi.set(__self__, "accepted", accepted)
24
+ def __init__(__self__, create_time=None, id=None, organization_id=None, user_email=None, user_id=None):
28
25
  if create_time and not isinstance(create_time, str):
29
26
  raise TypeError("Expected argument 'create_time' to be a str")
30
27
  pulumi.set(__self__, "create_time", create_time)
31
28
  if id and not isinstance(id, str):
32
29
  raise TypeError("Expected argument 'id' to be a str")
33
30
  pulumi.set(__self__, "id", id)
34
- if invited_by and not isinstance(invited_by, str):
35
- raise TypeError("Expected argument 'invited_by' to be a str")
36
- pulumi.set(__self__, "invited_by", invited_by)
37
31
  if organization_id and not isinstance(organization_id, str):
38
32
  raise TypeError("Expected argument 'organization_id' to be a str")
39
33
  pulumi.set(__self__, "organization_id", organization_id)
40
34
  if user_email and not isinstance(user_email, str):
41
35
  raise TypeError("Expected argument 'user_email' to be a str")
42
36
  pulumi.set(__self__, "user_email", user_email)
43
-
44
- @property
45
- @pulumi.getter
46
- def accepted(self) -> bool:
47
- """
48
- 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.
49
- """
50
- return pulumi.get(self, "accepted")
37
+ if user_id and not isinstance(user_id, str):
38
+ raise TypeError("Expected argument 'user_id' to be a str")
39
+ pulumi.set(__self__, "user_id", user_id)
51
40
 
52
41
  @property
53
42
  @pulumi.getter(name="createTime")
@@ -65,30 +54,30 @@ class GetOrganizationUserResult:
65
54
  """
66
55
  return pulumi.get(self, "id")
67
56
 
68
- @property
69
- @pulumi.getter(name="invitedBy")
70
- def invited_by(self) -> str:
71
- """
72
- The email address of the user who sent an invitation to the user.
73
- """
74
- return pulumi.get(self, "invited_by")
75
-
76
57
  @property
77
58
  @pulumi.getter(name="organizationId")
78
59
  def organization_id(self) -> str:
79
60
  """
80
- The unique organization ID. This property cannot be changed, doing so forces recreation of the resource.
61
+ The unique organization ID.
81
62
  """
82
63
  return pulumi.get(self, "organization_id")
83
64
 
84
65
  @property
85
66
  @pulumi.getter(name="userEmail")
86
- def user_email(self) -> str:
67
+ def user_email(self) -> Optional[str]:
87
68
  """
88
- 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. This property cannot be changed, doing so forces recreation of the resource.
69
+ This is a user email address
89
70
  """
90
71
  return pulumi.get(self, "user_email")
91
72
 
73
+ @property
74
+ @pulumi.getter(name="userId")
75
+ def user_id(self) -> Optional[str]:
76
+ """
77
+ The unique organization user ID
78
+ """
79
+ return pulumi.get(self, "user_id")
80
+
92
81
 
93
82
  class AwaitableGetOrganizationUserResult(GetOrganizationUserResult):
94
83
  # pylint: disable=using-constant-test
@@ -96,48 +85,51 @@ class AwaitableGetOrganizationUserResult(GetOrganizationUserResult):
96
85
  if False:
97
86
  yield self
98
87
  return GetOrganizationUserResult(
99
- accepted=self.accepted,
100
88
  create_time=self.create_time,
101
89
  id=self.id,
102
- invited_by=self.invited_by,
103
90
  organization_id=self.organization_id,
104
- user_email=self.user_email)
91
+ user_email=self.user_email,
92
+ user_id=self.user_id)
105
93
 
106
94
 
107
95
  def get_organization_user(organization_id: Optional[str] = None,
108
96
  user_email: Optional[str] = None,
97
+ user_id: Optional[str] = None,
109
98
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationUserResult:
110
99
  """
111
100
  The Organization User data source provides information about the existing Aiven Organization User.
112
101
 
113
102
 
114
- :param str organization_id: The unique organization ID. This property cannot be changed, doing so forces recreation of the resource.
115
- :param 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. This property cannot be changed, doing so forces recreation of the resource.
103
+ :param str organization_id: The unique organization ID.
104
+ :param str user_email: This is a user email address
105
+ :param str user_id: The unique organization user ID
116
106
  """
117
107
  __args__ = dict()
118
108
  __args__['organizationId'] = organization_id
119
109
  __args__['userEmail'] = user_email
110
+ __args__['userId'] = user_id
120
111
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
121
112
  __ret__ = pulumi.runtime.invoke('aiven:index/getOrganizationUser:getOrganizationUser', __args__, opts=opts, typ=GetOrganizationUserResult).value
122
113
 
123
114
  return AwaitableGetOrganizationUserResult(
124
- accepted=pulumi.get(__ret__, 'accepted'),
125
115
  create_time=pulumi.get(__ret__, 'create_time'),
126
116
  id=pulumi.get(__ret__, 'id'),
127
- invited_by=pulumi.get(__ret__, 'invited_by'),
128
117
  organization_id=pulumi.get(__ret__, 'organization_id'),
129
- user_email=pulumi.get(__ret__, 'user_email'))
118
+ user_email=pulumi.get(__ret__, 'user_email'),
119
+ user_id=pulumi.get(__ret__, 'user_id'))
130
120
 
131
121
 
132
122
  @_utilities.lift_output_func(get_organization_user)
133
123
  def get_organization_user_output(organization_id: Optional[pulumi.Input[str]] = None,
134
- user_email: Optional[pulumi.Input[str]] = None,
124
+ user_email: Optional[pulumi.Input[Optional[str]]] = None,
125
+ user_id: Optional[pulumi.Input[Optional[str]]] = None,
135
126
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOrganizationUserResult]:
136
127
  """
137
128
  The Organization User data source provides information about the existing Aiven Organization User.
138
129
 
139
130
 
140
- :param str organization_id: The unique organization ID. This property cannot be changed, doing so forces recreation of the resource.
141
- :param 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. This property cannot be changed, doing so forces recreation of the resource.
131
+ :param str organization_id: The unique organization ID.
132
+ :param str user_email: This is a user email address
133
+ :param str user_id: The unique organization user ID
142
134
  """
143
135
  ...
@@ -56,7 +56,8 @@ class _OrganizationUserState:
56
56
  create_time: Optional[pulumi.Input[str]] = None,
57
57
  invited_by: Optional[pulumi.Input[str]] = None,
58
58
  organization_id: Optional[pulumi.Input[str]] = None,
59
- user_email: Optional[pulumi.Input[str]] = None):
59
+ user_email: Optional[pulumi.Input[str]] = None,
60
+ user_id: Optional[pulumi.Input[str]] = None):
60
61
  """
61
62
  Input properties used for looking up and filtering OrganizationUser resources.
62
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,17 +65,26 @@ class _OrganizationUserState:
64
65
  :param pulumi.Input[str] invited_by: The email address of the user who sent an invitation to the user.
65
66
  :param pulumi.Input[str] organization_id: The unique organization ID. This property cannot be changed, doing so forces recreation of the resource.
66
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. This property cannot be changed, doing so forces recreation of the resource.
68
+ :param pulumi.Input[str] user_id: The unique organization user ID
67
69
  """
70
+ if accepted is not None:
71
+ warnings.warn("""This field is deprecated and will be removed in the next major release. """, DeprecationWarning)
72
+ pulumi.log.warn("""accepted is deprecated: This field is deprecated and will be removed in the next major release. """)
68
73
  if accepted is not None:
69
74
  pulumi.set(__self__, "accepted", accepted)
70
75
  if create_time is not None:
71
76
  pulumi.set(__self__, "create_time", create_time)
77
+ if invited_by is not None:
78
+ warnings.warn("""This field is deprecated and will be removed in the next major release. """, DeprecationWarning)
79
+ pulumi.log.warn("""invited_by is deprecated: This field is deprecated and will be removed in the next major release. """)
72
80
  if invited_by is not None:
73
81
  pulumi.set(__self__, "invited_by", invited_by)
74
82
  if organization_id is not None:
75
83
  pulumi.set(__self__, "organization_id", organization_id)
76
84
  if user_email is not None:
77
85
  pulumi.set(__self__, "user_email", user_email)
86
+ if user_id is not None:
87
+ pulumi.set(__self__, "user_id", user_id)
78
88
 
79
89
  @property
80
90
  @pulumi.getter
@@ -82,6 +92,9 @@ class _OrganizationUserState:
82
92
  """
83
93
  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.
84
94
  """
95
+ warnings.warn("""This field is deprecated and will be removed in the next major release. """, DeprecationWarning)
96
+ pulumi.log.warn("""accepted is deprecated: This field is deprecated and will be removed in the next major release. """)
97
+
85
98
  return pulumi.get(self, "accepted")
86
99
 
87
100
  @accepted.setter
@@ -106,6 +119,9 @@ class _OrganizationUserState:
106
119
  """
107
120
  The email address of the user who sent an invitation to the user.
108
121
  """
122
+ warnings.warn("""This field is deprecated and will be removed in the next major release. """, DeprecationWarning)
123
+ pulumi.log.warn("""invited_by is deprecated: This field is deprecated and will be removed in the next major release. """)
124
+
109
125
  return pulumi.get(self, "invited_by")
110
126
 
111
127
  @invited_by.setter
@@ -136,6 +152,18 @@ class _OrganizationUserState:
136
152
  def user_email(self, value: Optional[pulumi.Input[str]]):
137
153
  pulumi.set(self, "user_email", value)
138
154
 
155
+ @property
156
+ @pulumi.getter(name="userId")
157
+ def user_id(self) -> Optional[pulumi.Input[str]]:
158
+ """
159
+ The unique organization user ID
160
+ """
161
+ return pulumi.get(self, "user_id")
162
+
163
+ @user_id.setter
164
+ def user_id(self, value: Optional[pulumi.Input[str]]):
165
+ pulumi.set(self, "user_id", value)
166
+
139
167
 
140
168
  class OrganizationUser(pulumi.CustomResource):
141
169
  @overload
@@ -209,6 +237,7 @@ class OrganizationUser(pulumi.CustomResource):
209
237
  __props__.__dict__["accepted"] = None
210
238
  __props__.__dict__["create_time"] = None
211
239
  __props__.__dict__["invited_by"] = None
240
+ __props__.__dict__["user_id"] = None
212
241
  super(OrganizationUser, __self__).__init__(
213
242
  'aiven:index/organizationUser:OrganizationUser',
214
243
  resource_name,
@@ -223,7 +252,8 @@ class OrganizationUser(pulumi.CustomResource):
223
252
  create_time: Optional[pulumi.Input[str]] = None,
224
253
  invited_by: Optional[pulumi.Input[str]] = None,
225
254
  organization_id: Optional[pulumi.Input[str]] = None,
226
- user_email: Optional[pulumi.Input[str]] = None) -> 'OrganizationUser':
255
+ user_email: Optional[pulumi.Input[str]] = None,
256
+ user_id: Optional[pulumi.Input[str]] = None) -> 'OrganizationUser':
227
257
  """
228
258
  Get an existing OrganizationUser resource's state with the given name, id, and optional extra
229
259
  properties used to qualify the lookup.
@@ -236,6 +266,7 @@ class OrganizationUser(pulumi.CustomResource):
236
266
  :param pulumi.Input[str] invited_by: The email address of the user who sent an invitation to the user.
237
267
  :param pulumi.Input[str] organization_id: The unique organization ID. This property cannot be changed, doing so forces recreation of the resource.
238
268
  :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. This property cannot be changed, doing so forces recreation of the resource.
269
+ :param pulumi.Input[str] user_id: The unique organization user ID
239
270
  """
240
271
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
241
272
 
@@ -246,6 +277,7 @@ class OrganizationUser(pulumi.CustomResource):
246
277
  __props__.__dict__["invited_by"] = invited_by
247
278
  __props__.__dict__["organization_id"] = organization_id
248
279
  __props__.__dict__["user_email"] = user_email
280
+ __props__.__dict__["user_id"] = user_id
249
281
  return OrganizationUser(resource_name, opts=opts, __props__=__props__)
250
282
 
251
283
  @property
@@ -254,6 +286,9 @@ class OrganizationUser(pulumi.CustomResource):
254
286
  """
255
287
  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.
256
288
  """
289
+ warnings.warn("""This field is deprecated and will be removed in the next major release. """, DeprecationWarning)
290
+ pulumi.log.warn("""accepted is deprecated: This field is deprecated and will be removed in the next major release. """)
291
+
257
292
  return pulumi.get(self, "accepted")
258
293
 
259
294
  @property
@@ -270,6 +305,9 @@ class OrganizationUser(pulumi.CustomResource):
270
305
  """
271
306
  The email address of the user who sent an invitation to the user.
272
307
  """
308
+ warnings.warn("""This field is deprecated and will be removed in the next major release. """, DeprecationWarning)
309
+ pulumi.log.warn("""invited_by is deprecated: This field is deprecated and will be removed in the next major release. """)
310
+
273
311
  return pulumi.get(self, "invited_by")
274
312
 
275
313
  @property
@@ -288,3 +326,11 @@ class OrganizationUser(pulumi.CustomResource):
288
326
  """
289
327
  return pulumi.get(self, "user_email")
290
328
 
329
+ @property
330
+ @pulumi.getter(name="userId")
331
+ def user_id(self) -> pulumi.Output[str]:
332
+ """
333
+ The unique organization user ID
334
+ """
335
+ return pulumi.get(self, "user_id")
336
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_aiven
3
- Version: 6.9.0a1704258951
3
+ Version: 6.10.0a1704345367
4
4
  Summary: A Pulumi package for creating and managing Aiven cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -76,7 +76,7 @@ pulumi_aiven/get_open_search_acl_rule.py,sha256=1Gc8o7NZsB5YKmKVuPgSPUlPin8NxMlE
76
76
  pulumi_aiven/get_opensearch_security_plugin_config.py,sha256=p_ZEXd0r332uh3tunnHDYTfQYbv98GSP6VyGUmJtBSY,7956
77
77
  pulumi_aiven/get_opensearch_user.py,sha256=QEpjTOSL_GbT0EZRnEY-Dk_TEw1SYI8-Yuas125vxvI,7267
78
78
  pulumi_aiven/get_organization.py,sha256=bCzQq-_sDod1YdCSLY8JQA-BlxdaXge1D3145V8kQw8,4726
79
- pulumi_aiven/get_organization_user.py,sha256=TWeAMyaxuCiw36mHjwu-nhDq7yVlLKqrCURjLp7Zg0Y,6331
79
+ pulumi_aiven/get_organization_user.py,sha256=1hdtZ9xCzN9ci-yM7xKGiEfEYtgYhxYJuRncX4fxnhM,5050
80
80
  pulumi_aiven/get_organization_user_group.py,sha256=-t7YX8tZpOT4eelqJtCrGASpr91fBDsXuWb2iD9OaEk,6315
81
81
  pulumi_aiven/get_organizational_unit.py,sha256=wN3JqDU8hkCmDUWJc85d6WwnVQ3zfGGt9V9CDrKm_LQ,4724
82
82
  pulumi_aiven/get_pg.py,sha256=n1mqYpxaa_5pa8m6kNTLzEWF98VY8GLBo4VPNw-Jrvc,22178
@@ -118,7 +118,7 @@ pulumi_aiven/open_search_acl_rule.py,sha256=MZ3y9qx-kyzG6_1uqfm5UxNkCbviWQdD62oO
118
118
  pulumi_aiven/opensearch_security_plugin_config.py,sha256=IrINkwhobhkw-F6CppS-FisPnArF7bvyPrRI3NOeEYw,17263
119
119
  pulumi_aiven/opensearch_user.py,sha256=04lyk7TOygiKnxm9iMriDCqVsvyEUJ60CAP3ddRPeK4,16994
120
120
  pulumi_aiven/organization.py,sha256=zlKk5kqpcpxvJkWINNpSzp7cdY7fCT-yHzsxPUDsIBc,10803
121
- pulumi_aiven/organization_user.py,sha256=V05EXv4D4Thi7qLG-GZz7M0bl1isPu2f51MmqwgiuHs,14790
121
+ pulumi_aiven/organization_user.py,sha256=wh7sRrSN7zAQPkFjfy4PK8l0JaBTF0FWdAWrQqUuA24,17367
122
122
  pulumi_aiven/organization_user_group.py,sha256=5m40xYNCs60CM6WlHA0SvaoGFTjiNhVsuRF-T1aBw5g,14214
123
123
  pulumi_aiven/organizational_unit.py,sha256=n6hEP52m9ARkGJM2bVND4j6qyhIqPn7s8QVYw24lh5A,10927
124
124
  pulumi_aiven/outputs.py,sha256=XiysWlzodsPQN_m90h-Jr3kEOyAGgbSsXJVWxjWUA4A,1125235
@@ -140,7 +140,7 @@ pulumi_aiven/transit_gateway_vpc_attachment.py,sha256=lsWmGOEeZboQu8JU5WMeDv9LZT
140
140
  pulumi_aiven/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
141
141
  pulumi_aiven/config/__init__.pyi,sha256=i0kRcMqRhHZqXZfs-7cXU-bEhaP2QAJDGjuUhIMDgqY,465
142
142
  pulumi_aiven/config/vars.py,sha256=hQgM94csEU3YnUsOUTPc-JvxssBTpi2DURZx6QWdLUk,658
143
- pulumi_aiven-6.9.0a1704258951.dist-info/METADATA,sha256=su9wn_4g8NISy7beMSh3MRqhcdLUtAQPdg2Qp6mtBXI,2531
144
- pulumi_aiven-6.9.0a1704258951.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
145
- pulumi_aiven-6.9.0a1704258951.dist-info/top_level.txt,sha256=4rjz_Hec4Y2PFX4LhJ-JcnMU5H7z-y7r1yiK_xEduWU,13
146
- pulumi_aiven-6.9.0a1704258951.dist-info/RECORD,,
143
+ pulumi_aiven-6.10.0a1704345367.dist-info/METADATA,sha256=zNPig3VHuY84l9doAZjUbSiiP6mZYG2jelCBbl9y1LQ,2532
144
+ pulumi_aiven-6.10.0a1704345367.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
145
+ pulumi_aiven-6.10.0a1704345367.dist-info/top_level.txt,sha256=4rjz_Hec4Y2PFX4LhJ-JcnMU5H7z-y7r1yiK_xEduWU,13
146
+ pulumi_aiven-6.10.0a1704345367.dist-info/RECORD,,