pulumi-alicloud 3.64.0a1729894283__py3-none-any.whl → 3.65.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-alicloud might be problematic. Click here for more details.

Files changed (94) hide show
  1. pulumi_alicloud/__init__.py +35 -0
  2. pulumi_alicloud/amqp/instance.py +8 -8
  3. pulumi_alicloud/bss/get_open_api_pricing_modules.py +4 -4
  4. pulumi_alicloud/bss/get_open_api_products.py +4 -4
  5. pulumi_alicloud/cas/get_certificates.py +17 -1
  6. pulumi_alicloud/cas/get_service_certificates.py +153 -17
  7. pulumi_alicloud/cas/outputs.py +40 -36
  8. pulumi_alicloud/cen/instance.py +108 -53
  9. pulumi_alicloud/cen/transit_router_route_table_association.py +72 -68
  10. pulumi_alicloud/cloudfirewall/control_policy.py +524 -23
  11. pulumi_alicloud/cloudfirewall/instance.py +64 -36
  12. pulumi_alicloud/cloudstoragegateway/gateway.py +134 -58
  13. pulumi_alicloud/cs/_inputs.py +390 -26
  14. pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +2 -0
  15. pulumi_alicloud/cs/kubernetes.py +48 -35
  16. pulumi_alicloud/cs/managed_kubernetes.py +91 -35
  17. pulumi_alicloud/cs/node_pool.py +68 -14
  18. pulumi_alicloud/cs/outputs.py +293 -16
  19. pulumi_alicloud/cs/serverless_kubernetes.py +157 -63
  20. pulumi_alicloud/databasefilesystem/_inputs.py +0 -6
  21. pulumi_alicloud/databasefilesystem/instance.py +31 -0
  22. pulumi_alicloud/databasefilesystem/outputs.py +0 -4
  23. pulumi_alicloud/dns/get_alidns_records.py +26 -4
  24. pulumi_alicloud/dns/outputs.py +2 -2
  25. pulumi_alicloud/eais/instance.py +55 -57
  26. pulumi_alicloud/ecp/instance.py +177 -219
  27. pulumi_alicloud/ecs/disk.py +2 -2
  28. pulumi_alicloud/ecs/ecs_disk.py +142 -58
  29. pulumi_alicloud/ecs/ecs_key_pair.py +1 -1
  30. pulumi_alicloud/ecs/ecs_launch_template.py +169 -0
  31. pulumi_alicloud/ecs/get_ecs_launch_templates.py +172 -6
  32. pulumi_alicloud/ecs/instance.py +131 -98
  33. pulumi_alicloud/ecs/key_pair.py +1 -1
  34. pulumi_alicloud/ecs/launch_template.py +102 -0
  35. pulumi_alicloud/ecs/outputs.py +57 -24
  36. pulumi_alicloud/ens/disk.py +2 -2
  37. pulumi_alicloud/ens/disk_instance_attachment.py +2 -2
  38. pulumi_alicloud/ess/_inputs.py +342 -2
  39. pulumi_alicloud/ess/eci_scaling_configuration.py +202 -0
  40. pulumi_alicloud/ess/outputs.py +226 -2
  41. pulumi_alicloud/ess/scaling_configuration.py +377 -1
  42. pulumi_alicloud/ess/scaling_group.py +54 -7
  43. pulumi_alicloud/fc/_inputs.py +3 -3
  44. pulumi_alicloud/fc/outputs.py +2 -2
  45. pulumi_alicloud/ga/_inputs.py +57 -22
  46. pulumi_alicloud/ga/outputs.py +39 -15
  47. pulumi_alicloud/governance/baseline.py +18 -18
  48. pulumi_alicloud/governance/get_baselines.py +18 -18
  49. pulumi_alicloud/gpdb/__init__.py +1 -0
  50. pulumi_alicloud/gpdb/database.py +545 -0
  51. pulumi_alicloud/gpdb/instance.py +1 -1
  52. pulumi_alicloud/kms/get_secrets.py +5 -5
  53. pulumi_alicloud/kms/outputs.py +18 -18
  54. pulumi_alicloud/kvstore/instance.py +24 -5
  55. pulumi_alicloud/log/alert.py +14 -14
  56. pulumi_alicloud/mse/__init__.py +2 -0
  57. pulumi_alicloud/mse/cluster.py +149 -51
  58. pulumi_alicloud/mse/engine_namespace.py +176 -74
  59. pulumi_alicloud/mse/get_clusters.py +70 -10
  60. pulumi_alicloud/mse/get_engine_namespaces.py +93 -15
  61. pulumi_alicloud/mse/get_nacos_configs.py +394 -0
  62. pulumi_alicloud/mse/nacos_config.py +762 -0
  63. pulumi_alicloud/mse/outputs.py +165 -8
  64. pulumi_alicloud/nas/data_flow.py +6 -6
  65. pulumi_alicloud/nas/fileset.py +6 -6
  66. pulumi_alicloud/nas/lifecycle_policy.py +6 -6
  67. pulumi_alicloud/nas/recycle_bin.py +6 -6
  68. pulumi_alicloud/nas/snapshot.py +6 -6
  69. pulumi_alicloud/ocean/base_instance.py +2 -2
  70. pulumi_alicloud/pai/__init__.py +8 -0
  71. pulumi_alicloud/pai/workspace_workspace.py +447 -0
  72. pulumi_alicloud/polardb/cluster.py +176 -14
  73. pulumi_alicloud/privatelink/get_vpc_endpoint_services.py +51 -7
  74. pulumi_alicloud/privatelink/outputs.py +17 -6
  75. pulumi_alicloud/privatelink/vpc_endpoint_service_user.py +54 -17
  76. pulumi_alicloud/privatelink/vpc_endpoint_zone.py +7 -21
  77. pulumi_alicloud/pulumi-plugin.json +1 -1
  78. pulumi_alicloud/rds/instance.py +50 -3
  79. pulumi_alicloud/resourcemanager/get_folders.py +35 -28
  80. pulumi_alicloud/resourcemanager/outputs.py +8 -8
  81. pulumi_alicloud/servicemesh/_inputs.py +656 -174
  82. pulumi_alicloud/servicemesh/outputs.py +507 -117
  83. pulumi_alicloud/servicemesh/service_mesh.py +120 -78
  84. pulumi_alicloud/sls/__init__.py +1 -0
  85. pulumi_alicloud/sls/_inputs.py +307 -0
  86. pulumi_alicloud/sls/collection_policy.py +561 -0
  87. pulumi_alicloud/sls/outputs.py +263 -0
  88. pulumi_alicloud/threatdetection/instance.py +331 -43
  89. pulumi_alicloud/vpc/subnet.py +59 -27
  90. pulumi_alicloud/vpc/switch.py +104 -87
  91. {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.65.0.dist-info}/METADATA +1 -1
  92. {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.65.0.dist-info}/RECORD +94 -88
  93. {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.65.0.dist-info}/WHEEL +1 -1
  94. {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.65.0.dist-info}/top_level.txt +0 -0
