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/_inputs.py
CHANGED
|
@@ -19,6 +19,16 @@ __all__ = [
|
|
|
19
19
|
'HttpRequestHeaderModificationRuleRequestHeaderModificationArgsDict',
|
|
20
20
|
'HttpResponseHeaderModificationRuleResponseHeaderModificationArgs',
|
|
21
21
|
'HttpResponseHeaderModificationRuleResponseHeaderModificationArgsDict',
|
|
22
|
+
'LoadBalancerAdaptiveRoutingArgs',
|
|
23
|
+
'LoadBalancerAdaptiveRoutingArgsDict',
|
|
24
|
+
'LoadBalancerMonitorArgs',
|
|
25
|
+
'LoadBalancerMonitorArgsDict',
|
|
26
|
+
'LoadBalancerRandomSteeringArgs',
|
|
27
|
+
'LoadBalancerRandomSteeringArgsDict',
|
|
28
|
+
'LoadBalancerRuleArgs',
|
|
29
|
+
'LoadBalancerRuleArgsDict',
|
|
30
|
+
'LoadBalancerRuleFixedResponseArgs',
|
|
31
|
+
'LoadBalancerRuleFixedResponseArgsDict',
|
|
22
32
|
'OriginPoolOriginArgs',
|
|
23
33
|
'OriginPoolOriginArgsDict',
|
|
24
34
|
'OriginPoolOriginAuthConfArgs',
|
|
@@ -245,6 +255,607 @@ class HttpResponseHeaderModificationRuleResponseHeaderModificationArgs:
|
|
|
245
255
|
pulumi.set(self, "value", value)
|
|
246
256
|
|
|
247
257
|
|
|
258
|
+
if not MYPY:
|
|
259
|
+
class LoadBalancerAdaptiveRoutingArgsDict(TypedDict):
|
|
260
|
+
failover_across_pools: NotRequired[pulumi.Input[_builtins.bool]]
|
|
261
|
+
"""
|
|
262
|
+
Whether to failover across pools.
|
|
263
|
+
"""
|
|
264
|
+
elif False:
|
|
265
|
+
LoadBalancerAdaptiveRoutingArgsDict: TypeAlias = Mapping[str, Any]
|
|
266
|
+
|
|
267
|
+
@pulumi.input_type
|
|
268
|
+
class LoadBalancerAdaptiveRoutingArgs:
|
|
269
|
+
def __init__(__self__, *,
|
|
270
|
+
failover_across_pools: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
271
|
+
"""
|
|
272
|
+
:param pulumi.Input[_builtins.bool] failover_across_pools: Whether to failover across pools.
|
|
273
|
+
"""
|
|
274
|
+
if failover_across_pools is not None:
|
|
275
|
+
pulumi.set(__self__, "failover_across_pools", failover_across_pools)
|
|
276
|
+
|
|
277
|
+
@_builtins.property
|
|
278
|
+
@pulumi.getter(name="failoverAcrossPools")
|
|
279
|
+
def failover_across_pools(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
280
|
+
"""
|
|
281
|
+
Whether to failover across pools.
|
|
282
|
+
"""
|
|
283
|
+
return pulumi.get(self, "failover_across_pools")
|
|
284
|
+
|
|
285
|
+
@failover_across_pools.setter
|
|
286
|
+
def failover_across_pools(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
287
|
+
pulumi.set(self, "failover_across_pools", value)
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
if not MYPY:
|
|
291
|
+
class LoadBalancerMonitorArgsDict(TypedDict):
|
|
292
|
+
consecutive_down: NotRequired[pulumi.Input[_builtins.int]]
|
|
293
|
+
"""
|
|
294
|
+
The number of consecutive failed health checks before the backend is considered down, for example, 5.
|
|
295
|
+
"""
|
|
296
|
+
consecutive_up: NotRequired[pulumi.Input[_builtins.int]]
|
|
297
|
+
"""
|
|
298
|
+
The number of consecutive successful probes required to consider the target as up, e.g., 3.
|
|
299
|
+
"""
|
|
300
|
+
expected_codes: NotRequired[pulumi.Input[_builtins.str]]
|
|
301
|
+
"""
|
|
302
|
+
Expected status code, such as 200,202, successful HTTP response.
|
|
303
|
+
"""
|
|
304
|
+
follow_redirects: NotRequired[pulumi.Input[_builtins.bool]]
|
|
305
|
+
"""
|
|
306
|
+
Whether to follow the redirect.
|
|
307
|
+
"""
|
|
308
|
+
header: NotRequired[pulumi.Input[_builtins.str]]
|
|
309
|
+
"""
|
|
310
|
+
The HTTP headers to be included in the health check request.
|
|
311
|
+
"""
|
|
312
|
+
interval: NotRequired[pulumi.Input[_builtins.int]]
|
|
313
|
+
"""
|
|
314
|
+
The monitoring interval, such as 60 seconds, checks the frequency.
|
|
315
|
+
"""
|
|
316
|
+
method: NotRequired[pulumi.Input[_builtins.str]]
|
|
317
|
+
"""
|
|
318
|
+
Monitor request methods, such as GET, methods in the HTTP protocol.
|
|
319
|
+
"""
|
|
320
|
+
monitoring_region: NotRequired[pulumi.Input[_builtins.str]]
|
|
321
|
+
"""
|
|
322
|
+
Probe Point Region, default to Global
|
|
323
|
+
- `Global`: Global.
|
|
324
|
+
- `ChineseMainland`: Chinese mainland.
|
|
325
|
+
- `OutsideChineseMainland`: Global (excluding the Chinese mainland).
|
|
326
|
+
"""
|
|
327
|
+
path: NotRequired[pulumi.Input[_builtins.str]]
|
|
328
|
+
"""
|
|
329
|
+
The monitor checks the path, such as/healthcheck, the HTTP request path.
|
|
330
|
+
"""
|
|
331
|
+
port: NotRequired[pulumi.Input[_builtins.int]]
|
|
332
|
+
"""
|
|
333
|
+
The target port.
|
|
334
|
+
"""
|
|
335
|
+
timeout: NotRequired[pulumi.Input[_builtins.int]]
|
|
336
|
+
"""
|
|
337
|
+
The timeout for the health check, in seconds. The value range is 1-10.
|
|
338
|
+
"""
|
|
339
|
+
type: NotRequired[pulumi.Input[_builtins.str]]
|
|
340
|
+
"""
|
|
341
|
+
The type of monitor protocol, such as HTTP, used for health checks. When the value is off, it indicates that no check is performed.
|
|
342
|
+
"""
|
|
343
|
+
elif False:
|
|
344
|
+
LoadBalancerMonitorArgsDict: TypeAlias = Mapping[str, Any]
|
|
345
|
+
|
|
346
|
+
@pulumi.input_type
|
|
347
|
+
class LoadBalancerMonitorArgs:
|
|
348
|
+
def __init__(__self__, *,
|
|
349
|
+
consecutive_down: Optional[pulumi.Input[_builtins.int]] = None,
|
|
350
|
+
consecutive_up: Optional[pulumi.Input[_builtins.int]] = None,
|
|
351
|
+
expected_codes: Optional[pulumi.Input[_builtins.str]] = None,
|
|
352
|
+
follow_redirects: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
353
|
+
header: Optional[pulumi.Input[_builtins.str]] = None,
|
|
354
|
+
interval: Optional[pulumi.Input[_builtins.int]] = None,
|
|
355
|
+
method: Optional[pulumi.Input[_builtins.str]] = None,
|
|
356
|
+
monitoring_region: Optional[pulumi.Input[_builtins.str]] = None,
|
|
357
|
+
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
358
|
+
port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
359
|
+
timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
360
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
361
|
+
"""
|
|
362
|
+
:param pulumi.Input[_builtins.int] consecutive_down: The number of consecutive failed health checks before the backend is considered down, for example, 5.
|
|
363
|
+
:param pulumi.Input[_builtins.int] consecutive_up: The number of consecutive successful probes required to consider the target as up, e.g., 3.
|
|
364
|
+
:param pulumi.Input[_builtins.str] expected_codes: Expected status code, such as 200,202, successful HTTP response.
|
|
365
|
+
:param pulumi.Input[_builtins.bool] follow_redirects: Whether to follow the redirect.
|
|
366
|
+
:param pulumi.Input[_builtins.str] header: The HTTP headers to be included in the health check request.
|
|
367
|
+
:param pulumi.Input[_builtins.int] interval: The monitoring interval, such as 60 seconds, checks the frequency.
|
|
368
|
+
:param pulumi.Input[_builtins.str] method: Monitor request methods, such as GET, methods in the HTTP protocol.
|
|
369
|
+
:param pulumi.Input[_builtins.str] monitoring_region: Probe Point Region, default to Global
|
|
370
|
+
- `Global`: Global.
|
|
371
|
+
- `ChineseMainland`: Chinese mainland.
|
|
372
|
+
- `OutsideChineseMainland`: Global (excluding the Chinese mainland).
|
|
373
|
+
:param pulumi.Input[_builtins.str] path: The monitor checks the path, such as/healthcheck, the HTTP request path.
|
|
374
|
+
:param pulumi.Input[_builtins.int] port: The target port.
|
|
375
|
+
:param pulumi.Input[_builtins.int] timeout: The timeout for the health check, in seconds. The value range is 1-10.
|
|
376
|
+
:param pulumi.Input[_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.
|
|
377
|
+
"""
|
|
378
|
+
if consecutive_down is not None:
|
|
379
|
+
pulumi.set(__self__, "consecutive_down", consecutive_down)
|
|
380
|
+
if consecutive_up is not None:
|
|
381
|
+
pulumi.set(__self__, "consecutive_up", consecutive_up)
|
|
382
|
+
if expected_codes is not None:
|
|
383
|
+
pulumi.set(__self__, "expected_codes", expected_codes)
|
|
384
|
+
if follow_redirects is not None:
|
|
385
|
+
pulumi.set(__self__, "follow_redirects", follow_redirects)
|
|
386
|
+
if header is not None:
|
|
387
|
+
pulumi.set(__self__, "header", header)
|
|
388
|
+
if interval is not None:
|
|
389
|
+
pulumi.set(__self__, "interval", interval)
|
|
390
|
+
if method is not None:
|
|
391
|
+
pulumi.set(__self__, "method", method)
|
|
392
|
+
if monitoring_region is not None:
|
|
393
|
+
pulumi.set(__self__, "monitoring_region", monitoring_region)
|
|
394
|
+
if path is not None:
|
|
395
|
+
pulumi.set(__self__, "path", path)
|
|
396
|
+
if port is not None:
|
|
397
|
+
pulumi.set(__self__, "port", port)
|
|
398
|
+
if timeout is not None:
|
|
399
|
+
pulumi.set(__self__, "timeout", timeout)
|
|
400
|
+
if type is not None:
|
|
401
|
+
pulumi.set(__self__, "type", type)
|
|
402
|
+
|
|
403
|
+
@_builtins.property
|
|
404
|
+
@pulumi.getter(name="consecutiveDown")
|
|
405
|
+
def consecutive_down(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
406
|
+
"""
|
|
407
|
+
The number of consecutive failed health checks before the backend is considered down, for example, 5.
|
|
408
|
+
"""
|
|
409
|
+
return pulumi.get(self, "consecutive_down")
|
|
410
|
+
|
|
411
|
+
@consecutive_down.setter
|
|
412
|
+
def consecutive_down(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
413
|
+
pulumi.set(self, "consecutive_down", value)
|
|
414
|
+
|
|
415
|
+
@_builtins.property
|
|
416
|
+
@pulumi.getter(name="consecutiveUp")
|
|
417
|
+
def consecutive_up(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
418
|
+
"""
|
|
419
|
+
The number of consecutive successful probes required to consider the target as up, e.g., 3.
|
|
420
|
+
"""
|
|
421
|
+
return pulumi.get(self, "consecutive_up")
|
|
422
|
+
|
|
423
|
+
@consecutive_up.setter
|
|
424
|
+
def consecutive_up(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
425
|
+
pulumi.set(self, "consecutive_up", value)
|
|
426
|
+
|
|
427
|
+
@_builtins.property
|
|
428
|
+
@pulumi.getter(name="expectedCodes")
|
|
429
|
+
def expected_codes(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
430
|
+
"""
|
|
431
|
+
Expected status code, such as 200,202, successful HTTP response.
|
|
432
|
+
"""
|
|
433
|
+
return pulumi.get(self, "expected_codes")
|
|
434
|
+
|
|
435
|
+
@expected_codes.setter
|
|
436
|
+
def expected_codes(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
437
|
+
pulumi.set(self, "expected_codes", value)
|
|
438
|
+
|
|
439
|
+
@_builtins.property
|
|
440
|
+
@pulumi.getter(name="followRedirects")
|
|
441
|
+
def follow_redirects(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
442
|
+
"""
|
|
443
|
+
Whether to follow the redirect.
|
|
444
|
+
"""
|
|
445
|
+
return pulumi.get(self, "follow_redirects")
|
|
446
|
+
|
|
447
|
+
@follow_redirects.setter
|
|
448
|
+
def follow_redirects(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
449
|
+
pulumi.set(self, "follow_redirects", value)
|
|
450
|
+
|
|
451
|
+
@_builtins.property
|
|
452
|
+
@pulumi.getter
|
|
453
|
+
def header(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
454
|
+
"""
|
|
455
|
+
The HTTP headers to be included in the health check request.
|
|
456
|
+
"""
|
|
457
|
+
return pulumi.get(self, "header")
|
|
458
|
+
|
|
459
|
+
@header.setter
|
|
460
|
+
def header(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
461
|
+
pulumi.set(self, "header", value)
|
|
462
|
+
|
|
463
|
+
@_builtins.property
|
|
464
|
+
@pulumi.getter
|
|
465
|
+
def interval(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
466
|
+
"""
|
|
467
|
+
The monitoring interval, such as 60 seconds, checks the frequency.
|
|
468
|
+
"""
|
|
469
|
+
return pulumi.get(self, "interval")
|
|
470
|
+
|
|
471
|
+
@interval.setter
|
|
472
|
+
def interval(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
473
|
+
pulumi.set(self, "interval", value)
|
|
474
|
+
|
|
475
|
+
@_builtins.property
|
|
476
|
+
@pulumi.getter
|
|
477
|
+
def method(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
478
|
+
"""
|
|
479
|
+
Monitor request methods, such as GET, methods in the HTTP protocol.
|
|
480
|
+
"""
|
|
481
|
+
return pulumi.get(self, "method")
|
|
482
|
+
|
|
483
|
+
@method.setter
|
|
484
|
+
def method(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
485
|
+
pulumi.set(self, "method", value)
|
|
486
|
+
|
|
487
|
+
@_builtins.property
|
|
488
|
+
@pulumi.getter(name="monitoringRegion")
|
|
489
|
+
def monitoring_region(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
490
|
+
"""
|
|
491
|
+
Probe Point Region, default to Global
|
|
492
|
+
- `Global`: Global.
|
|
493
|
+
- `ChineseMainland`: Chinese mainland.
|
|
494
|
+
- `OutsideChineseMainland`: Global (excluding the Chinese mainland).
|
|
495
|
+
"""
|
|
496
|
+
return pulumi.get(self, "monitoring_region")
|
|
497
|
+
|
|
498
|
+
@monitoring_region.setter
|
|
499
|
+
def monitoring_region(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
500
|
+
pulumi.set(self, "monitoring_region", value)
|
|
501
|
+
|
|
502
|
+
@_builtins.property
|
|
503
|
+
@pulumi.getter
|
|
504
|
+
def path(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
505
|
+
"""
|
|
506
|
+
The monitor checks the path, such as/healthcheck, the HTTP request path.
|
|
507
|
+
"""
|
|
508
|
+
return pulumi.get(self, "path")
|
|
509
|
+
|
|
510
|
+
@path.setter
|
|
511
|
+
def path(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
512
|
+
pulumi.set(self, "path", value)
|
|
513
|
+
|
|
514
|
+
@_builtins.property
|
|
515
|
+
@pulumi.getter
|
|
516
|
+
def port(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
517
|
+
"""
|
|
518
|
+
The target port.
|
|
519
|
+
"""
|
|
520
|
+
return pulumi.get(self, "port")
|
|
521
|
+
|
|
522
|
+
@port.setter
|
|
523
|
+
def port(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
524
|
+
pulumi.set(self, "port", value)
|
|
525
|
+
|
|
526
|
+
@_builtins.property
|
|
527
|
+
@pulumi.getter
|
|
528
|
+
def timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
529
|
+
"""
|
|
530
|
+
The timeout for the health check, in seconds. The value range is 1-10.
|
|
531
|
+
"""
|
|
532
|
+
return pulumi.get(self, "timeout")
|
|
533
|
+
|
|
534
|
+
@timeout.setter
|
|
535
|
+
def timeout(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
536
|
+
pulumi.set(self, "timeout", value)
|
|
537
|
+
|
|
538
|
+
@_builtins.property
|
|
539
|
+
@pulumi.getter
|
|
540
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
541
|
+
"""
|
|
542
|
+
The type of monitor protocol, such as HTTP, used for health checks. When the value is off, it indicates that no check is performed.
|
|
543
|
+
"""
|
|
544
|
+
return pulumi.get(self, "type")
|
|
545
|
+
|
|
546
|
+
@type.setter
|
|
547
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
548
|
+
pulumi.set(self, "type", value)
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
if not MYPY:
|
|
552
|
+
class LoadBalancerRandomSteeringArgsDict(TypedDict):
|
|
553
|
+
default_weight: NotRequired[pulumi.Input[_builtins.int]]
|
|
554
|
+
"""
|
|
555
|
+
The default round-robin weight, used for all pools that do not have individually specified weights. The value range is 0-100.
|
|
556
|
+
"""
|
|
557
|
+
pool_weights: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
|
558
|
+
"""
|
|
559
|
+
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.
|
|
560
|
+
"""
|
|
561
|
+
elif False:
|
|
562
|
+
LoadBalancerRandomSteeringArgsDict: TypeAlias = Mapping[str, Any]
|
|
563
|
+
|
|
564
|
+
@pulumi.input_type
|
|
565
|
+
class LoadBalancerRandomSteeringArgs:
|
|
566
|
+
def __init__(__self__, *,
|
|
567
|
+
default_weight: Optional[pulumi.Input[_builtins.int]] = None,
|
|
568
|
+
pool_weights: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
|
569
|
+
"""
|
|
570
|
+
:param pulumi.Input[_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.
|
|
571
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_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.
|
|
572
|
+
"""
|
|
573
|
+
if default_weight is not None:
|
|
574
|
+
pulumi.set(__self__, "default_weight", default_weight)
|
|
575
|
+
if pool_weights is not None:
|
|
576
|
+
pulumi.set(__self__, "pool_weights", pool_weights)
|
|
577
|
+
|
|
578
|
+
@_builtins.property
|
|
579
|
+
@pulumi.getter(name="defaultWeight")
|
|
580
|
+
def default_weight(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
581
|
+
"""
|
|
582
|
+
The default round-robin weight, used for all pools that do not have individually specified weights. The value range is 0-100.
|
|
583
|
+
"""
|
|
584
|
+
return pulumi.get(self, "default_weight")
|
|
585
|
+
|
|
586
|
+
@default_weight.setter
|
|
587
|
+
def default_weight(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
588
|
+
pulumi.set(self, "default_weight", value)
|
|
589
|
+
|
|
590
|
+
@_builtins.property
|
|
591
|
+
@pulumi.getter(name="poolWeights")
|
|
592
|
+
def pool_weights(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
593
|
+
"""
|
|
594
|
+
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.
|
|
595
|
+
"""
|
|
596
|
+
return pulumi.get(self, "pool_weights")
|
|
597
|
+
|
|
598
|
+
@pool_weights.setter
|
|
599
|
+
def pool_weights(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
600
|
+
pulumi.set(self, "pool_weights", value)
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
if not MYPY:
|
|
604
|
+
class LoadBalancerRuleArgsDict(TypedDict):
|
|
605
|
+
fixed_response: NotRequired[pulumi.Input['LoadBalancerRuleFixedResponseArgsDict']]
|
|
606
|
+
"""
|
|
607
|
+
Executes a specified response after matching the rule. See `fixed_response` below.
|
|
608
|
+
"""
|
|
609
|
+
overrides: NotRequired[pulumi.Input[_builtins.str]]
|
|
610
|
+
"""
|
|
611
|
+
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.
|
|
612
|
+
"""
|
|
613
|
+
rule: NotRequired[pulumi.Input[_builtins.str]]
|
|
614
|
+
"""
|
|
615
|
+
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:
|
|
616
|
+
- Match all incoming requests: value set to true
|
|
617
|
+
- Match specified request: Set the value to a custom expression, for example: (http.host eq \\"video.example.com\\")
|
|
618
|
+
"""
|
|
619
|
+
rule_enable: NotRequired[pulumi.Input[_builtins.str]]
|
|
620
|
+
"""
|
|
621
|
+
Rule switch. When adding global configuration, this parameter does not need to be set. Value range:
|
|
622
|
+
- on: open.
|
|
623
|
+
- off: close.
|
|
624
|
+
"""
|
|
625
|
+
rule_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
626
|
+
"""
|
|
627
|
+
Rule name. When adding global configuration, this parameter does not need to be set.
|
|
628
|
+
"""
|
|
629
|
+
sequence: NotRequired[pulumi.Input[_builtins.int]]
|
|
630
|
+
"""
|
|
631
|
+
Order of rule execution. The smaller the value, the higher the priority for execution.
|
|
632
|
+
"""
|
|
633
|
+
terminates: NotRequired[pulumi.Input[_builtins.bool]]
|
|
634
|
+
"""
|
|
635
|
+
Whether to terminate the execution of subsequent rules.
|
|
636
|
+
"""
|
|
637
|
+
elif False:
|
|
638
|
+
LoadBalancerRuleArgsDict: TypeAlias = Mapping[str, Any]
|
|
639
|
+
|
|
640
|
+
@pulumi.input_type
|
|
641
|
+
class LoadBalancerRuleArgs:
|
|
642
|
+
def __init__(__self__, *,
|
|
643
|
+
fixed_response: Optional[pulumi.Input['LoadBalancerRuleFixedResponseArgs']] = None,
|
|
644
|
+
overrides: Optional[pulumi.Input[_builtins.str]] = None,
|
|
645
|
+
rule: Optional[pulumi.Input[_builtins.str]] = None,
|
|
646
|
+
rule_enable: Optional[pulumi.Input[_builtins.str]] = None,
|
|
647
|
+
rule_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
648
|
+
sequence: Optional[pulumi.Input[_builtins.int]] = None,
|
|
649
|
+
terminates: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
650
|
+
"""
|
|
651
|
+
:param pulumi.Input['LoadBalancerRuleFixedResponseArgs'] fixed_response: Executes a specified response after matching the rule. See `fixed_response` below.
|
|
652
|
+
:param pulumi.Input[_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.
|
|
653
|
+
:param pulumi.Input[_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:
|
|
654
|
+
- Match all incoming requests: value set to true
|
|
655
|
+
- Match specified request: Set the value to a custom expression, for example: (http.host eq \\"video.example.com\\")
|
|
656
|
+
:param pulumi.Input[_builtins.str] rule_enable: Rule switch. When adding global configuration, this parameter does not need to be set. Value range:
|
|
657
|
+
- on: open.
|
|
658
|
+
- off: close.
|
|
659
|
+
:param pulumi.Input[_builtins.str] rule_name: Rule name. When adding global configuration, this parameter does not need to be set.
|
|
660
|
+
:param pulumi.Input[_builtins.int] sequence: Order of rule execution. The smaller the value, the higher the priority for execution.
|
|
661
|
+
:param pulumi.Input[_builtins.bool] terminates: Whether to terminate the execution of subsequent rules.
|
|
662
|
+
"""
|
|
663
|
+
if fixed_response is not None:
|
|
664
|
+
pulumi.set(__self__, "fixed_response", fixed_response)
|
|
665
|
+
if overrides is not None:
|
|
666
|
+
pulumi.set(__self__, "overrides", overrides)
|
|
667
|
+
if rule is not None:
|
|
668
|
+
pulumi.set(__self__, "rule", rule)
|
|
669
|
+
if rule_enable is not None:
|
|
670
|
+
pulumi.set(__self__, "rule_enable", rule_enable)
|
|
671
|
+
if rule_name is not None:
|
|
672
|
+
pulumi.set(__self__, "rule_name", rule_name)
|
|
673
|
+
if sequence is not None:
|
|
674
|
+
pulumi.set(__self__, "sequence", sequence)
|
|
675
|
+
if terminates is not None:
|
|
676
|
+
pulumi.set(__self__, "terminates", terminates)
|
|
677
|
+
|
|
678
|
+
@_builtins.property
|
|
679
|
+
@pulumi.getter(name="fixedResponse")
|
|
680
|
+
def fixed_response(self) -> Optional[pulumi.Input['LoadBalancerRuleFixedResponseArgs']]:
|
|
681
|
+
"""
|
|
682
|
+
Executes a specified response after matching the rule. See `fixed_response` below.
|
|
683
|
+
"""
|
|
684
|
+
return pulumi.get(self, "fixed_response")
|
|
685
|
+
|
|
686
|
+
@fixed_response.setter
|
|
687
|
+
def fixed_response(self, value: Optional[pulumi.Input['LoadBalancerRuleFixedResponseArgs']]):
|
|
688
|
+
pulumi.set(self, "fixed_response", value)
|
|
689
|
+
|
|
690
|
+
@_builtins.property
|
|
691
|
+
@pulumi.getter
|
|
692
|
+
def overrides(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
693
|
+
"""
|
|
694
|
+
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.
|
|
695
|
+
"""
|
|
696
|
+
return pulumi.get(self, "overrides")
|
|
697
|
+
|
|
698
|
+
@overrides.setter
|
|
699
|
+
def overrides(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
700
|
+
pulumi.set(self, "overrides", value)
|
|
701
|
+
|
|
702
|
+
@_builtins.property
|
|
703
|
+
@pulumi.getter
|
|
704
|
+
def rule(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
705
|
+
"""
|
|
706
|
+
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:
|
|
707
|
+
- Match all incoming requests: value set to true
|
|
708
|
+
- Match specified request: Set the value to a custom expression, for example: (http.host eq \\"video.example.com\\")
|
|
709
|
+
"""
|
|
710
|
+
return pulumi.get(self, "rule")
|
|
711
|
+
|
|
712
|
+
@rule.setter
|
|
713
|
+
def rule(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
714
|
+
pulumi.set(self, "rule", value)
|
|
715
|
+
|
|
716
|
+
@_builtins.property
|
|
717
|
+
@pulumi.getter(name="ruleEnable")
|
|
718
|
+
def rule_enable(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
719
|
+
"""
|
|
720
|
+
Rule switch. When adding global configuration, this parameter does not need to be set. Value range:
|
|
721
|
+
- on: open.
|
|
722
|
+
- off: close.
|
|
723
|
+
"""
|
|
724
|
+
return pulumi.get(self, "rule_enable")
|
|
725
|
+
|
|
726
|
+
@rule_enable.setter
|
|
727
|
+
def rule_enable(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
728
|
+
pulumi.set(self, "rule_enable", value)
|
|
729
|
+
|
|
730
|
+
@_builtins.property
|
|
731
|
+
@pulumi.getter(name="ruleName")
|
|
732
|
+
def rule_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
733
|
+
"""
|
|
734
|
+
Rule name. When adding global configuration, this parameter does not need to be set.
|
|
735
|
+
"""
|
|
736
|
+
return pulumi.get(self, "rule_name")
|
|
737
|
+
|
|
738
|
+
@rule_name.setter
|
|
739
|
+
def rule_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
740
|
+
pulumi.set(self, "rule_name", value)
|
|
741
|
+
|
|
742
|
+
@_builtins.property
|
|
743
|
+
@pulumi.getter
|
|
744
|
+
def sequence(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
745
|
+
"""
|
|
746
|
+
Order of rule execution. The smaller the value, the higher the priority for execution.
|
|
747
|
+
"""
|
|
748
|
+
return pulumi.get(self, "sequence")
|
|
749
|
+
|
|
750
|
+
@sequence.setter
|
|
751
|
+
def sequence(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
752
|
+
pulumi.set(self, "sequence", value)
|
|
753
|
+
|
|
754
|
+
@_builtins.property
|
|
755
|
+
@pulumi.getter
|
|
756
|
+
def terminates(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
757
|
+
"""
|
|
758
|
+
Whether to terminate the execution of subsequent rules.
|
|
759
|
+
"""
|
|
760
|
+
return pulumi.get(self, "terminates")
|
|
761
|
+
|
|
762
|
+
@terminates.setter
|
|
763
|
+
def terminates(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
764
|
+
pulumi.set(self, "terminates", value)
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
if not MYPY:
|
|
768
|
+
class LoadBalancerRuleFixedResponseArgsDict(TypedDict):
|
|
769
|
+
content_type: NotRequired[pulumi.Input[_builtins.str]]
|
|
770
|
+
"""
|
|
771
|
+
The Content-Type field in the HTTP Header.
|
|
772
|
+
"""
|
|
773
|
+
location: NotRequired[pulumi.Input[_builtins.str]]
|
|
774
|
+
"""
|
|
775
|
+
The location field in the http return.
|
|
776
|
+
"""
|
|
777
|
+
message_body: NotRequired[pulumi.Input[_builtins.str]]
|
|
778
|
+
"""
|
|
779
|
+
The body value of the response.
|
|
780
|
+
"""
|
|
781
|
+
status_code: NotRequired[pulumi.Input[_builtins.int]]
|
|
782
|
+
"""
|
|
783
|
+
Status Code.
|
|
784
|
+
"""
|
|
785
|
+
elif False:
|
|
786
|
+
LoadBalancerRuleFixedResponseArgsDict: TypeAlias = Mapping[str, Any]
|
|
787
|
+
|
|
788
|
+
@pulumi.input_type
|
|
789
|
+
class LoadBalancerRuleFixedResponseArgs:
|
|
790
|
+
def __init__(__self__, *,
|
|
791
|
+
content_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
792
|
+
location: Optional[pulumi.Input[_builtins.str]] = None,
|
|
793
|
+
message_body: Optional[pulumi.Input[_builtins.str]] = None,
|
|
794
|
+
status_code: Optional[pulumi.Input[_builtins.int]] = None):
|
|
795
|
+
"""
|
|
796
|
+
:param pulumi.Input[_builtins.str] content_type: The Content-Type field in the HTTP Header.
|
|
797
|
+
:param pulumi.Input[_builtins.str] location: The location field in the http return.
|
|
798
|
+
:param pulumi.Input[_builtins.str] message_body: The body value of the response.
|
|
799
|
+
:param pulumi.Input[_builtins.int] status_code: Status Code.
|
|
800
|
+
"""
|
|
801
|
+
if content_type is not None:
|
|
802
|
+
pulumi.set(__self__, "content_type", content_type)
|
|
803
|
+
if location is not None:
|
|
804
|
+
pulumi.set(__self__, "location", location)
|
|
805
|
+
if message_body is not None:
|
|
806
|
+
pulumi.set(__self__, "message_body", message_body)
|
|
807
|
+
if status_code is not None:
|
|
808
|
+
pulumi.set(__self__, "status_code", status_code)
|
|
809
|
+
|
|
810
|
+
@_builtins.property
|
|
811
|
+
@pulumi.getter(name="contentType")
|
|
812
|
+
def content_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
813
|
+
"""
|
|
814
|
+
The Content-Type field in the HTTP Header.
|
|
815
|
+
"""
|
|
816
|
+
return pulumi.get(self, "content_type")
|
|
817
|
+
|
|
818
|
+
@content_type.setter
|
|
819
|
+
def content_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
820
|
+
pulumi.set(self, "content_type", value)
|
|
821
|
+
|
|
822
|
+
@_builtins.property
|
|
823
|
+
@pulumi.getter
|
|
824
|
+
def location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
825
|
+
"""
|
|
826
|
+
The location field in the http return.
|
|
827
|
+
"""
|
|
828
|
+
return pulumi.get(self, "location")
|
|
829
|
+
|
|
830
|
+
@location.setter
|
|
831
|
+
def location(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
832
|
+
pulumi.set(self, "location", value)
|
|
833
|
+
|
|
834
|
+
@_builtins.property
|
|
835
|
+
@pulumi.getter(name="messageBody")
|
|
836
|
+
def message_body(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
837
|
+
"""
|
|
838
|
+
The body value of the response.
|
|
839
|
+
"""
|
|
840
|
+
return pulumi.get(self, "message_body")
|
|
841
|
+
|
|
842
|
+
@message_body.setter
|
|
843
|
+
def message_body(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
844
|
+
pulumi.set(self, "message_body", value)
|
|
845
|
+
|
|
846
|
+
@_builtins.property
|
|
847
|
+
@pulumi.getter(name="statusCode")
|
|
848
|
+
def status_code(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
849
|
+
"""
|
|
850
|
+
Status Code.
|
|
851
|
+
"""
|
|
852
|
+
return pulumi.get(self, "status_code")
|
|
853
|
+
|
|
854
|
+
@status_code.setter
|
|
855
|
+
def status_code(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
856
|
+
pulumi.set(self, "status_code", value)
|
|
857
|
+
|
|
858
|
+
|
|
248
859
|
if not MYPY:
|
|
249
860
|
class OriginPoolOriginArgsDict(TypedDict):
|
|
250
861
|
address: NotRequired[pulumi.Input[_builtins.str]]
|