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
@@ -285,6 +285,7 @@ class _InstanceState:
285
285
  bind_vpcs: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceBindVpcArgs']]]] = None,
286
286
  ca_certificate_chain_pem: Optional[pulumi.Input[str]] = None,
287
287
  create_time: Optional[pulumi.Input[str]] = None,
288
+ end_date: Optional[pulumi.Input[str]] = None,
288
289
  force_delete_without_backup: Optional[pulumi.Input[str]] = None,
289
290
  instance_name: Optional[pulumi.Input[str]] = None,
290
291
  key_num: Optional[pulumi.Input[int]] = None,
@@ -307,6 +308,7 @@ class _InstanceState:
307
308
  :param pulumi.Input[Sequence[pulumi.Input['InstanceBindVpcArgs']]] bind_vpcs: Aucillary VPCs used to access this KMS instance. See `bind_vpcs` below.
308
309
  :param pulumi.Input[str] ca_certificate_chain_pem: KMS instance certificate chain in PEM format.
309
310
  :param pulumi.Input[str] create_time: The creation time of the resource.
311
+ :param pulumi.Input[str] end_date: (Available since v1.233.1) Instance expiration time.
310
312
  :param pulumi.Input[str] force_delete_without_backup: Whether to force deletion even without backup.
311
313
  :param pulumi.Input[str] instance_name: The name of the resource.
312
314
  :param pulumi.Input[int] key_num: Maximum number of stored keys. The attribute is valid when the attribute `payment_type` is `Subscription`.
@@ -331,6 +333,8 @@ class _InstanceState:
331
333
  pulumi.set(__self__, "ca_certificate_chain_pem", ca_certificate_chain_pem)
332
334
  if create_time is not None:
333
335
  pulumi.set(__self__, "create_time", create_time)
336
+ if end_date is not None:
337
+ pulumi.set(__self__, "end_date", end_date)
334
338
  if force_delete_without_backup is not None:
335
339
  pulumi.set(__self__, "force_delete_without_backup", force_delete_without_backup)
336
340
  if instance_name is not None:
@@ -402,6 +406,18 @@ class _InstanceState:
402
406
  def create_time(self, value: Optional[pulumi.Input[str]]):
403
407
  pulumi.set(self, "create_time", value)
404
408
 
409
+ @property
410
+ @pulumi.getter(name="endDate")
411
+ def end_date(self) -> Optional[pulumi.Input[str]]:
412
+ """
413
+ (Available since v1.233.1) Instance expiration time.
414
+ """
415
+ return pulumi.get(self, "end_date")
416
+
417
+ @end_date.setter
418
+ def end_date(self, value: Optional[pulumi.Input[str]]):
419
+ pulumi.set(self, "end_date", value)
420
+
405
421
  @property
406
422
  @pulumi.getter(name="forceDeleteWithoutBackup")
407
423
  def force_delete_without_backup(self) -> Optional[pulumi.Input[str]]:
@@ -808,6 +824,7 @@ class Instance(pulumi.CustomResource):
808
824
  __props__.__dict__["zone_ids"] = zone_ids
809
825
  __props__.__dict__["ca_certificate_chain_pem"] = None
810
826
  __props__.__dict__["create_time"] = None
827
+ __props__.__dict__["end_date"] = None
811
828
  __props__.__dict__["instance_name"] = None
812
829
  __props__.__dict__["status"] = None