@@ -27,7 +27,7 @@ class GetEngineNamespacesResult:
27
27
  """
28
28
  A collection of values returned by getEngineNamespaces.
29
29
  """
30
- def __init__(__self__, accept_language=None, cluster_id=None, id=None, ids=None, namespaces=None, output_file=None):
30
+ def __init__(__self__, accept_language=None, cluster_id=None, id=None, ids=None, instance_id=None, namespaces=None, output_file=None):
31
31
  if accept_language and not isinstance(accept_language, str):
32
32
  raise TypeError("Expected argument 'accept_language' to be a str")
33
33
  pulumi.set(__self__, "accept_language", accept_language)
@@ -40,6 +40,9 @@ class GetEngineNamespacesResult:
40
40
  if ids and not isinstance(ids, list):
41
41
  raise TypeError("Expected argument 'ids' to be a list")
42
42
  pulumi.set(__self__, "ids", ids)
43
+ if instance_id and not isinstance(instance_id, str):
44
+ raise TypeError("Expected argument 'instance_id' to be a str")
45
+ pulumi.set(__self__, "instance_id", instance_id)
43
46
  if namespaces and not isinstance(namespaces, list):
44
47
  raise TypeError("Expected argument 'namespaces' to be a list")
45
48
  pulumi.set(__self__, "namespaces", namespaces)
