pulumi-alicloud 3.56.0a1717175543__py3-none-any.whl → 3.57.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.
Files changed (55) hide show
  1. pulumi_alicloud/__init__.py +72 -0
  2. pulumi_alicloud/cen/get_transit_router_available_resources.py +32 -11
  3. pulumi_alicloud/cen/outputs.py +23 -1
  4. pulumi_alicloud/cfg/remediation.py +10 -2
  5. pulumi_alicloud/clickhouse/db_cluster.py +47 -0
  6. pulumi_alicloud/cms/__init__.py +1 -0
  7. pulumi_alicloud/cms/_inputs.py +18 -18
  8. pulumi_alicloud/cms/alarm.py +38 -26
  9. pulumi_alicloud/cms/get_site_monitors.py +243 -0
  10. pulumi_alicloud/cms/outputs.py +92 -18
  11. pulumi_alicloud/cs/node_pool.py +7 -7
  12. pulumi_alicloud/ecs/_inputs.py +10 -14
  13. pulumi_alicloud/ecs/image_import.py +162 -100
  14. pulumi_alicloud/ecs/outputs.py +10 -14
  15. pulumi_alicloud/ecs/security_group_rule.py +2 -2
  16. pulumi_alicloud/eds/network_package.py +22 -8
  17. pulumi_alicloud/expressconnect/__init__.py +8 -0
  18. pulumi_alicloud/expressconnect/_inputs.py +40 -0
  19. pulumi_alicloud/expressconnect/outputs.py +51 -0
  20. pulumi_alicloud/expressconnect/router_express_connect_router.py +458 -0
  21. pulumi_alicloud/expressconnect/router_tr_association.py +578 -0
  22. pulumi_alicloud/expressconnect/router_vbr_child_instance.py +475 -0
  23. pulumi_alicloud/expressconnect/router_vpc_association.py +500 -0
  24. pulumi_alicloud/expressconnect/traffic_qos.py +284 -0
  25. pulumi_alicloud/expressconnect/traffic_qos_association.py +336 -0
  26. pulumi_alicloud/expressconnect/traffic_qos_queue.py +520 -0
  27. pulumi_alicloud/expressconnect/traffic_qos_rule.py +1174 -0
  28. pulumi_alicloud/gpdb/__init__.py +1 -0
  29. pulumi_alicloud/gpdb/db_resource_group.py +364 -0
  30. pulumi_alicloud/gpdb/instance.py +47 -0
  31. pulumi_alicloud/hbase/get_instance_types.py +2 -2
  32. pulumi_alicloud/mongodb/instance.py +7 -7
  33. pulumi_alicloud/oss/bucket_cors.py +8 -4
  34. pulumi_alicloud/oss/bucket_data_redundancy_transition.py +12 -4
  35. pulumi_alicloud/oss/bucket_public_access_block.py +12 -4
  36. pulumi_alicloud/ots/instance.py +7 -7
  37. pulumi_alicloud/ots/table.py +149 -8
  38. pulumi_alicloud/pulumi-plugin.json +1 -1
  39. pulumi_alicloud/sae/load_balancer_internet.py +4 -2
  40. pulumi_alicloud/sae/load_balancer_intranet.py +4 -2
  41. pulumi_alicloud/servicemesh/_inputs.py +0 -6
  42. pulumi_alicloud/servicemesh/outputs.py +0 -6
  43. pulumi_alicloud/servicemesh/service_mesh.py +2 -2
  44. pulumi_alicloud/simpleapplicationserver/snapshot.py +10 -2
  45. pulumi_alicloud/vpc/bgp_peer.py +36 -8
  46. pulumi_alicloud/vpc/network.py +0 -4
  47. pulumi_alicloud/vpn/connection.py +220 -0
  48. pulumi_alicloud/vpn/gateway_vpn_attachment.py +2 -2
  49. pulumi_alicloud/vpn/ipsec_server.py +20 -12
  50. pulumi_alicloud/vpn/pbr_route_entry.py +152 -16
  51. pulumi_alicloud/vpn/route_entry.py +158 -44
  52. {pulumi_alicloud-3.56.0a1717175543.dist-info → pulumi_alicloud-3.57.0.dist-info}/METADATA +1 -1
  53. {pulumi_alicloud-3.56.0a1717175543.dist-info → pulumi_alicloud-3.57.0.dist-info}/RECORD +55 -45
  54. {pulumi_alicloud-3.56.0a1717175543.dist-info → pulumi_alicloud-3.57.0.dist-info}/WHEEL +0 -0
  55. {pulumi_alicloud-3.56.0a1717175543.dist-info → pulumi_alicloud-3.57.0.dist-info}/top_level.txt +0 -0