813
830
  super(Instance, __self__).__init__(
@@ -823,6 +840,7 @@ class Instance(pulumi.CustomResource):
823
840
  bind_vpcs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceBindVpcArgs', 'InstanceBindVpcArgsDict']]]]] = None,
824
841
  ca_certificate_chain_pem: Optional[pulumi.Input[str]] = None,
825
842
  create_time: Optional[pulumi.Input[str]] = None,
843
+ end_date: Optional[pulumi.Input[str]] = None,
826
844
  force_delete_without_backup: Optional[pulumi.Input[str]] = None,
827
845
  instance_name: Optional[pulumi.Input[str]] = None,
828
846
  key_num: Optional[pulumi.Input[int]] = None,
@@ -850,6 +868,7 @@ class Instance(pulumi.CustomResource):
850
868
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceBindVpcArgs', 'InstanceBindVpcArgsDict']]]] bind_vpcs: Aucillary VPCs used to access this KMS instance. See `bind_vpcs` below.
851
869
  :param pulumi.Input[str] ca_certificate_chain_pem: KMS instance certificate chain in PEM format.
852
870
  :param pulumi.Input[str] create_time: The creation time of the resource.
871
+ :param pulumi.Input[str] end_date: (Available since v1.233.1) Instance expiration time.
853
872
  :param pulumi.Input[str] force_delete_without_backup: Whether to force deletion even without backup.
854
873
  :param pulumi.Input[str] instance_name: The name of the resource.
855
874
  :param pulumi.Input[int] key_num: Maximum number of stored keys. The attribute is valid when the attribute `payment_type` is `Subscription`.
@@ -875,6 +894,7 @@ class Instance(pulumi.CustomResource):
875
894
  __props__.__dict__["bind_vpcs"] = bind_vpcs
876
895
  __props__.__dict__["ca_certificate_chain_pem"] = ca_certificate_chain_pem
877
896
  __props__.__dict__["create_time"] = create_time
897
+ __props__.__dict__["end_date"] = end_date
878
898
  __props__.__dict__["force_delete_without_backup"] = force_delete_without_backup
879
899
  __props__.__dict__["instance_name"] = instance_name
880
900
  __props__.__dict__["key_num"] = key_num
@@ -918,6 +938,14 @@ class Instance(pulumi.CustomResource):
918
938
  """
919
939
  return pulumi.get(self, "create_time")
920
940
 
941
+ @property
942
+ @pulumi.getter(name="endDate")
943
+ def end_date(self) -> pulumi.Output[str]:
944
+ """
945
+ (Available since v1.233.1) Instance expiration time.
946
+ """
947
+ return pulumi.get(self, "end_date")
948
+
921
949
  @property
922
950
  @pulumi.getter(name="forceDeleteWithoutBackup")
923
951
  def force_delete_without_backup(self) -> pulumi.Output[Optional[str]]:
@@ -486,18 +486,18 @@ class GetSecretsSecretResult(dict):
486
486
  version_id: str,
487
487
  version_stages: Sequence[str]):
488
488
  """
489
- :param str arn: (Available in 1.124.0+) A mapping of tags to assign to the resource.
490
- :param str description: (Available in 1.124.0+) The description of the secret.
491
- :param str encryption_key_id: (Available in 1.124.0+) The ID of the KMS CMK that is used to encrypt the secret value.
489
+ :param str arn: (Available since v1.124.0) A mapping of tags to assign to the resource.
490
+ :param str description: (Available since v1.124.0) The description of the secret.
491
+ :param str encryption_key_id: (Available since v1.124.0) The ID of the KMS CMK that is used to encrypt the secret value.
492
492
  :param str id: ID of the Kms Secret. The value is same as KMS secret_name.
493
493
  :param str planned_delete_time: Schedule deletion time.
494
- :param str secret_data: (Available in 1.124.0+) The value of the secret that you want to create.
495
- :param str secret_data_type: (Available in 1.124.0+) The type of the secret data value.
494
+ :param str secret_data: (Available since v1.124.0) The value of the secret that you want to create.
495
+ :param str secret_data_type: (Available since v1.124.0) The type of the secret data value.
496
496
  :param str secret_name: Name of the KMS Secret.
497
- :param str secret_type: (Available in 1.124.0+) The type of the secret.
498
- :param Mapping[str, str] tags: A mapping of tags to assign to the resource.
499
- :param str version_id: (Available in 1.124.0+) The version number of the initial version.
500
- :param Sequence[str] version_stages: (Available in 1.124.0+) The stage labels that mark the new secret version.
497
+ :param str secret_type: (Available since v1.124.0) The type of the secret.
498
+ :param Mapping[str, str] tags: A mapping of tags to assign to the resource, and can be used to filter secrets.
499
+ :param str version_id: (Available since v1.124.0) The version number of the initial version.
500
+ :param Sequence[str] version_stages: (Available since v1.124.0) The stage labels that mark the new secret version.
501
501
  """
502
502
  pulumi.set(__self__, "arn", arn)
503
503
  pulumi.set(__self__, "description", description)
@@ -516,7 +516,7 @@ class GetSecretsSecretResult(dict):
516
516
  @pulumi.getter
517
517
  def arn(self) -> str:
518
518
  """
519
- (Available in 1.124.0+) A mapping of tags to assign to the resource.
519
+ (Available since v1.124.0) A mapping of tags to assign to the resource.
520
520
  """
521
521
  return pulumi.get(self, "arn")
522
522
 
@@ -524,7 +524,7 @@ class GetSecretsSecretResult(dict):
524
524
  @pulumi.getter
525
525
  def description(self) -> str:
526
526
  """
527
- (Available in 1.124.0+) The description of the secret.
527
+ (Available since v1.124.0) The description of the secret.
528
528
  """
529
529
  return pulumi.get(self, "description")
530
530
 
@@ -532,7 +532,7 @@ class GetSecretsSecretResult(dict):
532
532
  @pulumi.getter(name="encryptionKeyId")
533
533
  def encryption_key_id(self) -> str:
534
534
  """
535
- (Available in 1.124.0+) The ID of the KMS CMK that is used to encrypt the secret value.
535
+ (Available since v1.124.0) The ID of the KMS CMK that is used to encrypt the secret value.
536
536
  """
537
537
  return pulumi.get(self, "encryption_key_id")
538
538
 
@@ -556,7 +556,7 @@ class GetSecretsSecretResult(dict):
556
556
  @pulumi.getter(name="secretData")
557
557
  def secret_data(self) -> str:
558
558
  """
559
- (Available in 1.124.0+) The value of the secret that you want to create.
559
+ (Available since v1.124.0) The value of the secret that you want to create.
560
560
  """
561
561
  return pulumi.get(self, "secret_data")
562
562
 
@@ -564,7 +564,7 @@ class GetSecretsSecretResult(dict):
564
564
  @pulumi.getter(name="secretDataType")
565
565
  def secret_data_type(self) -> str:
566
566
  """
567
- (Available in 1.124.0+) The type of the secret data value.
567
+ (Available since v1.124.0) The type of the secret data value.
568
568
  """
569
569
  return pulumi.get(self, "secret_data_type")
570
570
 
@@ -580,7 +580,7 @@ class GetSecretsSecretResult(dict):
580
580
  @pulumi.getter(name="secretType")
581
581
  def secret_type(self) -> str:
582
582
  """
583
- (Available in 1.124.0+) The type of the secret.
583
+ (Available since v1.124.0) The type of the secret.
584
584
  """
585
585
  return pulumi.get(self, "secret_type")
586
586
 
@@ -588,7 +588,7 @@ class GetSecretsSecretResult(dict):
588
588
  @pulumi.getter
589
589
  def tags(self) -> Mapping[str, str]:
590
590
  """
591
- A mapping of tags to assign to the resource.
591
+ A mapping of tags to assign to the resource, and can be used to filter secrets.
592
592
  """
593
593
  return pulumi.get(self, "tags")
594
594
 
@@ -596,7 +596,7 @@ class GetSecretsSecretResult(dict):
596
596
  @pulumi.getter(name="versionId")
597
597
  def version_id(self) -> str:
598
598
  """
599
- (Available in 1.124.0+) The version number of the initial version.
599
+ (Available since v1.124.0) The version number of the initial version.
600
600
  """
601
601
  return pulumi.get(self, "version_id")
602
602
 
@@ -604,7 +604,7 @@ class GetSecretsSecretResult(dict):
604
604
  @pulumi.getter(name="versionStages")
605
605
  def version_stages(self) -> Sequence[str]:
606
606
  """
607
- (Available in 1.124.0+) The stage labels that mark the new secret version.
607
+ (Available since v1.124.0) The stage labels that mark the new secret version.
608
608
  """
609
609
  return pulumi.get(self, "version_stages")
610
610
 
@@ -11,7 +11,9 @@ from .gateway import *
11
11
  from .get_clusters import *
12
12
  from .get_engine_namespaces import *
13
13
  from .get_gateways import *
14
+ from .get_nacos_configs import *
14
15
  from .get_znodes import *
16
+ from .nacos_config import *
15
17
  from .znode import *
16
18
  from ._inputs import *
17
19
  from . import outputs
@@ -0,0 +1,394 @@
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
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetNacosConfigsResult',
20
+ 'AwaitableGetNacosConfigsResult',
21
+ 'get_nacos_configs',
22
+ 'get_nacos_configs_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetNacosConfigsResult:
27
+ """
28
+ A collection of values returned by getNacosConfigs.
29
+ """
30
+ def __init__(__self__, accept_language=None, app_name=None, configs=None, data_id=None, enable_details=None, group=None, id=None, ids=None, instance_id=None, namespace_id=None, output_file=None, request_pars=None, tags=None):
31
+ if accept_language and not isinstance(accept_language, str):
32
+ raise TypeError("Expected argument 'accept_language' to be a str")
33
+ pulumi.set(__self__, "accept_language", accept_language)
34
+ if app_name and not isinstance(app_name, str):
35
+ raise TypeError("Expected argument 'app_name' to be a str")
36
+ pulumi.set(__self__, "app_name", app_name)
37
+ if configs and not isinstance(configs, list):
38
+ raise TypeError("Expected argument 'configs' to be a list")
39
+ pulumi.set(__self__, "configs", configs)
40
+ if data_id and not isinstance(data_id, str):
41
+ raise TypeError("Expected argument 'data_id' to be a str")
42
+ pulumi.set(__self__, "data_id", data_id)
43
+ if enable_details and not isinstance(enable_details, bool):
44
+ raise TypeError("Expected argument 'enable_details' to be a bool")
45
+ pulumi.set(__self__, "enable_details", enable_details)
46
+ if group and not isinstance(group, str):
47
+ raise TypeError("Expected argument 'group' to be a str")
48
+ pulumi.set(__self__, "group", group)
49
+ if id and not isinstance(id, str):
50
+ raise TypeError("Expected argument 'id' to be a str")
51
+ pulumi.set(__self__, "id", id)
52
+ if ids and not isinstance(ids, list):
53
+ raise TypeError("Expected argument 'ids' to be a list")
54
+ pulumi.set(__self__, "ids", ids)
55
+ if instance_id and not isinstance(instance_id, str):
56
+ raise TypeError("Expected argument 'instance_id' to be a str")
57
+ pulumi.set(__self__, "instance_id", instance_id)
58
+ if namespace_id and not isinstance(namespace_id, str):
59
+ raise TypeError("Expected argument 'namespace_id' to be a str")
60
+ pulumi.set(__self__, "namespace_id", namespace_id)
61
+ if output_file and not isinstance(output_file, str):
62
+ raise TypeError("Expected argument 'output_file' to be a str")
63
+ pulumi.set(__self__, "output_file", output_file)
64
+ if request_pars and not isinstance(request_pars, str):
65
+ raise TypeError("Expected argument 'request_pars' to be a str")
66
+ pulumi.set(__self__, "request_pars", request_pars)
67
+ if tags and not isinstance(tags, str):
68
+ raise TypeError("Expected argument 'tags' to be a str")
69
+ pulumi.set(__self__, "tags", tags)
70
+
71
+ @property
72
+ @pulumi.getter(name="acceptLanguage")
73
+ def accept_language(self) -> Optional[str]:
74
+ return pulumi.get(self, "accept_language")
75
+
76
+ @property
77
+ @pulumi.getter(name="appName")
78
+ def app_name(self) -> Optional[str]:
79
+ """
80
+ The name of the application.
81
+ """
82
+ return pulumi.get(self, "app_name")
83
+
84
+ @property
85
+ @pulumi.getter
86
+ def configs(self) -> Sequence['outputs.GetNacosConfigsConfigResult']:
87
+ """
88
+ A list of Mse Nacos Configs. Each element contains the following attributes:
89
+ """
90
+ return pulumi.get(self, "configs")
91
+
92
+ @property
93
+ @pulumi.getter(name="dataId")
94
+ def data_id(self) -> Optional[str]:
95
+ """
96
+ The ID of the data.
97
+ """
98
+ return pulumi.get(self, "data_id")
99
+
100
+ @property
101
+ @pulumi.getter(name="enableDetails")
102
+ def enable_details(self) -> Optional[bool]:
103
+ return pulumi.get(self, "enable_details")
104
+
105
+ @property
106
+ @pulumi.getter
107
+ def group(self) -> Optional[str]:
108
+ """
109
+ The ID of the group.
110
+ """
111
+ return pulumi.get(self, "group")
112
+
113
+ @property
114
+ @pulumi.getter
115
+ def id(self) -> str:
116
+ """
117
+ The provider-assigned unique ID for this managed resource.
118
+ """
119
+ return pulumi.get(self, "id")
120
+
121
+ @property
122
+ @pulumi.getter
123
+ def ids(self) -> Sequence[str]:
124
+ return pulumi.get(self, "ids")
125
+
126
+ @property
127
+ @pulumi.getter(name="instanceId")
128
+ def instance_id(self) -> str:
129
+ return pulumi.get(self, "instance_id")
130
+
131
+ @property
132
+ @pulumi.getter(name="namespaceId")
133
+ def namespace_id(self) -> Optional[str]:
134
+ return pulumi.get(self, "namespace_id")
135
+
136
+ @property
137
+ @pulumi.getter(name="outputFile")
138
+ def output_file(self) -> Optional[str]:
139
+ return pulumi.get(self, "output_file")
140
+
141
+ @property
142
+ @pulumi.getter(name="requestPars")
143
+ def request_pars(self) -> Optional[str]:
144
+ return pulumi.get(self, "request_pars")
145
+
146
+ @property
147
+ @pulumi.getter
148
+ def tags(self) -> Optional[str]:
149
+ """
150
+ The tags of the configuration.
151
+ """
152
+ return pulumi.get(self, "tags")
153
+
154
+
155
+ class AwaitableGetNacosConfigsResult(GetNacosConfigsResult):
156
+ # pylint: disable=using-constant-test
157
+ def __await__(self):
158
+ if False:
159
+ yield self
160
+ return GetNacosConfigsResult(
161
+ accept_language=self.accept_language,
162
+ app_name=self.app_name,
163
+ configs=self.configs,
164
+ data_id=self.data_id,
165
+ enable_details=self.enable_details,
166
+ group=self.group,
167
+ id=self.id,
168
+ ids=self.ids,
169
+ instance_id=self.instance_id,
170
+ namespace_id=self.namespace_id,
171
+ output_file=self.output_file,
172
+ request_pars=self.request_pars,
173
+ tags=self.tags)
174
+
175
+
176
+ def get_nacos_configs(accept_language: Optional[str] = None,
177
+ app_name: Optional[str] = None,
178
+ data_id: Optional[str] = None,
179
+ enable_details: Optional[bool] = None,
180
+ group: Optional[str] = None,
181
+ ids: Optional[Sequence[str]] = None,
182
+ instance_id: Optional[str] = None,
183
+ namespace_id: Optional[str] = None,
184
+ output_file: Optional[str] = None,
185
+ request_pars: Optional[str] = None,
186
+ tags: Optional[str] = None,
187
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNacosConfigsResult:
188
+ """
189
+ This data source provides the Mse Nacos Configs of the current Alibaba Cloud user.
190
+
191
+ > **NOTE:** Available since v1.233.0.
192
+
193
+ ## Example Usage
194
+
195
+ Basic Usage
196
+
197
+ ```python
198
+ import pulumi
199
+ import pulumi_alicloud as alicloud
200
+
201
+ example = alicloud.get_zones(available_resource_creation="VSwitch")
202
+ example_network = alicloud.vpc.Network("example",
203
+ vpc_name="terraform-example",
204
+ cidr_block="172.17.3.0/24")
205
+ example_switch = alicloud.vpc.Switch("example",
206
+ vswitch_name="terraform-example",
207
+ cidr_block="172.17.3.0/24",
208
+ vpc_id=example_network.id,
209
+ zone_id=example.zones[0].id)
210
+ example_cluster = alicloud.mse.Cluster("example",
211
+ connection_type="slb",
212
+ net_type="privatenet",
213
+ vswitch_id=example_switch.id,
214
+ cluster_specification="MSE_SC_1_2_60_c",
215
+ cluster_version="NACOS_2_0_0",
216
+ instance_count=3,
217
+ pub_network_flow="1",
218
+ cluster_alias_name="example",
219
+ mse_version="mse_pro",
220
+ cluster_type="Nacos-Ans")
221
+ example_engine_namespace = alicloud.mse.EngineNamespace("example",
222
+ instance_id=example_cluster.id,
223
+ namespace_show_name="example",
224
+ namespace_id="example")
225
+ example_nacos_config = alicloud.mse.NacosConfig("example",
226
+ instance_id=example_cluster.id,
227
+ data_id="example",
228
+ group="example",
229
+ namespace_id=example_engine_namespace.namespace_id,
230
+ content="example",
231
+ type="text",
232
+ tags="example",
233
+ app_name="example",
234
+ desc="example")
235
+ example_get_nacos_configs = pulumi.Output.all(
236
+ id=example_cluster.id,
237
+ namespace_id=example_engine_namespace.namespace_id
238
+ ).apply(lambda resolved_outputs: alicloud.mse.get_nacos_configs_output(instance_id=resolved_outputs['id'],
239
+ enable_details=True,
240
+ namespace_id=resolved_outputs['namespace_id']))
241
+ ```
242
+
243
+
244
+ :param str accept_language: The language type of the returned information. Valid values: `zh`, `en`.
245
+ :param str app_name: The name of the application.
246
+ :param str data_id: The ID of the data.
247
+ :param bool enable_details: Default to `false`. Set it to `true` can output more details about resource attributes.
248
+ :param str group: The ID of the group.
249
+ :param Sequence[str] ids: A list of MSE Engine Configs ids. It is formatted to `<instance_id>:<namespace_id>:<data_id>:<group>`.
250
+ :param str instance_id: The ID of the instance.
251
+ :param str namespace_id: The id of Namespace.
252
+ :param str output_file: File name where to save data source results (after running `pulumi preview`).
253
+ *
254
+ :param str request_pars: The extended request parameters. The JSON format is supported.
255
+ :param str tags: The tags of the configuration.
256
+ """
257
+ __args__ = dict()
258
+ __args__['acceptLanguage'] = accept_language
259
+ __args__['appName'] = app_name
260
+ __args__['dataId'] = data_id
261
+ __args__['enableDetails'] = enable_details
262
+ __args__['group'] = group
263
+ __args__['ids'] = ids
264
+ __args__['instanceId'] = instance_id
265
+ __args__['namespaceId'] = namespace_id
266
+ __args__['outputFile'] = output_file
267
+ __args__['requestPars'] = request_pars
268
+ __args__['tags'] = tags
269
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
270
+ __ret__ = pulumi.runtime.invoke('alicloud:mse/getNacosConfigs:getNacosConfigs', __args__, opts=opts, typ=GetNacosConfigsResult).value
271
+
272
+ return AwaitableGetNacosConfigsResult(
273
+ accept_language=pulumi.get(__ret__, 'accept_language'),
274
+ app_name=pulumi.get(__ret__, 'app_name'),
275
+ configs=pulumi.get(__ret__, 'configs'),
276
+ data_id=pulumi.get(__ret__, 'data_id'),
277
+ enable_details=pulumi.get(__ret__, 'enable_details'),
278
+ group=pulumi.get(__ret__, 'group'),
279
+ id=pulumi.get(__ret__, 'id'),
280
+ ids=pulumi.get(__ret__, 'ids'),
281
+ instance_id=pulumi.get(__ret__, 'instance_id'),
282
+ namespace_id=pulumi.get(__ret__, 'namespace_id'),
283
+ output_file=pulumi.get(__ret__, 'output_file'),
284
+ request_pars=pulumi.get(__ret__, 'request_pars'),
285
+ tags=pulumi.get(__ret__, 'tags'))
286
+ def get_nacos_configs_output(accept_language: Optional[pulumi.Input[Optional[str]]] = None,
287
+ app_name: Optional[pulumi.Input[Optional[str]]] = None,
288
+ data_id: Optional[pulumi.Input[Optional[str]]] = None,
289
+ enable_details: Optional[pulumi.Input[Optional[bool]]] = None,
290
+ group: Optional[pulumi.Input[Optional[str]]] = None,
291
+ ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
292
+ instance_id: Optional[pulumi.Input[str]] = None,
293
+ namespace_id: Optional[pulumi.Input[Optional[str]]] = None,
294
+ output_file: Optional[pulumi.Input[Optional[str]]] = None,
295
+ request_pars: Optional[pulumi.Input[Optional[str]]] = None,
296
+ tags: Optional[pulumi.Input[Optional[str]]] = None,
297
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNacosConfigsResult]:
298
+ """
299
+ This data source provides the Mse Nacos Configs of the current Alibaba Cloud user.
300
+
301
+ > **NOTE:** Available since v1.233.0.
302
+
303
+ ## Example Usage
304
+
305
+ Basic Usage
306
+
307
+ ```python
308
+ import pulumi
309
+ import pulumi_alicloud as alicloud
310
+
311
+ example = alicloud.get_zones(available_resource_creation="VSwitch")
312
+ example_network = alicloud.vpc.Network("example",
313
+ vpc_name="terraform-example",
314
+ cidr_block="172.17.3.0/24")
315
+ example_switch = alicloud.vpc.Switch("example",
316
+ vswitch_name="terraform-example",
317
+ cidr_block="172.17.3.0/24",
318
+ vpc_id=example_network.id,
319
+ zone_id=example.zones[0].id)
320
+ example_cluster = alicloud.mse.Cluster("example",
321
+ connection_type="slb",
322
+ net_type="privatenet",
323
+ vswitch_id=example_switch.id,
324
+ cluster_specification="MSE_SC_1_2_60_c",
325
+ cluster_version="NACOS_2_0_0",
326
+ instance_count=3,
327
+ pub_network_flow="1",
328
+ cluster_alias_name="example",
329
+ mse_version="mse_pro",
330
+ cluster_type="Nacos-Ans")
331
+ example_engine_namespace = alicloud.mse.EngineNamespace("example",
332
+ instance_id=example_cluster.id,
333
+ namespace_show_name="example",
334
+ namespace_id="example")
335
+ example_nacos_config = alicloud.mse.NacosConfig("example",
336
+ instance_id=example_cluster.id,
337
+ data_id="example",
338
+ group="example",
339
+ namespace_id=example_engine_namespace.namespace_id,
340
+ content="example",
341
+ type="text",
342
+ tags="example",
343
+ app_name="example",
344
+ desc="example")
345
+ example_get_nacos_configs = pulumi.Output.all(
346
+ id=example_cluster.id,
347
+ namespace_id=example_engine_namespace.namespace_id
348
+ ).apply(lambda resolved_outputs: alicloud.mse.get_nacos_configs_output(instance_id=resolved_outputs['id'],
349
+ enable_details=True,
350
+ namespace_id=resolved_outputs['namespace_id']))
351
+ ```
352
+
353
+
354
+ :param str accept_language: The language type of the returned information. Valid values: `zh`, `en`.
355
+ :param str app_name: The name of the application.
356
+ :param str data_id: The ID of the data.
357
+ :param bool enable_details: Default to `false`. Set it to `true` can output more details about resource attributes.
358
+ :param str group: The ID of the group.
359
+ :param Sequence[str] ids: A list of MSE Engine Configs ids. It is formatted to `<instance_id>:<namespace_id>:<data_id>:<group>`.
360
+ :param str instance_id: The ID of the instance.
361
+ :param str namespace_id: The id of Namespace.
362
+ :param str output_file: File name where to save data source results (after running `pulumi preview`).
363
+ *
364
+ :param str request_pars: The extended request parameters. The JSON format is supported.
365
+ :param str tags: The tags of the configuration.
366
+ """
367
+ __args__ = dict()
368
+ __args__['acceptLanguage'] = accept_language
369
+ __args__['appName'] = app_name
370
+ __args__['dataId'] = data_id
371
+ __args__['enableDetails'] = enable_details
372
+ __args__['group'] = group
373
+ __args__['ids'] = ids
374
+ __args__['instanceId'] = instance_id
375
+ __args__['namespaceId'] = namespace_id
376
+ __args__['outputFile'] = output_file
377
+ __args__['requestPars'] = request_pars
378
+ __args__['tags'] = tags
379
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
380
+ __ret__ = pulumi.runtime.invoke_output('alicloud:mse/getNacosConfigs:getNacosConfigs', __args__, opts=opts, typ=GetNacosConfigsResult)
381
+ return __ret__.apply(lambda __response__: GetNacosConfigsResult(
382
+ accept_language=pulumi.get(__response__, 'accept_language'),
383
+ app_name=pulumi.get(__response__, 'app_name'),
384
+ configs=pulumi.get(__response__, 'configs'),
385
+ data_id=pulumi.get(__response__, 'data_id'),
386
+ enable_details=pulumi.get(__response__, 'enable_details'),
387
+ group=pulumi.get(__response__, 'group'),
388
+ id=pulumi.get(__response__, 'id'),
389
+ ids=pulumi.get(__response__, 'ids'),
390
+ instance_id=pulumi.get(__response__, 'instance_id'),
391
+ namespace_id=pulumi.get(__response__, 'namespace_id'),
392
+ output_file=pulumi.get(__response__, 'output_file'),
393
+ request_pars=pulumi.get(__response__, 'request_pars'),
394
+ tags=pulumi.get(__response__, 'tags')))