@@ -54,7 +57,7 @@ class GetEngineNamespacesResult:
54
57
 
55
58
  @property
56
59
  @pulumi.getter(name="clusterId")
57
- def cluster_id(self) -> str:
60
+ def cluster_id(self) -> Optional[str]:
58
61
  return pulumi.get(self, "cluster_id")
59
62
 
60
63
  @property
@@ -70,9 +73,17 @@ class GetEngineNamespacesResult:
70
73
  def ids(self) -> Sequence[str]:
71
74
  return pulumi.get(self, "ids")
72
75
 
76
+ @property
77
+ @pulumi.getter(name="instanceId")
78
+ def instance_id(self) -> Optional[str]:
79
+ return pulumi.get(self, "instance_id")
80
+
73
81
  @property
74
82
  @pulumi.getter
75
83
  def namespaces(self) -> Sequence['outputs.GetEngineNamespacesNamespaceResult']:
84
+ """
85
+ A list of Mse Engine Namespaces. Each element contains the following attributes:
86
+ """
76
87
  return pulumi.get(self, "namespaces")
77
88
 
78
89
  @property
@@ -91,6 +102,7 @@ class AwaitableGetEngineNamespacesResult(GetEngineNamespacesResult):
91
102
  cluster_id=self.cluster_id,
92
103
  id=self.id,
93
104
  ids=self.ids,
105
+ instance_id=self.instance_id,
94
106
  namespaces=self.namespaces,
95
107
  output_file=self.output_file)
96
108
 
