pulumi-alicloud 3.65.0a1730524658__py3-none-any.whl → 3.65.1__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-alicloud might be problematic. Click here for more details.

Files changed (55) hide show
  1. pulumi_alicloud/__init__.py +19 -0
  2. pulumi_alicloud/alb/load_balancer.py +1 -1
  3. pulumi_alicloud/arms/environment.py +7 -7
  4. pulumi_alicloud/arms/get_remote_writes.py +4 -4
  5. pulumi_alicloud/arms/prometheus_alert_rule.py +58 -0
  6. pulumi_alicloud/arms/remote_write.py +2 -2
  7. pulumi_alicloud/cen/transit_router_route_table_association.py +72 -68
  8. pulumi_alicloud/cen/transit_router_vbr_attachment.py +96 -74
  9. pulumi_alicloud/cloudstoragegateway/gateway.py +134 -58
  10. pulumi_alicloud/cms/hybrid_monitor_fc_task.py +28 -26
  11. pulumi_alicloud/cr/chain.py +22 -14
  12. pulumi_alicloud/cr/chart_repository.py +14 -6
  13. pulumi_alicloud/cr/repo.py +8 -8
  14. pulumi_alicloud/cr/vpc_endpoint_linked_vpc.py +14 -6
  15. pulumi_alicloud/cs/_inputs.py +6 -6
  16. pulumi_alicloud/cs/outputs.py +4 -4
  17. pulumi_alicloud/databasefilesystem/instance_attachment.py +59 -63
  18. pulumi_alicloud/databasefilesystem/snapshot.py +53 -109
  19. pulumi_alicloud/ecs/instance.py +7 -7
  20. pulumi_alicloud/ess/scaling_configuration.py +8 -8
  21. pulumi_alicloud/ess/scaling_group.py +54 -7
  22. pulumi_alicloud/fc/_inputs.py +3 -3
  23. pulumi_alicloud/fc/outputs.py +2 -2
  24. pulumi_alicloud/fc/trigger.py +202 -138
  25. pulumi_alicloud/ga/custom_routing_endpoint_traffic_policy.py +48 -44
  26. pulumi_alicloud/governance/_inputs.py +54 -0
  27. pulumi_alicloud/governance/account.py +49 -14
  28. pulumi_alicloud/governance/outputs.py +51 -0
  29. pulumi_alicloud/gpdb/instance.py +196 -15
  30. pulumi_alicloud/kms/get_secrets.py +5 -5
  31. pulumi_alicloud/kms/instance.py +28 -0
  32. pulumi_alicloud/kms/outputs.py +18 -18
  33. pulumi_alicloud/mse/__init__.py +2 -0
  34. pulumi_alicloud/mse/get_nacos_configs.py +394 -0
  35. pulumi_alicloud/mse/nacos_config.py +762 -0
  36. pulumi_alicloud/mse/outputs.py +129 -0
  37. pulumi_alicloud/nas/data_flow.py +6 -6
  38. pulumi_alicloud/nas/fileset.py +6 -6
  39. pulumi_alicloud/nas/lifecycle_policy.py +6 -6
  40. pulumi_alicloud/nas/recycle_bin.py +6 -6
  41. pulumi_alicloud/nas/snapshot.py +6 -6
  42. pulumi_alicloud/ocean/base_instance.py +2 -2
  43. pulumi_alicloud/pai/__init__.py +8 -0
  44. pulumi_alicloud/pai/workspace_workspace.py +447 -0
  45. pulumi_alicloud/polardb/cluster.py +14 -14
  46. pulumi_alicloud/pulumi-plugin.json +1 -1
  47. pulumi_alicloud/redis/tair_instance.py +1102 -71
  48. pulumi_alicloud/threatdetection/honeypot_preset.py +2 -0
  49. pulumi_alicloud/vpc/subnet.py +59 -27
  50. pulumi_alicloud/vpc/switch.py +104 -87
  51. pulumi_alicloud/vpn/gateway_vco_route.py +28 -8
  52. {pulumi_alicloud-3.65.0a1730524658.dist-info → pulumi_alicloud-3.65.1.dist-info}/METADATA +1 -1
  53. {pulumi_alicloud-3.65.0a1730524658.dist-info → pulumi_alicloud-3.65.1.dist-info}/RECORD +55 -51
  54. {pulumi_alicloud-3.65.0a1730524658.dist-info → pulumi_alicloud-3.65.1.dist-info}/WHEEL +1 -1
  55. {pulumi_alicloud-3.65.0a1730524658.dist-info → pulumi_alicloud-3.65.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,762 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import 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
+
17
+ __all__ = ['NacosConfigArgs', 'NacosConfig']
18
+
19
+ @pulumi.input_type
20
+ class NacosConfigArgs:
21
+ def __init__(__self__, *,
22
+ content: pulumi.Input[str],
23
+ data_id: pulumi.Input[str],
24
+ group: pulumi.Input[str],
25
+ instance_id: pulumi.Input[str],
26
+ accept_language: Optional[pulumi.Input[str]] = None,
27
+ app_name: Optional[pulumi.Input[str]] = None,
28
+ beta_ips: Optional[pulumi.Input[str]] = None,
29
+ desc: Optional[pulumi.Input[str]] = None,
30
+ namespace_id: Optional[pulumi.Input[str]] = None,
31
+ tags: Optional[pulumi.Input[str]] = None,
32
+ type: Optional[pulumi.Input[str]] = None):
33
+ """
34
+ The set of arguments for constructing a NacosConfig resource.
35
+ :param pulumi.Input[str] content: The content of the configuration.
36
+ :param pulumi.Input[str] data_id: The ID of the data.
37
+ :param pulumi.Input[str] group: The ID of the group.
38
+ :param pulumi.Input[str] instance_id: The ID of the instance.
39
+ :param pulumi.Input[str] accept_language: The language type of the returned information. Valid values: `zh`, `en`.
40
+ :param pulumi.Input[str] app_name: The name of the application.
41
+ :param pulumi.Input[str] beta_ips: The list of IP addresses where the beta release of the configuration is performed.
42
+ :param pulumi.Input[str] desc: The description of the configuration.
43
+ :param pulumi.Input[str] namespace_id: The id of Namespace. If you want to create a config under the `public` namespace, this parameter can be set to an empty string *`""`* or just not set this parameter.
44
+ :param pulumi.Input[str] tags: The tags of the configuration.
45
+ :param pulumi.Input[str] type: The format of the configuration. Supported formats include TEXT, JSON, and XML.
46
+ """
47
+ pulumi.set(__self__, "content", content)
48
+ pulumi.set(__self__, "data_id", data_id)
49
+ pulumi.set(__self__, "group", group)
50
+ pulumi.set(__self__, "instance_id", instance_id)
51
+ if accept_language is not None:
52
+ pulumi.set(__self__, "accept_language", accept_language)
53
+ if app_name is not None:
54
+ pulumi.set(__self__, "app_name", app_name)
55
+ if beta_ips is not None:
56
+ pulumi.set(__self__, "beta_ips", beta_ips)
57
+ if desc is not None:
58
+ pulumi.set(__self__, "desc", desc)
59
+ if namespace_id is not None:
60
+ pulumi.set(__self__, "namespace_id", namespace_id)
61
+ if tags is not None:
62
+ pulumi.set(__self__, "tags", tags)
63
+ if type is not None:
64
+ pulumi.set(__self__, "type", type)
65
+
66
+ @property
67
+ @pulumi.getter
68
+ def content(self) -> pulumi.Input[str]:
69
+ """
70
+ The content of the configuration.
71
+ """
72
+ return pulumi.get(self, "content")
73
+
74
+ @content.setter
75
+ def content(self, value: pulumi.Input[str]):
76
+ pulumi.set(self, "content", value)
77
+
78
+ @property
79
+ @pulumi.getter(name="dataId")
80
+ def data_id(self) -> pulumi.Input[str]:
81
+ """
82
+ The ID of the data.
83
+ """
84
+ return pulumi.get(self, "data_id")
85
+
86
+ @data_id.setter
87
+ def data_id(self, value: pulumi.Input[str]):
88
+ pulumi.set(self, "data_id", value)
89
+
90
+ @property
91
+ @pulumi.getter
92
+ def group(self) -> pulumi.Input[str]:
93
+ """
94
+ The ID of the group.
95
+ """
96
+ return pulumi.get(self, "group")
97
+
98
+ @group.setter
99
+ def group(self, value: pulumi.Input[str]):
100
+ pulumi.set(self, "group", value)
101
+
102
+ @property
103
+ @pulumi.getter(name="instanceId")
104
+ def instance_id(self) -> pulumi.Input[str]:
105
+ """
106
+ The ID of the instance.
107
+ """
108
+ return pulumi.get(self, "instance_id")
109
+
110
+ @instance_id.setter
111
+ def instance_id(self, value: pulumi.Input[str]):
112
+ pulumi.set(self, "instance_id", value)
113
+
114
+ @property
115
+ @pulumi.getter(name="acceptLanguage")
116
+ def accept_language(self) -> Optional[pulumi.Input[str]]:
117
+ """
118
+ The language type of the returned information. Valid values: `zh`, `en`.
119
+ """
120
+ return pulumi.get(self, "accept_language")
121
+
122
+ @accept_language.setter
123
+ def accept_language(self, value: Optional[pulumi.Input[str]]):
124
+ pulumi.set(self, "accept_language", value)
125
+
126
+ @property
127
+ @pulumi.getter(name="appName")
128
+ def app_name(self) -> Optional[pulumi.Input[str]]:
129
+ """
130
+ The name of the application.
131
+ """
132
+ return pulumi.get(self, "app_name")
133
+
134
+ @app_name.setter
135
+ def app_name(self, value: Optional[pulumi.Input[str]]):
136
+ pulumi.set(self, "app_name", value)
137
+
138
+ @property
139
+ @pulumi.getter(name="betaIps")
140
+ def beta_ips(self) -> Optional[pulumi.Input[str]]:
141
+ """
142
+ The list of IP addresses where the beta release of the configuration is performed.
143
+ """
144
+ return pulumi.get(self, "beta_ips")
145
+
146
+ @beta_ips.setter
147
+ def beta_ips(self, value: Optional[pulumi.Input[str]]):
148
+ pulumi.set(self, "beta_ips", value)
149
+
150
+ @property
151
+ @pulumi.getter
152
+ def desc(self) -> Optional[pulumi.Input[str]]:
153
+ """
154
+ The description of the configuration.
155
+ """
156
+ return pulumi.get(self, "desc")
157
+
158
+ @desc.setter
159
+ def desc(self, value: Optional[pulumi.Input[str]]):
160
+ pulumi.set(self, "desc", value)
161
+
162
+ @property
163
+ @pulumi.getter(name="namespaceId")
164
+ def namespace_id(self) -> Optional[pulumi.Input[str]]:
165
+ """
166
+ The id of Namespace. If you want to create a config under the `public` namespace, this parameter can be set to an empty string *`""`* or just not set this parameter.
167
+ """
168
+ return pulumi.get(self, "namespace_id")
169
+
170
+ @namespace_id.setter
171
+ def namespace_id(self, value: Optional[pulumi.Input[str]]):
172
+ pulumi.set(self, "namespace_id", value)
173
+
174
+ @property
175
+ @pulumi.getter
176
+ def tags(self) -> Optional[pulumi.Input[str]]:
177
+ """
178
+ The tags of the configuration.
179
+ """
180
+ return pulumi.get(self, "tags")
181
+
182
+ @tags.setter
183
+ def tags(self, value: Optional[pulumi.Input[str]]):
184
+ pulumi.set(self, "tags", value)
185
+
186
+ @property
187
+ @pulumi.getter
188
+ def type(self) -> Optional[pulumi.Input[str]]:
189
+ """
190
+ The format of the configuration. Supported formats include TEXT, JSON, and XML.
191
+ """
192
+ return pulumi.get(self, "type")
193
+
194
+ @type.setter
195
+ def type(self, value: Optional[pulumi.Input[str]]):
196
+ pulumi.set(self, "type", value)
197
+
198
+
199
+ @pulumi.input_type
200
+ class _NacosConfigState:
201
+ def __init__(__self__, *,
202
+ accept_language: Optional[pulumi.Input[str]] = None,
203
+ app_name: Optional[pulumi.Input[str]] = None,
204
+ beta_ips: Optional[pulumi.Input[str]] = None,
205
+ content: Optional[pulumi.Input[str]] = None,
206
+ data_id: Optional[pulumi.Input[str]] = None,
207
+ desc: Optional[pulumi.Input[str]] = None,
208
+ encrypted_data_key: Optional[pulumi.Input[str]] = None,
209
+ group: Optional[pulumi.Input[str]] = None,
210
+ instance_id: Optional[pulumi.Input[str]] = None,
211
+ namespace_id: Optional[pulumi.Input[str]] = None,
212
+ tags: Optional[pulumi.Input[str]] = None,
213
+ type: Optional[pulumi.Input[str]] = None):
214
+ """
215
+ Input properties used for looking up and filtering NacosConfig resources.
216
+ :param pulumi.Input[str] accept_language: The language type of the returned information. Valid values: `zh`, `en`.
217
+ :param pulumi.Input[str] app_name: The name of the application.
218
+ :param pulumi.Input[str] beta_ips: The list of IP addresses where the beta release of the configuration is performed.
219
+ :param pulumi.Input[str] content: The content of the configuration.
220
+ :param pulumi.Input[str] data_id: The ID of the data.
221
+ :param pulumi.Input[str] desc: The description of the configuration.
222
+ :param pulumi.Input[str] encrypted_data_key: The encryption key.
223
+ :param pulumi.Input[str] group: The ID of the group.
224
+ :param pulumi.Input[str] instance_id: The ID of the instance.
225
+ :param pulumi.Input[str] namespace_id: The id of Namespace. If you want to create a config under the `public` namespace, this parameter can be set to an empty string *`""`* or just not set this parameter.
226
+ :param pulumi.Input[str] tags: The tags of the configuration.
227
+ :param pulumi.Input[str] type: The format of the configuration. Supported formats include TEXT, JSON, and XML.
228
+ """
229
+ if accept_language is not None:
230
+ pulumi.set(__self__, "accept_language", accept_language)
231
+ if app_name is not None:
232
+ pulumi.set(__self__, "app_name", app_name)
233
+ if beta_ips is not None:
234
+ pulumi.set(__self__, "beta_ips", beta_ips)
235
+ if content is not None:
236
+ pulumi.set(__self__, "content", content)
237
+ if data_id is not None:
238
+ pulumi.set(__self__, "data_id", data_id)
239
+ if desc is not None:
240
+ pulumi.set(__self__, "desc", desc)
241
+ if encrypted_data_key is not None:
242
+ pulumi.set(__self__, "encrypted_data_key", encrypted_data_key)
243
+ if group is not None:
244
+ pulumi.set(__self__, "group", group)
245
+ if instance_id is not None:
246
+ pulumi.set(__self__, "instance_id", instance_id)
247
+ if namespace_id is not None:
248
+ pulumi.set(__self__, "namespace_id", namespace_id)
249
+ if tags is not None:
250
+ pulumi.set(__self__, "tags", tags)
251
+ if type is not None:
252
+ pulumi.set(__self__, "type", type)
253
+
254
+ @property
255
+ @pulumi.getter(name="acceptLanguage")
256
+ def accept_language(self) -> Optional[pulumi.Input[str]]:
257
+ """
258
+ The language type of the returned information. Valid values: `zh`, `en`.
259
+ """
260
+ return pulumi.get(self, "accept_language")
261
+
262
+ @accept_language.setter
263
+ def accept_language(self, value: Optional[pulumi.Input[str]]):
264
+ pulumi.set(self, "accept_language", value)
265
+
266
+ @property
267
+ @pulumi.getter(name="appName")
268
+ def app_name(self) -> Optional[pulumi.Input[str]]:
269
+ """
270
+ The name of the application.
271
+ """
272
+ return pulumi.get(self, "app_name")
273
+
274
+ @app_name.setter
275
+ def app_name(self, value: Optional[pulumi.Input[str]]):
276
+ pulumi.set(self, "app_name", value)
277
+
278
+ @property
279
+ @pulumi.getter(name="betaIps")
280
+ def beta_ips(self) -> Optional[pulumi.Input[str]]:
281
+ """
282
+ The list of IP addresses where the beta release of the configuration is performed.
283
+ """
284
+ return pulumi.get(self, "beta_ips")
285
+
286
+ @beta_ips.setter
287
+ def beta_ips(self, value: Optional[pulumi.Input[str]]):
288
+ pulumi.set(self, "beta_ips", value)
289
+
290
+ @property
291
+ @pulumi.getter
292
+ def content(self) -> Optional[pulumi.Input[str]]:
293
+ """
294
+ The content of the configuration.
295
+ """
296
+ return pulumi.get(self, "content")
297
+
298
+ @content.setter
299
+ def content(self, value: Optional[pulumi.Input[str]]):
300
+ pulumi.set(self, "content", value)
301
+
302
+ @property
303
+ @pulumi.getter(name="dataId")
304
+ def data_id(self) -> Optional[pulumi.Input[str]]:
305
+ """
306
+ The ID of the data.
307
+ """
308
+ return pulumi.get(self, "data_id")
309
+
310
+ @data_id.setter
311
+ def data_id(self, value: Optional[pulumi.Input[str]]):
312
+ pulumi.set(self, "data_id", value)
313
+
314
+ @property
315
+ @pulumi.getter
316
+ def desc(self) -> Optional[pulumi.Input[str]]:
317
+ """
318
+ The description of the configuration.
319
+ """
320
+ return pulumi.get(self, "desc")
321
+
322
+ @desc.setter
323
+ def desc(self, value: Optional[pulumi.Input[str]]):
324
+ pulumi.set(self, "desc", value)
325
+
326
+ @property
327
+ @pulumi.getter(name="encryptedDataKey")
328
+ def encrypted_data_key(self) -> Optional[pulumi.Input[str]]:
329
+ """
330
+ The encryption key.
331
+ """
332
+ return pulumi.get(self, "encrypted_data_key")
333
+
334
+ @encrypted_data_key.setter
335
+ def encrypted_data_key(self, value: Optional[pulumi.Input[str]]):
336
+ pulumi.set(self, "encrypted_data_key", value)
337
+
338
+ @property
339
+ @pulumi.getter
340
+ def group(self) -> Optional[pulumi.Input[str]]:
341
+ """
342
+ The ID of the group.
343
+ """
344
+ return pulumi.get(self, "group")
345
+
346
+ @group.setter
347
+ def group(self, value: Optional[pulumi.Input[str]]):
348
+ pulumi.set(self, "group", value)
349
+
350
+ @property
351
+ @pulumi.getter(name="instanceId")
352
+ def instance_id(self) -> Optional[pulumi.Input[str]]:
353
+ """
354
+ The ID of the instance.
355
+ """
356
+ return pulumi.get(self, "instance_id")
357
+
358
+ @instance_id.setter
359
+ def instance_id(self, value: Optional[pulumi.Input[str]]):
360
+ pulumi.set(self, "instance_id", value)
361
+
362
+ @property
363
+ @pulumi.getter(name="namespaceId")
364
+ def namespace_id(self) -> Optional[pulumi.Input[str]]:
365
+ """
366
+ The id of Namespace. If you want to create a config under the `public` namespace, this parameter can be set to an empty string *`""`* or just not set this parameter.
367
+ """
368
+ return pulumi.get(self, "namespace_id")
369
+
370
+ @namespace_id.setter
371
+ def namespace_id(self, value: Optional[pulumi.Input[str]]):
372
+ pulumi.set(self, "namespace_id", value)
373
+
374
+ @property
375
+ @pulumi.getter
376
+ def tags(self) -> Optional[pulumi.Input[str]]:
377
+ """
378
+ The tags of the configuration.
379
+ """
380
+ return pulumi.get(self, "tags")
381
+
382
+ @tags.setter
383
+ def tags(self, value: Optional[pulumi.Input[str]]):
384
+ pulumi.set(self, "tags", value)
385
+
386
+ @property
387
+ @pulumi.getter
388
+ def type(self) -> Optional[pulumi.Input[str]]:
389
+ """
390
+ The format of the configuration. Supported formats include TEXT, JSON, and XML.
391
+ """
392
+ return pulumi.get(self, "type")
393
+
394
+ @type.setter
395
+ def type(self, value: Optional[pulumi.Input[str]]):
396
+ pulumi.set(self, "type", value)
397
+
398
+
399
+ class NacosConfig(pulumi.CustomResource):
400
+ @overload
401
+ def __init__(__self__,
402
+ resource_name: str,
403
+ opts: Optional[pulumi.ResourceOptions] = None,
404
+ accept_language: Optional[pulumi.Input[str]] = None,
405
+ app_name: Optional[pulumi.Input[str]] = None,
406
+ beta_ips: Optional[pulumi.Input[str]] = None,
407
+ content: Optional[pulumi.Input[str]] = None,
408
+ data_id: Optional[pulumi.Input[str]] = None,
409
+ desc: Optional[pulumi.Input[str]] = None,
410
+ group: Optional[pulumi.Input[str]] = None,
411
+ instance_id: Optional[pulumi.Input[str]] = None,
412
+ namespace_id: Optional[pulumi.Input[str]] = None,
413
+ tags: Optional[pulumi.Input[str]] = None,
414
+ type: Optional[pulumi.Input[str]] = None,
415
+ __props__=None):
416
+ """
417
+ Provides a Microservice Engine (MSE) Nacos Config resource.
418
+
419
+ For information about Microservice Engine (MSE) Nacos Config and how to use it, see [What is Nacos configuration](https://www.alibabacloud.com/help/en/mse/developer-reference/api-mse-2019-05-31-createnacosconfig)
420
+ > **NOTE:** Available since v1.233.0.
421
+
422
+ ## Example Usage
423
+
424
+ Basic Usage
425
+
426
+ ```python
427
+ import pulumi
428
+ import pulumi_alicloud as alicloud
429
+
430
+ example = alicloud.get_zones(available_resource_creation="VSwitch")
431
+ example_network = alicloud.vpc.Network("example",
432
+ vpc_name="terraform-example",
433
+ cidr_block="172.17.3.0/24")
434
+ example_switch = alicloud.vpc.Switch("example",
435
+ vswitch_name="terraform-example",
436
+ cidr_block="172.17.3.0/24",
437
+ vpc_id=example_network.id,
438
+ zone_id=example.zones[0].id)
439
+ example_cluster = alicloud.mse.Cluster("example",
440
+ connection_type="slb",
441
+ net_type="privatenet",
442
+ vswitch_id=example_switch.id,
443
+ cluster_specification="MSE_SC_1_2_60_c",
444
+ cluster_version="NACOS_2_0_0",
445
+ instance_count=3,
446
+ pub_network_flow="1",
447
+ cluster_alias_name="example",
448
+ mse_version="mse_pro",
449
+ cluster_type="Nacos-Ans")
450
+ example_engine_namespace = alicloud.mse.EngineNamespace("example",
451
+ instance_id=example_cluster.id,
452
+ namespace_show_name="example",
453
+ namespace_id="example")
454
+ example_nacos_config = alicloud.mse.NacosConfig("example",
455
+ instance_id=example_cluster.id,
456
+ data_id="example",
457
+ group="example",
458
+ namespace_id=example_engine_namespace.namespace_id,
459
+ content="example",
460
+ type="text",
461
+ tags="example",
462
+ app_name="example",
463
+ desc="example")
464
+ ```
465
+
466
+ ## Import
467
+
468
+ Microservice Engine (MSE) Nacos Config can be imported using the id, e.g.
469
+
470
+ ```sh
471
+ $ pulumi import alicloud:mse/nacosConfig:NacosConfig example <instance_id>:<namespace_id>:<data_id>:<group>
472
+ ```
473
+
474
+ :param str resource_name: The name of the resource.
475
+ :param pulumi.ResourceOptions opts: Options for the resource.
476
+ :param pulumi.Input[str] accept_language: The language type of the returned information. Valid values: `zh`, `en`.
477
+ :param pulumi.Input[str] app_name: The name of the application.
478
+ :param pulumi.Input[str] beta_ips: The list of IP addresses where the beta release of the configuration is performed.
479
+ :param pulumi.Input[str] content: The content of the configuration.
480
+ :param pulumi.Input[str] data_id: The ID of the data.
481
+ :param pulumi.Input[str] desc: The description of the configuration.
482
+ :param pulumi.Input[str] group: The ID of the group.
483
+ :param pulumi.Input[str] instance_id: The ID of the instance.
484
+ :param pulumi.Input[str] namespace_id: The id of Namespace. If you want to create a config under the `public` namespace, this parameter can be set to an empty string *`""`* or just not set this parameter.
485
+ :param pulumi.Input[str] tags: The tags of the configuration.
486
+ :param pulumi.Input[str] type: The format of the configuration. Supported formats include TEXT, JSON, and XML.
487
+ """
488
+ ...
489
+ @overload
490
+ def __init__(__self__,
491
+ resource_name: str,
492
+ args: NacosConfigArgs,
493
+ opts: Optional[pulumi.ResourceOptions] = None):
494
+ """
495
+ Provides a Microservice Engine (MSE) Nacos Config resource.
496
+
497
+ For information about Microservice Engine (MSE) Nacos Config and how to use it, see [What is Nacos configuration](https://www.alibabacloud.com/help/en/mse/developer-reference/api-mse-2019-05-31-createnacosconfig)
498
+ > **NOTE:** Available since v1.233.0.
499
+
500
+ ## Example Usage
501
+
502
+ Basic Usage
503
+
504
+ ```python
505
+ import pulumi
506
+ import pulumi_alicloud as alicloud
507
+
508
+ example = alicloud.get_zones(available_resource_creation="VSwitch")
509
+ example_network = alicloud.vpc.Network("example",
510
+ vpc_name="terraform-example",
511
+ cidr_block="172.17.3.0/24")
512
+ example_switch = alicloud.vpc.Switch("example",
513
+ vswitch_name="terraform-example",
514
+ cidr_block="172.17.3.0/24",
515
+ vpc_id=example_network.id,
516
+ zone_id=example.zones[0].id)
517
+ example_cluster = alicloud.mse.Cluster("example",
518
+ connection_type="slb",
519
+ net_type="privatenet",
520
+ vswitch_id=example_switch.id,
521
+ cluster_specification="MSE_SC_1_2_60_c",
522
+ cluster_version="NACOS_2_0_0",
523
+ instance_count=3,
524
+ pub_network_flow="1",
525
+ cluster_alias_name="example",
526
+ mse_version="mse_pro",
527
+ cluster_type="Nacos-Ans")
528
+ example_engine_namespace = alicloud.mse.EngineNamespace("example",
529
+ instance_id=example_cluster.id,
530
+ namespace_show_name="example",
531
+ namespace_id="example")
532
+ example_nacos_config = alicloud.mse.NacosConfig("example",
533
+ instance_id=example_cluster.id,
534
+ data_id="example",
535
+ group="example",
536
+ namespace_id=example_engine_namespace.namespace_id,
537
+ content="example",
538
+ type="text",
539
+ tags="example",
540
+ app_name="example",
541
+ desc="example")
542
+ ```
543
+
544
+ ## Import
545
+
546
+ Microservice Engine (MSE) Nacos Config can be imported using the id, e.g.
547
+
548
+ ```sh
549
+ $ pulumi import alicloud:mse/nacosConfig:NacosConfig example <instance_id>:<namespace_id>:<data_id>:<group>
550
+ ```
551
+
552
+ :param str resource_name: The name of the resource.
553
+ :param NacosConfigArgs args: The arguments to use to populate this resource's properties.
554
+ :param pulumi.ResourceOptions opts: Options for the resource.
555
+ """
556
+ ...
557
+ def __init__(__self__, resource_name: str, *args, **kwargs):
558
+ resource_args, opts = _utilities.get_resource_args_opts(NacosConfigArgs, pulumi.ResourceOptions, *args, **kwargs)
559
+ if resource_args is not None:
560
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
561
+ else:
562
+ __self__._internal_init(resource_name, *args, **kwargs)
563
+
564
+ def _internal_init(__self__,
565
+ resource_name: str,
566
+ opts: Optional[pulumi.ResourceOptions] = None,
567
+ accept_language: Optional[pulumi.Input[str]] = None,
568
+ app_name: Optional[pulumi.Input[str]] = None,
569
+ beta_ips: Optional[pulumi.Input[str]] = None,
570
+ content: Optional[pulumi.Input[str]] = None,
571
+ data_id: Optional[pulumi.Input[str]] = None,
572
+ desc: Optional[pulumi.Input[str]] = None,
573
+ group: Optional[pulumi.Input[str]] = None,
574
+ instance_id: Optional[pulumi.Input[str]] = None,
575
+ namespace_id: Optional[pulumi.Input[str]] = None,
576
+ tags: Optional[pulumi.Input[str]] = None,
577
+ type: Optional[pulumi.Input[str]] = None,
578
+ __props__=None):
579
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
580
+ if not isinstance(opts, pulumi.ResourceOptions):
581
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
582
+ if opts.id is None:
583
+ if __props__ is not None:
584
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
585
+ __props__ = NacosConfigArgs.__new__(NacosConfigArgs)
586
+
587
+ __props__.__dict__["accept_language"] = accept_language
588
+ __props__.__dict__["app_name"] = app_name
589
+ __props__.__dict__["beta_ips"] = beta_ips
590
+ if content is None and not opts.urn:
591
+ raise TypeError("Missing required property 'content'")
592
+ __props__.__dict__["content"] = content
593
+ if data_id is None and not opts.urn:
594
+ raise TypeError("Missing required property 'data_id'")
595
+ __props__.__dict__["data_id"] = data_id
596
+ __props__.__dict__["desc"] = desc
597
+ if group is None and not opts.urn:
598
+ raise TypeError("Missing required property 'group'")
599
+ __props__.__dict__["group"] = group
600
+ if instance_id is None and not opts.urn:
601
+ raise TypeError("Missing required property 'instance_id'")
602
+ __props__.__dict__["instance_id"] = instance_id
603
+ __props__.__dict__["namespace_id"] = namespace_id
604
+ __props__.__dict__["tags"] = tags
605
+ __props__.__dict__["type"] = type
606
+ __props__.__dict__["encrypted_data_key"] = None
607
+ super(NacosConfig, __self__).__init__(
608
+ 'alicloud:mse/nacosConfig:NacosConfig',
609
+ resource_name,
610
+ __props__,
611
+ opts)
612
+
613
+ @staticmethod
614
+ def get(resource_name: str,
615
+ id: pulumi.Input[str],
616
+ opts: Optional[pulumi.ResourceOptions] = None,
617
+ accept_language: Optional[pulumi.Input[str]] = None,
618
+ app_name: Optional[pulumi.Input[str]] = None,
619
+ beta_ips: Optional[pulumi.Input[str]] = None,
620
+ content: Optional[pulumi.Input[str]] = None,
621
+ data_id: Optional[pulumi.Input[str]] = None,
622
+ desc: Optional[pulumi.Input[str]] = None,
623
+ encrypted_data_key: Optional[pulumi.Input[str]] = None,
624
+ group: Optional[pulumi.Input[str]] = None,
625
+ instance_id: Optional[pulumi.Input[str]] = None,
626
+ namespace_id: Optional[pulumi.Input[str]] = None,
627
+ tags: Optional[pulumi.Input[str]] = None,
628
+ type: Optional[pulumi.Input[str]] = None) -> 'NacosConfig':
629
+ """
630
+ Get an existing NacosConfig resource's state with the given name, id, and optional extra
631
+ properties used to qualify the lookup.
632
+
633
+ :param str resource_name: The unique name of the resulting resource.
634
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
635
+ :param pulumi.ResourceOptions opts: Options for the resource.
636
+ :param pulumi.Input[str] accept_language: The language type of the returned information. Valid values: `zh`, `en`.
637
+ :param pulumi.Input[str] app_name: The name of the application.
638
+ :param pulumi.Input[str] beta_ips: The list of IP addresses where the beta release of the configuration is performed.
639
+ :param pulumi.Input[str] content: The content of the configuration.
640
+ :param pulumi.Input[str] data_id: The ID of the data.
641
+ :param pulumi.Input[str] desc: The description of the configuration.
642
+ :param pulumi.Input[str] encrypted_data_key: The encryption key.
643
+ :param pulumi.Input[str] group: The ID of the group.
644
+ :param pulumi.Input[str] instance_id: The ID of the instance.
645
+ :param pulumi.Input[str] namespace_id: The id of Namespace. If you want to create a config under the `public` namespace, this parameter can be set to an empty string *`""`* or just not set this parameter.
646
+ :param pulumi.Input[str] tags: The tags of the configuration.
647
+ :param pulumi.Input[str] type: The format of the configuration. Supported formats include TEXT, JSON, and XML.
648
+ """
649
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
650
+
651
+ __props__ = _NacosConfigState.__new__(_NacosConfigState)
652
+
653
+ __props__.__dict__["accept_language"] = accept_language
654
+ __props__.__dict__["app_name"] = app_name
655
+ __props__.__dict__["beta_ips"] = beta_ips
656
+ __props__.__dict__["content"] = content
657
+ __props__.__dict__["data_id"] = data_id
658
+ __props__.__dict__["desc"] = desc
659
+ __props__.__dict__["encrypted_data_key"] = encrypted_data_key
660
+ __props__.__dict__["group"] = group
661
+ __props__.__dict__["instance_id"] = instance_id
662
+ __props__.__dict__["namespace_id"] = namespace_id
663
+ __props__.__dict__["tags"] = tags
664
+ __props__.__dict__["type"] = type
665
+ return NacosConfig(resource_name, opts=opts, __props__=__props__)
666
+
667
+ @property
668
+ @pulumi.getter(name="acceptLanguage")
669
+ def accept_language(self) -> pulumi.Output[Optional[str]]:
670
+ """
671
+ The language type of the returned information. Valid values: `zh`, `en`.
672
+ """
673
+ return pulumi.get(self, "accept_language")
674
+
675
+ @property
676
+ @pulumi.getter(name="appName")
677
+ def app_name(self) -> pulumi.Output[Optional[str]]:
678
+ """
679
+ The name of the application.
680
+ """
681
+ return pulumi.get(self, "app_name")
682
+
683
+ @property
684
+ @pulumi.getter(name="betaIps")
685
+ def beta_ips(self) -> pulumi.Output[str]:
686
+ """
687
+ The list of IP addresses where the beta release of the configuration is performed.
688
+ """
689
+ return pulumi.get(self, "beta_ips")
690
+
691
+ @property
692
+ @pulumi.getter
693
+ def content(self) -> pulumi.Output[str]:
694
+ """
695
+ The content of the configuration.
696
+ """
697
+ return pulumi.get(self, "content")
698
+
699
+ @property
700
+ @pulumi.getter(name="dataId")
701
+ def data_id(self) -> pulumi.Output[str]:
702
+ """
703
+ The ID of the data.
704
+ """
705
+ return pulumi.get(self, "data_id")
706
+
707
+ @property
708
+ @pulumi.getter
709
+ def desc(self) -> pulumi.Output[Optional[str]]:
710
+ """
711
+ The description of the configuration.
712
+ """
713
+ return pulumi.get(self, "desc")
714
+
715
+ @property
716
+ @pulumi.getter(name="encryptedDataKey")
717
+ def encrypted_data_key(self) -> pulumi.Output[str]:
718
+ """
719
+ The encryption key.
720
+ """
721
+ return pulumi.get(self, "encrypted_data_key")
722
+
723
+ @property
724
+ @pulumi.getter
725
+ def group(self) -> pulumi.Output[str]:
726
+ """
727
+ The ID of the group.
728
+ """
729
+ return pulumi.get(self, "group")
730
+
731
+ @property
732
+ @pulumi.getter(name="instanceId")
733
+ def instance_id(self) -> pulumi.Output[str]:
734
+ """
735
+ The ID of the instance.
736
+ """
737
+ return pulumi.get(self, "instance_id")
738
+
739
+ @property
740
+ @pulumi.getter(name="namespaceId")
741
+ def namespace_id(self) -> pulumi.Output[Optional[str]]:
742
+ """
743
+ The id of Namespace. If you want to create a config under the `public` namespace, this parameter can be set to an empty string *`""`* or just not set this parameter.
744
+ """
745
+ return pulumi.get(self, "namespace_id")
746
+
747
+ @property
748
+ @pulumi.getter
749
+ def tags(self) -> pulumi.Output[Optional[str]]:
750
+ """
751
+ The tags of the configuration.
752
+ """
753
+ return pulumi.get(self, "tags")
754
+
755
+ @property
756
+ @pulumi.getter
757
+ def type(self) -> pulumi.Output[str]:
758
+ """
759
+ The format of the configuration. Supported formats include TEXT, JSON, and XML.
760
+ """
761
+ return pulumi.get(self, "type")
762
+