pulumi-aiven 6.38.0a1747372094__py3-none-any.whl → 6.39.0a1747890420__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.

Files changed (31) hide show
  1. pulumi_aiven/__init__.py +9 -0
  2. pulumi_aiven/_inputs.py +1302 -160
  3. pulumi_aiven/clickhouse_grant.py +18 -0
  4. pulumi_aiven/get_external_identity.py +5 -5
  5. pulumi_aiven/get_open_search.py +7 -7
  6. pulumi_aiven/get_open_search_acl_config.py +7 -7
  7. pulumi_aiven/get_open_search_acl_rule.py +19 -19
  8. pulumi_aiven/get_opensearch_security_plugin_config.py +7 -7
  9. pulumi_aiven/get_opensearch_user.py +13 -13
  10. pulumi_aiven/get_organization.py +24 -6
  11. pulumi_aiven/get_organization_address.py +52 -29
  12. pulumi_aiven/get_organization_billing_group.py +38 -15
  13. pulumi_aiven/get_organization_billing_group_list.py +40 -12
  14. pulumi_aiven/get_organization_project.py +50 -14
  15. pulumi_aiven/governance_access.py +418 -0
  16. pulumi_aiven/open_search.py +17 -19
  17. pulumi_aiven/open_search_acl_config.py +29 -41
  18. pulumi_aiven/open_search_acl_rule.py +47 -47
  19. pulumi_aiven/opensearch_security_plugin_config.py +14 -42
  20. pulumi_aiven/opensearch_user.py +32 -32
  21. pulumi_aiven/organization.py +24 -19
  22. pulumi_aiven/organization_address.py +102 -96
  23. pulumi_aiven/organization_application_user.py +9 -0
  24. pulumi_aiven/organization_billing_group.py +66 -60
  25. pulumi_aiven/organization_project.py +111 -62
  26. pulumi_aiven/outputs.py +1039 -189
  27. pulumi_aiven/pulumi-plugin.json +1 -1
  28. {pulumi_aiven-6.38.0a1747372094.dist-info → pulumi_aiven-6.39.0a1747890420.dist-info}/METADATA +1 -1
  29. {pulumi_aiven-6.38.0a1747372094.dist-info → pulumi_aiven-6.39.0a1747890420.dist-info}/RECORD +31 -30
  30. {pulumi_aiven-6.38.0a1747372094.dist-info → pulumi_aiven-6.39.0a1747890420.dist-info}/WHEEL +1 -1
  31. {pulumi_aiven-6.38.0a1747372094.dist-info → pulumi_aiven-6.39.0a1747890420.dist-info}/top_level.txt +0 -0
@@ -243,6 +243,7 @@ class ClickhouseGrant(pulumi.CustomResource):
243
243
 
244
244
  **Note:**
245
245
  * Users cannot have the same name as roles.
246
+ * Global privileges cannot be granted on the database level. To grant global privileges, use `database="*"`.
246
247
  * To grant a privilege on all tables of a database, omit the table and only keep the database. Don't use `table="*"`.
247
248
  * Changes first revoke all grants and then reissue the remaining grants for convergence.
248
249
 
@@ -271,6 +272,14 @@ class ClickhouseGrant(pulumi.CustomResource):
271
272
  "privilege": "SELECT",
272
273
  "database": example_db["name"],
273
274
  },
275
+ {
276
+ "privilege": "CREATE TEMPORARY TABLE",
277
+ "database": "*",
278
+ },
279
+ {
280
+ "privilege": "SYSTEM DROP CACHE",
281
+ "database": "*",
282
+ },
274
283
  ])
275
284
  # Grant the role to the user.
276
285
  example_user = aiven.ClickhouseUser("example_user",
@@ -312,6 +321,7 @@ class ClickhouseGrant(pulumi.CustomResource):
312
321
 
313
322
  **Note:**
314
323
  * Users cannot have the same name as roles.
324
+ * Global privileges cannot be granted on the database level. To grant global privileges, use `database="*"`.
315
325
  * To grant a privilege on all tables of a database, omit the table and only keep the database. Don't use `table="*"`.
316
326
  * Changes first revoke all grants and then reissue the remaining grants for convergence.
317
327
 
@@ -340,6 +350,14 @@ class ClickhouseGrant(pulumi.CustomResource):
340
350
  "privilege": "SELECT",
341
351
  "database": example_db["name"],
342
352
  },