@@ -98,12 +110,13 @@ class AwaitableGetEngineNamespacesResult(GetEngineNamespacesResult):
98
110
  def get_engine_namespaces(accept_language: Optional[str] = None,
99
111
  cluster_id: Optional[str] = None,
100
112
  ids: Optional[Sequence[str]] = None,
113
+ instance_id: Optional[str] = None,
101
114
  output_file: Optional[str] = None,
102
115
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEngineNamespacesResult:
103
116
  """
104
117
  This data source provides the Mse Engine Namespaces of the current Alibaba Cloud user.
105
118
 
106
- > **NOTE:** Available in v1.166.0+.
119
+ > **NOTE:** Available since v1.166.0.
107
120
 
108
121
  ## Example Usage
109
122
 
@@ -113,21 +126,52 @@ def get_engine_namespaces(accept_language: Optional[str] = None,
113
126
  import pulumi
114
127
  import pulumi_alicloud as alicloud
115
128
 
116
- ids = alicloud.mse.get_engine_namespaces(cluster_id="example_value",
117
- ids=["example_value"])
118
- pulumi.export("mseEngineNamespaceId1", ids.namespaces[0].id)
129
+ example = alicloud.get_zones(available_resource_creation="VSwitch")
130
+ example_network = alicloud.vpc.Network("example",
131
+ vpc_name="terraform-example",
132
+ cidr_block="172.17.3.0/24")
133
+ example_switch = alicloud.vpc.Switch("example",
134
+ vswitch_name="terraform-example",
135
+ cidr_block="172.17.3.0/24",
136
+ vpc_id=example_network.id,
137
+ zone_id=example.zones[0].id)
138
+ example_cluster = alicloud.mse.Cluster("example",
139
+ cluster_specification="MSE_SC_1_2_60_c",
140
+ cluster_type="Nacos-Ans",
141
+ cluster_version="NACOS_2_0_0",
142
+ instance_count=3,
143
+ net_type="privatenet",
144
+ pub_network_flow="1",
145
+ connection_type="slb",
146
+ cluster_alias_name="terraform-example",
147
+ mse_version="mse_pro",
148
+ vswitch_id=example_switch.id,
149
+ vpc_id=example_network.id)
150
+ example_engine_namespace = alicloud.mse.EngineNamespace("example",
151
+ instance_id=example_cluster.id,
152
+ namespace_show_name="terraform-example",
153
+ namespace_id="terraform-example",
154
+ namespace_desc="description")
155
+ # Declare the data source
156
+ example_get_engine_namespaces = alicloud.mse.get_engine_namespaces_output(instance_id=example_engine_namespace.instance_id)
157
+ pulumi.export("mseEngineNamespaceIdPublic", example_get_engine_namespaces.namespaces[0].id)
158
+ pulumi.export("mseEngineNamespaceIdExample", example_get_engine_namespaces.namespaces[1].id)
119
159
  ```
120
160
 
121
161
 
122
162
  :param str accept_language: The language type of the returned information. Valid values: `zh`, `en`.
123
- :param str cluster_id: The id of the cluster.
124
- :param Sequence[str] ids: A list of Engine Namespace IDs. It is formatted to `<cluster_id>:<namespace_id>`.
163
+ :param str cluster_id: The ID of the cluster.
164
+ :param Sequence[str] ids: A list of Engine Namespace IDs. It is formatted to `<instance_id>:<namespace_id>`.
165
+ :param str instance_id: The ID of the MSE Cluster Instance.It is formatted to `mse-cn-xxxxxxxxxxx`.Available since v1.232.0
125
166
  :param str output_file: File name where to save data source results (after running `pulumi preview`).
167
+
168
+ **NOTE:** You must set `cluster_id` or `instance_id` or both.
126
169
  """
127
170
  __args__ = dict()
128
171
  __args__['acceptLanguage'] = accept_language
129
172
  __args__['clusterId'] = cluster_id
130
173
  __args__['ids'] = ids
174
+ __args__['instanceId'] = instance_id
131
175
  __args__['outputFile'] = output_file
132
176
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
133
177
  __ret__ = pulumi.runtime.invoke('alicloud:mse/getEngineNamespaces:getEngineNamespaces', __args__, opts=opts, typ=GetEngineNamespacesResult).value
@@ -137,17 +181,19 @@ def get_engine_namespaces(accept_language: Optional[str] = None,
137
181
  cluster_id=pulumi.get(__ret__, 'cluster_id'),
138
182
  id=pulumi.get(__ret__, 'id'),
139
183
  ids=pulumi.get(__ret__, 'ids'),
184
+ instance_id=pulumi.get(__ret__, 'instance_id'),
140
185
  namespaces=pulumi.get(__ret__, 'namespaces'),
141
186
  output_file=pulumi.get(__ret__, 'output_file'))
142
187
  def get_engine_namespaces_output(accept_language: Optional[pulumi.Input[Optional[str]]] = None,
143
- cluster_id: Optional[pulumi.Input[str]] = None,
188
+ cluster_id: Optional[pulumi.Input[Optional[str]]] = None,
144
189
  ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
190
+ instance_id: Optional[pulumi.Input[Optional[str]]] = None,
145
191
  output_file: Optional[pulumi.Input[Optional[str]]] = None,
146
192
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEngineNamespacesResult]:
147
193
  """
148
194
  This data source provides the Mse Engine Namespaces of the current Alibaba Cloud user.
149
195
 
150
- > **NOTE:** Available in v1.166.0+.
196
+ > **NOTE:** Available since v1.166.0.
151
197
 
152
198
  ## Example Usage
153
199
 
@@ -157,21 +203,52 @@ def get_engine_namespaces_output(accept_language: Optional[pulumi.Input[Optional
157
203
  import pulumi
158
204
  import pulumi_alicloud as alicloud
159
205
 
160
- ids = alicloud.mse.get_engine_namespaces(cluster_id="example_value",
161
- ids=["example_value"])
162
- pulumi.export("mseEngineNamespaceId1", ids.namespaces[0].id)
206
+ example = alicloud.get_zones(available_resource_creation="VSwitch")
207
+ example_network = alicloud.vpc.Network("example",
208
+ vpc_name="terraform-example",
209
+ cidr_block="172.17.3.0/24")
210
+ example_switch = alicloud.vpc.Switch("example",
211
+ vswitch_name="terraform-example",
212
+ cidr_block="172.17.3.0/24",
213
+ vpc_id=example_network.id,
214
+ zone_id=example.zones[0].id)
215
+ example_cluster = alicloud.mse.Cluster("example",
216
+ cluster_specification="MSE_SC_1_2_60_c",
217
+ cluster_type="Nacos-Ans",
218
+ cluster_version="NACOS_2_0_0",
219
+ instance_count=3,
220
+ net_type="privatenet",
221
+ pub_network_flow="1",
222
+ connection_type="slb",
223
+ cluster_alias_name="terraform-example",
224
+ mse_version="mse_pro",
225
+ vswitch_id=example_switch.id,
226
+ vpc_id=example_network.id)
227
+ example_engine_namespace = alicloud.mse.EngineNamespace("example",
228
+ instance_id=example_cluster.id,
229
+ namespace_show_name="terraform-example",
230
+ namespace_id="terraform-example",
231
+ namespace_desc="description")
232
+ # Declare the data source
233
+ example_get_engine_namespaces = alicloud.mse.get_engine_namespaces_output(instance_id=example_engine_namespace.instance_id)
234
+ pulumi.export("mseEngineNamespaceIdPublic", example_get_engine_namespaces.namespaces[0].id)
235
+ pulumi.export("mseEngineNamespaceIdExample", example_get_engine_namespaces.namespaces[1].id)
163
236
  ```
164
237
 
165
238
 
166
239
  :param str accept_language: The language type of the returned information. Valid values: `zh`, `en`.
167
- :param str cluster_id: The id of the cluster.
168
- :param Sequence[str] ids: A list of Engine Namespace IDs. It is formatted to `<cluster_id>:<namespace_id>`.
240
+ :param str cluster_id: The ID of the cluster.
241
+ :param Sequence[str] ids: A list of Engine Namespace IDs. It is formatted to `<instance_id>:<namespace_id>`.
242
+ :param str instance_id: The ID of the MSE Cluster Instance.It is formatted to `mse-cn-xxxxxxxxxxx`.Available since v1.232.0
169
243
  :param str output_file: File name where to save data source results (after running `pulumi preview`).
244
+
245
+ **NOTE:** You must set `cluster_id` or `instance_id` or both.
170
246
  """
171
247
  __args__ = dict()
172
248
  __args__['acceptLanguage'] = accept_language
173
249
  __args__['clusterId'] = cluster_id
174
250
  __args__['ids'] = ids
251
+ __args__['instanceId'] = instance_id
175
252
  __args__['outputFile'] = output_file
176
253
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
177
254
  __ret__ = pulumi.runtime.invoke_output('alicloud:mse/getEngineNamespaces:getEngineNamespaces', __args__, opts=opts, typ=GetEngineNamespacesResult)
@@ -180,5 +257,6 @@ def get_engine_namespaces_output(accept_language: Optional[pulumi.Input[Optional
180
257
  cluster_id=pulumi.get(__response__, 'cluster_id'),
181
258
  id=pulumi.get(__response__, 'id'),
182
259
  ids=pulumi.get(__response__, 'ids'),
260
+ instance_id=pulumi.get(__response__, 'instance_id'),
183
261
  namespaces=pulumi.get(__response__, 'namespaces'),
184
262
  output_file=pulumi.get(__response__, 'output_file')))
@@ -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')))