@@ -734,12 +734,12 @@ class Alarm(pulumi.CustomResource):
734
734
  name = config.get("name")
735
735
  if name is None:
736
736
  name = "tf-example"
737
- default = alicloud.ecs.get_images(name_regex="^ubuntu_[0-9]+_[0-9]+_x64*",
737
+ default = alicloud.get_zones(available_disk_category="cloud_efficiency",
738
+ available_resource_creation="VSwitch")
739
+ default_get_images = alicloud.ecs.get_images(most_recent=True,
738
740
  owners="system")
739
- default_get_zones = alicloud.get_zones(available_resource_creation="Instance")
740
- default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default_get_zones.zones[0].id,
741
- cpu_core_count=1,
742
- memory_size=2)
741
+ default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id,
742
+ image_id=default_get_images.images[0].id)
743
743
  default_network = alicloud.vpc.Network("default",
744
744
  vpc_name=name,
745
745
  cidr_block="10.4.0.0/16")
@@ -747,14 +747,14 @@ class Alarm(pulumi.CustomResource):
747
747
  vswitch_name=name,
748
748
  cidr_block="10.4.0.0/24",
749
749
  vpc_id=default_network.id,
750
- zone_id=default_get_zones.zones[0].id)
750
+ zone_id=default.zones[0].id)
751
751
  default_security_group = alicloud.ecs.SecurityGroup("default",
752
752
  name=name,
753
753
  vpc_id=default_network.id)
754
754
  default_instance = alicloud.ecs.Instance("default",
755
- availability_zone=default_get_zones.zones[0].id,
755
+ availability_zone=default.zones[0].id,
756
756
  instance_name=name,
757
- image_id=default.images[0].id,
757
+ image_id=default_get_images.images[0].id,
758
758
  instance_type=default_get_instance_types.instance_types[0].id,
759
759
  security_groups=[default_security_group.id],
760
760
  vswitch_id=default_switch.id)
@@ -763,16 +763,22 @@ class Alarm(pulumi.CustomResource):
763
763
  name=name,
764
764
  project="acs_ecs_dashboard",
765
765
  metric="disk_writebytes",
