pulumi-alicloud 3.63.0a1727371922__py3-none-any.whl → 3.63.0a1727705137__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.
- pulumi_alicloud/__init__.py +24 -0
- pulumi_alicloud/alb/acl.py +18 -19
- pulumi_alicloud/alb/health_check_template.py +96 -88
- pulumi_alicloud/cms/_inputs.py +6 -6
- pulumi_alicloud/cms/outputs.py +6 -6
- pulumi_alicloud/ddos/_inputs.py +8 -9
- pulumi_alicloud/ddos/domain_resource.py +446 -90
- pulumi_alicloud/ddos/outputs.py +7 -8
- pulumi_alicloud/eci/container_group.py +47 -0
- pulumi_alicloud/ecs/ecs_snapshot.py +199 -77
- pulumi_alicloud/ecs/snapshot.py +26 -8
- pulumi_alicloud/ess/__init__.py +1 -0
- pulumi_alicloud/ess/alarm.py +47 -0
- pulumi_alicloud/ess/server_group_attachment.py +552 -0
- pulumi_alicloud/ga/_inputs.py +23 -5
- pulumi_alicloud/ga/outputs.py +21 -5
- pulumi_alicloud/governance/account.py +61 -0
- pulumi_alicloud/gpdb/__init__.py +4 -0
- pulumi_alicloud/gpdb/_inputs.py +361 -3
- pulumi_alicloud/gpdb/db_instance_ip_array.py +533 -0
- pulumi_alicloud/gpdb/get_data_backups.py +288 -0
- pulumi_alicloud/gpdb/get_log_backups.py +225 -0
- pulumi_alicloud/gpdb/instance.py +47 -0
- pulumi_alicloud/gpdb/outputs.py +597 -4
- pulumi_alicloud/gpdb/streaming_job.py +1568 -0
- pulumi_alicloud/nlb/load_balancer.py +116 -0
- pulumi_alicloud/oos/get_secret_parameters.py +111 -9
- pulumi_alicloud/oos/outputs.py +22 -11
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/get_account_alias.py +35 -2
- pulumi_alicloud/rds/instance.py +21 -21
- pulumi_alicloud/rocketmq/_inputs.py +79 -22
- pulumi_alicloud/rocketmq/outputs.py +85 -21
- pulumi_alicloud/rocketmq/rocket_mq_instance.py +307 -113
- pulumi_alicloud/vpc/peer_connection.py +127 -59
- pulumi_alicloud/vpc/peer_connection_accepter.py +263 -42
- pulumi_alicloud/vpc/route_entry.py +232 -210
- {pulumi_alicloud-3.63.0a1727371922.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.63.0a1727371922.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/RECORD +41 -36
- {pulumi_alicloud-3.63.0a1727371922.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.63.0a1727371922.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/top_level.txt +0 -0
|
@@ -29,19 +29,19 @@ class HealthCheckTemplateArgs:
|
|
|
29
29
|
unhealthy_threshold: Optional[pulumi.Input[int]] = None):
|
|
30
30
|
"""
|
|
31
31
|
The set of arguments for constructing a HealthCheckTemplate resource.
|
|
32
|
-
:param pulumi.Input[str] health_check_template_name: The name of the health check template.
|
|
32
|
+
:param pulumi.Input[str] health_check_template_name: The name of the health check template. The name must be `2` to `128` characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
|
|
33
33
|
:param pulumi.Input[bool] dry_run: Whether to precheck the API request.
|
|
34
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_codes: The HTTP status
|
|
35
|
-
:param pulumi.Input[int] health_check_connect_port: The
|
|
36
|
-
:param pulumi.Input[str] health_check_host: The domain name that is used for health checks.
|
|
37
|
-
:param pulumi.Input[str] health_check_http_version: The version of the HTTP protocol.
|
|
38
|
-
:param pulumi.Input[int] health_check_interval: The
|
|
39
|
-
:param pulumi.Input[str] health_check_method: The
|
|
40
|
-
:param pulumi.Input[str] health_check_path: The URL that is used for health checks.
|
|
41
|
-
:param pulumi.Input[str] health_check_protocol: The protocol that is used for health checks.
|
|
42
|
-
:param pulumi.Input[int] health_check_timeout: The timeout period of a health check
|
|
43
|
-
:param pulumi.Input[int] healthy_threshold: The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy
|
|
44
|
-
:param pulumi.Input[int] unhealthy_threshold: The number of times that
|
|
34
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_codes: The HTTP status codes that are used to indicate whether the backend server passes the health check. Default value: `http_2xx`. Valid values: `http_2xx`, `http_3xx`, `http_4xx`, and `http_5xx`. **NOTE:** `health_check_codes` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
35
|
+
:param pulumi.Input[int] health_check_connect_port: The port that is used for health checks. Default value: `0`. Valid values: `0` to `65535`.
|
|
36
|
+
:param pulumi.Input[str] health_check_host: The domain name that is used for health checks. **NOTE:** `health_check_host` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
37
|
+
:param pulumi.Input[str] health_check_http_version: The version of the HTTP protocol. Default value: `HTTP1.1`. Valid values: `HTTP1.0`, `HTTP1.1`. **NOTE:** `health_check_http_version` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
38
|
+
:param pulumi.Input[int] health_check_interval: The interval at which health checks are performed. Unit: seconds. Default value: `2`. Valid values: `1` to `50`.
|
|
39
|
+
:param pulumi.Input[str] health_check_method: The HTTP method that is used for health checks. Default value: `HEAD`. Valid values: `HEAD`, `GET`. **NOTE:** `health_check_method` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
40
|
+
:param pulumi.Input[str] health_check_path: The URL that is used for health checks. **NOTE:** `health_check_path` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
41
|
+
:param pulumi.Input[str] health_check_protocol: The protocol that is used for health checks. Default value: `HTTP`. Valid values: `HTTP`, `TCP`.
|
|
42
|
+
:param pulumi.Input[int] health_check_timeout: The timeout period of a health check. Default value: `5`. Valid values: `1` to `300`.
|
|
43
|
+
:param pulumi.Input[int] healthy_threshold: The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. Default value: `3`. Valid values: `2` to `10`.
|
|
44
|
+
:param pulumi.Input[int] unhealthy_threshold: The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. Default value: `3`. Valid values: `2` to `10`.
|
|
45
45
|
"""
|
|
46
46
|
pulumi.set(__self__, "health_check_template_name", health_check_template_name)
|
|
47
47
|
if dry_run is not None:
|
|
@@ -73,7 +73,7 @@ class HealthCheckTemplateArgs:
|
|
|
73
73
|
@pulumi.getter(name="healthCheckTemplateName")
|
|
74
74
|
def health_check_template_name(self) -> pulumi.Input[str]:
|
|
75
75
|
"""
|
|
76
|
-
The name of the health check template.
|
|
76
|
+
The name of the health check template. The name must be `2` to `128` characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
|
|
77
77
|
"""
|
|
78
78
|
return pulumi.get(self, "health_check_template_name")
|
|
79
79
|
|
|
@@ -97,7 +97,7 @@ class HealthCheckTemplateArgs:
|
|
|
97
97
|
@pulumi.getter(name="healthCheckCodes")
|
|
98
98
|
def health_check_codes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
99
99
|
"""
|
|
100
|
-
The HTTP status
|
|
100
|
+
The HTTP status codes that are used to indicate whether the backend server passes the health check. Default value: `http_2xx`. Valid values: `http_2xx`, `http_3xx`, `http_4xx`, and `http_5xx`. **NOTE:** `health_check_codes` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
101
101
|
"""
|
|
102
102
|
return pulumi.get(self, "health_check_codes")
|
|
103
103
|
|
|
@@ -109,7 +109,7 @@ class HealthCheckTemplateArgs:
|
|
|
109
109
|
@pulumi.getter(name="healthCheckConnectPort")
|
|
110
110
|
def health_check_connect_port(self) -> Optional[pulumi.Input[int]]:
|
|
111
111
|
"""
|
|
112
|
-
The
|
|
112
|
+
The port that is used for health checks. Default value: `0`. Valid values: `0` to `65535`.
|
|
113
113
|
"""
|
|
114
114
|
return pulumi.get(self, "health_check_connect_port")
|
|
115
115
|
|
|
@@ -121,7 +121,7 @@ class HealthCheckTemplateArgs:
|
|
|
121
121
|
@pulumi.getter(name="healthCheckHost")
|
|
122
122
|
def health_check_host(self) -> Optional[pulumi.Input[str]]:
|
|
123
123
|
"""
|
|
124
|
-
The domain name that is used for health checks.
|
|
124
|
+
The domain name that is used for health checks. **NOTE:** `health_check_host` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
125
125
|
"""
|
|
126
126
|
return pulumi.get(self, "health_check_host")
|
|
127
127
|
|
|
@@ -133,7 +133,7 @@ class HealthCheckTemplateArgs:
|
|
|
133
133
|
@pulumi.getter(name="healthCheckHttpVersion")
|
|
134
134
|
def health_check_http_version(self) -> Optional[pulumi.Input[str]]:
|
|
135
135
|
"""
|
|
136
|
-
The version of the HTTP protocol.
|
|
136
|
+
The version of the HTTP protocol. Default value: `HTTP1.1`. Valid values: `HTTP1.0`, `HTTP1.1`. **NOTE:** `health_check_http_version` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
137
137
|
"""
|
|
138
138
|
return pulumi.get(self, "health_check_http_version")
|
|
139
139
|
|
|
@@ -145,7 +145,7 @@ class HealthCheckTemplateArgs:
|
|
|
145
145
|
@pulumi.getter(name="healthCheckInterval")
|
|
146
146
|
def health_check_interval(self) -> Optional[pulumi.Input[int]]:
|
|
147
147
|
"""
|
|
148
|
-
The
|
|
148
|
+
The interval at which health checks are performed. Unit: seconds. Default value: `2`. Valid values: `1` to `50`.
|
|
149
149
|
"""
|
|
150
150
|
return pulumi.get(self, "health_check_interval")
|
|
151
151
|
|
|
@@ -157,7 +157,7 @@ class HealthCheckTemplateArgs:
|
|
|
157
157
|
@pulumi.getter(name="healthCheckMethod")
|
|
158
158
|
def health_check_method(self) -> Optional[pulumi.Input[str]]:
|
|
159
159
|
"""
|
|
160
|
-
The
|
|
160
|
+
The HTTP method that is used for health checks. Default value: `HEAD`. Valid values: `HEAD`, `GET`. **NOTE:** `health_check_method` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
161
161
|
"""
|
|
162
162
|
return pulumi.get(self, "health_check_method")
|
|
163
163
|
|
|
@@ -169,7 +169,7 @@ class HealthCheckTemplateArgs:
|
|
|
169
169
|
@pulumi.getter(name="healthCheckPath")
|
|
170
170
|
def health_check_path(self) -> Optional[pulumi.Input[str]]:
|
|
171
171
|
"""
|
|
172
|
-
The URL that is used for health checks.
|
|
172
|
+
The URL that is used for health checks. **NOTE:** `health_check_path` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
173
173
|
"""
|
|
174
174
|
return pulumi.get(self, "health_check_path")
|
|
175
175
|
|
|
@@ -181,7 +181,7 @@ class HealthCheckTemplateArgs:
|
|
|
181
181
|
@pulumi.getter(name="healthCheckProtocol")
|
|
182
182
|
def health_check_protocol(self) -> Optional[pulumi.Input[str]]:
|
|
183
183
|
"""
|
|
184
|
-
The protocol that is used for health checks.
|
|
184
|
+
The protocol that is used for health checks. Default value: `HTTP`. Valid values: `HTTP`, `TCP`.
|
|
185
185
|
"""
|
|
186
186
|
return pulumi.get(self, "health_check_protocol")
|
|
187
187
|
|
|
@@ -193,7 +193,7 @@ class HealthCheckTemplateArgs:
|
|
|
193
193
|
@pulumi.getter(name="healthCheckTimeout")
|
|
194
194
|
def health_check_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
195
195
|
"""
|
|
196
|
-
The timeout period of a health check
|
|
196
|
+
The timeout period of a health check. Default value: `5`. Valid values: `1` to `300`.
|
|
197
197
|
"""
|
|
198
198
|
return pulumi.get(self, "health_check_timeout")
|
|
199
199
|
|
|
@@ -205,7 +205,7 @@ class HealthCheckTemplateArgs:
|
|
|
205
205
|
@pulumi.getter(name="healthyThreshold")
|
|
206
206
|
def healthy_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
207
207
|
"""
|
|
208
|
-
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy
|
|
208
|
+
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. Default value: `3`. Valid values: `2` to `10`.
|
|
209
209
|
"""
|
|
210
210
|
return pulumi.get(self, "healthy_threshold")
|
|
211
211
|
|
|
@@ -217,7 +217,7 @@ class HealthCheckTemplateArgs:
|
|
|
217
217
|
@pulumi.getter(name="unhealthyThreshold")
|
|
218
218
|
def unhealthy_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
219
219
|
"""
|
|
220
|
-
The number of times that
|
|
220
|
+
The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. Default value: `3`. Valid values: `2` to `10`.
|
|
221
221
|
"""
|
|
222
222
|
return pulumi.get(self, "unhealthy_threshold")
|
|
223
223
|
|
|
@@ -245,18 +245,18 @@ class _HealthCheckTemplateState:
|
|
|
245
245
|
"""
|
|
246
246
|
Input properties used for looking up and filtering HealthCheckTemplate resources.
|
|
247
247
|
:param pulumi.Input[bool] dry_run: Whether to precheck the API request.
|
|
248
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_codes: The HTTP status
|
|
249
|
-
:param pulumi.Input[int] health_check_connect_port: The
|
|
250
|
-
:param pulumi.Input[str] health_check_host: The domain name that is used for health checks.
|
|
251
|
-
:param pulumi.Input[str] health_check_http_version: The version of the HTTP protocol.
|
|
252
|
-
:param pulumi.Input[int] health_check_interval: The
|
|
253
|
-
:param pulumi.Input[str] health_check_method: The
|
|
254
|
-
:param pulumi.Input[str] health_check_path: The URL that is used for health checks.
|
|
255
|
-
:param pulumi.Input[str] health_check_protocol: The protocol that is used for health checks.
|
|
256
|
-
:param pulumi.Input[str] health_check_template_name: The name of the health check template.
|
|
257
|
-
:param pulumi.Input[int] health_check_timeout: The timeout period of a health check
|
|
258
|
-
:param pulumi.Input[int] healthy_threshold: The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy
|
|
259
|
-
:param pulumi.Input[int] unhealthy_threshold: The number of times that
|
|
248
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_codes: The HTTP status codes that are used to indicate whether the backend server passes the health check. Default value: `http_2xx`. Valid values: `http_2xx`, `http_3xx`, `http_4xx`, and `http_5xx`. **NOTE:** `health_check_codes` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
249
|
+
:param pulumi.Input[int] health_check_connect_port: The port that is used for health checks. Default value: `0`. Valid values: `0` to `65535`.
|
|
250
|
+
:param pulumi.Input[str] health_check_host: The domain name that is used for health checks. **NOTE:** `health_check_host` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
251
|
+
:param pulumi.Input[str] health_check_http_version: The version of the HTTP protocol. Default value: `HTTP1.1`. Valid values: `HTTP1.0`, `HTTP1.1`. **NOTE:** `health_check_http_version` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
252
|
+
:param pulumi.Input[int] health_check_interval: The interval at which health checks are performed. Unit: seconds. Default value: `2`. Valid values: `1` to `50`.
|
|
253
|
+
:param pulumi.Input[str] health_check_method: The HTTP method that is used for health checks. Default value: `HEAD`. Valid values: `HEAD`, `GET`. **NOTE:** `health_check_method` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
254
|
+
:param pulumi.Input[str] health_check_path: The URL that is used for health checks. **NOTE:** `health_check_path` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
255
|
+
:param pulumi.Input[str] health_check_protocol: The protocol that is used for health checks. Default value: `HTTP`. Valid values: `HTTP`, `TCP`.
|
|
256
|
+
:param pulumi.Input[str] health_check_template_name: The name of the health check template. The name must be `2` to `128` characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
|
|
257
|
+
:param pulumi.Input[int] health_check_timeout: The timeout period of a health check. Default value: `5`. Valid values: `1` to `300`.
|
|
258
|
+
:param pulumi.Input[int] healthy_threshold: The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. Default value: `3`. Valid values: `2` to `10`.
|
|
259
|
+
:param pulumi.Input[int] unhealthy_threshold: The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. Default value: `3`. Valid values: `2` to `10`.
|
|
260
260
|
"""
|
|
261
261
|
if dry_run is not None:
|
|
262
262
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
@@ -301,7 +301,7 @@ class _HealthCheckTemplateState:
|
|
|
301
301
|
@pulumi.getter(name="healthCheckCodes")
|
|
302
302
|
def health_check_codes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
303
303
|
"""
|
|
304
|
-
The HTTP status
|
|
304
|
+
The HTTP status codes that are used to indicate whether the backend server passes the health check. Default value: `http_2xx`. Valid values: `http_2xx`, `http_3xx`, `http_4xx`, and `http_5xx`. **NOTE:** `health_check_codes` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
305
305
|
"""
|
|
306
306
|
return pulumi.get(self, "health_check_codes")
|
|
307
307
|
|
|
@@ -313,7 +313,7 @@ class _HealthCheckTemplateState:
|
|
|
313
313
|
@pulumi.getter(name="healthCheckConnectPort")
|
|
314
314
|
def health_check_connect_port(self) -> Optional[pulumi.Input[int]]:
|
|
315
315
|
"""
|
|
316
|
-
The
|
|
316
|
+
The port that is used for health checks. Default value: `0`. Valid values: `0` to `65535`.
|
|
317
317
|
"""
|
|
318
318
|
return pulumi.get(self, "health_check_connect_port")
|
|
319
319
|
|
|
@@ -325,7 +325,7 @@ class _HealthCheckTemplateState:
|
|
|
325
325
|
@pulumi.getter(name="healthCheckHost")
|
|
326
326
|
def health_check_host(self) -> Optional[pulumi.Input[str]]:
|
|
327
327
|
"""
|
|
328
|
-
The domain name that is used for health checks.
|
|
328
|
+
The domain name that is used for health checks. **NOTE:** `health_check_host` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
329
329
|
"""
|
|
330
330
|
return pulumi.get(self, "health_check_host")
|
|
331
331
|
|
|
@@ -337,7 +337,7 @@ class _HealthCheckTemplateState:
|
|
|
337
337
|
@pulumi.getter(name="healthCheckHttpVersion")
|
|
338
338
|
def health_check_http_version(self) -> Optional[pulumi.Input[str]]:
|
|
339
339
|
"""
|
|
340
|
-
The version of the HTTP protocol.
|
|
340
|
+
The version of the HTTP protocol. Default value: `HTTP1.1`. Valid values: `HTTP1.0`, `HTTP1.1`. **NOTE:** `health_check_http_version` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
341
341
|
"""
|
|
342
342
|
return pulumi.get(self, "health_check_http_version")
|
|
343
343
|
|
|
@@ -349,7 +349,7 @@ class _HealthCheckTemplateState:
|
|
|
349
349
|
@pulumi.getter(name="healthCheckInterval")
|
|
350
350
|
def health_check_interval(self) -> Optional[pulumi.Input[int]]:
|
|
351
351
|
"""
|
|
352
|
-
The
|
|
352
|
+
The interval at which health checks are performed. Unit: seconds. Default value: `2`. Valid values: `1` to `50`.
|
|
353
353
|
"""
|
|
354
354
|
return pulumi.get(self, "health_check_interval")
|
|
355
355
|
|
|
@@ -361,7 +361,7 @@ class _HealthCheckTemplateState:
|
|
|
361
361
|
@pulumi.getter(name="healthCheckMethod")
|
|
362
362
|
def health_check_method(self) -> Optional[pulumi.Input[str]]:
|
|
363
363
|
"""
|
|
364
|
-
The
|
|
364
|
+
The HTTP method that is used for health checks. Default value: `HEAD`. Valid values: `HEAD`, `GET`. **NOTE:** `health_check_method` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
365
365
|
"""
|
|
366
366
|
return pulumi.get(self, "health_check_method")
|
|
367
367
|
|
|
@@ -373,7 +373,7 @@ class _HealthCheckTemplateState:
|
|
|
373
373
|
@pulumi.getter(name="healthCheckPath")
|
|
374
374
|
def health_check_path(self) -> Optional[pulumi.Input[str]]:
|
|
375
375
|
"""
|
|
376
|
-
The URL that is used for health checks.
|
|
376
|
+
The URL that is used for health checks. **NOTE:** `health_check_path` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
377
377
|
"""
|
|
378
378
|
return pulumi.get(self, "health_check_path")
|
|
379
379
|
|
|
@@ -385,7 +385,7 @@ class _HealthCheckTemplateState:
|
|
|
385
385
|
@pulumi.getter(name="healthCheckProtocol")
|
|
386
386
|
def health_check_protocol(self) -> Optional[pulumi.Input[str]]:
|
|
387
387
|
"""
|
|
388
|
-
The protocol that is used for health checks.
|
|
388
|
+
The protocol that is used for health checks. Default value: `HTTP`. Valid values: `HTTP`, `TCP`.
|
|
389
389
|
"""
|
|
390
390
|
return pulumi.get(self, "health_check_protocol")
|
|
391
391
|
|
|
@@ -397,7 +397,7 @@ class _HealthCheckTemplateState:
|
|
|
397
397
|
@pulumi.getter(name="healthCheckTemplateName")
|
|
398
398
|
def health_check_template_name(self) -> Optional[pulumi.Input[str]]:
|
|
399
399
|
"""
|
|
400
|
-
The name of the health check template.
|
|
400
|
+
The name of the health check template. The name must be `2` to `128` characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
|
|
401
401
|
"""
|
|
402
402
|
return pulumi.get(self, "health_check_template_name")
|
|
403
403
|
|
|
@@ -409,7 +409,7 @@ class _HealthCheckTemplateState:
|
|
|
409
409
|
@pulumi.getter(name="healthCheckTimeout")
|
|
410
410
|
def health_check_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
411
411
|
"""
|
|
412
|
-
The timeout period of a health check
|
|
412
|
+
The timeout period of a health check. Default value: `5`. Valid values: `1` to `300`.
|
|
413
413
|
"""
|
|
414
414
|
return pulumi.get(self, "health_check_timeout")
|
|
415
415
|
|
|
@@ -421,7 +421,7 @@ class _HealthCheckTemplateState:
|
|
|
421
421
|
@pulumi.getter(name="healthyThreshold")
|
|
422
422
|
def healthy_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
423
423
|
"""
|
|
424
|
-
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy
|
|
424
|
+
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. Default value: `3`. Valid values: `2` to `10`.
|
|
425
425
|
"""
|
|
426
426
|
return pulumi.get(self, "healthy_threshold")
|
|
427
427
|
|
|
@@ -433,7 +433,7 @@ class _HealthCheckTemplateState:
|
|
|
433
433
|
@pulumi.getter(name="unhealthyThreshold")
|
|
434
434
|
def unhealthy_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
435
435
|
"""
|
|
436
|
-
The number of times that
|
|
436
|
+
The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. Default value: `3`. Valid values: `2` to `10`.
|
|
437
437
|
"""
|
|
438
438
|
return pulumi.get(self, "unhealthy_threshold")
|
|
439
439
|
|
|
@@ -462,7 +462,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
462
462
|
unhealthy_threshold: Optional[pulumi.Input[int]] = None,
|
|
463
463
|
__props__=None):
|
|
464
464
|
"""
|
|
465
|
-
Provides
|
|
465
|
+
Provides an Application Load Balancer (ALB) Health Check Template resource.
|
|
466
466
|
|
|
467
467
|
For information about Application Load Balancer (ALB) Health Check Template and how to use it, see [What is Health Check Template](https://www.alibabacloud.com/help/en/slb/application-load-balancer/developer-reference/api-alb-2020-06-16-createhealthchecktemplate).
|
|
468
468
|
|
|
@@ -476,7 +476,11 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
476
476
|
import pulumi
|
|
477
477
|
import pulumi_alicloud as alicloud
|
|
478
478
|
|
|
479
|
-
|
|
479
|
+
config = pulumi.Config()
|
|
480
|
+
name = config.get("name")
|
|
481
|
+
if name is None:
|
|
482
|
+
name = "terraform-example"
|
|
483
|
+
example = alicloud.alb.HealthCheckTemplate("example", health_check_template_name=name)
|
|
480
484
|
```
|
|
481
485
|
|
|
482
486
|
## Import
|
|
@@ -490,18 +494,18 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
490
494
|
:param str resource_name: The name of the resource.
|
|
491
495
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
492
496
|
:param pulumi.Input[bool] dry_run: Whether to precheck the API request.
|
|
493
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_codes: The HTTP status
|
|
494
|
-
:param pulumi.Input[int] health_check_connect_port: The
|
|
495
|
-
:param pulumi.Input[str] health_check_host: The domain name that is used for health checks.
|
|
496
|
-
:param pulumi.Input[str] health_check_http_version: The version of the HTTP protocol.
|
|
497
|
-
:param pulumi.Input[int] health_check_interval: The
|
|
498
|
-
:param pulumi.Input[str] health_check_method: The
|
|
499
|
-
:param pulumi.Input[str] health_check_path: The URL that is used for health checks.
|
|
500
|
-
:param pulumi.Input[str] health_check_protocol: The protocol that is used for health checks.
|
|
501
|
-
:param pulumi.Input[str] health_check_template_name: The name of the health check template.
|
|
502
|
-
:param pulumi.Input[int] health_check_timeout: The timeout period of a health check
|
|
503
|
-
:param pulumi.Input[int] healthy_threshold: The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy
|
|
504
|
-
:param pulumi.Input[int] unhealthy_threshold: The number of times that
|
|
497
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_codes: The HTTP status codes that are used to indicate whether the backend server passes the health check. Default value: `http_2xx`. Valid values: `http_2xx`, `http_3xx`, `http_4xx`, and `http_5xx`. **NOTE:** `health_check_codes` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
498
|
+
:param pulumi.Input[int] health_check_connect_port: The port that is used for health checks. Default value: `0`. Valid values: `0` to `65535`.
|
|
499
|
+
:param pulumi.Input[str] health_check_host: The domain name that is used for health checks. **NOTE:** `health_check_host` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
500
|
+
:param pulumi.Input[str] health_check_http_version: The version of the HTTP protocol. Default value: `HTTP1.1`. Valid values: `HTTP1.0`, `HTTP1.1`. **NOTE:** `health_check_http_version` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
501
|
+
:param pulumi.Input[int] health_check_interval: The interval at which health checks are performed. Unit: seconds. Default value: `2`. Valid values: `1` to `50`.
|
|
502
|
+
:param pulumi.Input[str] health_check_method: The HTTP method that is used for health checks. Default value: `HEAD`. Valid values: `HEAD`, `GET`. **NOTE:** `health_check_method` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
503
|
+
:param pulumi.Input[str] health_check_path: The URL that is used for health checks. **NOTE:** `health_check_path` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
504
|
+
:param pulumi.Input[str] health_check_protocol: The protocol that is used for health checks. Default value: `HTTP`. Valid values: `HTTP`, `TCP`.
|
|
505
|
+
:param pulumi.Input[str] health_check_template_name: The name of the health check template. The name must be `2` to `128` characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
|
|
506
|
+
:param pulumi.Input[int] health_check_timeout: The timeout period of a health check. Default value: `5`. Valid values: `1` to `300`.
|
|
507
|
+
:param pulumi.Input[int] healthy_threshold: The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. Default value: `3`. Valid values: `2` to `10`.
|
|
508
|
+
:param pulumi.Input[int] unhealthy_threshold: The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. Default value: `3`. Valid values: `2` to `10`.
|
|
505
509
|
"""
|
|
506
510
|
...
|
|
507
511
|
@overload
|
|
@@ -510,7 +514,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
510
514
|
args: HealthCheckTemplateArgs,
|
|
511
515
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
512
516
|
"""
|
|
513
|
-
Provides
|
|
517
|
+
Provides an Application Load Balancer (ALB) Health Check Template resource.
|
|
514
518
|
|
|
515
519
|
For information about Application Load Balancer (ALB) Health Check Template and how to use it, see [What is Health Check Template](https://www.alibabacloud.com/help/en/slb/application-load-balancer/developer-reference/api-alb-2020-06-16-createhealthchecktemplate).
|
|
516
520
|
|
|
@@ -524,7 +528,11 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
524
528
|
import pulumi
|
|
525
529
|
import pulumi_alicloud as alicloud
|
|
526
530
|
|
|
527
|
-
|
|
531
|
+
config = pulumi.Config()
|
|
532
|
+
name = config.get("name")
|
|
533
|
+
if name is None:
|
|
534
|
+
name = "terraform-example"
|
|
535
|
+
example = alicloud.alb.HealthCheckTemplate("example", health_check_template_name=name)
|
|
528
536
|
```
|
|
529
537
|
|
|
530
538
|
## Import
|
|
@@ -618,18 +626,18 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
618
626
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
619
627
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
620
628
|
:param pulumi.Input[bool] dry_run: Whether to precheck the API request.
|
|
621
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_codes: The HTTP status
|
|
622
|
-
:param pulumi.Input[int] health_check_connect_port: The
|
|
623
|
-
:param pulumi.Input[str] health_check_host: The domain name that is used for health checks.
|
|
624
|
-
:param pulumi.Input[str] health_check_http_version: The version of the HTTP protocol.
|
|
625
|
-
:param pulumi.Input[int] health_check_interval: The
|
|
626
|
-
:param pulumi.Input[str] health_check_method: The
|
|
627
|
-
:param pulumi.Input[str] health_check_path: The URL that is used for health checks.
|
|
628
|
-
:param pulumi.Input[str] health_check_protocol: The protocol that is used for health checks.
|
|
629
|
-
:param pulumi.Input[str] health_check_template_name: The name of the health check template.
|
|
630
|
-
:param pulumi.Input[int] health_check_timeout: The timeout period of a health check
|
|
631
|
-
:param pulumi.Input[int] healthy_threshold: The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy
|
|
632
|
-
:param pulumi.Input[int] unhealthy_threshold: The number of times that
|
|
629
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_codes: The HTTP status codes that are used to indicate whether the backend server passes the health check. Default value: `http_2xx`. Valid values: `http_2xx`, `http_3xx`, `http_4xx`, and `http_5xx`. **NOTE:** `health_check_codes` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
630
|
+
:param pulumi.Input[int] health_check_connect_port: The port that is used for health checks. Default value: `0`. Valid values: `0` to `65535`.
|
|
631
|
+
:param pulumi.Input[str] health_check_host: The domain name that is used for health checks. **NOTE:** `health_check_host` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
632
|
+
:param pulumi.Input[str] health_check_http_version: The version of the HTTP protocol. Default value: `HTTP1.1`. Valid values: `HTTP1.0`, `HTTP1.1`. **NOTE:** `health_check_http_version` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
633
|
+
:param pulumi.Input[int] health_check_interval: The interval at which health checks are performed. Unit: seconds. Default value: `2`. Valid values: `1` to `50`.
|
|
634
|
+
:param pulumi.Input[str] health_check_method: The HTTP method that is used for health checks. Default value: `HEAD`. Valid values: `HEAD`, `GET`. **NOTE:** `health_check_method` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
635
|
+
:param pulumi.Input[str] health_check_path: The URL that is used for health checks. **NOTE:** `health_check_path` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
636
|
+
:param pulumi.Input[str] health_check_protocol: The protocol that is used for health checks. Default value: `HTTP`. Valid values: `HTTP`, `TCP`.
|
|
637
|
+
:param pulumi.Input[str] health_check_template_name: The name of the health check template. The name must be `2` to `128` characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
|
|
638
|
+
:param pulumi.Input[int] health_check_timeout: The timeout period of a health check. Default value: `5`. Valid values: `1` to `300`.
|
|
639
|
+
:param pulumi.Input[int] healthy_threshold: The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. Default value: `3`. Valid values: `2` to `10`.
|
|
640
|
+
:param pulumi.Input[int] unhealthy_threshold: The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. Default value: `3`. Valid values: `2` to `10`.
|
|
633
641
|
"""
|
|
634
642
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
635
643
|
|
|
@@ -662,7 +670,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
662
670
|
@pulumi.getter(name="healthCheckCodes")
|
|
663
671
|
def health_check_codes(self) -> pulumi.Output[Sequence[str]]:
|
|
664
672
|
"""
|
|
665
|
-
The HTTP status
|
|
673
|
+
The HTTP status codes that are used to indicate whether the backend server passes the health check. Default value: `http_2xx`. Valid values: `http_2xx`, `http_3xx`, `http_4xx`, and `http_5xx`. **NOTE:** `health_check_codes` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
666
674
|
"""
|
|
667
675
|
return pulumi.get(self, "health_check_codes")
|
|
668
676
|
|
|
@@ -670,7 +678,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
670
678
|
@pulumi.getter(name="healthCheckConnectPort")
|
|
671
679
|
def health_check_connect_port(self) -> pulumi.Output[int]:
|
|
672
680
|
"""
|
|
673
|
-
The
|
|
681
|
+
The port that is used for health checks. Default value: `0`. Valid values: `0` to `65535`.
|
|
674
682
|
"""
|
|
675
683
|
return pulumi.get(self, "health_check_connect_port")
|
|
676
684
|
|
|
@@ -678,7 +686,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
678
686
|
@pulumi.getter(name="healthCheckHost")
|
|
679
687
|
def health_check_host(self) -> pulumi.Output[str]:
|
|
680
688
|
"""
|
|
681
|
-
The domain name that is used for health checks.
|
|
689
|
+
The domain name that is used for health checks. **NOTE:** `health_check_host` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
682
690
|
"""
|
|
683
691
|
return pulumi.get(self, "health_check_host")
|
|
684
692
|
|
|
@@ -686,7 +694,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
686
694
|
@pulumi.getter(name="healthCheckHttpVersion")
|
|
687
695
|
def health_check_http_version(self) -> pulumi.Output[str]:
|
|
688
696
|
"""
|
|
689
|
-
The version of the HTTP protocol.
|
|
697
|
+
The version of the HTTP protocol. Default value: `HTTP1.1`. Valid values: `HTTP1.0`, `HTTP1.1`. **NOTE:** `health_check_http_version` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
690
698
|
"""
|
|
691
699
|
return pulumi.get(self, "health_check_http_version")
|
|
692
700
|
|
|
@@ -694,7 +702,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
694
702
|
@pulumi.getter(name="healthCheckInterval")
|
|
695
703
|
def health_check_interval(self) -> pulumi.Output[int]:
|
|
696
704
|
"""
|
|
697
|
-
The
|
|
705
|
+
The interval at which health checks are performed. Unit: seconds. Default value: `2`. Valid values: `1` to `50`.
|
|
698
706
|
"""
|
|
699
707
|
return pulumi.get(self, "health_check_interval")
|
|
700
708
|
|
|
@@ -702,7 +710,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
702
710
|
@pulumi.getter(name="healthCheckMethod")
|
|
703
711
|
def health_check_method(self) -> pulumi.Output[str]:
|
|
704
712
|
"""
|
|
705
|
-
The
|
|
713
|
+
The HTTP method that is used for health checks. Default value: `HEAD`. Valid values: `HEAD`, `GET`. **NOTE:** `health_check_method` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
706
714
|
"""
|
|
707
715
|
return pulumi.get(self, "health_check_method")
|
|
708
716
|
|
|
@@ -710,7 +718,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
710
718
|
@pulumi.getter(name="healthCheckPath")
|
|
711
719
|
def health_check_path(self) -> pulumi.Output[str]:
|
|
712
720
|
"""
|
|
713
|
-
The URL that is used for health checks.
|
|
721
|
+
The URL that is used for health checks. **NOTE:** `health_check_path` takes effect only if `health_check_protocol` is set to `HTTP`.
|
|
714
722
|
"""
|
|
715
723
|
return pulumi.get(self, "health_check_path")
|
|
716
724
|
|
|
@@ -718,7 +726,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
718
726
|
@pulumi.getter(name="healthCheckProtocol")
|
|
719
727
|
def health_check_protocol(self) -> pulumi.Output[str]:
|
|
720
728
|
"""
|
|
721
|
-
The protocol that is used for health checks.
|
|
729
|
+
The protocol that is used for health checks. Default value: `HTTP`. Valid values: `HTTP`, `TCP`.
|
|
722
730
|
"""
|
|
723
731
|
return pulumi.get(self, "health_check_protocol")
|
|
724
732
|
|
|
@@ -726,7 +734,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
726
734
|
@pulumi.getter(name="healthCheckTemplateName")
|
|
727
735
|
def health_check_template_name(self) -> pulumi.Output[str]:
|
|
728
736
|
"""
|
|
729
|
-
The name of the health check template.
|
|
737
|
+
The name of the health check template. The name must be `2` to `128` characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
|
|
730
738
|
"""
|
|
731
739
|
return pulumi.get(self, "health_check_template_name")
|
|
732
740
|
|
|
@@ -734,7 +742,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
734
742
|
@pulumi.getter(name="healthCheckTimeout")
|
|
735
743
|
def health_check_timeout(self) -> pulumi.Output[int]:
|
|
736
744
|
"""
|
|
737
|
-
The timeout period of a health check
|
|
745
|
+
The timeout period of a health check. Default value: `5`. Valid values: `1` to `300`.
|
|
738
746
|
"""
|
|
739
747
|
return pulumi.get(self, "health_check_timeout")
|
|
740
748
|
|
|
@@ -742,7 +750,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
742
750
|
@pulumi.getter(name="healthyThreshold")
|
|
743
751
|
def healthy_threshold(self) -> pulumi.Output[int]:
|
|
744
752
|
"""
|
|
745
|
-
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy
|
|
753
|
+
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. Default value: `3`. Valid values: `2` to `10`.
|
|
746
754
|
"""
|
|
747
755
|
return pulumi.get(self, "healthy_threshold")
|
|
748
756
|
|
|
@@ -750,7 +758,7 @@ class HealthCheckTemplate(pulumi.CustomResource):
|
|
|
750
758
|
@pulumi.getter(name="unhealthyThreshold")
|
|
751
759
|
def unhealthy_threshold(self) -> pulumi.Output[int]:
|
|
752
760
|
"""
|
|
753
|
-
The number of times that
|
|
761
|
+
The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. Default value: `3`. Valid values: `2` to `10`.
|
|
754
762
|
"""
|
|
755
763
|
return pulumi.get(self, "unhealthy_threshold")
|
|
756
764
|
|
pulumi_alicloud/cms/_inputs.py
CHANGED
|
@@ -226,7 +226,7 @@ class AlarmEscalationsCriticalArgs:
|
|
|
226
226
|
threshold: Optional[pulumi.Input[str]] = None,
|
|
227
227
|
times: Optional[pulumi.Input[int]] = None):
|
|
228
228
|
"""
|
|
229
|
-
:param pulumi.Input[str] comparison_operator: Critical level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.
|
|
229
|
+
:param pulumi.Input[str] comparison_operator: Critical level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `==`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.231.0, `comparison_operator` can be set to `==`.
|
|
230
230
|
:param pulumi.Input[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).
|
|
231
231
|
:param pulumi.Input[str] threshold: Critical level alarm threshold value, which must be a numeric value currently.
|
|
232
232
|
:param pulumi.Input[int] times: Critical level alarm retry times. Default value: `3`.
|
|
@@ -244,7 +244,7 @@ class AlarmEscalationsCriticalArgs:
|
|
|
244
244
|
@pulumi.getter(name="comparisonOperator")
|
|
245
245
|
def comparison_operator(self) -> Optional[pulumi.Input[str]]:
|
|
246
246
|
"""
|
|
247
|
-
Critical level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.
|
|
247
|
+
Critical level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `==`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.231.0, `comparison_operator` can be set to `==`.
|
|
248
248
|
"""
|
|
249
249
|
return pulumi.get(self, "comparison_operator")
|
|
250
250
|
|
|
@@ -297,7 +297,7 @@ class AlarmEscalationsInfoArgs:
|
|
|
297
297
|
threshold: Optional[pulumi.Input[str]] = None,
|
|
298
298
|
times: Optional[pulumi.Input[int]] = None):
|
|
299
299
|
"""
|
|
300
|
-
:param pulumi.Input[str] comparison_operator: Info level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.
|
|
300
|
+
:param pulumi.Input[str] comparison_operator: Info level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `==`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.231.0, `comparison_operator` can be set to `==`.
|
|
301
301
|
:param pulumi.Input[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).
|
|
302
302
|
:param pulumi.Input[str] threshold: Info level alarm threshold value, which must be a numeric value currently.
|
|
303
303
|
:param pulumi.Input[int] times: Info level alarm retry times. Default value: `3`.
|
|
@@ -315,7 +315,7 @@ class AlarmEscalationsInfoArgs:
|
|
|
315
315
|
@pulumi.getter(name="comparisonOperator")
|
|
316
316
|
def comparison_operator(self) -> Optional[pulumi.Input[str]]:
|
|
317
317
|
"""
|
|
318
|
-
Info level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.
|
|
318
|
+
Info level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `==`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.231.0, `comparison_operator` can be set to `==`.
|
|
319
319
|
"""
|
|
320
320
|
return pulumi.get(self, "comparison_operator")
|
|
321
321
|
|
|
@@ -368,7 +368,7 @@ class AlarmEscalationsWarnArgs:
|
|
|
368
368
|
threshold: Optional[pulumi.Input[str]] = None,
|
|
369
369
|
times: Optional[pulumi.Input[int]] = None):
|
|
370
370
|
"""
|
|
371
|
-
:param pulumi.Input[str] comparison_operator: Warn level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.
|
|
371
|
+
:param pulumi.Input[str] comparison_operator: Warn level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `==`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.231.0, `comparison_operator` can be set to `==`.
|
|
372
372
|
:param pulumi.Input[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).
|
|
373
373
|
:param pulumi.Input[str] threshold: Warn level alarm threshold value, which must be a numeric value currently.
|
|
374
374
|
:param pulumi.Input[int] times: Warn level alarm retry times. Default value: `3`.
|
|
@@ -386,7 +386,7 @@ class AlarmEscalationsWarnArgs:
|
|
|
386
386
|
@pulumi.getter(name="comparisonOperator")
|
|
387
387
|
def comparison_operator(self) -> Optional[pulumi.Input[str]]:
|
|
388
388
|
"""
|
|
389
|
-
Warn level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.
|
|
389
|
+
Warn level alarm comparison operator. Default value: `>`. Valid values: `>`, `>=`, `<`, `<=`, `!=`, `==`, `GreaterThanYesterday`, `LessThanYesterday`, `GreaterThanLastWeek`, `LessThanLastWeek`, `GreaterThanLastPeriod`, `LessThanLastPeriod`. **NOTE:** From version 1.231.0, `comparison_operator` can be set to `==`.
|
|
390
390
|
"""
|
|
391
391
|
return pulumi.get(self, "comparison_operator")
|
|
392
392
|
|