pulumi-alicloud 3.88.0a1761888283__py3-none-any.whl → 3.88.0a1761969289__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 +59 -0
- pulumi_alicloud/cfg/_inputs.py +27 -24
- pulumi_alicloud/cfg/aggregator.py +142 -53
- pulumi_alicloud/cfg/outputs.py +18 -15
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/get_tls_inspect_ca_certificates.py +214 -0
- pulumi_alicloud/cloudfirewall/outputs.py +30 -0
- pulumi_alicloud/cms/_inputs.py +870 -10
- pulumi_alicloud/cms/get_site_monitors.py +2 -2
- pulumi_alicloud/cms/outputs.py +606 -6
- pulumi_alicloud/cms/site_monitor.py +360 -89
- pulumi_alicloud/cr/registry_enterprise_instance.py +63 -0
- pulumi_alicloud/dts/instance.py +14 -14
- pulumi_alicloud/eci/container_group.py +47 -0
- pulumi_alicloud/ecs/security_group_rule.py +7 -7
- pulumi_alicloud/ens/load_balancer.py +8 -4
- pulumi_alicloud/esa/__init__.py +1 -0
- pulumi_alicloud/esa/_inputs.py +611 -0
- pulumi_alicloud/esa/cache_rule.py +47 -0
- pulumi_alicloud/esa/certificate.py +21 -54
- pulumi_alicloud/esa/compression_rule.py +47 -0
- pulumi_alicloud/esa/load_balancer.py +999 -0
- pulumi_alicloud/esa/outputs.py +469 -0
- pulumi_alicloud/eventbridge/event_source.py +57 -57
- pulumi_alicloud/ga/_inputs.py +56 -16
- pulumi_alicloud/ga/outputs.py +39 -11
- pulumi_alicloud/lindorm/instance_v2.py +358 -70
- pulumi_alicloud/oss/_inputs.py +53 -0
- pulumi_alicloud/oss/bucket_logging.py +80 -29
- pulumi_alicloud/oss/bucket_replication.py +55 -8
- pulumi_alicloud/oss/outputs.py +31 -0
- pulumi_alicloud/polardb/__init__.py +2 -0
- pulumi_alicloud/polardb/cluster.py +14 -14
- pulumi_alicloud/polardb/zonal_account.py +449 -0
- pulumi_alicloud/polardb/zonal_db_cluster.py +2 -2
- pulumi_alicloud/polardb/zonal_endpoint.py +865 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/policy.py +2 -2
- pulumi_alicloud/resourcemanager/__init__.py +2 -0
- pulumi_alicloud/resourcemanager/_inputs.py +745 -0
- pulumi_alicloud/resourcemanager/delivery_channel.py +449 -0
- pulumi_alicloud/resourcemanager/multi_account_delivery_channel.py +470 -0
- pulumi_alicloud/resourcemanager/outputs.py +643 -0
- pulumi_alicloud/sae/_inputs.py +60 -0
- pulumi_alicloud/sae/application.py +1 -1
- pulumi_alicloud/sae/outputs.py +42 -0
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/get_indexs.py +304 -0
- pulumi_alicloud/sls/outputs.py +148 -0
- pulumi_alicloud/star_rocks_instance.py +8 -2
- pulumi_alicloud/starrocks/__init__.py +12 -0
- pulumi_alicloud/starrocks/_inputs.py +656 -0
- pulumi_alicloud/starrocks/instance.py +1427 -0
- pulumi_alicloud/starrocks/node_group.py +1298 -0
- pulumi_alicloud/starrocks/outputs.py +508 -0
- pulumi_alicloud/vpc/_inputs.py +84 -0
- pulumi_alicloud/vpc/gateway_endpoint.py +8 -8
- pulumi_alicloud/vpc/network_acl_entries.py +16 -20
- pulumi_alicloud/vpc/outputs.py +48 -0
- pulumi_alicloud/wafv3/_inputs.py +396 -0
- pulumi_alicloud/wafv3/defense_rule.py +40 -110
- pulumi_alicloud/wafv3/outputs.py +303 -0
- {pulumi_alicloud-3.88.0a1761888283.dist-info → pulumi_alicloud-3.88.0a1761969289.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.88.0a1761888283.dist-info → pulumi_alicloud-3.88.0a1761969289.dist-info}/RECORD +66 -54
- {pulumi_alicloud-3.88.0a1761888283.dist-info → pulumi_alicloud-3.88.0a1761969289.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.88.0a1761888283.dist-info → pulumi_alicloud-3.88.0a1761969289.dist-info}/top_level.txt +0 -0
pulumi_alicloud/esa/outputs.py
CHANGED
|
@@ -18,6 +18,11 @@ from . import outputs
|
|
|
18
18
|
__all__ = [
|
|
19
19
|
'HttpRequestHeaderModificationRuleRequestHeaderModification',
|
|
20
20
|
'HttpResponseHeaderModificationRuleResponseHeaderModification',
|
|
21
|
+
'LoadBalancerAdaptiveRouting',
|
|
22
|
+
'LoadBalancerMonitor',
|
|
23
|
+
'LoadBalancerRandomSteering',
|
|
24
|
+
'LoadBalancerRule',
|
|
25
|
+
'LoadBalancerRuleFixedResponse',
|
|
21
26
|
'OriginPoolOrigin',
|
|
22
27
|
'OriginPoolOriginAuthConf',
|
|
23
28
|
'RecordAuthConf',
|
|
@@ -144,6 +149,470 @@ class HttpResponseHeaderModificationRuleResponseHeaderModification(dict):
|
|
|
144
149
|
return pulumi.get(self, "value")
|
|
145
150
|
|
|
146
151
|
|
|
152
|
+
@pulumi.output_type
|
|
153
|
+
class LoadBalancerAdaptiveRouting(dict):
|
|
154
|
+
@staticmethod
|
|
155
|
+
def __key_warning(key: str):
|
|
156
|
+
suggest = None
|
|
157
|
+
if key == "failoverAcrossPools":
|
|
158
|
+
suggest = "failover_across_pools"
|
|
159
|
+
|
|
160
|
+
if suggest:
|
|
161
|
+
pulumi.log.warn(f"Key '{key}' not found in LoadBalancerAdaptiveRouting. Access the value via the '{suggest}' property getter instead.")
|
|
162
|
+
|
|
163
|
+
def __getitem__(self, key: str) -> Any:
|
|
164
|
+
LoadBalancerAdaptiveRouting.__key_warning(key)
|
|
165
|
+
return super().__getitem__(key)
|
|
166
|
+
|
|
167
|
+
def get(self, key: str, default = None) -> Any:
|
|
168
|
+
LoadBalancerAdaptiveRouting.__key_warning(key)
|
|
169
|
+
return super().get(key, default)
|
|
170
|
+
|
|
171
|
+
def __init__(__self__, *,
|
|
172
|
+
failover_across_pools: Optional[_builtins.bool] = None):
|
|
173
|
+
"""
|
|
174
|
+
:param _builtins.bool failover_across_pools: Whether to failover across pools.
|
|
175
|
+
"""
|
|
176
|
+
if failover_across_pools is not None:
|
|
177
|
+
pulumi.set(__self__, "failover_across_pools", failover_across_pools)
|
|
178
|
+
|
|
179
|
+
@_builtins.property
|
|
180
|
+
@pulumi.getter(name="failoverAcrossPools")
|
|
181
|
+
def failover_across_pools(self) -> Optional[_builtins.bool]:
|
|
182
|
+
"""
|
|
183
|
+
Whether to failover across pools.
|
|
184
|
+
"""
|
|
185
|
+
return pulumi.get(self, "failover_across_pools")
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
@pulumi.output_type
|
|
189
|
+
class LoadBalancerMonitor(dict):
|
|
190
|
+
@staticmethod
|
|
191
|
+
def __key_warning(key: str):
|
|
192
|
+
suggest = None
|
|
193
|
+
if key == "consecutiveDown":
|
|
194
|
+
suggest = "consecutive_down"
|
|
195
|
+
elif key == "consecutiveUp":
|
|
196
|
+
suggest = "consecutive_up"
|
|
197
|
+
elif key == "expectedCodes":
|
|
198
|
+
suggest = "expected_codes"
|
|
199
|
+
elif key == "followRedirects":
|
|
200
|
+
suggest = "follow_redirects"
|
|
201
|
+
elif key == "monitoringRegion":
|
|
202
|
+
suggest = "monitoring_region"
|
|
203
|
+
|
|
204
|
+
if suggest:
|
|
205
|
+
pulumi.log.warn(f"Key '{key}' not found in LoadBalancerMonitor. Access the value via the '{suggest}' property getter instead.")
|
|
206
|
+
|
|
207
|
+
def __getitem__(self, key: str) -> Any:
|
|
208
|
+
LoadBalancerMonitor.__key_warning(key)
|
|
209
|
+
return super().__getitem__(key)
|
|
210
|
+
|
|
211
|
+
def get(self, key: str, default = None) -> Any:
|
|
212
|
+
LoadBalancerMonitor.__key_warning(key)
|
|
213
|
+
return super().get(key, default)
|
|
214
|
+
|
|
215
|
+
def __init__(__self__, *,
|
|
216
|
+
consecutive_down: Optional[_builtins.int] = None,
|
|
217
|
+
consecutive_up: Optional[_builtins.int] = None,
|
|
218
|
+
expected_codes: Optional[_builtins.str] = None,
|
|
219
|
+
follow_redirects: Optional[_builtins.bool] = None,
|
|
220
|
+
header: Optional[_builtins.str] = None,
|
|
221
|
+
interval: Optional[_builtins.int] = None,
|
|
222
|
+
method: Optional[_builtins.str] = None,
|
|
223
|
+
monitoring_region: Optional[_builtins.str] = None,
|
|
224
|
+
path: Optional[_builtins.str] = None,
|
|
225
|
+
port: Optional[_builtins.int] = None,
|
|
226
|
+
timeout: Optional[_builtins.int] = None,
|
|
227
|
+
type: Optional[_builtins.str] = None):
|
|
228
|
+
"""
|
|
229
|
+
:param _builtins.int consecutive_down: The number of consecutive failed health checks before the backend is considered down, for example, 5.
|
|
230
|
+
:param _builtins.int consecutive_up: The number of consecutive successful probes required to consider the target as up, e.g., 3.
|
|
231
|
+
:param _builtins.str expected_codes: Expected status code, such as 200,202, successful HTTP response.
|
|
232
|
+
:param _builtins.bool follow_redirects: Whether to follow the redirect.
|
|
233
|
+
:param _builtins.str header: The HTTP headers to be included in the health check request.
|
|
234
|
+
:param _builtins.int interval: The monitoring interval, such as 60 seconds, checks the frequency.
|
|
235
|
+
:param _builtins.str method: Monitor request methods, such as GET, methods in the HTTP protocol.
|
|
236
|
+
:param _builtins.str monitoring_region: Probe Point Region, default to Global
|
|
237
|
+
- `Global`: Global.
|
|
238
|
+
- `ChineseMainland`: Chinese mainland.
|
|
239
|
+
- `OutsideChineseMainland`: Global (excluding the Chinese mainland).
|
|
240
|
+
:param _builtins.str path: The monitor checks the path, such as/healthcheck, the HTTP request path.
|
|
241
|
+
:param _builtins.int port: The target port.
|
|
242
|
+
:param _builtins.int timeout: The timeout for the health check, in seconds. The value range is 1-10.
|
|
243
|
+
:param _builtins.str type: The type of monitor protocol, such as HTTP, used for health checks. When the value is off, it indicates that no check is performed.
|
|
244
|
+
"""
|
|
245
|
+
if consecutive_down is not None:
|
|
246
|
+
pulumi.set(__self__, "consecutive_down", consecutive_down)
|
|
247
|
+
if consecutive_up is not None:
|
|
248
|
+
pulumi.set(__self__, "consecutive_up", consecutive_up)
|
|
249
|
+
if expected_codes is not None:
|
|
250
|
+
pulumi.set(__self__, "expected_codes", expected_codes)
|
|
251
|
+
if follow_redirects is not None:
|
|
252
|
+
pulumi.set(__self__, "follow_redirects", follow_redirects)
|
|
253
|
+
if header is not None:
|
|
254
|
+
pulumi.set(__self__, "header", header)
|
|
255
|
+
if interval is not None:
|
|
256
|
+
pulumi.set(__self__, "interval", interval)
|
|
257
|
+
if method is not None:
|
|
258
|
+
pulumi.set(__self__, "method", method)
|
|
259
|
+
if monitoring_region is not None:
|
|
260
|
+
pulumi.set(__self__, "monitoring_region", monitoring_region)
|
|
261
|
+
if path is not None:
|
|
262
|
+
pulumi.set(__self__, "path", path)
|
|
263
|
+
if port is not None:
|
|
264
|
+
pulumi.set(__self__, "port", port)
|
|
265
|
+
if timeout is not None:
|
|
266
|
+
pulumi.set(__self__, "timeout", timeout)
|
|
267
|
+
if type is not None:
|
|
268
|
+
pulumi.set(__self__, "type", type)
|
|
269
|
+
|
|
270
|
+
@_builtins.property
|
|
271
|
+
@pulumi.getter(name="consecutiveDown")
|
|
272
|
+
def consecutive_down(self) -> Optional[_builtins.int]:
|
|
273
|
+
"""
|
|
274
|
+
The number of consecutive failed health checks before the backend is considered down, for example, 5.
|
|
275
|
+
"""
|
|
276
|
+
return pulumi.get(self, "consecutive_down")
|
|
277
|
+
|
|
278
|
+
@_builtins.property
|
|
279
|
+
@pulumi.getter(name="consecutiveUp")
|
|
280
|
+
def consecutive_up(self) -> Optional[_builtins.int]:
|
|
281
|
+
"""
|
|
282
|
+
The number of consecutive successful probes required to consider the target as up, e.g., 3.
|
|
283
|
+
"""
|
|
284
|
+
return pulumi.get(self, "consecutive_up")
|
|
285
|
+
|
|
286
|
+
@_builtins.property
|
|
287
|
+
@pulumi.getter(name="expectedCodes")
|
|
288
|
+
def expected_codes(self) -> Optional[_builtins.str]:
|
|
289
|
+
"""
|
|
290
|
+
Expected status code, such as 200,202, successful HTTP response.
|
|
291
|
+
"""
|
|
292
|
+
return pulumi.get(self, "expected_codes")
|
|
293
|
+
|
|
294
|
+
@_builtins.property
|
|
295
|
+
@pulumi.getter(name="followRedirects")
|
|
296
|
+
def follow_redirects(self) -> Optional[_builtins.bool]:
|
|
297
|
+
"""
|
|
298
|
+
Whether to follow the redirect.
|
|
299
|
+
"""
|
|
300
|
+
return pulumi.get(self, "follow_redirects")
|
|
301
|
+
|
|
302
|
+
@_builtins.property
|
|
303
|
+
@pulumi.getter
|
|
304
|
+
def header(self) -> Optional[_builtins.str]:
|
|
305
|
+
"""
|
|
306
|
+
The HTTP headers to be included in the health check request.
|
|
307
|
+
"""
|
|
308
|
+
return pulumi.get(self, "header")
|
|
309
|
+
|
|
310
|
+
@_builtins.property
|
|
311
|
+
@pulumi.getter
|
|
312
|
+
def interval(self) -> Optional[_builtins.int]:
|
|
313
|
+
"""
|
|
314
|
+
The monitoring interval, such as 60 seconds, checks the frequency.
|
|
315
|
+
"""
|
|
316
|
+
return pulumi.get(self, "interval")
|
|
317
|
+
|
|
318
|
+
@_builtins.property
|
|
319
|
+
@pulumi.getter
|
|
320
|
+
def method(self) -> Optional[_builtins.str]:
|
|
321
|
+
"""
|
|
322
|
+
Monitor request methods, such as GET, methods in the HTTP protocol.
|
|
323
|
+
"""
|
|
324
|
+
return pulumi.get(self, "method")
|
|
325
|
+
|
|
326
|
+
@_builtins.property
|
|
327
|
+
@pulumi.getter(name="monitoringRegion")
|
|
328
|
+
def monitoring_region(self) -> Optional[_builtins.str]:
|
|
329
|
+
"""
|
|
330
|
+
Probe Point Region, default to Global
|
|
331
|
+
- `Global`: Global.
|
|
332
|
+
- `ChineseMainland`: Chinese mainland.
|
|
333
|
+
- `OutsideChineseMainland`: Global (excluding the Chinese mainland).
|
|
334
|
+
"""
|
|
335
|
+
return pulumi.get(self, "monitoring_region")
|
|
336
|
+
|
|
337
|
+
@_builtins.property
|
|
338
|
+
@pulumi.getter
|
|
339
|
+
def path(self) -> Optional[_builtins.str]:
|
|
340
|
+
"""
|
|
341
|
+
The monitor checks the path, such as/healthcheck, the HTTP request path.
|
|
342
|
+
"""
|
|
343
|
+
return pulumi.get(self, "path")
|
|
344
|
+
|
|
345
|
+
@_builtins.property
|
|
346
|
+
@pulumi.getter
|
|
347
|
+
def port(self) -> Optional[_builtins.int]:
|
|
348
|
+
"""
|
|
349
|
+
The target port.
|
|
350
|
+
"""
|
|
351
|
+
return pulumi.get(self, "port")
|
|
352
|
+
|
|
353
|
+
@_builtins.property
|
|
354
|
+
@pulumi.getter
|
|
355
|
+
def timeout(self) -> Optional[_builtins.int]:
|
|
356
|
+
"""
|
|
357
|
+
The timeout for the health check, in seconds. The value range is 1-10.
|
|
358
|
+
"""
|
|
359
|
+
return pulumi.get(self, "timeout")
|
|
360
|
+
|
|
361
|
+
@_builtins.property
|
|
362
|
+
@pulumi.getter
|
|
363
|
+
def type(self) -> Optional[_builtins.str]:
|
|
364
|
+
"""
|
|
365
|
+
The type of monitor protocol, such as HTTP, used for health checks. When the value is off, it indicates that no check is performed.
|
|
366
|
+
"""
|
|
367
|
+
return pulumi.get(self, "type")
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
@pulumi.output_type
|
|
371
|
+
class LoadBalancerRandomSteering(dict):
|
|
372
|
+
@staticmethod
|
|
373
|
+
def __key_warning(key: str):
|
|
374
|
+
suggest = None
|
|
375
|
+
if key == "defaultWeight":
|
|
376
|
+
suggest = "default_weight"
|
|
377
|
+
elif key == "poolWeights":
|
|
378
|
+
suggest = "pool_weights"
|
|
379
|
+
|
|
380
|
+
if suggest:
|
|
381
|
+
pulumi.log.warn(f"Key '{key}' not found in LoadBalancerRandomSteering. Access the value via the '{suggest}' property getter instead.")
|
|
382
|
+
|
|
383
|
+
def __getitem__(self, key: str) -> Any:
|
|
384
|
+
LoadBalancerRandomSteering.__key_warning(key)
|
|
385
|
+
return super().__getitem__(key)
|
|
386
|
+
|
|
387
|
+
def get(self, key: str, default = None) -> Any:
|
|
388
|
+
LoadBalancerRandomSteering.__key_warning(key)
|
|
389
|
+
return super().get(key, default)
|
|
390
|
+
|
|
391
|
+
def __init__(__self__, *,
|
|
392
|
+
default_weight: Optional[_builtins.int] = None,
|
|
393
|
+
pool_weights: Optional[Mapping[str, _builtins.str]] = None):
|
|
394
|
+
"""
|
|
395
|
+
:param _builtins.int default_weight: The default round-robin weight, used for all pools that do not have individually specified weights. The value range is 0-100.
|
|
396
|
+
:param Mapping[str, _builtins.str] pool_weights: Weight configuration for each backend server pool, where the key is the pool ID and the value is the weight coefficient. The weight coefficient represents the proportion of relative traffic distribution.
|
|
397
|
+
"""
|
|
398
|
+
if default_weight is not None:
|
|
399
|
+
pulumi.set(__self__, "default_weight", default_weight)
|
|
400
|
+
if pool_weights is not None:
|
|
401
|
+
pulumi.set(__self__, "pool_weights", pool_weights)
|
|
402
|
+
|
|
403
|
+
@_builtins.property
|
|
404
|
+
@pulumi.getter(name="defaultWeight")
|
|
405
|
+
def default_weight(self) -> Optional[_builtins.int]:
|
|
406
|
+
"""
|
|
407
|
+
The default round-robin weight, used for all pools that do not have individually specified weights. The value range is 0-100.
|
|
408
|
+
"""
|
|
409
|
+
return pulumi.get(self, "default_weight")
|
|
410
|
+
|
|
411
|
+
@_builtins.property
|
|
412
|
+
@pulumi.getter(name="poolWeights")
|
|
413
|
+
def pool_weights(self) -> Optional[Mapping[str, _builtins.str]]:
|
|
414
|
+
"""
|
|
415
|
+
Weight configuration for each backend server pool, where the key is the pool ID and the value is the weight coefficient. The weight coefficient represents the proportion of relative traffic distribution.
|
|
416
|
+
"""
|
|
417
|
+
return pulumi.get(self, "pool_weights")
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
@pulumi.output_type
|
|
421
|
+
class LoadBalancerRule(dict):
|
|
422
|
+
@staticmethod
|
|
423
|
+
def __key_warning(key: str):
|
|
424
|
+
suggest = None
|
|
425
|
+
if key == "fixedResponse":
|
|
426
|
+
suggest = "fixed_response"
|
|
427
|
+
elif key == "ruleEnable":
|
|
428
|
+
suggest = "rule_enable"
|
|
429
|
+
elif key == "ruleName":
|
|
430
|
+
suggest = "rule_name"
|
|
431
|
+
|
|
432
|
+
if suggest:
|
|
433
|
+
pulumi.log.warn(f"Key '{key}' not found in LoadBalancerRule. Access the value via the '{suggest}' property getter instead.")
|
|
434
|
+
|
|
435
|
+
def __getitem__(self, key: str) -> Any:
|
|
436
|
+
LoadBalancerRule.__key_warning(key)
|
|
437
|
+
return super().__getitem__(key)
|
|
438
|
+
|
|
439
|
+
def get(self, key: str, default = None) -> Any:
|
|
440
|
+
LoadBalancerRule.__key_warning(key)
|
|
441
|
+
return super().get(key, default)
|
|
442
|
+
|
|
443
|
+
def __init__(__self__, *,
|
|
444
|
+
fixed_response: Optional['outputs.LoadBalancerRuleFixedResponse'] = None,
|
|
445
|
+
overrides: Optional[_builtins.str] = None,
|
|
446
|
+
rule: Optional[_builtins.str] = None,
|
|
447
|
+
rule_enable: Optional[_builtins.str] = None,
|
|
448
|
+
rule_name: Optional[_builtins.str] = None,
|
|
449
|
+
sequence: Optional[_builtins.int] = None,
|
|
450
|
+
terminates: Optional[_builtins.bool] = None):
|
|
451
|
+
"""
|
|
452
|
+
:param 'LoadBalancerRuleFixedResponseArgs' fixed_response: Executes a specified response after matching the rule. See `fixed_response` below.
|
|
453
|
+
:param _builtins.str overrides: Modifies the load balancer configuration for the corresponding request after matching the rule. The fields in this configuration will override the corresponding fields in the load balancer configuration.
|
|
454
|
+
:param _builtins.str rule: Rule content, using conditional expressions to match user requests. When adding global configuration, this parameter does not need to be set. There are two usage scenarios:
|
|
455
|
+
- Match all incoming requests: value set to true
|
|
456
|
+
- Match specified request: Set the value to a custom expression, for example: (http.host eq \\"video.example.com\\")
|
|
457
|
+
:param _builtins.str rule_enable: Rule switch. When adding global configuration, this parameter does not need to be set. Value range:
|
|
458
|
+
- on: open.
|
|
459
|
+
- off: close.
|
|
460
|
+
:param _builtins.str rule_name: Rule name. When adding global configuration, this parameter does not need to be set.
|
|
461
|
+
:param _builtins.int sequence: Order of rule execution. The smaller the value, the higher the priority for execution.
|
|
462
|
+
:param _builtins.bool terminates: Whether to terminate the execution of subsequent rules.
|
|
463
|
+
"""
|
|
464
|
+
if fixed_response is not None:
|
|
465
|
+
pulumi.set(__self__, "fixed_response", fixed_response)
|
|
466
|
+
if overrides is not None:
|
|
467
|
+
pulumi.set(__self__, "overrides", overrides)
|
|
468
|
+
if rule is not None:
|
|
469
|
+
pulumi.set(__self__, "rule", rule)
|
|
470
|
+
if rule_enable is not None:
|
|
471
|
+
pulumi.set(__self__, "rule_enable", rule_enable)
|
|
472
|
+
if rule_name is not None:
|
|
473
|
+
pulumi.set(__self__, "rule_name", rule_name)
|
|
474
|
+
if sequence is not None:
|
|
475
|
+
pulumi.set(__self__, "sequence", sequence)
|
|
476
|
+
if terminates is not None:
|
|
477
|
+
pulumi.set(__self__, "terminates", terminates)
|
|
478
|
+
|
|
479
|
+
@_builtins.property
|
|
480
|
+
@pulumi.getter(name="fixedResponse")
|
|
481
|
+
def fixed_response(self) -> Optional['outputs.LoadBalancerRuleFixedResponse']:
|
|
482
|
+
"""
|
|
483
|
+
Executes a specified response after matching the rule. See `fixed_response` below.
|
|
484
|
+
"""
|
|
485
|
+
return pulumi.get(self, "fixed_response")
|
|
486
|
+
|
|
487
|
+
@_builtins.property
|
|
488
|
+
@pulumi.getter
|
|
489
|
+
def overrides(self) -> Optional[_builtins.str]:
|
|
490
|
+
"""
|
|
491
|
+
Modifies the load balancer configuration for the corresponding request after matching the rule. The fields in this configuration will override the corresponding fields in the load balancer configuration.
|
|
492
|
+
"""
|
|
493
|
+
return pulumi.get(self, "overrides")
|
|
494
|
+
|
|
495
|
+
@_builtins.property
|
|
496
|
+
@pulumi.getter
|
|
497
|
+
def rule(self) -> Optional[_builtins.str]:
|
|
498
|
+
"""
|
|
499
|
+
Rule content, using conditional expressions to match user requests. When adding global configuration, this parameter does not need to be set. There are two usage scenarios:
|
|
500
|
+
- Match all incoming requests: value set to true
|
|
501
|
+
- Match specified request: Set the value to a custom expression, for example: (http.host eq \\"video.example.com\\")
|
|
502
|
+
"""
|
|
503
|
+
return pulumi.get(self, "rule")
|
|
504
|
+
|
|
505
|
+
@_builtins.property
|
|
506
|
+
@pulumi.getter(name="ruleEnable")
|
|
507
|
+
def rule_enable(self) -> Optional[_builtins.str]:
|
|
508
|
+
"""
|
|
509
|
+
Rule switch. When adding global configuration, this parameter does not need to be set. Value range:
|
|
510
|
+
- on: open.
|
|
511
|
+
- off: close.
|
|
512
|
+
"""
|
|
513
|
+
return pulumi.get(self, "rule_enable")
|
|
514
|
+
|
|
515
|
+
@_builtins.property
|
|
516
|
+
@pulumi.getter(name="ruleName")
|
|
517
|
+
def rule_name(self) -> Optional[_builtins.str]:
|
|
518
|
+
"""
|
|
519
|
+
Rule name. When adding global configuration, this parameter does not need to be set.
|
|
520
|
+
"""
|
|
521
|
+
return pulumi.get(self, "rule_name")
|
|
522
|
+
|
|
523
|
+
@_builtins.property
|
|
524
|
+
@pulumi.getter
|
|
525
|
+
def sequence(self) -> Optional[_builtins.int]:
|
|
526
|
+
"""
|
|
527
|
+
Order of rule execution. The smaller the value, the higher the priority for execution.
|
|
528
|
+
"""
|
|
529
|
+
return pulumi.get(self, "sequence")
|
|
530
|
+
|
|
531
|
+
@_builtins.property
|
|
532
|
+
@pulumi.getter
|
|
533
|
+
def terminates(self) -> Optional[_builtins.bool]:
|
|
534
|
+
"""
|
|
535
|
+
Whether to terminate the execution of subsequent rules.
|
|
536
|
+
"""
|
|
537
|
+
return pulumi.get(self, "terminates")
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
@pulumi.output_type
|
|
541
|
+
class LoadBalancerRuleFixedResponse(dict):
|
|
542
|
+
@staticmethod
|
|
543
|
+
def __key_warning(key: str):
|
|
544
|
+
suggest = None
|
|
545
|
+
if key == "contentType":
|
|
546
|
+
suggest = "content_type"
|
|
547
|
+
elif key == "messageBody":
|
|
548
|
+
suggest = "message_body"
|
|
549
|
+
elif key == "statusCode":
|
|
550
|
+
suggest = "status_code"
|
|
551
|
+
|
|
552
|
+
if suggest:
|
|
553
|
+
pulumi.log.warn(f"Key '{key}' not found in LoadBalancerRuleFixedResponse. Access the value via the '{suggest}' property getter instead.")
|
|
554
|
+
|
|
555
|
+
def __getitem__(self, key: str) -> Any:
|
|
556
|
+
LoadBalancerRuleFixedResponse.__key_warning(key)
|
|
557
|
+
return super().__getitem__(key)
|
|
558
|
+
|
|
559
|
+
def get(self, key: str, default = None) -> Any:
|
|
560
|
+
LoadBalancerRuleFixedResponse.__key_warning(key)
|
|
561
|
+
return super().get(key, default)
|
|
562
|
+
|
|
563
|
+
def __init__(__self__, *,
|
|
564
|
+
content_type: Optional[_builtins.str] = None,
|
|
565
|
+
location: Optional[_builtins.str] = None,
|
|
566
|
+
message_body: Optional[_builtins.str] = None,
|
|
567
|
+
status_code: Optional[_builtins.int] = None):
|
|
568
|
+
"""
|
|
569
|
+
:param _builtins.str content_type: The Content-Type field in the HTTP Header.
|
|
570
|
+
:param _builtins.str location: The location field in the http return.
|
|
571
|
+
:param _builtins.str message_body: The body value of the response.
|
|
572
|
+
:param _builtins.int status_code: Status Code.
|
|
573
|
+
"""
|
|
574
|
+
if content_type is not None:
|
|
575
|
+
pulumi.set(__self__, "content_type", content_type)
|
|
576
|
+
if location is not None:
|
|
577
|
+
pulumi.set(__self__, "location", location)
|
|
578
|
+
if message_body is not None:
|
|
579
|
+
pulumi.set(__self__, "message_body", message_body)
|
|
580
|
+
if status_code is not None:
|
|
581
|
+
pulumi.set(__self__, "status_code", status_code)
|
|
582
|
+
|
|
583
|
+
@_builtins.property
|
|
584
|
+
@pulumi.getter(name="contentType")
|
|
585
|
+
def content_type(self) -> Optional[_builtins.str]:
|
|
586
|
+
"""
|
|
587
|
+
The Content-Type field in the HTTP Header.
|
|
588
|
+
"""
|
|
589
|
+
return pulumi.get(self, "content_type")
|
|
590
|
+
|
|
591
|
+
@_builtins.property
|
|
592
|
+
@pulumi.getter
|
|
593
|
+
def location(self) -> Optional[_builtins.str]:
|
|
594
|
+
"""
|
|
595
|
+
The location field in the http return.
|
|
596
|
+
"""
|
|
597
|
+
return pulumi.get(self, "location")
|
|
598
|
+
|
|
599
|
+
@_builtins.property
|
|
600
|
+
@pulumi.getter(name="messageBody")
|
|
601
|
+
def message_body(self) -> Optional[_builtins.str]:
|
|
602
|
+
"""
|
|
603
|
+
The body value of the response.
|
|
604
|
+
"""
|
|
605
|
+
return pulumi.get(self, "message_body")
|
|
606
|
+
|
|
607
|
+
@_builtins.property
|
|
608
|
+
@pulumi.getter(name="statusCode")
|
|
609
|
+
def status_code(self) -> Optional[_builtins.int]:
|
|
610
|
+
"""
|
|
611
|
+
Status Code.
|
|
612
|
+
"""
|
|
613
|
+
return pulumi.get(self, "status_code")
|
|
614
|
+
|
|
615
|
+
|
|
147
616
|
@pulumi.output_type
|
|
148
617
|
class OriginPoolOrigin(dict):
|
|
149
618
|
@staticmethod
|