pulumi-aiven 6.37.0a1744255932__py3-none-any.whl → 6.38.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 +9 -0
- pulumi_aiven/_inputs.py +1302 -160
- pulumi_aiven/account.py +1 -0
- pulumi_aiven/account_authentication.py +1 -0
- pulumi_aiven/account_team.py +1 -0
- pulumi_aiven/account_team_member.py +1 -0
- pulumi_aiven/account_team_project.py +1 -0
- pulumi_aiven/alloydbomni.py +1 -0
- pulumi_aiven/alloydbomni_database.py +1 -0
- pulumi_aiven/alloydbomni_user.py +1 -0
- pulumi_aiven/aws_org_vpc_peering_connection.py +1 -0
- pulumi_aiven/aws_privatelink.py +1 -0
- pulumi_aiven/aws_vpc_peering_connection.py +1 -0
- pulumi_aiven/azure_org_vpc_peering_connection.py +1 -0
- pulumi_aiven/azure_privatelink.py +1 -0
- pulumi_aiven/azure_privatelink_connection_approval.py +1 -0
- pulumi_aiven/azure_vpc_peering_connection.py +1 -0
- pulumi_aiven/billing_group.py +1 -0
- pulumi_aiven/cassandra.py +1 -0
- pulumi_aiven/cassandra_user.py +1 -0
- pulumi_aiven/clickhouse.py +1 -0
- pulumi_aiven/clickhouse_database.py +1 -0
- pulumi_aiven/clickhouse_grant.py +19 -0
- pulumi_aiven/clickhouse_role.py +1 -0
- pulumi_aiven/clickhouse_user.py +1 -0
- pulumi_aiven/connection_pool.py +1 -0
- pulumi_aiven/dragonfly.py +1 -0
- pulumi_aiven/flink.py +1 -0
- pulumi_aiven/flink_application.py +1 -0
- pulumi_aiven/flink_application_deployment.py +1 -0
- pulumi_aiven/flink_application_version.py +1 -0
- pulumi_aiven/flink_jar_application.py +1 -0
- pulumi_aiven/flink_jar_application_deployment.py +1 -0
- pulumi_aiven/flink_jar_application_version.py +1 -0
- pulumi_aiven/gcp_org_vpc_peering_connection.py +1 -0
- pulumi_aiven/gcp_privatelink.py +1 -0
- pulumi_aiven/gcp_privatelink_connection_approval.py +1 -0
- pulumi_aiven/gcp_vpc_peering_connection.py +1 -0
- pulumi_aiven/get_external_identity.py +5 -5
- pulumi_aiven/get_open_search.py +7 -7
- pulumi_aiven/get_open_search_acl_config.py +7 -7
- pulumi_aiven/get_open_search_acl_rule.py +19 -19
- pulumi_aiven/get_opensearch_security_plugin_config.py +7 -7
- pulumi_aiven/get_opensearch_user.py +13 -13
- pulumi_aiven/get_organization.py +24 -6
- pulumi_aiven/get_organization_address.py +52 -29
- pulumi_aiven/get_organization_billing_group.py +38 -15
- pulumi_aiven/get_organization_billing_group_list.py +40 -12
- pulumi_aiven/get_organization_project.py +50 -14
- pulumi_aiven/governance_access.py +418 -0
- pulumi_aiven/grafana.py +1 -0
- pulumi_aiven/influx_db.py +1 -0
- pulumi_aiven/influxdb_database.py +1 -0
- pulumi_aiven/influxdb_user.py +1 -0
- pulumi_aiven/kafka.py +1 -0
- pulumi_aiven/kafka_acl.py +1 -0
- pulumi_aiven/kafka_connect.py +1 -0
- pulumi_aiven/kafka_connector.py +1 -0
- pulumi_aiven/kafka_mirror_maker.py +1 -0
- pulumi_aiven/kafka_native_acl.py +1 -0
- pulumi_aiven/kafka_quota.py +1 -0
- pulumi_aiven/kafka_schema.py +1 -0
- pulumi_aiven/kafka_schema_configuration.py +1 -0
- pulumi_aiven/kafka_schema_registry_acl.py +1 -0
- pulumi_aiven/kafka_topic.py +1 -0
- pulumi_aiven/kafka_user.py +1 -0
- pulumi_aiven/m3_aggregator.py +1 -0
- pulumi_aiven/m3_db.py +1 -0
- pulumi_aiven/m3db_user.py +1 -0
- pulumi_aiven/mirror_maker_replication_flow.py +1 -0
- pulumi_aiven/my_sql.py +1 -0
- pulumi_aiven/mysql_database.py +1 -0
- pulumi_aiven/mysql_user.py +1 -0
- pulumi_aiven/open_search.py +18 -19
- pulumi_aiven/open_search_acl_config.py +30 -41
- pulumi_aiven/open_search_acl_rule.py +48 -47
- pulumi_aiven/opensearch_security_plugin_config.py +15 -42
- pulumi_aiven/opensearch_user.py +33 -32
- pulumi_aiven/organization.py +25 -19
- pulumi_aiven/organization_address.py +103 -96
- pulumi_aiven/organization_application_user.py +10 -0
- pulumi_aiven/organization_application_user_token.py +1 -0
- pulumi_aiven/organization_billing_group.py +67 -60
- pulumi_aiven/organization_group_project.py +1 -0
- pulumi_aiven/organization_permission.py +1 -0
- pulumi_aiven/organization_project.py +112 -62
- pulumi_aiven/organization_user.py +1 -0
- pulumi_aiven/organization_user_group.py +1 -0
- pulumi_aiven/organization_user_group_member.py +1 -0
- pulumi_aiven/organization_vpc.py +1 -0
- pulumi_aiven/organizational_unit.py +1 -0
- pulumi_aiven/outputs.py +1039 -189
- pulumi_aiven/pg.py +1 -0
- pulumi_aiven/pg_database.py +1 -0
- pulumi_aiven/pg_user.py +1 -0
- pulumi_aiven/project.py +1 -0
- pulumi_aiven/project_user.py +1 -0
- pulumi_aiven/project_vpc.py +1 -0
- pulumi_aiven/provider.py +21 -0
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +1 -0
- pulumi_aiven/redis_user.py +1 -0
- pulumi_aiven/service_integration.py +1 -0
- pulumi_aiven/service_integration_endpoint.py +1 -0
- pulumi_aiven/static_ip.py +1 -0
- pulumi_aiven/thanos.py +1 -0
- pulumi_aiven/transit_gateway_vpc_attachment.py +1 -0
- pulumi_aiven/valkey.py +1 -0
- pulumi_aiven/valkey_user.py +1 -0
- {pulumi_aiven-6.37.0a1744255932.dist-info → pulumi_aiven-6.38.0.dist-info}/METADATA +3 -3
- pulumi_aiven-6.38.0.dist-info/RECORD +189 -0
- {pulumi_aiven-6.37.0a1744255932.dist-info → pulumi_aiven-6.38.0.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.37.0a1744255932.dist-info/RECORD +0 -188
- {pulumi_aiven-6.37.0a1744255932.dist-info → pulumi_aiven-6.38.0.dist-info}/top_level.txt +0 -0
|
@@ -81,7 +81,7 @@ class _OpensearchSecurityPluginConfigState:
|
|
|
81
81
|
service_name: Optional[pulumi.Input[builtins.str]] = None):
|
|
82
82
|
"""
|
|
83
83
|
Input properties used for looking up and filtering OpensearchSecurityPluginConfig resources.
|
|
84
|
-
:param pulumi.Input[builtins.bool] admin_enabled: Whether the os-sec-admin user is enabled. This indicates whether
|
|
84
|
+
:param pulumi.Input[builtins.bool] admin_enabled: 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.
|
|
85
85
|
:param pulumi.Input[builtins.str] admin_password: The password for the os-sec-admin user.
|
|
86
86
|
:param pulumi.Input[builtins.bool] available: Whether the security plugin is available. This is always true for recently created services.
|
|
87
87
|
:param pulumi.Input[builtins.bool] enabled: Whether the security plugin is enabled. This is always true for recently created services.
|
|
@@ -105,7 +105,7 @@ class _OpensearchSecurityPluginConfigState:
|
|
|
105
105
|
@pulumi.getter(name="adminEnabled")
|
|
106
106
|
def admin_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
107
107
|
"""
|
|
108
|
-
Whether the os-sec-admin user is enabled. This indicates whether
|
|
108
|
+
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.
|
|
109
109
|
"""
|
|
110
110
|
return pulumi.get(self, "admin_enabled")
|
|
111
111
|
|
|
@@ -174,6 +174,7 @@ class _OpensearchSecurityPluginConfigState:
|
|
|
174
174
|
pulumi.set(self, "service_name", value)
|
|
175
175
|
|
|
176
176
|
|
|
177
|
+
@pulumi.type_token("aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig")
|
|
177
178
|
class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
178
179
|
@overload
|
|
179
180
|
def __init__(__self__,
|
|
@@ -184,36 +185,22 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
|
184
185
|
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
185
186
|
__props__=None):
|
|
186
187
|
"""
|
|
187
|
-
The OpenSearch Security Plugin Config resource allows the creation and management of AivenOpenSearch Security Plugin config.
|
|
188
|
-
|
|
189
188
|
## Example Usage
|
|
190
189
|
|
|
191
190
|
```python
|
|
192
191
|
import pulumi
|
|
193
192
|
import pulumi_aiven as aiven
|
|
194
193
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
plan="startup-4",
|
|
200
|
-
service_name="example_service_name",
|
|
201
|
-
maintenance_window_dow="monday",
|
|
202
|
-
maintenance_window_time="10:00:00")
|
|
203
|
-
foo_opensearch_user = aiven.OpensearchUser("foo",
|
|
204
|
-
service_name=bar.service_name,
|
|
205
|
-
project=foo.project,
|
|
206
|
-
username="user-example")
|
|
207
|
-
foo_opensearch_security_plugin_config = aiven.OpensearchSecurityPluginConfig("foo",
|
|
208
|
-
project=foo.project,
|
|
209
|
-
service_name=bar.service_name,
|
|
210
|
-
admin_password="ThisIsATest123^=^")
|
|
194
|
+
main = aiven.OpensearchSecurityPluginConfig("main",
|
|
195
|
+
project=example_project["project"],
|
|
196
|
+
service_name=example_opensearch["serviceName"],
|
|
197
|
+
admin_password=opensearch_security_admin_password)
|
|
211
198
|
```
|
|
212
199
|
|
|
213
200
|
## Import
|
|
214
201
|
|
|
215
202
|
```sh
|
|
216
|
-
$ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig
|
|
203
|
+
$ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig main PROJECT/SERVICE_NAME
|
|
217
204
|
```
|
|
218
205
|
|
|
219
206
|
:param str resource_name: The name of the resource.
|
|
@@ -229,36 +216,22 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
|
229
216
|
args: OpensearchSecurityPluginConfigArgs,
|
|
230
217
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
231
218
|
"""
|
|
232
|
-
The OpenSearch Security Plugin Config resource allows the creation and management of AivenOpenSearch Security Plugin config.
|
|
233
|
-
|
|
234
219
|
## Example Usage
|
|
235
220
|
|
|
236
221
|
```python
|
|
237
222
|
import pulumi
|
|
238
223
|
import pulumi_aiven as aiven
|
|
239
224
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
plan="startup-4",
|
|
245
|
-
service_name="example_service_name",
|
|
246
|
-
maintenance_window_dow="monday",
|
|
247
|
-
maintenance_window_time="10:00:00")
|
|
248
|
-
foo_opensearch_user = aiven.OpensearchUser("foo",
|
|
249
|
-
service_name=bar.service_name,
|
|
250
|
-
project=foo.project,
|
|
251
|
-
username="user-example")
|
|
252
|
-
foo_opensearch_security_plugin_config = aiven.OpensearchSecurityPluginConfig("foo",
|
|
253
|
-
project=foo.project,
|
|
254
|
-
service_name=bar.service_name,
|
|
255
|
-
admin_password="ThisIsATest123^=^")
|
|
225
|
+
main = aiven.OpensearchSecurityPluginConfig("main",
|
|
226
|
+
project=example_project["project"],
|
|
227
|
+
service_name=example_opensearch["serviceName"],
|
|
228
|
+
admin_password=opensearch_security_admin_password)
|
|
256
229
|
```
|
|
257
230
|
|
|
258
231
|
## Import
|
|
259
232
|
|
|
260
233
|
```sh
|
|
261
|
-
$ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig
|
|
234
|
+
$ pulumi import aiven:index/opensearchSecurityPluginConfig:OpensearchSecurityPluginConfig main PROJECT/SERVICE_NAME
|
|
262
235
|
```
|
|
263
236
|
|
|
264
237
|
:param str resource_name: The name of the resource.
|
|
@@ -325,7 +298,7 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
|
325
298
|
:param str resource_name: The unique name of the resulting resource.
|
|
326
299
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
327
300
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
328
|
-
:param pulumi.Input[builtins.bool] admin_enabled: Whether the os-sec-admin user is enabled. This indicates whether
|
|
301
|
+
:param pulumi.Input[builtins.bool] admin_enabled: 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.
|
|
329
302
|
:param pulumi.Input[builtins.str] admin_password: The password for the os-sec-admin user.
|
|
330
303
|
:param pulumi.Input[builtins.bool] available: Whether the security plugin is available. This is always true for recently created services.
|
|
331
304
|
:param pulumi.Input[builtins.bool] enabled: Whether the security plugin is enabled. This is always true for recently created services.
|
|
@@ -348,7 +321,7 @@ class OpensearchSecurityPluginConfig(pulumi.CustomResource):
|
|
|
348
321
|
@pulumi.getter(name="adminEnabled")
|
|
349
322
|
def admin_enabled(self) -> pulumi.Output[builtins.bool]:
|
|
350
323
|
"""
|
|
351
|
-
Whether the os-sec-admin user is enabled. This indicates whether
|
|
324
|
+
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.
|
|
352
325
|
"""
|
|
353
326
|
return pulumi.get(self, "admin_enabled")
|
|
354
327
|
|
pulumi_aiven/opensearch_user.py
CHANGED
|
@@ -28,8 +28,8 @@ class OpensearchUserArgs:
|
|
|
28
28
|
The set of arguments for constructing a OpensearchUser resource.
|
|
29
29
|
:param pulumi.Input[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.
|
|
30
30
|
:param pulumi.Input[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.
|
|
31
|
-
:param pulumi.Input[builtins.str] username:
|
|
32
|
-
:param pulumi.Input[builtins.str] password: The
|
|
31
|
+
:param pulumi.Input[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.
|
|
32
|
+
:param pulumi.Input[builtins.str] password: The OpenSearch service user's password.
|
|
33
33
|
"""
|
|
34
34
|
pulumi.set(__self__, "project", project)
|
|
35
35
|
pulumi.set(__self__, "service_name", service_name)
|
|
@@ -65,7 +65,7 @@ class OpensearchUserArgs:
|
|
|
65
65
|
@pulumi.getter
|
|
66
66
|
def username(self) -> pulumi.Input[builtins.str]:
|
|
67
67
|
"""
|
|
68
|
-
|
|
68
|
+
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.
|
|
69
69
|
"""
|
|
70
70
|
return pulumi.get(self, "username")
|
|
71
71
|
|
|
@@ -77,7 +77,7 @@ class OpensearchUserArgs:
|
|
|
77
77
|
@pulumi.getter
|
|
78
78
|
def password(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
79
79
|
"""
|
|
80
|
-
The
|
|
80
|
+
The OpenSearch service user's password.
|
|
81
81
|
"""
|
|
82
82
|
return pulumi.get(self, "password")
|
|
83
83
|
|
|
@@ -96,11 +96,11 @@ class _OpensearchUserState:
|
|
|
96
96
|
username: Optional[pulumi.Input[builtins.str]] = None):
|
|
97
97
|
"""
|
|
98
98
|
Input properties used for looking up and filtering OpensearchUser resources.
|
|
99
|
-
:param pulumi.Input[builtins.str] password: The
|
|
99
|
+
:param pulumi.Input[builtins.str] password: The OpenSearch service user's password.
|
|
100
100
|
:param pulumi.Input[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.
|
|
101
101
|
:param pulumi.Input[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.
|
|
102
|
-
:param pulumi.Input[builtins.str] type:
|
|
103
|
-
:param pulumi.Input[builtins.str] username:
|
|
102
|
+
:param pulumi.Input[builtins.str] type: User account type, such as primary or regular account.
|
|
103
|
+
:param pulumi.Input[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.
|
|
104
104
|
"""
|
|
105
105
|
if password is not None:
|
|
106
106
|
pulumi.set(__self__, "password", password)
|
|
@@ -117,7 +117,7 @@ class _OpensearchUserState:
|
|
|
117
117
|
@pulumi.getter
|
|
118
118
|
def password(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
119
119
|
"""
|
|
120
|
-
The
|
|
120
|
+
The OpenSearch service user's password.
|
|
121
121
|
"""
|
|
122
122
|
return pulumi.get(self, "password")
|
|
123
123
|
|
|
@@ -153,7 +153,7 @@ class _OpensearchUserState:
|
|
|
153
153
|
@pulumi.getter
|
|
154
154
|
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
155
155
|
"""
|
|
156
|
-
|
|
156
|
+
User account type, such as primary or regular account.
|
|
157
157
|
"""
|
|
158
158
|
return pulumi.get(self, "type")
|
|
159
159
|
|
|
@@ -165,7 +165,7 @@ class _OpensearchUserState:
|
|
|
165
165
|
@pulumi.getter
|
|
166
166
|
def username(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
167
167
|
"""
|
|
168
|
-
|
|
168
|
+
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.
|
|
169
169
|
"""
|
|
170
170
|
return pulumi.get(self, "username")
|
|
171
171
|
|
|
@@ -174,6 +174,7 @@ class _OpensearchUserState:
|
|
|
174
174
|
pulumi.set(self, "username", value)
|
|
175
175
|
|
|
176
176
|
|
|
177
|
+
@pulumi.type_token("aiven:index/opensearchUser:OpensearchUser")
|
|
177
178
|
class OpensearchUser(pulumi.CustomResource):
|
|
178
179
|
@overload
|
|
179
180
|
def __init__(__self__,
|
|
@@ -185,7 +186,7 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
185
186
|
username: Optional[pulumi.Input[builtins.str]] = None,
|
|
186
187
|
__props__=None):
|
|
187
188
|
"""
|
|
188
|
-
|
|
189
|
+
Creates and manages an Aiven for OpenSearch® service user.
|
|
189
190
|
|
|
190
191
|
## Example Usage
|
|
191
192
|
|
|
@@ -193,25 +194,25 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
193
194
|
import pulumi
|
|
194
195
|
import pulumi_aiven as aiven
|
|
195
196
|
|
|
196
|
-
|
|
197
|
-
service_name=
|
|
198
|
-
project="
|
|
199
|
-
username="user
|
|
200
|
-
password=
|
|
197
|
+
example_opensearch_user = aiven.OpensearchUser("example_opensearch_user",
|
|
198
|
+
service_name=example_opensearch["serviceName"],
|
|
199
|
+
project=example_project["project"],
|
|
200
|
+
username="example-opensearch-user",
|
|
201
|
+
password=opensearch_user_password)
|
|
201
202
|
```
|
|
202
203
|
|
|
203
204
|
## Import
|
|
204
205
|
|
|
205
206
|
```sh
|
|
206
|
-
$ pulumi import aiven:index/opensearchUser:OpensearchUser
|
|
207
|
+
$ pulumi import aiven:index/opensearchUser:OpensearchUser example_opensearch_user PROJECT/SERVICE_NAME/USERNAME
|
|
207
208
|
```
|
|
208
209
|
|
|
209
210
|
:param str resource_name: The name of the resource.
|
|
210
211
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
211
|
-
:param pulumi.Input[builtins.str] password: The
|
|
212
|
+
:param pulumi.Input[builtins.str] password: The OpenSearch service user's password.
|
|
212
213
|
:param pulumi.Input[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.
|
|
213
214
|
:param pulumi.Input[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.
|
|
214
|
-
:param pulumi.Input[builtins.str] username:
|
|
215
|
+
:param pulumi.Input[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.
|
|
215
216
|
"""
|
|
216
217
|
...
|
|
217
218
|
@overload
|
|
@@ -220,7 +221,7 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
220
221
|
args: OpensearchUserArgs,
|
|
221
222
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
222
223
|
"""
|
|
223
|
-
|
|
224
|
+
Creates and manages an Aiven for OpenSearch® service user.
|
|
224
225
|
|
|
225
226
|
## Example Usage
|
|
226
227
|
|
|
@@ -228,17 +229,17 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
228
229
|
import pulumi
|
|
229
230
|
import pulumi_aiven as aiven
|
|
230
231
|
|
|
231
|
-
|
|
232
|
-
service_name=
|
|
233
|
-
project="
|
|
234
|
-
username="user
|
|
235
|
-
password=
|
|
232
|
+
example_opensearch_user = aiven.OpensearchUser("example_opensearch_user",
|
|
233
|
+
service_name=example_opensearch["serviceName"],
|
|
234
|
+
project=example_project["project"],
|
|
235
|
+
username="example-opensearch-user",
|
|
236
|
+
password=opensearch_user_password)
|
|
236
237
|
```
|
|
237
238
|
|
|
238
239
|
## Import
|
|
239
240
|
|
|
240
241
|
```sh
|
|
241
|
-
$ pulumi import aiven:index/opensearchUser:OpensearchUser
|
|
242
|
+
$ pulumi import aiven:index/opensearchUser:OpensearchUser example_opensearch_user PROJECT/SERVICE_NAME/USERNAME
|
|
242
243
|
```
|
|
243
244
|
|
|
244
245
|
:param str resource_name: The name of the resource.
|
|
@@ -304,11 +305,11 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
304
305
|
:param str resource_name: The unique name of the resulting resource.
|
|
305
306
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
306
307
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
307
|
-
:param pulumi.Input[builtins.str] password: The
|
|
308
|
+
:param pulumi.Input[builtins.str] password: The OpenSearch service user's password.
|
|
308
309
|
:param pulumi.Input[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.
|
|
309
310
|
:param pulumi.Input[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.
|
|
310
|
-
:param pulumi.Input[builtins.str] type:
|
|
311
|
-
:param pulumi.Input[builtins.str] username:
|
|
311
|
+
:param pulumi.Input[builtins.str] type: User account type, such as primary or regular account.
|
|
312
|
+
:param pulumi.Input[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.
|
|
312
313
|
"""
|
|
313
314
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
314
315
|
|
|
@@ -325,7 +326,7 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
325
326
|
@pulumi.getter
|
|
326
327
|
def password(self) -> pulumi.Output[builtins.str]:
|
|
327
328
|
"""
|
|
328
|
-
The
|
|
329
|
+
The OpenSearch service user's password.
|
|
329
330
|
"""
|
|
330
331
|
return pulumi.get(self, "password")
|
|
331
332
|
|
|
@@ -349,7 +350,7 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
349
350
|
@pulumi.getter
|
|
350
351
|
def type(self) -> pulumi.Output[builtins.str]:
|
|
351
352
|
"""
|
|
352
|
-
|
|
353
|
+
User account type, such as primary or regular account.
|
|
353
354
|
"""
|
|
354
355
|
return pulumi.get(self, "type")
|
|
355
356
|
|
|
@@ -357,7 +358,7 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
357
358
|
@pulumi.getter
|
|
358
359
|
def username(self) -> pulumi.Output[builtins.str]:
|
|
359
360
|
"""
|
|
360
|
-
|
|
361
|
+
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.
|
|
361
362
|
"""
|
|
362
363
|
return pulumi.get(self, "username")
|
|
363
364
|
|
pulumi_aiven/organization.py
CHANGED
|
@@ -26,7 +26,7 @@ class OrganizationArgs:
|
|
|
26
26
|
timeouts: Optional[pulumi.Input['OrganizationTimeoutsArgs']] = None):
|
|
27
27
|
"""
|
|
28
28
|
The set of arguments for constructing a Organization resource.
|
|
29
|
-
:param pulumi.Input[builtins.str] name: Name of the organization.
|
|
29
|
+
:param pulumi.Input[builtins.str] name: Name of the organization. Maximum length: `128`.
|
|
30
30
|
"""
|
|
31
31
|
if name is not None:
|
|
32
32
|
pulumi.set(__self__, "name", name)
|
|
@@ -37,7 +37,7 @@ class OrganizationArgs:
|
|
|
37
37
|
@pulumi.getter
|
|
38
38
|
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
39
39
|
"""
|
|
40
|
-
Name of the organization.
|
|
40
|
+
Name of the organization. Maximum length: `128`.
|
|
41
41
|
"""
|
|
42
42
|
return pulumi.get(self, "name")
|
|
43
43
|
|
|
@@ -65,15 +65,18 @@ class _OrganizationState:
|
|
|
65
65
|
update_time: Optional[pulumi.Input[builtins.str]] = None):
|
|
66
66
|
"""
|
|
67
67
|
Input properties used for looking up and filtering Organization resources.
|
|
68
|
-
:param pulumi.Input[builtins.str] create_time: Timestamp
|
|
69
|
-
:param pulumi.Input[builtins.str] name: Name of the organization.
|
|
70
|
-
:param pulumi.Input[builtins.str] tenant_id: Tenant
|
|
71
|
-
:param pulumi.Input[builtins.str] update_time: Timestamp
|
|
68
|
+
:param pulumi.Input[builtins.str] create_time: Timestamp in ISO 8601 format, always in UTC.
|
|
69
|
+
:param pulumi.Input[builtins.str] name: Name of the organization. Maximum length: `128`.
|
|
70
|
+
:param pulumi.Input[builtins.str] tenant_id: Tenant identifier.
|
|
71
|
+
:param pulumi.Input[builtins.str] update_time: Timestamp in ISO 8601 format, always in UTC.
|
|
72
72
|
"""
|
|
73
73
|
if create_time is not None:
|
|
74
74
|
pulumi.set(__self__, "create_time", create_time)
|
|
75
75
|
if name is not None:
|
|
76
76
|
pulumi.set(__self__, "name", name)
|
|
77
|
+
if tenant_id is not None:
|
|
78
|
+
warnings.warn("""This field is deprecated and will be removed in the next major release.""", DeprecationWarning)
|
|
79
|
+
pulumi.log.warn("""tenant_id is deprecated: This field is deprecated and will be removed in the next major release.""")
|
|
77
80
|
if tenant_id is not None:
|
|
78
81
|
pulumi.set(__self__, "tenant_id", tenant_id)
|
|
79
82
|
if timeouts is not None:
|
|
@@ -85,7 +88,7 @@ class _OrganizationState:
|
|
|
85
88
|
@pulumi.getter(name="createTime")
|
|
86
89
|
def create_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
87
90
|
"""
|
|
88
|
-
Timestamp
|
|
91
|
+
Timestamp in ISO 8601 format, always in UTC.
|
|
89
92
|
"""
|
|
90
93
|
return pulumi.get(self, "create_time")
|
|
91
94
|
|
|
@@ -97,7 +100,7 @@ class _OrganizationState:
|
|
|
97
100
|
@pulumi.getter
|
|
98
101
|
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
99
102
|
"""
|
|
100
|
-
Name of the organization.
|
|
103
|
+
Name of the organization. Maximum length: `128`.
|
|
101
104
|
"""
|
|
102
105
|
return pulumi.get(self, "name")
|
|
103
106
|
|
|
@@ -107,9 +110,10 @@ class _OrganizationState:
|
|
|
107
110
|
|
|
108
111
|
@property
|
|
109
112
|
@pulumi.getter(name="tenantId")
|
|
113
|
+
@_utilities.deprecated("""This field is deprecated and will be removed in the next major release.""")
|
|
110
114
|
def tenant_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
111
115
|
"""
|
|
112
|
-
Tenant
|
|
116
|
+
Tenant identifier.
|
|
113
117
|
"""
|
|
114
118
|
return pulumi.get(self, "tenant_id")
|
|
115
119
|
|
|
@@ -130,7 +134,7 @@ class _OrganizationState:
|
|
|
130
134
|
@pulumi.getter(name="updateTime")
|
|
131
135
|
def update_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
132
136
|
"""
|
|
133
|
-
Timestamp
|
|
137
|
+
Timestamp in ISO 8601 format, always in UTC.
|
|
134
138
|
"""
|
|
135
139
|
return pulumi.get(self, "update_time")
|
|
136
140
|
|
|
@@ -139,6 +143,7 @@ class _OrganizationState:
|
|
|
139
143
|
pulumi.set(self, "update_time", value)
|
|
140
144
|
|
|
141
145
|
|
|
146
|
+
@pulumi.type_token("aiven:index/organization:Organization")
|
|
142
147
|
class Organization(pulumi.CustomResource):
|
|
143
148
|
@overload
|
|
144
149
|
def __init__(__self__,
|
|
@@ -167,7 +172,7 @@ class Organization(pulumi.CustomResource):
|
|
|
167
172
|
|
|
168
173
|
:param str resource_name: The name of the resource.
|
|
169
174
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
170
|
-
:param pulumi.Input[builtins.str] name: Name of the organization.
|
|
175
|
+
:param pulumi.Input[builtins.str] name: Name of the organization. Maximum length: `128`.
|
|
171
176
|
"""
|
|
172
177
|
...
|
|
173
178
|
@overload
|
|
@@ -246,10 +251,10 @@ class Organization(pulumi.CustomResource):
|
|
|
246
251
|
:param str resource_name: The unique name of the resulting resource.
|
|
247
252
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
248
253
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
249
|
-
:param pulumi.Input[builtins.str] create_time: Timestamp
|
|
250
|
-
:param pulumi.Input[builtins.str] name: Name of the organization.
|
|
251
|
-
:param pulumi.Input[builtins.str] tenant_id: Tenant
|
|
252
|
-
:param pulumi.Input[builtins.str] update_time: Timestamp
|
|
254
|
+
:param pulumi.Input[builtins.str] create_time: Timestamp in ISO 8601 format, always in UTC.
|
|
255
|
+
:param pulumi.Input[builtins.str] name: Name of the organization. Maximum length: `128`.
|
|
256
|
+
:param pulumi.Input[builtins.str] tenant_id: Tenant identifier.
|
|
257
|
+
:param pulumi.Input[builtins.str] update_time: Timestamp in ISO 8601 format, always in UTC.
|
|
253
258
|
"""
|
|
254
259
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
255
260
|
|
|
@@ -266,7 +271,7 @@ class Organization(pulumi.CustomResource):
|
|
|
266
271
|
@pulumi.getter(name="createTime")
|
|
267
272
|
def create_time(self) -> pulumi.Output[builtins.str]:
|
|
268
273
|
"""
|
|
269
|
-
Timestamp
|
|
274
|
+
Timestamp in ISO 8601 format, always in UTC.
|
|
270
275
|
"""
|
|
271
276
|
return pulumi.get(self, "create_time")
|
|
272
277
|
|
|
@@ -274,15 +279,16 @@ class Organization(pulumi.CustomResource):
|
|
|
274
279
|
@pulumi.getter
|
|
275
280
|
def name(self) -> pulumi.Output[builtins.str]:
|
|
276
281
|
"""
|
|
277
|
-
Name of the organization.
|
|
282
|
+
Name of the organization. Maximum length: `128`.
|
|
278
283
|
"""
|
|
279
284
|
return pulumi.get(self, "name")
|
|
280
285
|
|
|
281
286
|
@property
|
|
282
287
|
@pulumi.getter(name="tenantId")
|
|
288
|
+
@_utilities.deprecated("""This field is deprecated and will be removed in the next major release.""")
|
|
283
289
|
def tenant_id(self) -> pulumi.Output[builtins.str]:
|
|
284
290
|
"""
|
|
285
|
-
Tenant
|
|
291
|
+
Tenant identifier.
|
|
286
292
|
"""
|
|
287
293
|
return pulumi.get(self, "tenant_id")
|
|
288
294
|
|
|
@@ -295,7 +301,7 @@ class Organization(pulumi.CustomResource):
|
|
|
295
301
|
@pulumi.getter(name="updateTime")
|
|
296
302
|
def update_time(self) -> pulumi.Output[builtins.str]:
|
|
297
303
|
"""
|
|
298
|
-
Timestamp
|
|
304
|
+
Timestamp in ISO 8601 format, always in UTC.
|
|
299
305
|
"""
|
|
300
306
|
return pulumi.get(self, "update_time")
|
|
301
307
|
|