766
- metric_dimensions=default_instance.id.apply(lambda id: f"[{{\\"instanceId\\":\\"{id}\\",\\"device\\":\\"/dev/vda1\\"}}]"),
766
+ period=900,
767
+ contact_groups=[default_alarm_contact_group.alarm_contact_group_name],
768
+ effective_interval="06:00-20:00",
769
+ metric_dimensions=default_instance.id.apply(lambda id: f\"\"\" [
770
+ {{
771
+ "instanceId": "{id}",
772
+ "device": "/dev/vda1"
773
+ }}
774
+ ]
775
+ \"\"\"),
767
776
  escalations_critical=alicloud.cms.AlarmEscalationsCriticalArgs(
768
777
  statistics="Average",
769
778
  comparison_operator="<=",
770
779
  threshold="35",
771
780
  times=2,
772
- ),
773
- period=900,
774
- contact_groups=[default_alarm_contact_group.alarm_contact_group_name],
775
- effective_interval="06:00-20:00")
781
+ ))
776
782
  ```
777
783
 
778
784
  ## Import
@@ -831,12 +837,12 @@ class Alarm(pulumi.CustomResource):
831
837
  name = config.get("name")
832
838
  if name is None:
833
839
  name = "tf-example"
834
- default = alicloud.ecs.get_images(name_regex="^ubuntu_[0-9]+_[0-9]+_x64*",
840
+ default = alicloud.get_zones(available_disk_category="cloud_efficiency",
841
+ available_resource_creation="VSwitch")
842
+ default_get_images = alicloud.ecs.get_images(most_recent=True,
835
843
  owners="system")
836
- default_get_zones = alicloud.get_zones(available_resource_creation="Instance")
837
- default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default_get_zones.zones[0].id,
838
- cpu_core_count=1,
839
- memory_size=2)
844
+ default_get_instance_types = alicloud.ecs.get_instance_types(availability_zone=default.zones[0].id,
845
+ image_id=default_get_images.images[0].id)
840
846
  default_network = alicloud.vpc.Network("default",
841
847
  vpc_name=name,
842
848
  cidr_block="10.4.0.0/16")
@@ -844,14 +850,14 @@ class Alarm(pulumi.CustomResource):
844
850
  vswitch_name=name,
845
851
  cidr_block="10.4.0.0/24",
846
852
  vpc_id=default_network.id,
847
- zone_id=default_get_zones.zones[0].id)
853
+ zone_id=default.zones[0].id)
848
854
  default_security_group = alicloud.ecs.SecurityGroup("default",
849
855
  name=name,
850
856
  vpc_id=default_network.id)
851
857
  default_instance = alicloud.ecs.Instance("default",
852
- availability_zone=default_get_zones.zones[0].id,
858
+ availability_zone=default.zones[0].id,
853
859
  instance_name=name,
854
- image_id=default.images[0].id,
860
+ image_id=default_get_images.images[0].id,
855
861
  instance_type=default_get_instance_types.instance_types[0].id,
856
862
  security_groups=[default_security_group.id],
857
863
  vswitch_id=default_switch.id)
@@ -860,16 +866,22 @@ class Alarm(pulumi.CustomResource):
860
866
  name=name,
861
867
  project="acs_ecs_dashboard",
862
868
  metric="disk_writebytes",
863
- metric_dimensions=default_instance.id.apply(lambda id: f"[{{\\"instanceId\\":\\"{id}\\",\\"device\\":\\"/dev/vda1\\"}}]"),
869
+ period=900,
870
+ contact_groups=[default_alarm_contact_group.alarm_contact_group_name],
871
+ effective_interval="06:00-20:00",
872
+ metric_dimensions=default_instance.id.apply(lambda id: f\"\"\" [
873
+ {{
874
+ "instanceId": "{id}",
875
+ "device": "/dev/vda1"
876
+ }}
877
+ ]
878
+ \"\"\"),
864
879
  escalations_critical=alicloud.cms.AlarmEscalationsCriticalArgs(
865
880
  statistics="Average",
866
881
  comparison_operator="<=",
867
882
  threshold="35",
868
883
  times=2,
869
- ),
870
- period=900,
871
- contact_groups=[default_alarm_contact_group.alarm_contact_group_name],
872
- effective_interval="06:00-20:00")
884
+ ))
873
885
  ```
874
886
 
875
887
  ## Import