353
+ {
354
+ "privilege": "CREATE TEMPORARY TABLE",
355
+ "database": "*",
356
+ },
357
+ {
358
+ "privilege": "SYSTEM DROP CACHE",
359
+ "database": "*",
360
+ },
343
361
  ])
344
362
  # Grant the role to the user.
345
363
  example_user = aiven.ClickhouseUser("example_user",
@@ -56,7 +56,7 @@ class GetExternalIdentityResult:
56
56
  @pulumi.getter(name="externalUserId")
57
57
  def external_user_id(self) -> builtins.str:
58
58
  """
59
- The user's ID on the external service.
59
+ The user's ID on the external service. For GitHub, this is their GitHub username.
60
60
  """
61
61
  return pulumi.get(self, "external_user_id")
62
62
 
@@ -104,14 +104,14 @@ def get_external_identity(external_service_name: Optional[builtins.str] = None,
104
104
  organization_id: Optional[builtins.str] = None,
105
105
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExternalIdentityResult:
106
106
  """
107
- Maps an external service user to an Aiven user.
107
+ Links external usernames to Aiven users, ensuring that requesters and approvers are correctly identified for Aiven for Apache Kafka® Governance approval workflows.
108
108
 
109
109
  **This resource is in the beta stage and may change without notice.** Set
110
110
  the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
111
111
 
112
112
 
113
113
  :param builtins.str external_service_name: The name of the external service. The possible value is `github`.
114
- :param builtins.str external_user_id: The user's ID on the external service.
114
+ :param builtins.str external_user_id: The user's ID on the external service. For GitHub, this is their GitHub username.
115
115
  :param builtins.str internal_user_id: The Aiven user ID.
116
116
  :param builtins.str organization_id: The ID of the Aiven organization that the user is part of.
117
117
  """
@@ -135,14 +135,14 @@ def get_external_identity_output(external_service_name: Optional[pulumi.Input[bu
135
135
  organization_id: Optional[pulumi.Input[builtins.str]] = None,
136
136
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetExternalIdentityResult]:
137
137
  """
138
- Maps an external service user to an Aiven user.
138
+ Links external usernames to Aiven users, ensuring that requesters and approvers are correctly identified for Aiven for Apache Kafka® Governance approval workflows.
139
139
 
140
140
  **This resource is in the beta stage and may change without notice.** Set
141
141
  the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
142
142
 
143
143
 
144
144
  :param builtins.str external_service_name: The name of the external service. The possible value is `github`.
145
- :param builtins.str external_user_id: The user's ID on the external service.
145
+ :param builtins.str external_user_id: The user's ID on the external service. For GitHub, this is their GitHub username.
146
146
  :param builtins.str internal_user_id: The Aiven user ID.
147
147
  :param builtins.str organization_id: The ID of the Aiven organization that the user is part of.
148
148
  """
@@ -217,7 +217,7 @@ class GetOpenSearchResult:
217
217
  @pulumi.getter
218
218
  def opensearches(self) -> Sequence['outputs.GetOpenSearchOpensearchResult']:
219
219
  """
220
- OpenSearch server provided values
220
+ Values provided by the OpenSearch server.
221
221
  """
222
222
  return pulumi.get(self, "opensearches")
223
223
 
@@ -388,7 +388,7 @@ def get_open_search(project: Optional[builtins.str] = None,
388
388
  service_name: Optional[builtins.str] = None,
389
389
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOpenSearchResult:
390
390
  """
391
- The OpenSearch data source provides information about the existing Aiven OpenSearch service.
391
+ Gets information about an Aiven for OpenSearch® service.
392
392
 
393
393
  ## Example Usage
394
394
 
@@ -396,8 +396,8 @@ def get_open_search(project: Optional[builtins.str] = None,
396
396
  import pulumi
397
397
  import pulumi_aiven as aiven
398
398
 
399
- os1 = aiven.get_open_search(project=pr1["project"],
400
- service_name="my-os1")
399
+ example_opensearch = aiven.get_open_search(project=example_project["project"],
400
+ service_name="example-opensearch")
401
401
  ```
402
402
 
403
403
 
@@ -444,7 +444,7 @@ def get_open_search_output(project: Optional[pulumi.Input[builtins.str]] = None,
444
444
  service_name: Optional[pulumi.Input[builtins.str]] = None,
445
445
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOpenSearchResult]:
446
446
  """
447
- The OpenSearch data source provides information about the existing Aiven OpenSearch service.
447
+ Gets information about an Aiven for OpenSearch® service.
448
448
 
449
449
  ## Example Usage
450
450
 
@@ -452,8 +452,8 @@ def get_open_search_output(project: Optional[pulumi.Input[builtins.str]] = None,
452
452
  import pulumi
453
453
  import pulumi_aiven as aiven
454
454
 
455
- os1 = aiven.get_open_search(project=pr1["project"],
456
- service_name="my-os1")
455
+ example_opensearch = aiven.get_open_search(project=example_project["project"],
456
+ service_name="example-opensearch")
457
457
  ```
458
458
 
459
459
 
@@ -48,7 +48,7 @@ class GetOpenSearchAclConfigResult:
48
48
  @pulumi.getter
49
49
  def enabled(self) -> builtins.bool:
50
50
  """
51
- Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
51
+ Enable OpenSearch ACLs. When disabled, authenticated service users have unrestricted access. The default value is `true`.
52
52
  """
53
53
  return pulumi.get(self, "enabled")
54
54
 
@@ -102,7 +102,7 @@ def get_open_search_acl_config(project: Optional[builtins.str] = None,
102
102
  service_name: Optional[builtins.str] = None,
103
103
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOpenSearchAclConfigResult:
104
104
  """
105
- The OpenSearch ACL Config data source provides information about an existing Aiven OpenSearch ACL Config.
105
+ Gets information about access control for an Aiven for OpenSearch® service.
106
106
 
107
107
  ## Example Usage
108
108
 
@@ -110,8 +110,8 @@ def get_open_search_acl_config(project: Optional[builtins.str] = None,
110
110
  import pulumi
111
111
  import pulumi_aiven as aiven
112
112
 
113
- os_acl_config = aiven.get_open_search_acl_config(project=os_project["project"],
114
- service_name=os["serviceName"])
113
+ os_acl_config = aiven.get_open_search_acl_config(project=example_project["project"],
114
+ service_name=example_opensearch["serviceName"])
115
115
  ```
116
116
 
117
117
 
@@ -134,7 +134,7 @@ def get_open_search_acl_config_output(project: Optional[pulumi.Input[builtins.st
134
134
  service_name: Optional[pulumi.Input[builtins.str]] = None,
135
135
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOpenSearchAclConfigResult]:
136
136
  """
137
- The OpenSearch ACL Config data source provides information about an existing Aiven OpenSearch ACL Config.
137
+ Gets information about access control for an Aiven for OpenSearch® service.
138
138
 
139
139
  ## Example Usage
140
140
 
@@ -142,8 +142,8 @@ def get_open_search_acl_config_output(project: Optional[pulumi.Input[builtins.st
142
142
  import pulumi
143
143
  import pulumi_aiven as aiven
144
144
 
145
- os_acl_config = aiven.get_open_search_acl_config(project=os_project["project"],
146
- service_name=os["serviceName"])
145
+ os_acl_config = aiven.get_open_search_acl_config(project=example_project["project"],
146
+ service_name=example_opensearch["serviceName"])
147
147
  ```
148
148
 
149
149
 
@@ -59,7 +59,7 @@ class GetOpenSearchAclRuleResult:
59
59
  @pulumi.getter
60
60
  def index(self) -> builtins.str:
61
61
  """
62
- The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
62
+ The index pattern for this ACL rule. Maximum length: `249`. Changing this property forces recreation of the resource.
63
63
  """
64
64
  return pulumi.get(self, "index")
65
65
 
@@ -67,7 +67,7 @@ class GetOpenSearchAclRuleResult:
67
67
  @pulumi.getter
68
68
  def permission(self) -> builtins.str:
69
69
  """
70
- The permissions for this ACL entry. The possible values are `admin`, `deny`, `read`, `readwrite` and `write`.
70
+ The permissions for this ACL rule. The possible values are `admin`, `deny`, `read`, `readwrite` and `write`.
71
71
  """
72
72
  return pulumi.get(self, "permission")
73
73
 
@@ -91,7 +91,7 @@ class GetOpenSearchAclRuleResult:
91
91
  @pulumi.getter
92
92
  def username(self) -> builtins.str:
93
93
  """
94
- The username for the ACL entry. Maximum length: `40`. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
94
+ The username for the OpenSearch user this ACL rule applies to. Maximum length: `40`. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
95
95
  """
96
96
  return pulumi.get(self, "username")
97
97
 
@@ -117,7 +117,7 @@ def get_open_search_acl_rule(index: Optional[builtins.str] = None,
117
117
  username: Optional[builtins.str] = None,
118
118
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOpenSearchAclRuleResult:
119
119
  """
120
- The OpenSearch ACL Rule data source provides information about an existing Aiven OpenSearch ACL Rule.
120
+ Gets information about an Aiven for OpenSearch® ACL rule.
121
121
 
122
122
  ## Example Usage
123
123
 
@@ -125,18 +125,18 @@ def get_open_search_acl_rule(index: Optional[builtins.str] = None,
125
125
  import pulumi
126
126
  import pulumi_aiven as aiven
127
127
 
128
- os_acl_rule = aiven.get_open_search_acl_rule(project=os_acls_config["project"],
129
- service_name=os_acls_config["serviceName"],
130
- username="<USERNAME>",
131
- index="<INDEX>")
128
+ os_acl_rule = aiven.get_open_search_acl_rule(project=example_project["project"],
129
+ service_name=example_opensearch["serviceName"],
130
+ username="documentation-user-1",
131
+ index="index5")
132
132
  ```
133
133
 
134
134
 
135
- :param builtins.str index: The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
136
- :param builtins.str permission: The permissions for this ACL entry. The possible values are `admin`, `deny`, `read`, `readwrite` and `write`.
135
+ :param builtins.str index: The index pattern for this ACL rule. Maximum length: `249`. Changing this property forces recreation of the resource.
136
+ :param builtins.str permission: The permissions for this ACL rule. The possible values are `admin`, `deny`, `read`, `readwrite` and `write`.
137
137
  :param builtins.str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
138
138
  :param builtins.str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
139
- :param builtins.str username: The username for the ACL entry. Maximum length: `40`. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
139
+ :param builtins.str username: The username for the OpenSearch user this ACL rule applies to. Maximum length: `40`. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
140
140
  """
141
141
  __args__ = dict()
142
142
  __args__['index'] = index
@@ -161,7 +161,7 @@ def get_open_search_acl_rule_output(index: Optional[pulumi.Input[builtins.str]]
161
161
  username: Optional[pulumi.Input[builtins.str]] = None,
162
162
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOpenSearchAclRuleResult]:
163
163
  """
164
- The OpenSearch ACL Rule data source provides information about an existing Aiven OpenSearch ACL Rule.
164
+ Gets information about an Aiven for OpenSearch® ACL rule.
165
165
 
166
166
  ## Example Usage
167
167
 
@@ -169,18 +169,18 @@ def get_open_search_acl_rule_output(index: Optional[pulumi.Input[builtins.str]]
169
169
  import pulumi
170
170
  import pulumi_aiven as aiven
171
171
 
172
- os_acl_rule = aiven.get_open_search_acl_rule(project=os_acls_config["project"],
173
- service_name=os_acls_config["serviceName"],
174
- username="<USERNAME>",
175
- index="<INDEX>")
172
+ os_acl_rule = aiven.get_open_search_acl_rule(project=example_project["project"],
173
+ service_name=example_opensearch["serviceName"],
174
+ username="documentation-user-1",
175
+ index="index5")
176
176
  ```
177
177
 
178
178
 
179
- :param builtins.str index: The index pattern for this ACL entry. Maximum length: `249`. Changing this property forces recreation of the resource.
180
- :param builtins.str permission: The permissions for this ACL entry. The possible values are `admin`, `deny`, `read`, `readwrite` and `write`.
179
+ :param builtins.str index: The index pattern for this ACL rule. Maximum length: `249`. Changing this property forces recreation of the resource.
180
+ :param builtins.str permission: The permissions for this ACL rule. The possible values are `admin`, `deny`, `read`, `readwrite` and `write`.
181
181
  :param builtins.str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
182
182
  :param builtins.str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
183
- :param builtins.str username: The username for the ACL entry. Maximum length: `40`. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
183
+ :param builtins.str username: The username for the OpenSearch user this ACL rule applies to. Maximum length: `40`. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
184
184
  """
185
185
  __args__ = dict()
186
186
  __args__['index'] = index
@@ -54,7 +54,7 @@ class GetOpensearchSecurityPluginConfigResult:
54
54
  @pulumi.getter(name="adminEnabled")
55
55
  def admin_enabled(self) -> builtins.bool:
56
56
  """
57
- Whether the os-sec-admin user is enabled. This indicates whether the user management with the security plugin is enabled. This is always true when the os-sec-admin password was set at least once.
57
+ Whether the os-sec-admin user is enabled. This indicates whether OpenSearch Security management is enabled. This is always true when the os-sec-admin password was set at least once.
58
58
  """
59
59
  return pulumi.get(self, "admin_enabled")
60
60
 
@@ -126,7 +126,7 @@ def get_opensearch_security_plugin_config(project: Optional[builtins.str] = None
126
126
  service_name: Optional[builtins.str] = None,
127
127
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOpensearchSecurityPluginConfigResult:
128
128
  """
129
- The OpenSearch Security Plugin Config data source provides information about an existing Aiven OpenSearch Security Plugin Config.
129
+ Gets information about OpenSearch Security configuration for an Aiven for OpenSearch® service.
130
130
 
131
131
  ## Example Usage
132
132
 
@@ -134,8 +134,8 @@ def get_opensearch_security_plugin_config(project: Optional[builtins.str] = None
134
134
  import pulumi
135
135
  import pulumi_aiven as aiven
136
136
 
137
- os_sec_config = aiven.get_opensearch_security_plugin_config(project=os_project["project"],
138
- service_name=os["serviceName"])
137
+ os_sec_config = aiven.get_opensearch_security_plugin_config(project=example_project["project"],
138
+ service_name=example_opensearch["serviceName"])
139
139
  ```
140
140
 
141
141
 
@@ -160,7 +160,7 @@ def get_opensearch_security_plugin_config_output(project: Optional[pulumi.Input[
160
160
  service_name: Optional[pulumi.Input[builtins.str]] = None,
161
161
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOpensearchSecurityPluginConfigResult]:
162
162
  """
163
- The OpenSearch Security Plugin Config data source provides information about an existing Aiven OpenSearch Security Plugin Config.
163
+ Gets information about OpenSearch Security configuration for an Aiven for OpenSearch® service.
164
164
 
165
165
  ## Example Usage
166
166
 
@@ -168,8 +168,8 @@ def get_opensearch_security_plugin_config_output(project: Optional[pulumi.Input[
168
168
  import pulumi
169
169
  import pulumi_aiven as aiven
170
170
 
171
- os_sec_config = aiven.get_opensearch_security_plugin_config(project=os_project["project"],
172
- service_name=os["serviceName"])
171
+ os_sec_config = aiven.get_opensearch_security_plugin_config(project=example_project["project"],
172
+ service_name=example_opensearch["serviceName"])
173
173
  ```
174
174
 
175
175
 
@@ -59,7 +59,7 @@ class GetOpensearchUserResult:
59
59
  @pulumi.getter
60
60
  def password(self) -> builtins.str:
61
61
  """
62
- The password of the OpenSearch User.
62
+ The OpenSearch service user's password.
63
63
  """
64
64
  return pulumi.get(self, "password")
65
65
 
@@ -83,7 +83,7 @@ class GetOpensearchUserResult:
83
83
  @pulumi.getter
84
84
  def type(self) -> builtins.str:
85
85
  """
86
- Type of the user account. Tells whether the user is the primary account or a regular account.
86
+ User account type, such as primary or regular account.
87
87
  """
88
88
  return pulumi.get(self, "type")
89
89
 
@@ -91,7 +91,7 @@ class GetOpensearchUserResult:
91
91
  @pulumi.getter
92
92
  def username(self) -> builtins.str:
93
93
  """
94
- The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
94
+ Name of the OpenSearch service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
95
95
  """
96
96
  return pulumi.get(self, "username")
97
97
 
@@ -115,7 +115,7 @@ def get_opensearch_user(project: Optional[builtins.str] = None,
115
115
  username: Optional[builtins.str] = None,
116
116
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOpensearchUserResult:
117
117
  """
118
- The OpenSearch User data source provides information about the existing Aiven OpenSearch User.
118
+ Gets information about an Aiven for OpenSearch® service user.
119
119
 
120
120
  ## Example Usage
121
121
 
@@ -123,15 +123,15 @@ def get_opensearch_user(project: Optional[builtins.str] = None,
123
123
  import pulumi
124
124
  import pulumi_aiven as aiven
125
125
 
126
- user = aiven.get_opensearch_user(service_name="my-service",
127
- project="my-project",
128
- username="user1")
126
+ example_opensearch_user = aiven.get_opensearch_user(service_name="example-opensearch-service",
127
+ project=example_project["project"],
128
+ username="example-opensearch-user")
129
129
  ```
130
130
 
131
131
 
132
132
  :param builtins.str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
133
133
  :param builtins.str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
134
- :param builtins.str username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
134
+ :param builtins.str username: Name of the OpenSearch service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
135
135
  """
136
136
  __args__ = dict()
137
137
  __args__['project'] = project
@@ -152,7 +152,7 @@ def get_opensearch_user_output(project: Optional[pulumi.Input[builtins.str]] = N
152
152
  username: Optional[pulumi.Input[builtins.str]] = None,
153
153
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOpensearchUserResult]:
154
154
  """
155
- The OpenSearch User data source provides information about the existing Aiven OpenSearch User.
155
+ Gets information about an Aiven for OpenSearch® service user.
156
156
 
157
157
  ## Example Usage
158
158
 
@@ -160,15 +160,15 @@ def get_opensearch_user_output(project: Optional[pulumi.Input[builtins.str]] = N
160
160
  import pulumi
161
161
  import pulumi_aiven as aiven
162
162
 
163
- user = aiven.get_opensearch_user(service_name="my-service",
164
- project="my-project",
165
- username="user1")
163
+ example_opensearch_user = aiven.get_opensearch_user(service_name="example-opensearch-service",
164
+ project=example_project["project"],
165
+ username="example-opensearch-user")
166
166
  ```
167
167
 
168
168
 
169
169
  :param builtins.str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
170
170
  :param builtins.str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
171
- :param builtins.str username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
171
+ :param builtins.str username: Name of the OpenSearch service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
172
172
  """
173
173
  __args__ = dict()
174
174
  __args__['project'] = project
@@ -14,6 +14,8 @@ if sys.version_info >= (3, 11):
14
14
  else:
15
15
  from typing_extensions import NotRequired, TypedDict, TypeAlias
16
16
  from . import _utilities
17
+ from . import outputs
18
+ from ._inputs import *
17
19
 
18
20
  __all__ = [
19
21
  'GetOrganizationResult',
@@ -27,7 +29,7 @@ class GetOrganizationResult:
27
29
  """
28
30
  A collection of values returned by getOrganization.
29
31
  """
30
- def __init__(__self__, create_time=None, id=None, name=None, tenant_id=None, update_time=None):
32
+ def __init__(__self__, create_time=None, id=None, name=None, tenant_id=None, timeouts=None, update_time=None):
31
33
  if create_time and not isinstance(create_time, str):
32
34
  raise TypeError("Expected argument 'create_time' to be a str")
33
35
  pulumi.set(__self__, "create_time", create_time)
@@ -40,6 +42,9 @@ class GetOrganizationResult:
40
42
  if tenant_id and not isinstance(tenant_id, str):
41
43
  raise TypeError("Expected argument 'tenant_id' to be a str")
42
44
  pulumi.set(__self__, "tenant_id", tenant_id)
45
+ if timeouts and not isinstance(timeouts, dict):
46
+ raise TypeError("Expected argument 'timeouts' to be a dict")
47
+ pulumi.set(__self__, "timeouts", timeouts)
43
48
  if update_time and not isinstance(update_time, str):
44
49
  raise TypeError("Expected argument 'update_time' to be a str")
45
50
  pulumi.set(__self__, "update_time", update_time)
@@ -48,13 +53,13 @@ class GetOrganizationResult:
48
53
  @pulumi.getter(name="createTime")
49
54
  def create_time(self) -> builtins.str:
50
55
  """
51
- Timestamp of the creation of the organization.
56
+ Timestamp in ISO 8601 format, always in UTC.
52
57
  """
53
58
  return pulumi.get(self, "create_time")
54
59
 
55
60
  @property
56
61
  @pulumi.getter
57
- def id(self) -> builtins.str:
62
+ def id(self) -> Optional[builtins.str]:
58
63
  """
59
64
  ID of the organization.
60
65
  """
@@ -62,7 +67,7 @@ class GetOrganizationResult:
62
67
 
63
68
  @property
64
69
  @pulumi.getter
65
- def name(self) -> builtins.str:
70
+ def name(self) -> Optional[builtins.str]:
66
71
  """
67
72
  Name of the organization.
68
73
  """
@@ -70,17 +75,23 @@ class GetOrganizationResult:
70
75
 
71
76
  @property
72
77
  @pulumi.getter(name="tenantId")
78
+ @_utilities.deprecated("""This field is deprecated and will be removed in the next major release.""")
73
79
  def tenant_id(self) -> builtins.str:
74
80
  """
75
- Tenant ID of the organization.
81
+ Tenant identifier.
76
82
  """
77
83
  return pulumi.get(self, "tenant_id")
78
84
 
85
+ @property
86
+ @pulumi.getter
87
+ def timeouts(self) -> Optional['outputs.GetOrganizationTimeoutsResult']:
88
+ return pulumi.get(self, "timeouts")
89
+
79
90
  @property
80
91
  @pulumi.getter(name="updateTime")
81
92
  def update_time(self) -> builtins.str:
82
93
  """
83
- Timestamp of the last update of the organization.
94
+ Timestamp in ISO 8601 format, always in UTC.
84
95
  """
85
96
  return pulumi.get(self, "update_time")
86
97
 
@@ -95,11 +106,13 @@ class AwaitableGetOrganizationResult(GetOrganizationResult):
95
106
  id=self.id,
96
107
  name=self.name,
97
108
  tenant_id=self.tenant_id,
109
+ timeouts=self.timeouts,
98
110
  update_time=self.update_time)
99
111
 
100
112
 
101
113
  def get_organization(id: Optional[builtins.str] = None,
102
114
  name: Optional[builtins.str] = None,
115
+ timeouts: Optional[Union['GetOrganizationTimeoutsArgs', 'GetOrganizationTimeoutsArgsDict']] = None,
103
116
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationResult:
104
117
  """
105
118
  Gets information about an organization.
@@ -120,6 +133,7 @@ def get_organization(id: Optional[builtins.str] = None,
120
133
  __args__ = dict()
121
134
  __args__['id'] = id
122
135
  __args__['name'] = name
136
+ __args__['timeouts'] = timeouts
123
137
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
124
138
  __ret__ = pulumi.runtime.invoke('aiven:index/getOrganization:getOrganization', __args__, opts=opts, typ=GetOrganizationResult).value
125
139
 
@@ -128,9 +142,11 @@ def get_organization(id: Optional[builtins.str] = None,
128
142
  id=pulumi.get(__ret__, 'id'),
129
143
  name=pulumi.get(__ret__, 'name'),
130
144
  tenant_id=pulumi.get(__ret__, 'tenant_id'),
145
+ timeouts=pulumi.get(__ret__, 'timeouts'),
131
146
  update_time=pulumi.get(__ret__, 'update_time'))
132
147
  def get_organization_output(id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
133
148
  name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
149
+ timeouts: Optional[pulumi.Input[Optional[Union['GetOrganizationTimeoutsArgs', 'GetOrganizationTimeoutsArgsDict']]]] = None,
134
150
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrganizationResult]:
135
151
  """
136
152
  Gets information about an organization.
@@ -151,6 +167,7 @@ def get_organization_output(id: Optional[pulumi.Input[Optional[builtins.str]]] =
151
167
  __args__ = dict()
152
168
  __args__['id'] = id
153
169
  __args__['name'] = name
170
+ __args__['timeouts'] = timeouts
154
171
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
155
172
  __ret__ = pulumi.runtime.invoke_output('aiven:index/getOrganization:getOrganization', __args__, opts=opts, typ=GetOrganizationResult)
156
173
  return __ret__.apply(lambda __response__: GetOrganizationResult(
@@ -158,4 +175,5 @@ def get_organization_output(id: Optional[pulumi.Input[Optional[builtins.str]]] =
158
175
  id=pulumi.get(__response__, 'id'),
159
176
  name=pulumi.get(__response__, 'name'),
160
177
  tenant_id=pulumi.get(__response__, 'tenant_id'),
178
+ timeouts=pulumi.get(__response__, 'timeouts'),
161
179
  update_time=pulumi.get(__response__, 'update_time')))