@@ -0,0 +1,243 @@
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 pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+ from . import outputs
12
+
13
+ __all__ = [
14
+ 'GetSiteMonitorsResult',
15
+ 'AwaitableGetSiteMonitorsResult',
16
+ 'get_site_monitors',
17
+ 'get_site_monitors_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetSiteMonitorsResult:
22
+ """
23
+ A collection of values returned by getSiteMonitors.
24
+ """
25
+ def __init__(__self__, id=None, ids=None, monitors=None, output_file=None, task_id=None, task_type=None):
26
+ if id and not isinstance(id, str):
27
+ raise TypeError("Expected argument 'id' to be a str")
28
+ pulumi.set(__self__, "id", id)
29
+ if ids and not isinstance(ids, list):
30
+ raise TypeError("Expected argument 'ids' to be a list")
31
+ pulumi.set(__self__, "ids", ids)
32
+ if monitors and not isinstance(monitors, list):
33
+ raise TypeError("Expected argument 'monitors' to be a list")
34
+ pulumi.set(__self__, "monitors", monitors)
35
+ if output_file and not isinstance(output_file, str):
36
+ raise TypeError("Expected argument 'output_file' to be a str")
37
+ pulumi.set(__self__, "output_file", output_file)
38
+ if task_id and not isinstance(task_id, str):
39
+ raise TypeError("Expected argument 'task_id' to be a str")
40
+ pulumi.set(__self__, "task_id", task_id)
41
+ if task_type and not isinstance(task_type, str):
42
+ raise TypeError("Expected argument 'task_type' to be a str")
43
+ pulumi.set(__self__, "task_type", task_type)
44
+
45
+ @property
46
+ @pulumi.getter
47
+ def id(self) -> str:
48
+ """
49
+ The provider-assigned unique ID for this managed resource.
50
+ """
51
+ return pulumi.get(self, "id")
52
+
53
+ @property
54
+ @pulumi.getter
55
+ def ids(self) -> Sequence[str]:
56
+ """
57
+ A list of Site Monitor IDs.
58
+ """
59
+ return pulumi.get(self, "ids")
60
+
61
+ @property
62
+ @pulumi.getter
63
+ def monitors(self) -> Sequence['outputs.GetSiteMonitorsMonitorResult']:
64
+ """
65
+ A list of Site Monitor Entries. Each element contains the following attributes:
66
+ """
67
+ return pulumi.get(self, "monitors")
68
+
69
+ @property
70
+ @pulumi.getter(name="outputFile")
71
+ def output_file(self) -> Optional[str]:
72
+ return pulumi.get(self, "output_file")
73
+
74
+ @property
75
+ @pulumi.getter(name="taskId")
76
+ def task_id(self) -> Optional[str]:
77
+ """
78
+ Task Id.
79
+ """
80
+ return pulumi.get(self, "task_id")
81
+
82
+ @property
83
+ @pulumi.getter(name="taskType")
84
+ def task_type(self) -> Optional[str]:
85
+ """
86
+ Task Type.
87
+ """
88
+ return pulumi.get(self, "task_type")
89
+
90
+
91
+ class AwaitableGetSiteMonitorsResult(GetSiteMonitorsResult):
92
+ # pylint: disable=using-constant-test
93
+ def __await__(self):
94
+ if False:
95
+ yield self
96
+ return GetSiteMonitorsResult(
97
+ id=self.id,
98
+ ids=self.ids,
99
+ monitors=self.monitors,
100
+ output_file=self.output_file,
101
+ task_id=self.task_id,
102
+ task_type=self.task_type)
103
+
104
+
105
+ def get_site_monitors(ids: Optional[Sequence[str]] = None,
106
+ output_file: Optional[str] = None,
107
+ task_id: Optional[str] = None,
108
+ task_type: Optional[str] = None,
109
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSiteMonitorsResult:
110
+ """
111
+ This data source provides Cloud Monitor Service Site Monitor available to the user.[What is Site Monitor](https://www.alibabacloud.com/help/en/)
112
+
113
+ > **NOTE:** Available since v1.224.0.
114
+
115
+ ## Example Usage
116
+
117
+ ```python
118
+ import pulumi
119
+ import pulumi_alicloud as alicloud
120
+ import pulumi_random as random
121
+
122
+ config = pulumi.Config()
123
+ name = config.get("name")
124
+ if name is None:
125
+ name = "tf_example"
126
+ default_integer = random.index.Integer("default",
127
+ min=10000,
128
+ max=99999)
129
+ default_site_monitor = alicloud.cms.SiteMonitor("default",
130
+ address="http://www.alibabacloud.com",
131
+ task_name=f"terraform-example-{default_integer['result']}",
132
+ task_type="HTTP",
133
+ interval=5,
134
+ isp_cities=[alicloud.cms.SiteMonitorIspCityArgs(
135
+ city="546",
136
+ isp="465",
137
+ )],
138
+ options_json=\"\"\"{
139
+ "http_method": "get",
140
+ "waitTime_after_completion": null,
141
+ "ipv6_task": false,
142
+ "diagnosis_ping": false,
143
+ "diagnosis_mtr": false,
144
+ "assertions": [
145
+ {
146
+ "operator": "lessThan",
147
+ "type": "response_time",
148
+ "target": 1000
149
+ }
150
+ ],
151
+ "time_out": 30000
152
+ }
153
+ \"\"\")
154
+ default = alicloud.cms.get_site_monitors_output(ids=[default_site_monitor.id],
155
+ task_type="HTTP")
156
+ pulumi.export("alicloudCmsSiteMonitorExampleId", default.monitors[0].task_id)
157
+ ```
158
+
159
+
160
+ :param Sequence[str] ids: A list of Site Monitor IDs.
161
+ :param str output_file: File name where to save data source results (after running `pulumi preview`).
162
+ :param str task_id: Task ID.
163
+ :param str task_type: Task Type.
164
+ """
165
+ __args__ = dict()
166
+ __args__['ids'] = ids
167
+ __args__['outputFile'] = output_file
168
+ __args__['taskId'] = task_id
169
+ __args__['taskType'] = task_type
170
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
171
+ __ret__ = pulumi.runtime.invoke('alicloud:cms/getSiteMonitors:getSiteMonitors', __args__, opts=opts, typ=GetSiteMonitorsResult).value
172
+
173
+ return AwaitableGetSiteMonitorsResult(
174
+ id=pulumi.get(__ret__, 'id'),
175
+ ids=pulumi.get(__ret__, 'ids'),
176
+ monitors=pulumi.get(__ret__, 'monitors'),
177
+ output_file=pulumi.get(__ret__, 'output_file'),
178
+ task_id=pulumi.get(__ret__, 'task_id'),
179
+ task_type=pulumi.get(__ret__, 'task_type'))
180
+
181
+
182
+ @_utilities.lift_output_func(get_site_monitors)
183
+ def get_site_monitors_output(ids: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
184
+ output_file: Optional[pulumi.Input[Optional[str]]] = None,
185
+ task_id: Optional[pulumi.Input[Optional[str]]] = None,
186
+ task_type: Optional[pulumi.Input[Optional[str]]] = None,
187
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSiteMonitorsResult]:
188
+ """
189
+ This data source provides Cloud Monitor Service Site Monitor available to the user.[What is Site Monitor](https://www.alibabacloud.com/help/en/)
190
+
191
+ > **NOTE:** Available since v1.224.0.
192
+
193
+ ## Example Usage
194
+
195
+ ```python
196
+ import pulumi
197
+ import pulumi_alicloud as alicloud
198
+ import pulumi_random as random
199
+
200
+ config = pulumi.Config()
201
+ name = config.get("name")
202
+ if name is None:
203
+ name = "tf_example"
204
+ default_integer = random.index.Integer("default",
205
+ min=10000,
206
+ max=99999)
207
+ default_site_monitor = alicloud.cms.SiteMonitor("default",
208
+ address="http://www.alibabacloud.com",
209
+ task_name=f"terraform-example-{default_integer['result']}",
210
+ task_type="HTTP",
211
+ interval=5,
212
+ isp_cities=[alicloud.cms.SiteMonitorIspCityArgs(
213
+ city="546",
214
+ isp="465",
215
+ )],
216
+ options_json=\"\"\"{
217
+ "http_method": "get",
218
+ "waitTime_after_completion": null,
219
+ "ipv6_task": false,
220
+ "diagnosis_ping": false,
221
+ "diagnosis_mtr": false,
222
+ "assertions": [
223
+ {
224
+ "operator": "lessThan",
225
+ "type": "response_time",
226
+ "target": 1000
227
+ }
228
+ ],
229
+ "time_out": 30000
230
+ }
231
+ \"\"\")
232
+ default = alicloud.cms.get_site_monitors_output(ids=[default_site_monitor.id],
233
+ task_type="HTTP")
234
+ pulumi.export("alicloudCmsSiteMonitorExampleId", default.monitors[0].task_id)
235
+ ```
236
+
237
+
238
+ :param Sequence[str] ids: A list of Site Monitor IDs.
239
+ :param str output_file: File name where to save data source results (after running `pulumi preview`).
240
+ :param str task_id: Task ID.
241
+ :param str task_type: Task Type.
242
+ """
243
+ ...
@@ -82,6 +82,7 @@ __all__ = [
82
82
  'GetMonitorGroupInstancesInstanceInstanceResult',
83
83
  'GetMonitorGroupsGroupResult',
84
84
  'GetNamespacesNamespaceResult',
85
+ 'GetSiteMonitorsMonitorResult',
85
86
  'GetSlsGroupsGroupResult',
86
87
  'GetSlsGroupsGroupSlsGroupConfigResult',
87
88
  ]
@@ -111,7 +112,7 @@ class AlarmEscalationsCritical(dict):
111
112
  threshold: Optional[str] = None,
112
113
  times: Optional[int] = None):
113
114
  """
114
- :param str comparison_operator: Critical level alarm comparison operator. Default value: `==`. Valid values: ["<=", "<", ">", ">=", "==", "!="].
115
+ :param str comparison_operator: Critical level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.225.0, `comparison_operator` cannot be set to `==`.
115
116
  :param str statistics: Critical level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
116
117
  :param str threshold: Critical level alarm threshold value, which must be a numeric value currently.
117
118
  :param int times: Critical level alarm retry times. Default value: `3`.
@@ -129,7 +130,7 @@ class AlarmEscalationsCritical(dict):
129
130
  @pulumi.getter(name="comparisonOperator")
130
131
  def comparison_operator(self) -> Optional[str]:
131
132
  """
132
- Critical level alarm comparison operator. Default value: `==`. Valid values: ["<=", "<", ">", ">=", "==", "!="].
133
+ Critical level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.225.0, `comparison_operator` cannot be set to `==`.
133
134
  """
134
135
  return pulumi.get(self, "comparison_operator")
135
136
 
@@ -183,10 +184,10 @@ class AlarmEscalationsInfo(dict):
183
184
  threshold: Optional[str] = None,
184
185
  times: Optional[int] = None):
185
186
  """
186
- :param str comparison_operator: Critical level alarm comparison operator. Default value: `==`. Valid values: ["<=", "<", ">", ">=", "==", "!="].
187
- :param str statistics: Critical level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
188
- :param str threshold: Critical level alarm threshold value, which must be a numeric value currently.
189
- :param int times: Critical level alarm retry times. Default value: `3`.
187
+ :param str comparison_operator: Info level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.225.0, `comparison_operator` cannot be set to `==`.
188
+ :param str statistics: Info level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
189
+ :param str threshold: Info level alarm threshold value, which must be a numeric value currently.
190
+ :param int times: Info level alarm retry times. Default value: `3`.
190
191
  """
191
192
  if comparison_operator is not None:
192
193
  pulumi.set(__self__, "comparison_operator", comparison_operator)
@@ -201,7 +202,7 @@ class AlarmEscalationsInfo(dict):
201
202
  @pulumi.getter(name="comparisonOperator")
202
203
  def comparison_operator(self) -> Optional[str]:
203
204
  """
204
- Critical level alarm comparison operator. Default value: `==`. Valid values: ["<=", "<", ">", ">=", "==", "!="].
205
+ Info level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.225.0, `comparison_operator` cannot be set to `==`.
205
206
  """
206
207
  return pulumi.get(self, "comparison_operator")
207
208
 
@@ -209,7 +210,7 @@ class AlarmEscalationsInfo(dict):
209
210
  @pulumi.getter
210
211
  def statistics(self) -> Optional[str]:
211
212
  """
212
- Critical level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
213
+ Info level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
213
214
  """
214
215
  return pulumi.get(self, "statistics")
215
216
 
@@ -217,7 +218,7 @@ class AlarmEscalationsInfo(dict):
217
218
  @pulumi.getter
218
219
  def threshold(self) -> Optional[str]:
219
220
  """
220
- Critical level alarm threshold value, which must be a numeric value currently.
221
+ Info level alarm threshold value, which must be a numeric value currently.
221
222
  """
222
223
  return pulumi.get(self, "threshold")
223
224
 
@@ -225,7 +226,7 @@ class AlarmEscalationsInfo(dict):
225
226
  @pulumi.getter
226
227
  def times(self) -> Optional[int]:
227
228
  """
228
- Critical level alarm retry times. Default value: `3`.
229
+ Info level alarm retry times. Default value: `3`.
229
230
  """
230
231
  return pulumi.get(self, "times")
231
232
 
@@ -255,10 +256,10 @@ class AlarmEscalationsWarn(dict):
255
256
  threshold: Optional[str] = None,
256
257
  times: Optional[int] = None):
257
258
  """
258
- :param str comparison_operator: Critical level alarm comparison operator. Default value: `==`. Valid values: ["<=", "<", ">", ">=", "==", "!="].
259
- :param str statistics: Critical level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
260
- :param str threshold: Critical level alarm threshold value, which must be a numeric value currently.
261
- :param int times: Critical level alarm retry times. Default value: `3`.
259
+ :param str comparison_operator: Warn level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.225.0, `comparison_operator` cannot be set to `==`.
260
+ :param str statistics: Warn level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
261
+ :param str threshold: Warn level alarm threshold value, which must be a numeric value currently.
262
+ :param int times: Warn level alarm retry times. Default value: `3`.
262
263
  """
263
264
  if comparison_operator is not None:
264
265
  pulumi.set(__self__, "comparison_operator", comparison_operator)
@@ -273,7 +274,7 @@ class AlarmEscalationsWarn(dict):
273
274
  @pulumi.getter(name="comparisonOperator")
274
275
  def comparison_operator(self) -> Optional[str]:
275
276
  """
276
- Critical level alarm comparison operator. Default value: `==`. Valid values: ["<=", "<", ">", ">=", "==", "!="].
277
+ Warn level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.225.0, `comparison_operator` cannot be set to `==`.
277
278
  """
278
279
  return pulumi.get(self, "comparison_operator")
279
280
 
@@ -281,7 +282,7 @@ class AlarmEscalationsWarn(dict):
281
282
  @pulumi.getter
282
283
  def statistics(self) -> Optional[str]:
283
284
  """
284
- Critical level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
285
+ Warn level alarm statistics method. It must be consistent with that defined for metrics. For more information, see [How to use it](https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs).
285
286
  """
286
287
  return pulumi.get(self, "statistics")
287
288
 
@@ -289,7 +290,7 @@ class AlarmEscalationsWarn(dict):
289
290
  @pulumi.getter
290
291
  def threshold(self) -> Optional[str]:
291
292
  """
292
- Critical level alarm threshold value, which must be a numeric value currently.
293
+ Warn level alarm threshold value, which must be a numeric value currently.
293
294
  """
294
295
  return pulumi.get(self, "threshold")
295
296
 
@@ -297,7 +298,7 @@ class AlarmEscalationsWarn(dict):
297
298
  @pulumi.getter
298
299
  def times(self) -> Optional[int]:
299
300
  """
300
- Critical level alarm retry times. Default value: `3`.
301
+ Warn level alarm retry times. Default value: `3`.
301
302
  """
302
303
  return pulumi.get(self, "times")
303
304
 
@@ -4628,6 +4629,79 @@ class GetNamespacesNamespaceResult(dict):
4628
4629
  return pulumi.get(self, "specification")
4629
4630
 
4630
4631
 
4632
+ @pulumi.output_type
4633
+ class GetSiteMonitorsMonitorResult(dict):
4634
+ def __init__(__self__, *,
4635
+ address: str,
4636
+ create_time: str,
4637
+ interval: str,
4638
+ task_id: str,
4639
+ task_name: str,
4640
+ task_type: str):
4641
+ """
4642
+ :param str address: Address.
4643
+ :param str create_time: CreateTime.
4644
+ :param str interval: Monitoring frequency.
4645
+ :param str task_id: Task ID.
4646
+ :param str task_name: Task Name.
4647
+ :param str task_type: Task Type.
4648
+ """
4649
+ pulumi.set(__self__, "address", address)
4650
+ pulumi.set(__self__, "create_time", create_time)
4651
+ pulumi.set(__self__, "interval", interval)
4652
+ pulumi.set(__self__, "task_id", task_id)
4653
+ pulumi.set(__self__, "task_name", task_name)
4654
+ pulumi.set(__self__, "task_type", task_type)
4655
+
4656
+ @property
4657
+ @pulumi.getter
4658
+ def address(self) -> str:
4659
+ """
4660
+ Address.
4661
+ """
4662
+ return pulumi.get(self, "address")
4663
+
4664
+ @property
4665
+ @pulumi.getter(name="createTime")
4666
+ def create_time(self) -> str:
4667
+ """
4668
+ CreateTime.
4669
+ """
4670
+ return pulumi.get(self, "create_time")
4671
+
4672
+ @property
4673
+ @pulumi.getter
4674
+ def interval(self) -> str:
4675
+ """
4676
+ Monitoring frequency.
4677
+ """
4678
+ return pulumi.get(self, "interval")
4679
+
4680
+ @property
4681
+ @pulumi.getter(name="taskId")
4682
+ def task_id(self) -> str:
4683
+ """
4684
+ Task ID.
4685
+ """
4686
+ return pulumi.get(self, "task_id")
4687
+
4688
+ @property
4689
+ @pulumi.getter(name="taskName")
4690
+ def task_name(self) -> str:
4691
+ """
4692
+ Task Name.
4693
+ """
4694
+ return pulumi.get(self, "task_name")
4695
+
4696
+ @property
4697
+ @pulumi.getter(name="taskType")
4698
+ def task_type(self) -> str:
4699
+ """
4700
+ Task Type.
4701
+ """
4702
+ return pulumi.get(self, "task_type")
4703
+
4704
+
4631
4705
  @pulumi.output_type
4632
4706
  class GetSlsGroupsGroupResult(dict):
4633
4707
  def __init__(__self__, *,
@@ -131,7 +131,7 @@ class NodePoolArgs:
131
131
  :param pulumi.Input[str] node_name_mode: Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is `customized,,ip,`.
132
132
  - The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
133
133
  - The node IP address is the complete private IP address of the node.
134
- - For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun.192.168.xxx.xxx.com`.
134
+ - For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun192.168.xxx.xxxcom`.
135
135
  :param pulumi.Input[str] node_pool_name: The name of node pool.
136
136
  :param pulumi.Input[int] on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
137
137
  :param pulumi.Input[int] on_demand_percentage_above_base_capacity: The percentage of pay-as-you-go instances among the extra instances that exceed the number specified by `on_demand_base_capacity`. Valid values: 0 to 100.
@@ -731,7 +731,7 @@ class NodePoolArgs:
731
731
  Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is `customized,,ip,`.
732
732
  - The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
733
733
  - The node IP address is the complete private IP address of the node.
734
- - For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun.192.168.xxx.xxx.com`.
734
+ - For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun192.168.xxx.xxxcom`.
735
735
  """
736
736
  return pulumi.get(self, "node_name_mode")
737
737
 
@@ -1341,7 +1341,7 @@ class _NodePoolState:
1341
1341
  :param pulumi.Input[str] node_name_mode: Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is `customized,,ip,`.
1342
1342
  - The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
1343
1343
  - The node IP address is the complete private IP address of the node.
1344
- - For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun.192.168.xxx.xxx.com`.
1344
+ - For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun192.168.xxx.xxxcom`.
1345
1345
  :param pulumi.Input[str] node_pool_id: The first ID of the resource.
1346
1346
  :param pulumi.Input[str] node_pool_name: The name of node pool.
1347
1347
  :param pulumi.Input[int] on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
@@ -1939,7 +1939,7 @@ class _NodePoolState:
1939
1939
  Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is `customized,,ip,`.
1940
1940
  - The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
1941
1941
  - The node IP address is the complete private IP address of the node.
1942
- - For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun.192.168.xxx.xxx.com`.
1942
+ - For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun192.168.xxx.xxxcom`.
1943
1943
  """
1944
1944
  return pulumi.get(self, "node_name_mode")
1945
1945
 
@@ -2599,7 +2599,7 @@ class NodePool(pulumi.CustomResource):
2599
2599
  :param pulumi.Input[str] node_name_mode: Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is `customized,,ip,`.
2600
2600
  - The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
2601
2601
  - The node IP address is the complete private IP address of the node.
2602
- - For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun.192.168.xxx.xxx.com`.
2602
+ - For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun192.168.xxx.xxxcom`.
2603
2603
  :param pulumi.Input[str] node_pool_name: The name of node pool.
2604
2604
  :param pulumi.Input[int] on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
2605
2605
  :param pulumi.Input[int] on_demand_percentage_above_base_capacity: The percentage of pay-as-you-go instances among the extra instances that exceed the number specified by `on_demand_base_capacity`. Valid values: 0 to 100.
@@ -2975,7 +2975,7 @@ class NodePool(pulumi.CustomResource):
2975
2975
  :param pulumi.Input[str] node_name_mode: Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is `customized,,ip,`.
2976
2976
  - The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
2977
2977
  - The node IP address is the complete private IP address of the node.
2978
- - For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun.192.168.xxx.xxx.com`.
2978
+ - For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun192.168.xxx.xxxcom`.
2979
2979
  :param pulumi.Input[str] node_pool_id: The first ID of the resource.
2980
2980
  :param pulumi.Input[str] node_pool_name: The name of node pool.
2981
2981
  :param pulumi.Input[int] on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
@@ -3370,7 +3370,7 @@ class NodePool(pulumi.CustomResource):
3370
3370
  Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is `customized,,ip,`.
3371
3371
  - The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
3372
3372
  - The node IP address is the complete private IP address of the node.
3373
- - For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun.192.168.xxx.xxx.com`.
3373
+ - For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun192.168.xxx.xxxcom`.
3374
3374
  """
3375
3375
  return pulumi.get(self, "node_name_mode")
3376
3376