pulumi-alicloud 3.74.0a1737782319__py3-none-any.whl → 3.75.0a1738041330__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 +80 -0
- pulumi_alicloud/alb/__init__.py +1 -0
- pulumi_alicloud/alb/_inputs.py +907 -244
- pulumi_alicloud/alb/get_server_groups.py +55 -25
- pulumi_alicloud/alb/listener.py +269 -174
- pulumi_alicloud/alb/load_balancer.py +239 -118
- pulumi_alicloud/alb/load_balancer_zone_shifted_attachment.py +303 -0
- pulumi_alicloud/alb/outputs.py +716 -218
- pulumi_alicloud/alb/server_group.py +532 -122
- pulumi_alicloud/cen/_inputs.py +34 -0
- pulumi_alicloud/cen/outputs.py +37 -0
- pulumi_alicloud/cen/transit_router_multicast_domain.py +123 -36
- pulumi_alicloud/cs/_inputs.py +349 -1
- pulumi_alicloud/cs/kubernetes.py +15 -15
- pulumi_alicloud/cs/node_pool.py +77 -2
- pulumi_alicloud/cs/outputs.py +265 -1
- pulumi_alicloud/dfs/file_system.py +62 -23
- pulumi_alicloud/dfs/mount_point.py +48 -22
- pulumi_alicloud/esa/__init__.py +3 -0
- pulumi_alicloud/esa/_inputs.py +81 -0
- pulumi_alicloud/esa/http_request_header_modification_rule.py +531 -0
- pulumi_alicloud/esa/list.py +361 -0
- pulumi_alicloud/esa/outputs.py +48 -0
- pulumi_alicloud/esa/page.py +376 -0
- pulumi_alicloud/esa/rate_plan_instance.py +63 -7
- pulumi_alicloud/ess/get_scaling_groups.py +64 -10
- pulumi_alicloud/ess/get_scaling_rules.py +74 -10
- pulumi_alicloud/ess/outputs.py +357 -17
- pulumi_alicloud/eventbridge/get_service.py +2 -6
- pulumi_alicloud/fc/_inputs.py +75 -75
- pulumi_alicloud/fc/outputs.py +50 -50
- pulumi_alicloud/fc/v3_function.py +53 -6
- pulumi_alicloud/kms/__init__.py +1 -0
- pulumi_alicloud/kms/get_instances.py +160 -0
- pulumi_alicloud/kms/instance.py +0 -60
- pulumi_alicloud/kms/outputs.py +19 -0
- pulumi_alicloud/maxcompute/__init__.py +5 -0
- pulumi_alicloud/maxcompute/_inputs.py +615 -42
- pulumi_alicloud/maxcompute/outputs.py +486 -28
- pulumi_alicloud/maxcompute/project.py +63 -31
- pulumi_alicloud/maxcompute/quota_plan.py +412 -0
- pulumi_alicloud/maxcompute/quota_schedule.py +260 -0
- pulumi_alicloud/maxcompute/role.py +423 -0
- pulumi_alicloud/maxcompute/role_user_attachment.py +368 -0
- pulumi_alicloud/maxcompute/tunnel_quota_timer.py +287 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rds/instance.py +68 -0
- pulumi_alicloud/vpc/__init__.py +1 -0
- pulumi_alicloud/vpc/ipam_ipam_pool.py +47 -0
- pulumi_alicloud/vpc/ipam_ipam_scope.py +47 -0
- pulumi_alicloud/vpc/ipam_service.py +144 -0
- pulumi_alicloud/vpc/ipv4_cidr_block.py +162 -51
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0a1738041330.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0a1738041330.dist-info}/RECORD +56 -45
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0a1738041330.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.74.0a1737782319.dist-info → pulumi_alicloud-3.75.0a1738041330.dist-info}/top_level.txt +0 -0
pulumi_alicloud/alb/_inputs.py
CHANGED
|
@@ -25,6 +25,8 @@ __all__ = [
|
|
|
25
25
|
'ListenerAclConfigArgsDict',
|
|
26
26
|
'ListenerAclConfigAclRelationArgs',
|
|
27
27
|
'ListenerAclConfigAclRelationArgsDict',
|
|
28
|
+
'ListenerCaCertificateArgs',
|
|
29
|
+
'ListenerCaCertificateArgsDict',
|
|
28
30
|
'ListenerCertificatesArgs',
|
|
29
31
|
'ListenerCertificatesArgsDict',
|
|
30
32
|
'ListenerDefaultActionArgs',
|
|
@@ -39,6 +41,8 @@ __all__ = [
|
|
|
39
41
|
'ListenerXForwardedForConfigArgsDict',
|
|
40
42
|
'LoadBalancerAccessLogConfigArgs',
|
|
41
43
|
'LoadBalancerAccessLogConfigArgsDict',
|
|
44
|
+
'LoadBalancerDeletionProtectionConfigArgs',
|
|
45
|
+
'LoadBalancerDeletionProtectionConfigArgsDict',
|
|
42
46
|
'LoadBalancerLoadBalancerBillingConfigArgs',
|
|
43
47
|
'LoadBalancerLoadBalancerBillingConfigArgsDict',
|
|
44
48
|
'LoadBalancerModificationProtectionConfigArgs',
|
|
@@ -99,12 +103,18 @@ __all__ = [
|
|
|
99
103
|
'RuleRuleConditionResponseStatusCodeConfigArgsDict',
|
|
100
104
|
'RuleRuleConditionSourceIpConfigArgs',
|
|
101
105
|
'RuleRuleConditionSourceIpConfigArgsDict',
|
|
106
|
+
'ServerGroupConnectionDrainConfigArgs',
|
|
107
|
+
'ServerGroupConnectionDrainConfigArgsDict',
|
|
102
108
|
'ServerGroupHealthCheckConfigArgs',
|
|
103
109
|
'ServerGroupHealthCheckConfigArgsDict',
|
|
104
110
|
'ServerGroupServerArgs',
|
|
105
111
|
'ServerGroupServerArgsDict',
|
|
112
|
+
'ServerGroupSlowStartConfigArgs',
|
|
113
|
+
'ServerGroupSlowStartConfigArgsDict',
|
|
106
114
|
'ServerGroupStickySessionConfigArgs',
|
|
107
115
|
'ServerGroupStickySessionConfigArgsDict',
|
|
116
|
+
'ServerGroupUchConfigArgs',
|
|
117
|
+
'ServerGroupUchConfigArgsDict',
|
|
108
118
|
]
|
|
109
119
|
|
|
110
120
|
MYPY = False
|
|
@@ -244,23 +254,25 @@ class AclAclEntryArgs:
|
|
|
244
254
|
|
|
245
255
|
if not MYPY:
|
|
246
256
|
class ListenerAccessLogTracingConfigArgsDict(TypedDict):
|
|
247
|
-
tracing_enabled:
|
|
257
|
+
tracing_enabled: pulumi.Input[bool]
|
|
248
258
|
"""
|
|
249
|
-
Xtrace Function.
|
|
259
|
+
Xtrace Function.
|
|
250
260
|
|
|
251
|
-
|
|
261
|
+
Value: True **** Or False * *.
|
|
262
|
+
|
|
263
|
+
Default Value: False * *.
|
|
264
|
+
|
|
265
|
+
> **NOTE:** Only Instances outside the Security Group to Access the Log Switch `accesslogenabled` Open, in Order to Set This Parameter to the **True * *.
|
|
252
266
|
"""
|
|
253
267
|
tracing_sample: NotRequired[pulumi.Input[int]]
|
|
254
268
|
"""
|
|
255
|
-
Xtrace Sampling Rate. Value:
|
|
256
|
-
|
|
257
|
-
> **NOTE:** This attribute is valid when `tracingenabled` is `true`.
|
|
269
|
+
Xtrace Sampling Rate. Value: 1~10000 **.> `tracingenabled` **True When Effective.
|
|
258
270
|
"""
|
|
259
271
|
tracing_type: NotRequired[pulumi.Input[str]]
|
|
260
272
|
"""
|
|
261
|
-
Xtrace Type Value Is
|
|
273
|
+
Xtrace Type Value Is **Zipkin * *.
|
|
262
274
|
|
|
263
|
-
> **NOTE:**
|
|
275
|
+
> **NOTE:** `tracingenabled` **True When Effective.
|
|
264
276
|
"""
|
|
265
277
|
elif False:
|
|
266
278
|
ListenerAccessLogTracingConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -268,22 +280,23 @@ elif False:
|
|
|
268
280
|
@pulumi.input_type
|
|
269
281
|
class ListenerAccessLogTracingConfigArgs:
|
|
270
282
|
def __init__(__self__, *,
|
|
271
|
-
tracing_enabled:
|
|
283
|
+
tracing_enabled: pulumi.Input[bool],
|
|
272
284
|
tracing_sample: Optional[pulumi.Input[int]] = None,
|
|
273
285
|
tracing_type: Optional[pulumi.Input[str]] = None):
|
|
274
286
|
"""
|
|
275
|
-
:param pulumi.Input[bool] tracing_enabled: Xtrace Function.
|
|
287
|
+
:param pulumi.Input[bool] tracing_enabled: Xtrace Function.
|
|
276
288
|
|
|
277
|
-
|
|
278
|
-
:param pulumi.Input[int] tracing_sample: Xtrace Sampling Rate. Value: `1` to `10000`.
|
|
289
|
+
Value: True **** Or False * *.
|
|
279
290
|
|
|
280
|
-
|
|
281
|
-
:param pulumi.Input[str] tracing_type: Xtrace Type Value Is `Zipkin`.
|
|
291
|
+
Default Value: False * *.
|
|
282
292
|
|
|
283
|
-
> **NOTE:**
|
|
293
|
+
> **NOTE:** Only Instances outside the Security Group to Access the Log Switch `accesslogenabled` Open, in Order to Set This Parameter to the **True * *.
|
|
294
|
+
:param pulumi.Input[int] tracing_sample: Xtrace Sampling Rate. Value: 1~10000 **.> `tracingenabled` **True When Effective.
|
|
295
|
+
:param pulumi.Input[str] tracing_type: Xtrace Type Value Is **Zipkin * *.
|
|
296
|
+
|
|
297
|
+
> **NOTE:** `tracingenabled` **True When Effective.
|
|
284
298
|
"""
|
|
285
|
-
|
|
286
|
-
pulumi.set(__self__, "tracing_enabled", tracing_enabled)
|
|
299
|
+
pulumi.set(__self__, "tracing_enabled", tracing_enabled)
|
|
287
300
|
if tracing_sample is not None:
|
|
288
301
|
pulumi.set(__self__, "tracing_sample", tracing_sample)
|
|
289
302
|
if tracing_type is not None:
|
|
@@ -291,25 +304,27 @@ class ListenerAccessLogTracingConfigArgs:
|
|
|
291
304
|
|
|
292
305
|
@property
|
|
293
306
|
@pulumi.getter(name="tracingEnabled")
|
|
294
|
-
def tracing_enabled(self) ->
|
|
307
|
+
def tracing_enabled(self) -> pulumi.Input[bool]:
|
|
295
308
|
"""
|
|
296
|
-
Xtrace Function.
|
|
309
|
+
Xtrace Function.
|
|
310
|
+
|
|
311
|
+
Value: True **** Or False * *.
|
|
312
|
+
|
|
313
|
+
Default Value: False * *.
|
|
297
314
|
|
|
298
|
-
> **NOTE:**
|
|
315
|
+
> **NOTE:** Only Instances outside the Security Group to Access the Log Switch `accesslogenabled` Open, in Order to Set This Parameter to the **True * *.
|
|
299
316
|
"""
|
|
300
317
|
return pulumi.get(self, "tracing_enabled")
|
|
301
318
|
|
|
302
319
|
@tracing_enabled.setter
|
|
303
|
-
def tracing_enabled(self, value:
|
|
320
|
+
def tracing_enabled(self, value: pulumi.Input[bool]):
|
|
304
321
|
pulumi.set(self, "tracing_enabled", value)
|
|
305
322
|
|
|
306
323
|
@property
|
|
307
324
|
@pulumi.getter(name="tracingSample")
|
|
308
325
|
def tracing_sample(self) -> Optional[pulumi.Input[int]]:
|
|
309
326
|
"""
|
|
310
|
-
Xtrace Sampling Rate. Value:
|
|
311
|
-
|
|
312
|
-
> **NOTE:** This attribute is valid when `tracingenabled` is `true`.
|
|
327
|
+
Xtrace Sampling Rate. Value: 1~10000 **.> `tracingenabled` **True When Effective.
|
|
313
328
|
"""
|
|
314
329
|
return pulumi.get(self, "tracing_sample")
|
|
315
330
|
|
|
@@ -321,9 +336,9 @@ class ListenerAccessLogTracingConfigArgs:
|
|
|
321
336
|
@pulumi.getter(name="tracingType")
|
|
322
337
|
def tracing_type(self) -> Optional[pulumi.Input[str]]:
|
|
323
338
|
"""
|
|
324
|
-
Xtrace Type Value Is
|
|
339
|
+
Xtrace Type Value Is **Zipkin * *.
|
|
325
340
|
|
|
326
|
-
> **NOTE:**
|
|
341
|
+
> **NOTE:** `tracingenabled` **True When Effective.
|
|
327
342
|
"""
|
|
328
343
|
return pulumi.get(self, "tracing_type")
|
|
329
344
|
|
|
@@ -392,7 +407,7 @@ if not MYPY:
|
|
|
392
407
|
"""
|
|
393
408
|
status: NotRequired[pulumi.Input[str]]
|
|
394
409
|
"""
|
|
395
|
-
The
|
|
410
|
+
The Current IP Address of the Listened State
|
|
396
411
|
"""
|
|
397
412
|
elif False:
|
|
398
413
|
ListenerAclConfigAclRelationArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -404,7 +419,7 @@ class ListenerAclConfigAclRelationArgs:
|
|
|
404
419
|
status: Optional[pulumi.Input[str]] = None):
|
|
405
420
|
"""
|
|
406
421
|
:param pulumi.Input[str] acl_id: Snooping Binding of the Access Policy Group ID List.
|
|
407
|
-
:param pulumi.Input[str] status: The
|
|
422
|
+
:param pulumi.Input[str] status: The Current IP Address of the Listened State
|
|
408
423
|
"""
|
|
409
424
|
if acl_id is not None:
|
|
410
425
|
pulumi.set(__self__, "acl_id", acl_id)
|
|
@@ -427,7 +442,7 @@ class ListenerAclConfigAclRelationArgs:
|
|
|
427
442
|
@pulumi.getter
|
|
428
443
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
429
444
|
"""
|
|
430
|
-
The
|
|
445
|
+
The Current IP Address of the Listened State
|
|
431
446
|
"""
|
|
432
447
|
return pulumi.get(self, "status")
|
|
433
448
|
|
|
@@ -436,11 +451,43 @@ class ListenerAclConfigAclRelationArgs:
|
|
|
436
451
|
pulumi.set(self, "status", value)
|
|
437
452
|
|
|
438
453
|
|
|
454
|
+
if not MYPY:
|
|
455
|
+
class ListenerCaCertificateArgsDict(TypedDict):
|
|
456
|
+
certificate_id: NotRequired[pulumi.Input[str]]
|
|
457
|
+
"""
|
|
458
|
+
The ID of the certificate. Currently, only server certificates are supported.
|
|
459
|
+
"""
|
|
460
|
+
elif False:
|
|
461
|
+
ListenerCaCertificateArgsDict: TypeAlias = Mapping[str, Any]
|
|
462
|
+
|
|
463
|
+
@pulumi.input_type
|
|
464
|
+
class ListenerCaCertificateArgs:
|
|
465
|
+
def __init__(__self__, *,
|
|
466
|
+
certificate_id: Optional[pulumi.Input[str]] = None):
|
|
467
|
+
"""
|
|
468
|
+
:param pulumi.Input[str] certificate_id: The ID of the certificate. Currently, only server certificates are supported.
|
|
469
|
+
"""
|
|
470
|
+
if certificate_id is not None:
|
|
471
|
+
pulumi.set(__self__, "certificate_id", certificate_id)
|
|
472
|
+
|
|
473
|
+
@property
|
|
474
|
+
@pulumi.getter(name="certificateId")
|
|
475
|
+
def certificate_id(self) -> Optional[pulumi.Input[str]]:
|
|
476
|
+
"""
|
|
477
|
+
The ID of the certificate. Currently, only server certificates are supported.
|
|
478
|
+
"""
|
|
479
|
+
return pulumi.get(self, "certificate_id")
|
|
480
|
+
|
|
481
|
+
@certificate_id.setter
|
|
482
|
+
def certificate_id(self, value: Optional[pulumi.Input[str]]):
|
|
483
|
+
pulumi.set(self, "certificate_id", value)
|
|
484
|
+
|
|
485
|
+
|
|
439
486
|
if not MYPY:
|
|
440
487
|
class ListenerCertificatesArgsDict(TypedDict):
|
|
441
488
|
certificate_id: NotRequired[pulumi.Input[str]]
|
|
442
489
|
"""
|
|
443
|
-
The ID of the
|
|
490
|
+
The ID of the certificate. Currently, only server certificates are supported.
|
|
444
491
|
"""
|
|
445
492
|
elif False:
|
|
446
493
|
ListenerCertificatesArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -450,7 +497,7 @@ class ListenerCertificatesArgs:
|
|
|
450
497
|
def __init__(__self__, *,
|
|
451
498
|
certificate_id: Optional[pulumi.Input[str]] = None):
|
|
452
499
|
"""
|
|
453
|
-
:param pulumi.Input[str] certificate_id: The ID of the
|
|
500
|
+
:param pulumi.Input[str] certificate_id: The ID of the certificate. Currently, only server certificates are supported.
|
|
454
501
|
"""
|
|
455
502
|
if certificate_id is not None:
|
|
456
503
|
pulumi.set(__self__, "certificate_id", certificate_id)
|
|
@@ -459,7 +506,7 @@ class ListenerCertificatesArgs:
|
|
|
459
506
|
@pulumi.getter(name="certificateId")
|
|
460
507
|
def certificate_id(self) -> Optional[pulumi.Input[str]]:
|
|
461
508
|
"""
|
|
462
|
-
The ID of the
|
|
509
|
+
The ID of the certificate. Currently, only server certificates are supported.
|
|
463
510
|
"""
|
|
464
511
|
return pulumi.get(self, "certificate_id")
|
|
465
512
|
|
|
@@ -470,13 +517,13 @@ class ListenerCertificatesArgs:
|
|
|
470
517
|
|
|
471
518
|
if not MYPY:
|
|
472
519
|
class ListenerDefaultActionArgsDict(TypedDict):
|
|
473
|
-
|
|
520
|
+
type: pulumi.Input[str]
|
|
474
521
|
"""
|
|
475
|
-
|
|
522
|
+
Action Type
|
|
476
523
|
"""
|
|
477
|
-
|
|
524
|
+
forward_group_config: NotRequired[pulumi.Input['ListenerDefaultActionForwardGroupConfigArgsDict']]
|
|
478
525
|
"""
|
|
479
|
-
Action
|
|
526
|
+
Forwarding Action Configurations See `forward_group_config` below.
|
|
480
527
|
"""
|
|
481
528
|
elif False:
|
|
482
529
|
ListenerDefaultActionArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -484,32 +531,21 @@ elif False:
|
|
|
484
531
|
@pulumi.input_type
|
|
485
532
|
class ListenerDefaultActionArgs:
|
|
486
533
|
def __init__(__self__, *,
|
|
487
|
-
|
|
488
|
-
|
|
534
|
+
type: pulumi.Input[str],
|
|
535
|
+
forward_group_config: Optional[pulumi.Input['ListenerDefaultActionForwardGroupConfigArgs']] = None):
|
|
489
536
|
"""
|
|
490
|
-
:param pulumi.Input[
|
|
491
|
-
:param pulumi.Input[
|
|
537
|
+
:param pulumi.Input[str] type: Action Type
|
|
538
|
+
:param pulumi.Input['ListenerDefaultActionForwardGroupConfigArgs'] forward_group_config: Forwarding Action Configurations See `forward_group_config` below.
|
|
492
539
|
"""
|
|
493
|
-
pulumi.set(__self__, "forward_group_config", forward_group_config)
|
|
494
540
|
pulumi.set(__self__, "type", type)
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
@pulumi.getter(name="forwardGroupConfig")
|
|
498
|
-
def forward_group_config(self) -> pulumi.Input['ListenerDefaultActionForwardGroupConfigArgs']:
|
|
499
|
-
"""
|
|
500
|
-
The configurations of the actions. This parameter is required if Type is set to FowardGroup. See `forward_group_config` below for details.
|
|
501
|
-
"""
|
|
502
|
-
return pulumi.get(self, "forward_group_config")
|
|
503
|
-
|
|
504
|
-
@forward_group_config.setter
|
|
505
|
-
def forward_group_config(self, value: pulumi.Input['ListenerDefaultActionForwardGroupConfigArgs']):
|
|
506
|
-
pulumi.set(self, "forward_group_config", value)
|
|
541
|
+
if forward_group_config is not None:
|
|
542
|
+
pulumi.set(__self__, "forward_group_config", forward_group_config)
|
|
507
543
|
|
|
508
544
|
@property
|
|
509
545
|
@pulumi.getter
|
|
510
546
|
def type(self) -> pulumi.Input[str]:
|
|
511
547
|
"""
|
|
512
|
-
Action Type
|
|
548
|
+
Action Type
|
|
513
549
|
"""
|
|
514
550
|
return pulumi.get(self, "type")
|
|
515
551
|
|
|
@@ -517,12 +553,24 @@ class ListenerDefaultActionArgs:
|
|
|
517
553
|
def type(self, value: pulumi.Input[str]):
|
|
518
554
|
pulumi.set(self, "type", value)
|
|
519
555
|
|
|
556
|
+
@property
|
|
557
|
+
@pulumi.getter(name="forwardGroupConfig")
|
|
558
|
+
def forward_group_config(self) -> Optional[pulumi.Input['ListenerDefaultActionForwardGroupConfigArgs']]:
|
|
559
|
+
"""
|
|
560
|
+
Forwarding Action Configurations See `forward_group_config` below.
|
|
561
|
+
"""
|
|
562
|
+
return pulumi.get(self, "forward_group_config")
|
|
563
|
+
|
|
564
|
+
@forward_group_config.setter
|
|
565
|
+
def forward_group_config(self, value: Optional[pulumi.Input['ListenerDefaultActionForwardGroupConfigArgs']]):
|
|
566
|
+
pulumi.set(self, "forward_group_config", value)
|
|
567
|
+
|
|
520
568
|
|
|
521
569
|
if not MYPY:
|
|
522
570
|
class ListenerDefaultActionForwardGroupConfigArgsDict(TypedDict):
|
|
523
571
|
server_group_tuples: pulumi.Input[Sequence[pulumi.Input['ListenerDefaultActionForwardGroupConfigServerGroupTupleArgsDict']]]
|
|
524
572
|
"""
|
|
525
|
-
The
|
|
573
|
+
The Forwarding Destination Server Group See `server_group_tuples` below.
|
|
526
574
|
"""
|
|
527
575
|
elif False:
|
|
528
576
|
ListenerDefaultActionForwardGroupConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -532,7 +580,7 @@ class ListenerDefaultActionForwardGroupConfigArgs:
|
|
|
532
580
|
def __init__(__self__, *,
|
|
533
581
|
server_group_tuples: pulumi.Input[Sequence[pulumi.Input['ListenerDefaultActionForwardGroupConfigServerGroupTupleArgs']]]):
|
|
534
582
|
"""
|
|
535
|
-
:param pulumi.Input[Sequence[pulumi.Input['ListenerDefaultActionForwardGroupConfigServerGroupTupleArgs']]] server_group_tuples: The
|
|
583
|
+
:param pulumi.Input[Sequence[pulumi.Input['ListenerDefaultActionForwardGroupConfigServerGroupTupleArgs']]] server_group_tuples: The Forwarding Destination Server Group See `server_group_tuples` below.
|
|
536
584
|
"""
|
|
537
585
|
pulumi.set(__self__, "server_group_tuples", server_group_tuples)
|
|
538
586
|
|
|
@@ -540,7 +588,7 @@ class ListenerDefaultActionForwardGroupConfigArgs:
|
|
|
540
588
|
@pulumi.getter(name="serverGroupTuples")
|
|
541
589
|
def server_group_tuples(self) -> pulumi.Input[Sequence[pulumi.Input['ListenerDefaultActionForwardGroupConfigServerGroupTupleArgs']]]:
|
|
542
590
|
"""
|
|
543
|
-
The
|
|
591
|
+
The Forwarding Destination Server Group See `server_group_tuples` below.
|
|
544
592
|
"""
|
|
545
593
|
return pulumi.get(self, "server_group_tuples")
|
|
546
594
|
|
|
@@ -553,7 +601,7 @@ if not MYPY:
|
|
|
553
601
|
class ListenerDefaultActionForwardGroupConfigServerGroupTupleArgsDict(TypedDict):
|
|
554
602
|
server_group_id: pulumi.Input[str]
|
|
555
603
|
"""
|
|
556
|
-
|
|
604
|
+
Forwarded to the Destination Server Group ID
|
|
557
605
|
"""
|
|
558
606
|
elif False:
|
|
559
607
|
ListenerDefaultActionForwardGroupConfigServerGroupTupleArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -563,7 +611,7 @@ class ListenerDefaultActionForwardGroupConfigServerGroupTupleArgs:
|
|
|
563
611
|
def __init__(__self__, *,
|
|
564
612
|
server_group_id: pulumi.Input[str]):
|
|
565
613
|
"""
|
|
566
|
-
:param pulumi.Input[str] server_group_id:
|
|
614
|
+
:param pulumi.Input[str] server_group_id: Forwarded to the Destination Server Group ID
|
|
567
615
|
"""
|
|
568
616
|
pulumi.set(__self__, "server_group_id", server_group_id)
|
|
569
617
|
|
|
@@ -571,7 +619,7 @@ class ListenerDefaultActionForwardGroupConfigServerGroupTupleArgs:
|
|
|
571
619
|
@pulumi.getter(name="serverGroupId")
|
|
572
620
|
def server_group_id(self) -> pulumi.Input[str]:
|
|
573
621
|
"""
|
|
574
|
-
|
|
622
|
+
Forwarded to the Destination Server Group ID
|
|
575
623
|
"""
|
|
576
624
|
return pulumi.get(self, "server_group_id")
|
|
577
625
|
|
|
@@ -588,9 +636,7 @@ if not MYPY:
|
|
|
588
636
|
"""
|
|
589
637
|
quic_upgrade_enabled: NotRequired[pulumi.Input[bool]]
|
|
590
638
|
"""
|
|
591
|
-
Indicates Whether to Enable the QuIC Upgrade
|
|
592
|
-
|
|
593
|
-
> **NOTE:** The attribute is valid when the attribute `ListenerProtocol` is `HTTPS`.
|
|
639
|
+
Indicates Whether to Enable the QuIC Upgrade
|
|
594
640
|
"""
|
|
595
641
|
elif False:
|
|
596
642
|
ListenerQuicConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -602,9 +648,7 @@ class ListenerQuicConfigArgs:
|
|
|
602
648
|
quic_upgrade_enabled: Optional[pulumi.Input[bool]] = None):
|
|
603
649
|
"""
|
|
604
650
|
:param pulumi.Input[str] quic_listener_id: There Is a Need to Correlate the QuIC Listener ID. The Https Listener, in Effect at the Time. quicupgradeenabled True When Required.
|
|
605
|
-
:param pulumi.Input[bool] quic_upgrade_enabled: Indicates Whether to Enable the QuIC Upgrade
|
|
606
|
-
|
|
607
|
-
> **NOTE:** The attribute is valid when the attribute `ListenerProtocol` is `HTTPS`.
|
|
651
|
+
:param pulumi.Input[bool] quic_upgrade_enabled: Indicates Whether to Enable the QuIC Upgrade
|
|
608
652
|
"""
|
|
609
653
|
if quic_listener_id is not None:
|
|
610
654
|
pulumi.set(__self__, "quic_listener_id", quic_listener_id)
|
|
@@ -627,9 +671,7 @@ class ListenerQuicConfigArgs:
|
|
|
627
671
|
@pulumi.getter(name="quicUpgradeEnabled")
|
|
628
672
|
def quic_upgrade_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
629
673
|
"""
|
|
630
|
-
Indicates Whether to Enable the QuIC Upgrade
|
|
631
|
-
|
|
632
|
-
> **NOTE:** The attribute is valid when the attribute `ListenerProtocol` is `HTTPS`.
|
|
674
|
+
Indicates Whether to Enable the QuIC Upgrade
|
|
633
675
|
"""
|
|
634
676
|
return pulumi.get(self, "quic_upgrade_enabled")
|
|
635
677
|
|
|
@@ -642,43 +684,51 @@ if not MYPY:
|
|
|
642
684
|
class ListenerXForwardedForConfigArgsDict(TypedDict):
|
|
643
685
|
x_forwarded_for_client_cert_client_verify_alias: NotRequired[pulumi.Input[str]]
|
|
644
686
|
"""
|
|
645
|
-
The Custom Header Field Names Only When
|
|
687
|
+
The Custom Header Field Names Only When xforwardedforclientcertclientverifyenabled Has a Value of True, this Value Will Not Take Effect until.
|
|
646
688
|
"""
|
|
647
689
|
x_forwarded_for_client_cert_client_verify_enabled: NotRequired[pulumi.Input[bool]]
|
|
648
690
|
"""
|
|
649
|
-
Indicates Whether the
|
|
691
|
+
Indicates Whether the X-Forwarded-Clientcert-clientverify Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate to Verify the Results.
|
|
650
692
|
"""
|
|
651
693
|
x_forwarded_for_client_cert_finger_print_alias: NotRequired[pulumi.Input[str]]
|
|
652
694
|
"""
|
|
653
|
-
The Custom Header Field Names Only When
|
|
695
|
+
The Custom Header Field Names Only When xforwardedforclientcertfingerprintenabled, Which Evaluates to True When the Entry into Force of.
|
|
654
696
|
"""
|
|
655
697
|
x_forwarded_for_client_cert_finger_print_enabled: NotRequired[pulumi.Input[bool]]
|
|
656
698
|
"""
|
|
657
|
-
Indicates Whether the
|
|
699
|
+
Indicates Whether the X-Forwarded-Clientcert-fingerprint Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate Fingerprint Value.
|
|
658
700
|
"""
|
|
659
701
|
x_forwarded_for_client_cert_issuer_dn_alias: NotRequired[pulumi.Input[str]]
|
|
660
702
|
"""
|
|
661
|
-
The Custom Header Field Names Only When
|
|
703
|
+
The Custom Header Field Names Only When xforwardedforclientcertsubjectdnenabled, Which Evaluates to True When the Entry into Force of.
|
|
662
704
|
"""
|
|
663
705
|
x_forwarded_for_client_cert_issuer_dn_enabled: NotRequired[pulumi.Input[bool]]
|
|
664
706
|
"""
|
|
665
|
-
Indicates Whether the
|
|
707
|
+
Indicates Whether the X-Forwarded-Clientcert-issuerdn Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate after the Manifests Are Signed, the Publisher Information.
|
|
666
708
|
"""
|
|
667
709
|
x_forwarded_for_client_cert_subject_dn_alias: NotRequired[pulumi.Input[str]]
|
|
668
710
|
"""
|
|
669
|
-
The
|
|
711
|
+
The Custom Header Field Name,
|
|
670
712
|
"""
|
|
671
713
|
x_forwarded_for_client_cert_subject_dn_enabled: NotRequired[pulumi.Input[bool]]
|
|
672
714
|
"""
|
|
673
|
-
|
|
715
|
+
Indicates Whether the X-Forwarded-Clientcert-subjectdn Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate Owner Information.
|
|
674
716
|
"""
|
|
675
717
|
x_forwarded_for_client_source_ips_enabled: NotRequired[pulumi.Input[bool]]
|
|
676
718
|
"""
|
|
677
|
-
Whether to use the X-Forwarded-Client-Ip header to obtain the source IP address of the server load balancer instance. Value:
|
|
719
|
+
Whether to use the X-Forwarded-Client-Ip header to obtain the source IP address of the server load balancer instance. Value:
|
|
720
|
+
|
|
721
|
+
true: Yes.
|
|
722
|
+
|
|
723
|
+
false (default): No.
|
|
724
|
+
|
|
725
|
+
Note HTTP, HTTPS, and QUIC listeners support this parameter. The function corresponding to this parameter is not open by default. Please contact the account manager if you need to use it.
|
|
678
726
|
"""
|
|
679
727
|
x_forwarded_for_client_source_ips_trusted: NotRequired[pulumi.Input[str]]
|
|
680
728
|
"""
|
|
681
|
-
Specify the trusted proxy IP.
|
|
729
|
+
Specify the trusted proxy IP.
|
|
730
|
+
|
|
731
|
+
Application-oriented load balancing ALB will traverse the X-Forwarded-For from back to front, and select the first IP that is not in the trusted IP list as the real client IP, which will be used for the source IP speed limit.
|
|
682
732
|
"""
|
|
683
733
|
x_forwarded_for_client_src_port_enabled: NotRequired[pulumi.Input[bool]]
|
|
684
734
|
"""
|
|
@@ -688,17 +738,41 @@ if not MYPY:
|
|
|
688
738
|
"""
|
|
689
739
|
Whether to Enable by X-Forwarded-For Header Field Is Used to Obtain the Client IP Addresses.
|
|
690
740
|
"""
|
|
741
|
+
x_forwarded_for_host_enabled: NotRequired[pulumi.Input[bool]]
|
|
742
|
+
"""
|
|
743
|
+
Whether to enable the X-Forwarded-Host header field to obtain the domain name of the client accessing the Application Load Balancer. Value:
|
|
744
|
+
|
|
745
|
+
true: Yes.
|
|
746
|
+
|
|
747
|
+
false (default): No.
|
|
748
|
+
|
|
749
|
+
HTTP, HTTPS, and QUIC listeners support this parameter.
|
|
750
|
+
"""
|
|
751
|
+
x_forwarded_for_processing_mode: NotRequired[pulumi.Input[str]]
|
|
752
|
+
"""
|
|
753
|
+
Schema for processing X-Forwarded-For header fields. This value takes effect only when XForwardedForEnabled is true. Value:
|
|
754
|
+
|
|
755
|
+
append (default): append.
|
|
756
|
+
|
|
757
|
+
remove: Delete.
|
|
758
|
+
|
|
759
|
+
Configure append to add the last hop IP address to the X-Forwarded-For header field before sending the request to the backend service.
|
|
760
|
+
|
|
761
|
+
Configure remove to delete the X-Forwarded-For header before the request is sent to the backend service, regardless of whether the request carries X-Forwarded-For header fields.
|
|
762
|
+
|
|
763
|
+
HTTP and HTTPS listeners support this parameter.
|
|
764
|
+
"""
|
|
691
765
|
x_forwarded_for_proto_enabled: NotRequired[pulumi.Input[bool]]
|
|
692
766
|
"""
|
|
693
767
|
Indicates Whether the X-Forwarded-Proto Header Field Is Used to Obtain the Server Load Balancer Instance Snooping Protocols.
|
|
694
768
|
"""
|
|
695
769
|
x_forwarded_for_slb_id_enabled: NotRequired[pulumi.Input[bool]]
|
|
696
770
|
"""
|
|
697
|
-
Indicates Whether the SLB-ID Header Field Is Used to Obtain the Load Balancing Instance Id
|
|
771
|
+
Indicates Whether the SLB-ID Header Field Is Used to Obtain the Load Balancing Instance Id
|
|
698
772
|
"""
|
|
699
773
|
x_forwarded_for_slb_port_enabled: NotRequired[pulumi.Input[bool]]
|
|
700
774
|
"""
|
|
701
|
-
Indicates Whether the X-Forwarded-Port Header Field Is Used to Obtain the Server Load Balancer Instance Listening Port
|
|
775
|
+
Indicates Whether the X-Forwarded-Port Header Field Is Used to Obtain the Server Load Balancer Instance Listening Port
|
|
702
776
|
"""
|
|
703
777
|
elif False:
|
|
704
778
|
ListenerXForwardedForConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -718,25 +792,53 @@ class ListenerXForwardedForConfigArgs:
|
|
|
718
792
|
x_forwarded_for_client_source_ips_trusted: Optional[pulumi.Input[str]] = None,
|
|
719
793
|
x_forwarded_for_client_src_port_enabled: Optional[pulumi.Input[bool]] = None,
|
|
720
794
|
x_forwarded_for_enabled: Optional[pulumi.Input[bool]] = None,
|
|
795
|
+
x_forwarded_for_host_enabled: Optional[pulumi.Input[bool]] = None,
|
|
796
|
+
x_forwarded_for_processing_mode: Optional[pulumi.Input[str]] = None,
|
|
721
797
|
x_forwarded_for_proto_enabled: Optional[pulumi.Input[bool]] = None,
|
|
722
798
|
x_forwarded_for_slb_id_enabled: Optional[pulumi.Input[bool]] = None,
|
|
723
799
|
x_forwarded_for_slb_port_enabled: Optional[pulumi.Input[bool]] = None):
|
|
724
800
|
"""
|
|
725
|
-
:param pulumi.Input[str] x_forwarded_for_client_cert_client_verify_alias: The Custom Header Field Names Only When
|
|
726
|
-
:param pulumi.Input[bool] x_forwarded_for_client_cert_client_verify_enabled: Indicates Whether the
|
|
727
|
-
:param pulumi.Input[str] x_forwarded_for_client_cert_finger_print_alias: The Custom Header Field Names Only When
|
|
728
|
-
:param pulumi.Input[bool] x_forwarded_for_client_cert_finger_print_enabled: Indicates Whether the
|
|
729
|
-
:param pulumi.Input[str] x_forwarded_for_client_cert_issuer_dn_alias: The Custom Header Field Names Only When
|
|
730
|
-
:param pulumi.Input[bool] x_forwarded_for_client_cert_issuer_dn_enabled: Indicates Whether the
|
|
731
|
-
:param pulumi.Input[str] x_forwarded_for_client_cert_subject_dn_alias: The
|
|
732
|
-
:param pulumi.Input[bool] x_forwarded_for_client_cert_subject_dn_enabled:
|
|
733
|
-
:param pulumi.Input[bool] x_forwarded_for_client_source_ips_enabled: Whether to use the X-Forwarded-Client-Ip header to obtain the source IP address of the server load balancer instance. Value:
|
|
734
|
-
|
|
801
|
+
:param pulumi.Input[str] x_forwarded_for_client_cert_client_verify_alias: The Custom Header Field Names Only When xforwardedforclientcertclientverifyenabled Has a Value of True, this Value Will Not Take Effect until.
|
|
802
|
+
:param pulumi.Input[bool] x_forwarded_for_client_cert_client_verify_enabled: Indicates Whether the X-Forwarded-Clientcert-clientverify Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate to Verify the Results.
|
|
803
|
+
:param pulumi.Input[str] x_forwarded_for_client_cert_finger_print_alias: The Custom Header Field Names Only When xforwardedforclientcertfingerprintenabled, Which Evaluates to True When the Entry into Force of.
|
|
804
|
+
:param pulumi.Input[bool] x_forwarded_for_client_cert_finger_print_enabled: Indicates Whether the X-Forwarded-Clientcert-fingerprint Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate Fingerprint Value.
|
|
805
|
+
:param pulumi.Input[str] x_forwarded_for_client_cert_issuer_dn_alias: The Custom Header Field Names Only When xforwardedforclientcertsubjectdnenabled, Which Evaluates to True When the Entry into Force of.
|
|
806
|
+
:param pulumi.Input[bool] x_forwarded_for_client_cert_issuer_dn_enabled: Indicates Whether the X-Forwarded-Clientcert-issuerdn Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate after the Manifests Are Signed, the Publisher Information.
|
|
807
|
+
:param pulumi.Input[str] x_forwarded_for_client_cert_subject_dn_alias: The Custom Header Field Name,
|
|
808
|
+
:param pulumi.Input[bool] x_forwarded_for_client_cert_subject_dn_enabled: Indicates Whether the X-Forwarded-Clientcert-subjectdn Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate Owner Information.
|
|
809
|
+
:param pulumi.Input[bool] x_forwarded_for_client_source_ips_enabled: Whether to use the X-Forwarded-Client-Ip header to obtain the source IP address of the server load balancer instance. Value:
|
|
810
|
+
|
|
811
|
+
true: Yes.
|
|
812
|
+
|
|
813
|
+
false (default): No.
|
|
814
|
+
|
|
815
|
+
Note HTTP, HTTPS, and QUIC listeners support this parameter. The function corresponding to this parameter is not open by default. Please contact the account manager if you need to use it.
|
|
816
|
+
:param pulumi.Input[str] x_forwarded_for_client_source_ips_trusted: Specify the trusted proxy IP.
|
|
817
|
+
|
|
818
|
+
Application-oriented load balancing ALB will traverse the X-Forwarded-For from back to front, and select the first IP that is not in the trusted IP list as the real client IP, which will be used for the source IP speed limit.
|
|
735
819
|
:param pulumi.Input[bool] x_forwarded_for_client_src_port_enabled: Indicates Whether the X-Forwarded-Client-Port Header Field Is Used to Obtain Access to Server Load Balancer Instances to the Client, and Those of the Ports.
|
|
736
820
|
:param pulumi.Input[bool] x_forwarded_for_enabled: Whether to Enable by X-Forwarded-For Header Field Is Used to Obtain the Client IP Addresses.
|
|
821
|
+
:param pulumi.Input[bool] x_forwarded_for_host_enabled: Whether to enable the X-Forwarded-Host header field to obtain the domain name of the client accessing the Application Load Balancer. Value:
|
|
822
|
+
|
|
823
|
+
true: Yes.
|
|
824
|
+
|
|
825
|
+
false (default): No.
|
|
826
|
+
|
|
827
|
+
HTTP, HTTPS, and QUIC listeners support this parameter.
|
|
828
|
+
:param pulumi.Input[str] x_forwarded_for_processing_mode: Schema for processing X-Forwarded-For header fields. This value takes effect only when XForwardedForEnabled is true. Value:
|
|
829
|
+
|
|
830
|
+
append (default): append.
|
|
831
|
+
|
|
832
|
+
remove: Delete.
|
|
833
|
+
|
|
834
|
+
Configure append to add the last hop IP address to the X-Forwarded-For header field before sending the request to the backend service.
|
|
835
|
+
|
|
836
|
+
Configure remove to delete the X-Forwarded-For header before the request is sent to the backend service, regardless of whether the request carries X-Forwarded-For header fields.
|
|
837
|
+
|
|
838
|
+
HTTP and HTTPS listeners support this parameter.
|
|
737
839
|
:param pulumi.Input[bool] x_forwarded_for_proto_enabled: Indicates Whether the X-Forwarded-Proto Header Field Is Used to Obtain the Server Load Balancer Instance Snooping Protocols.
|
|
738
|
-
:param pulumi.Input[bool] x_forwarded_for_slb_id_enabled: Indicates Whether the SLB-ID Header Field Is Used to Obtain the Load Balancing Instance Id
|
|
739
|
-
:param pulumi.Input[bool] x_forwarded_for_slb_port_enabled: Indicates Whether the X-Forwarded-Port Header Field Is Used to Obtain the Server Load Balancer Instance Listening Port
|
|
840
|
+
:param pulumi.Input[bool] x_forwarded_for_slb_id_enabled: Indicates Whether the SLB-ID Header Field Is Used to Obtain the Load Balancing Instance Id
|
|
841
|
+
:param pulumi.Input[bool] x_forwarded_for_slb_port_enabled: Indicates Whether the X-Forwarded-Port Header Field Is Used to Obtain the Server Load Balancer Instance Listening Port
|
|
740
842
|
"""
|
|
741
843
|
if x_forwarded_for_client_cert_client_verify_alias is not None:
|
|
742
844
|
pulumi.set(__self__, "x_forwarded_for_client_cert_client_verify_alias", x_forwarded_for_client_cert_client_verify_alias)
|
|
@@ -762,6 +864,10 @@ class ListenerXForwardedForConfigArgs:
|
|
|
762
864
|
pulumi.set(__self__, "x_forwarded_for_client_src_port_enabled", x_forwarded_for_client_src_port_enabled)
|
|
763
865
|
if x_forwarded_for_enabled is not None:
|
|
764
866
|
pulumi.set(__self__, "x_forwarded_for_enabled", x_forwarded_for_enabled)
|
|
867
|
+
if x_forwarded_for_host_enabled is not None:
|
|
868
|
+
pulumi.set(__self__, "x_forwarded_for_host_enabled", x_forwarded_for_host_enabled)
|
|
869
|
+
if x_forwarded_for_processing_mode is not None:
|
|
870
|
+
pulumi.set(__self__, "x_forwarded_for_processing_mode", x_forwarded_for_processing_mode)
|
|
765
871
|
if x_forwarded_for_proto_enabled is not None:
|
|
766
872
|
pulumi.set(__self__, "x_forwarded_for_proto_enabled", x_forwarded_for_proto_enabled)
|
|
767
873
|
if x_forwarded_for_slb_id_enabled is not None:
|
|
@@ -773,7 +879,7 @@ class ListenerXForwardedForConfigArgs:
|
|
|
773
879
|
@pulumi.getter(name="xForwardedForClientCertClientVerifyAlias")
|
|
774
880
|
def x_forwarded_for_client_cert_client_verify_alias(self) -> Optional[pulumi.Input[str]]:
|
|
775
881
|
"""
|
|
776
|
-
The Custom Header Field Names Only When
|
|
882
|
+
The Custom Header Field Names Only When xforwardedforclientcertclientverifyenabled Has a Value of True, this Value Will Not Take Effect until.
|
|
777
883
|
"""
|
|
778
884
|
return pulumi.get(self, "x_forwarded_for_client_cert_client_verify_alias")
|
|
779
885
|
|
|
@@ -785,7 +891,7 @@ class ListenerXForwardedForConfigArgs:
|
|
|
785
891
|
@pulumi.getter(name="xForwardedForClientCertClientVerifyEnabled")
|
|
786
892
|
def x_forwarded_for_client_cert_client_verify_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
787
893
|
"""
|
|
788
|
-
Indicates Whether the
|
|
894
|
+
Indicates Whether the X-Forwarded-Clientcert-clientverify Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate to Verify the Results.
|
|
789
895
|
"""
|
|
790
896
|
return pulumi.get(self, "x_forwarded_for_client_cert_client_verify_enabled")
|
|
791
897
|
|
|
@@ -797,7 +903,7 @@ class ListenerXForwardedForConfigArgs:
|
|
|
797
903
|
@pulumi.getter(name="xForwardedForClientCertFingerPrintAlias")
|
|
798
904
|
def x_forwarded_for_client_cert_finger_print_alias(self) -> Optional[pulumi.Input[str]]:
|
|
799
905
|
"""
|
|
800
|
-
The Custom Header Field Names Only When
|
|
906
|
+
The Custom Header Field Names Only When xforwardedforclientcertfingerprintenabled, Which Evaluates to True When the Entry into Force of.
|
|
801
907
|
"""
|
|
802
908
|
return pulumi.get(self, "x_forwarded_for_client_cert_finger_print_alias")
|
|
803
909
|
|
|
@@ -809,7 +915,7 @@ class ListenerXForwardedForConfigArgs:
|
|
|
809
915
|
@pulumi.getter(name="xForwardedForClientCertFingerPrintEnabled")
|
|
810
916
|
def x_forwarded_for_client_cert_finger_print_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
811
917
|
"""
|
|
812
|
-
Indicates Whether the
|
|
918
|
+
Indicates Whether the X-Forwarded-Clientcert-fingerprint Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate Fingerprint Value.
|
|
813
919
|
"""
|
|
814
920
|
return pulumi.get(self, "x_forwarded_for_client_cert_finger_print_enabled")
|
|
815
921
|
|
|
@@ -821,7 +927,7 @@ class ListenerXForwardedForConfigArgs:
|
|
|
821
927
|
@pulumi.getter(name="xForwardedForClientCertIssuerDnAlias")
|
|
822
928
|
def x_forwarded_for_client_cert_issuer_dn_alias(self) -> Optional[pulumi.Input[str]]:
|
|
823
929
|
"""
|
|
824
|
-
The Custom Header Field Names Only When
|
|
930
|
+
The Custom Header Field Names Only When xforwardedforclientcertsubjectdnenabled, Which Evaluates to True When the Entry into Force of.
|
|
825
931
|
"""
|
|
826
932
|
return pulumi.get(self, "x_forwarded_for_client_cert_issuer_dn_alias")
|
|
827
933
|
|
|
@@ -833,7 +939,7 @@ class ListenerXForwardedForConfigArgs:
|
|
|
833
939
|
@pulumi.getter(name="xForwardedForClientCertIssuerDnEnabled")
|
|
834
940
|
def x_forwarded_for_client_cert_issuer_dn_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
835
941
|
"""
|
|
836
|
-
Indicates Whether the
|
|
942
|
+
Indicates Whether the X-Forwarded-Clientcert-issuerdn Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate after the Manifests Are Signed, the Publisher Information.
|
|
837
943
|
"""
|
|
838
944
|
return pulumi.get(self, "x_forwarded_for_client_cert_issuer_dn_enabled")
|
|
839
945
|
|
|
@@ -845,7 +951,7 @@ class ListenerXForwardedForConfigArgs:
|
|
|
845
951
|
@pulumi.getter(name="xForwardedForClientCertSubjectDnAlias")
|
|
846
952
|
def x_forwarded_for_client_cert_subject_dn_alias(self) -> Optional[pulumi.Input[str]]:
|
|
847
953
|
"""
|
|
848
|
-
The
|
|
954
|
+
The Custom Header Field Name,
|
|
849
955
|
"""
|
|
850
956
|
return pulumi.get(self, "x_forwarded_for_client_cert_subject_dn_alias")
|
|
851
957
|
|
|
@@ -857,7 +963,7 @@ class ListenerXForwardedForConfigArgs:
|
|
|
857
963
|
@pulumi.getter(name="xForwardedForClientCertSubjectDnEnabled")
|
|
858
964
|
def x_forwarded_for_client_cert_subject_dn_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
859
965
|
"""
|
|
860
|
-
|
|
966
|
+
Indicates Whether the X-Forwarded-Clientcert-subjectdn Header Field Is Used to Obtain Access to the Server Load Balancer Instance of the Client Certificate Owner Information.
|
|
861
967
|
"""
|
|
862
968
|
return pulumi.get(self, "x_forwarded_for_client_cert_subject_dn_enabled")
|
|
863
969
|
|
|
@@ -869,7 +975,13 @@ class ListenerXForwardedForConfigArgs:
|
|
|
869
975
|
@pulumi.getter(name="xForwardedForClientSourceIpsEnabled")
|
|
870
976
|
def x_forwarded_for_client_source_ips_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
871
977
|
"""
|
|
872
|
-
Whether to use the X-Forwarded-Client-Ip header to obtain the source IP address of the server load balancer instance. Value:
|
|
978
|
+
Whether to use the X-Forwarded-Client-Ip header to obtain the source IP address of the server load balancer instance. Value:
|
|
979
|
+
|
|
980
|
+
true: Yes.
|
|
981
|
+
|
|
982
|
+
false (default): No.
|
|
983
|
+
|
|
984
|
+
Note HTTP, HTTPS, and QUIC listeners support this parameter. The function corresponding to this parameter is not open by default. Please contact the account manager if you need to use it.
|
|
873
985
|
"""
|
|
874
986
|
return pulumi.get(self, "x_forwarded_for_client_source_ips_enabled")
|
|
875
987
|
|
|
@@ -881,7 +993,9 @@ class ListenerXForwardedForConfigArgs:
|
|
|
881
993
|
@pulumi.getter(name="xForwardedForClientSourceIpsTrusted")
|
|
882
994
|
def x_forwarded_for_client_source_ips_trusted(self) -> Optional[pulumi.Input[str]]:
|
|
883
995
|
"""
|
|
884
|
-
Specify the trusted proxy IP.
|
|
996
|
+
Specify the trusted proxy IP.
|
|
997
|
+
|
|
998
|
+
Application-oriented load balancing ALB will traverse the X-Forwarded-For from back to front, and select the first IP that is not in the trusted IP list as the real client IP, which will be used for the source IP speed limit.
|
|
885
999
|
"""
|
|
886
1000
|
return pulumi.get(self, "x_forwarded_for_client_source_ips_trusted")
|
|
887
1001
|
|
|
@@ -913,6 +1027,46 @@ class ListenerXForwardedForConfigArgs:
|
|
|
913
1027
|
def x_forwarded_for_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
914
1028
|
pulumi.set(self, "x_forwarded_for_enabled", value)
|
|
915
1029
|
|
|
1030
|
+
@property
|
|
1031
|
+
@pulumi.getter(name="xForwardedForHostEnabled")
|
|
1032
|
+
def x_forwarded_for_host_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1033
|
+
"""
|
|
1034
|
+
Whether to enable the X-Forwarded-Host header field to obtain the domain name of the client accessing the Application Load Balancer. Value:
|
|
1035
|
+
|
|
1036
|
+
true: Yes.
|
|
1037
|
+
|
|
1038
|
+
false (default): No.
|
|
1039
|
+
|
|
1040
|
+
HTTP, HTTPS, and QUIC listeners support this parameter.
|
|
1041
|
+
"""
|
|
1042
|
+
return pulumi.get(self, "x_forwarded_for_host_enabled")
|
|
1043
|
+
|
|
1044
|
+
@x_forwarded_for_host_enabled.setter
|
|
1045
|
+
def x_forwarded_for_host_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
1046
|
+
pulumi.set(self, "x_forwarded_for_host_enabled", value)
|
|
1047
|
+
|
|
1048
|
+
@property
|
|
1049
|
+
@pulumi.getter(name="xForwardedForProcessingMode")
|
|
1050
|
+
def x_forwarded_for_processing_mode(self) -> Optional[pulumi.Input[str]]:
|
|
1051
|
+
"""
|
|
1052
|
+
Schema for processing X-Forwarded-For header fields. This value takes effect only when XForwardedForEnabled is true. Value:
|
|
1053
|
+
|
|
1054
|
+
append (default): append.
|
|
1055
|
+
|
|
1056
|
+
remove: Delete.
|
|
1057
|
+
|
|
1058
|
+
Configure append to add the last hop IP address to the X-Forwarded-For header field before sending the request to the backend service.
|
|
1059
|
+
|
|
1060
|
+
Configure remove to delete the X-Forwarded-For header before the request is sent to the backend service, regardless of whether the request carries X-Forwarded-For header fields.
|
|
1061
|
+
|
|
1062
|
+
HTTP and HTTPS listeners support this parameter.
|
|
1063
|
+
"""
|
|
1064
|
+
return pulumi.get(self, "x_forwarded_for_processing_mode")
|
|
1065
|
+
|
|
1066
|
+
@x_forwarded_for_processing_mode.setter
|
|
1067
|
+
def x_forwarded_for_processing_mode(self, value: Optional[pulumi.Input[str]]):
|
|
1068
|
+
pulumi.set(self, "x_forwarded_for_processing_mode", value)
|
|
1069
|
+
|
|
916
1070
|
@property
|
|
917
1071
|
@pulumi.getter(name="xForwardedForProtoEnabled")
|
|
918
1072
|
def x_forwarded_for_proto_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -929,7 +1083,7 @@ class ListenerXForwardedForConfigArgs:
|
|
|
929
1083
|
@pulumi.getter(name="xForwardedForSlbIdEnabled")
|
|
930
1084
|
def x_forwarded_for_slb_id_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
931
1085
|
"""
|
|
932
|
-
Indicates Whether the SLB-ID Header Field Is Used to Obtain the Load Balancing Instance Id
|
|
1086
|
+
Indicates Whether the SLB-ID Header Field Is Used to Obtain the Load Balancing Instance Id
|
|
933
1087
|
"""
|
|
934
1088
|
return pulumi.get(self, "x_forwarded_for_slb_id_enabled")
|
|
935
1089
|
|
|
@@ -941,7 +1095,7 @@ class ListenerXForwardedForConfigArgs:
|
|
|
941
1095
|
@pulumi.getter(name="xForwardedForSlbPortEnabled")
|
|
942
1096
|
def x_forwarded_for_slb_port_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
943
1097
|
"""
|
|
944
|
-
Indicates Whether the X-Forwarded-Port Header Field Is Used to Obtain the Server Load Balancer Instance Listening Port
|
|
1098
|
+
Indicates Whether the X-Forwarded-Port Header Field Is Used to Obtain the Server Load Balancer Instance Listening Port
|
|
945
1099
|
"""
|
|
946
1100
|
return pulumi.get(self, "x_forwarded_for_slb_port_enabled")
|
|
947
1101
|
|
|
@@ -952,11 +1106,11 @@ class ListenerXForwardedForConfigArgs:
|
|
|
952
1106
|
|
|
953
1107
|
if not MYPY:
|
|
954
1108
|
class LoadBalancerAccessLogConfigArgsDict(TypedDict):
|
|
955
|
-
log_project: pulumi.Input[str]
|
|
1109
|
+
log_project: NotRequired[pulumi.Input[str]]
|
|
956
1110
|
"""
|
|
957
1111
|
The project to which the access log is shipped.
|
|
958
1112
|
"""
|
|
959
|
-
log_store: pulumi.Input[str]
|
|
1113
|
+
log_store: NotRequired[pulumi.Input[str]]
|
|
960
1114
|
"""
|
|
961
1115
|
The Logstore to which the access log is shipped.
|
|
962
1116
|
"""
|
|
@@ -966,45 +1120,99 @@ elif False:
|
|
|
966
1120
|
@pulumi.input_type
|
|
967
1121
|
class LoadBalancerAccessLogConfigArgs:
|
|
968
1122
|
def __init__(__self__, *,
|
|
969
|
-
log_project: pulumi.Input[str],
|
|
970
|
-
log_store: pulumi.Input[str]):
|
|
1123
|
+
log_project: Optional[pulumi.Input[str]] = None,
|
|
1124
|
+
log_store: Optional[pulumi.Input[str]] = None):
|
|
971
1125
|
"""
|
|
972
1126
|
:param pulumi.Input[str] log_project: The project to which the access log is shipped.
|
|
973
1127
|
:param pulumi.Input[str] log_store: The Logstore to which the access log is shipped.
|
|
974
1128
|
"""
|
|
975
|
-
|
|
976
|
-
|
|
1129
|
+
if log_project is not None:
|
|
1130
|
+
pulumi.set(__self__, "log_project", log_project)
|
|
1131
|
+
if log_store is not None:
|
|
1132
|
+
pulumi.set(__self__, "log_store", log_store)
|
|
977
1133
|
|
|
978
1134
|
@property
|
|
979
1135
|
@pulumi.getter(name="logProject")
|
|
980
|
-
def log_project(self) -> pulumi.Input[str]:
|
|
1136
|
+
def log_project(self) -> Optional[pulumi.Input[str]]:
|
|
981
1137
|
"""
|
|
982
1138
|
The project to which the access log is shipped.
|
|
983
1139
|
"""
|
|
984
1140
|
return pulumi.get(self, "log_project")
|
|
985
1141
|
|
|
986
1142
|
@log_project.setter
|
|
987
|
-
def log_project(self, value: pulumi.Input[str]):
|
|
1143
|
+
def log_project(self, value: Optional[pulumi.Input[str]]):
|
|
988
1144
|
pulumi.set(self, "log_project", value)
|
|
989
1145
|
|
|
990
1146
|
@property
|
|
991
1147
|
@pulumi.getter(name="logStore")
|
|
992
|
-
def log_store(self) -> pulumi.Input[str]:
|
|
1148
|
+
def log_store(self) -> Optional[pulumi.Input[str]]:
|
|
993
1149
|
"""
|
|
994
1150
|
The Logstore to which the access log is shipped.
|
|
995
1151
|
"""
|
|
996
1152
|
return pulumi.get(self, "log_store")
|
|
997
1153
|
|
|
998
1154
|
@log_store.setter
|
|
999
|
-
def log_store(self, value: pulumi.Input[str]):
|
|
1155
|
+
def log_store(self, value: Optional[pulumi.Input[str]]):
|
|
1000
1156
|
pulumi.set(self, "log_store", value)
|
|
1001
1157
|
|
|
1002
1158
|
|
|
1159
|
+
if not MYPY:
|
|
1160
|
+
class LoadBalancerDeletionProtectionConfigArgsDict(TypedDict):
|
|
1161
|
+
enabled: NotRequired[pulumi.Input[bool]]
|
|
1162
|
+
"""
|
|
1163
|
+
Remove the Protection Status
|
|
1164
|
+
"""
|
|
1165
|
+
enabled_time: NotRequired[pulumi.Input[str]]
|
|
1166
|
+
"""
|
|
1167
|
+
Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm: SSZ
|
|
1168
|
+
"""
|
|
1169
|
+
elif False:
|
|
1170
|
+
LoadBalancerDeletionProtectionConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
1171
|
+
|
|
1172
|
+
@pulumi.input_type
|
|
1173
|
+
class LoadBalancerDeletionProtectionConfigArgs:
|
|
1174
|
+
def __init__(__self__, *,
|
|
1175
|
+
enabled: Optional[pulumi.Input[bool]] = None,
|
|
1176
|
+
enabled_time: Optional[pulumi.Input[str]] = None):
|
|
1177
|
+
"""
|
|
1178
|
+
:param pulumi.Input[bool] enabled: Remove the Protection Status
|
|
1179
|
+
:param pulumi.Input[str] enabled_time: Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm: SSZ
|
|
1180
|
+
"""
|
|
1181
|
+
if enabled is not None:
|
|
1182
|
+
pulumi.set(__self__, "enabled", enabled)
|
|
1183
|
+
if enabled_time is not None:
|
|
1184
|
+
pulumi.set(__self__, "enabled_time", enabled_time)
|
|
1185
|
+
|
|
1186
|
+
@property
|
|
1187
|
+
@pulumi.getter
|
|
1188
|
+
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1189
|
+
"""
|
|
1190
|
+
Remove the Protection Status
|
|
1191
|
+
"""
|
|
1192
|
+
return pulumi.get(self, "enabled")
|
|
1193
|
+
|
|
1194
|
+
@enabled.setter
|
|
1195
|
+
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
1196
|
+
pulumi.set(self, "enabled", value)
|
|
1197
|
+
|
|
1198
|
+
@property
|
|
1199
|
+
@pulumi.getter(name="enabledTime")
|
|
1200
|
+
def enabled_time(self) -> Optional[pulumi.Input[str]]:
|
|
1201
|
+
"""
|
|
1202
|
+
Deletion Protection Turn-on Time Use Greenwich Mean Time, in the Format of Yyyy-MM-ddTHH: mm: SSZ
|
|
1203
|
+
"""
|
|
1204
|
+
return pulumi.get(self, "enabled_time")
|
|
1205
|
+
|
|
1206
|
+
@enabled_time.setter
|
|
1207
|
+
def enabled_time(self, value: Optional[pulumi.Input[str]]):
|
|
1208
|
+
pulumi.set(self, "enabled_time", value)
|
|
1209
|
+
|
|
1210
|
+
|
|
1003
1211
|
if not MYPY:
|
|
1004
1212
|
class LoadBalancerLoadBalancerBillingConfigArgsDict(TypedDict):
|
|
1005
1213
|
pay_type: pulumi.Input[str]
|
|
1006
1214
|
"""
|
|
1007
|
-
|
|
1215
|
+
Pay Type
|
|
1008
1216
|
"""
|
|
1009
1217
|
elif False:
|
|
1010
1218
|
LoadBalancerLoadBalancerBillingConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -1014,7 +1222,7 @@ class LoadBalancerLoadBalancerBillingConfigArgs:
|
|
|
1014
1222
|
def __init__(__self__, *,
|
|
1015
1223
|
pay_type: pulumi.Input[str]):
|
|
1016
1224
|
"""
|
|
1017
|
-
:param pulumi.Input[str] pay_type:
|
|
1225
|
+
:param pulumi.Input[str] pay_type: Pay Type
|
|
1018
1226
|
"""
|
|
1019
1227
|
pulumi.set(__self__, "pay_type", pay_type)
|
|
1020
1228
|
|
|
@@ -1022,7 +1230,7 @@ class LoadBalancerLoadBalancerBillingConfigArgs:
|
|
|
1022
1230
|
@pulumi.getter(name="payType")
|
|
1023
1231
|
def pay_type(self) -> pulumi.Input[str]:
|
|
1024
1232
|
"""
|
|
1025
|
-
|
|
1233
|
+
Pay Type
|
|
1026
1234
|
"""
|
|
1027
1235
|
return pulumi.get(self, "pay_type")
|
|
1028
1236
|
|
|
@@ -1035,11 +1243,11 @@ if not MYPY:
|
|
|
1035
1243
|
class LoadBalancerModificationProtectionConfigArgsDict(TypedDict):
|
|
1036
1244
|
reason: NotRequired[pulumi.Input[str]]
|
|
1037
1245
|
"""
|
|
1038
|
-
|
|
1246
|
+
Managed Instance
|
|
1039
1247
|
"""
|
|
1040
1248
|
status: NotRequired[pulumi.Input[str]]
|
|
1041
1249
|
"""
|
|
1042
|
-
|
|
1250
|
+
Load Balancing Modify the Protection Status
|
|
1043
1251
|
"""
|
|
1044
1252
|
elif False:
|
|
1045
1253
|
LoadBalancerModificationProtectionConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -1050,8 +1258,8 @@ class LoadBalancerModificationProtectionConfigArgs:
|
|
|
1050
1258
|
reason: Optional[pulumi.Input[str]] = None,
|
|
1051
1259
|
status: Optional[pulumi.Input[str]] = None):
|
|
1052
1260
|
"""
|
|
1053
|
-
:param pulumi.Input[str] reason:
|
|
1054
|
-
:param pulumi.Input[str] status:
|
|
1261
|
+
:param pulumi.Input[str] reason: Managed Instance
|
|
1262
|
+
:param pulumi.Input[str] status: Load Balancing Modify the Protection Status
|
|
1055
1263
|
"""
|
|
1056
1264
|
if reason is not None:
|
|
1057
1265
|
pulumi.set(__self__, "reason", reason)
|
|
@@ -1062,7 +1270,7 @@ class LoadBalancerModificationProtectionConfigArgs:
|
|
|
1062
1270
|
@pulumi.getter
|
|
1063
1271
|
def reason(self) -> Optional[pulumi.Input[str]]:
|
|
1064
1272
|
"""
|
|
1065
|
-
|
|
1273
|
+
Managed Instance
|
|
1066
1274
|
"""
|
|
1067
1275
|
return pulumi.get(self, "reason")
|
|
1068
1276
|
|
|
@@ -1074,7 +1282,7 @@ class LoadBalancerModificationProtectionConfigArgs:
|
|
|
1074
1282
|
@pulumi.getter
|
|
1075
1283
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
1076
1284
|
"""
|
|
1077
|
-
|
|
1285
|
+
Load Balancing Modify the Protection Status
|
|
1078
1286
|
"""
|
|
1079
1287
|
return pulumi.get(self, "status")
|
|
1080
1288
|
|
|
@@ -1087,15 +1295,15 @@ if not MYPY:
|
|
|
1087
1295
|
class LoadBalancerZoneMappingArgsDict(TypedDict):
|
|
1088
1296
|
vswitch_id: pulumi.Input[str]
|
|
1089
1297
|
"""
|
|
1090
|
-
The ID of the
|
|
1298
|
+
The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
|
|
1091
1299
|
"""
|
|
1092
1300
|
zone_id: pulumi.Input[str]
|
|
1093
1301
|
"""
|
|
1094
|
-
The
|
|
1302
|
+
The ID of the zone to which the SLB instance belongs.
|
|
1095
1303
|
"""
|
|
1096
1304
|
load_balancer_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingLoadBalancerAddressArgsDict']]]]
|
|
1097
1305
|
"""
|
|
1098
|
-
The
|
|
1306
|
+
The SLB Instance Address
|
|
1099
1307
|
"""
|
|
1100
1308
|
elif False:
|
|
1101
1309
|
LoadBalancerZoneMappingArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -1107,9 +1315,9 @@ class LoadBalancerZoneMappingArgs:
|
|
|
1107
1315
|
zone_id: pulumi.Input[str],
|
|
1108
1316
|
load_balancer_addresses: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingLoadBalancerAddressArgs']]]] = None):
|
|
1109
1317
|
"""
|
|
1110
|
-
:param pulumi.Input[str] vswitch_id: The ID of the
|
|
1111
|
-
:param pulumi.Input[str] zone_id: The
|
|
1112
|
-
:param pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingLoadBalancerAddressArgs']]] load_balancer_addresses: The
|
|
1318
|
+
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
|
|
1319
|
+
:param pulumi.Input[str] zone_id: The ID of the zone to which the SLB instance belongs.
|
|
1320
|
+
:param pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingLoadBalancerAddressArgs']]] load_balancer_addresses: The SLB Instance Address
|
|
1113
1321
|
"""
|
|
1114
1322
|
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
1115
1323
|
pulumi.set(__self__, "zone_id", zone_id)
|
|
@@ -1120,7 +1328,7 @@ class LoadBalancerZoneMappingArgs:
|
|
|
1120
1328
|
@pulumi.getter(name="vswitchId")
|
|
1121
1329
|
def vswitch_id(self) -> pulumi.Input[str]:
|
|
1122
1330
|
"""
|
|
1123
|
-
The ID of the
|
|
1331
|
+
The ID of the vSwitch that corresponds to the zone. Each zone can use only one vSwitch and subnet.
|
|
1124
1332
|
"""
|
|
1125
1333
|
return pulumi.get(self, "vswitch_id")
|
|
1126
1334
|
|
|
@@ -1132,7 +1340,7 @@ class LoadBalancerZoneMappingArgs:
|
|
|
1132
1340
|
@pulumi.getter(name="zoneId")
|
|
1133
1341
|
def zone_id(self) -> pulumi.Input[str]:
|
|
1134
1342
|
"""
|
|
1135
|
-
The
|
|
1343
|
+
The ID of the zone to which the SLB instance belongs.
|
|
1136
1344
|
"""
|
|
1137
1345
|
return pulumi.get(self, "zone_id")
|
|
1138
1346
|
|
|
@@ -1144,7 +1352,7 @@ class LoadBalancerZoneMappingArgs:
|
|
|
1144
1352
|
@pulumi.getter(name="loadBalancerAddresses")
|
|
1145
1353
|
def load_balancer_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerZoneMappingLoadBalancerAddressArgs']]]]:
|
|
1146
1354
|
"""
|
|
1147
|
-
The
|
|
1355
|
+
The SLB Instance Address
|
|
1148
1356
|
"""
|
|
1149
1357
|
return pulumi.get(self, "load_balancer_addresses")
|
|
1150
1358
|
|
|
@@ -1157,19 +1365,19 @@ if not MYPY:
|
|
|
1157
1365
|
class LoadBalancerZoneMappingLoadBalancerAddressArgsDict(TypedDict):
|
|
1158
1366
|
address: NotRequired[pulumi.Input[str]]
|
|
1159
1367
|
"""
|
|
1160
|
-
IP
|
|
1368
|
+
IP Address. The Public IP Address, and Private IP Address from the Address Type
|
|
1161
1369
|
"""
|
|
1162
1370
|
allocation_id: NotRequired[pulumi.Input[str]]
|
|
1163
1371
|
"""
|
|
1164
|
-
The ID of the EIP.
|
|
1372
|
+
The ID of the EIP instance.
|
|
1165
1373
|
"""
|
|
1166
1374
|
eip_type: NotRequired[pulumi.Input[str]]
|
|
1167
1375
|
"""
|
|
1168
|
-
The type of the EIP.
|
|
1376
|
+
The type of the EIP instance.
|
|
1169
1377
|
"""
|
|
1170
1378
|
ipv6_address: NotRequired[pulumi.Input[str]]
|
|
1171
1379
|
"""
|
|
1172
|
-
Ipv6 address
|
|
1380
|
+
Ipv6 address
|
|
1173
1381
|
"""
|
|
1174
1382
|
elif False:
|
|
1175
1383
|
LoadBalancerZoneMappingLoadBalancerAddressArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -1182,10 +1390,10 @@ class LoadBalancerZoneMappingLoadBalancerAddressArgs:
|
|
|
1182
1390
|
eip_type: Optional[pulumi.Input[str]] = None,
|
|
1183
1391
|
ipv6_address: Optional[pulumi.Input[str]] = None):
|
|
1184
1392
|
"""
|
|
1185
|
-
:param pulumi.Input[str] address: IP
|
|
1186
|
-
:param pulumi.Input[str] allocation_id: The ID of the EIP.
|
|
1187
|
-
:param pulumi.Input[str] eip_type: The type of the EIP.
|
|
1188
|
-
:param pulumi.Input[str] ipv6_address: Ipv6 address
|
|
1393
|
+
:param pulumi.Input[str] address: IP Address. The Public IP Address, and Private IP Address from the Address Type
|
|
1394
|
+
:param pulumi.Input[str] allocation_id: The ID of the EIP instance.
|
|
1395
|
+
:param pulumi.Input[str] eip_type: The type of the EIP instance.
|
|
1396
|
+
:param pulumi.Input[str] ipv6_address: Ipv6 address
|
|
1189
1397
|
"""
|
|
1190
1398
|
if address is not None:
|
|
1191
1399
|
pulumi.set(__self__, "address", address)
|
|
@@ -1200,7 +1408,7 @@ class LoadBalancerZoneMappingLoadBalancerAddressArgs:
|
|
|
1200
1408
|
@pulumi.getter
|
|
1201
1409
|
def address(self) -> Optional[pulumi.Input[str]]:
|
|
1202
1410
|
"""
|
|
1203
|
-
IP
|
|
1411
|
+
IP Address. The Public IP Address, and Private IP Address from the Address Type
|
|
1204
1412
|
"""
|
|
1205
1413
|
return pulumi.get(self, "address")
|
|
1206
1414
|
|
|
@@ -1212,7 +1420,7 @@ class LoadBalancerZoneMappingLoadBalancerAddressArgs:
|
|
|
1212
1420
|
@pulumi.getter(name="allocationId")
|
|
1213
1421
|
def allocation_id(self) -> Optional[pulumi.Input[str]]:
|
|
1214
1422
|
"""
|
|
1215
|
-
The ID of the EIP.
|
|
1423
|
+
The ID of the EIP instance.
|
|
1216
1424
|
"""
|
|
1217
1425
|
return pulumi.get(self, "allocation_id")
|
|
1218
1426
|
|
|
@@ -1224,7 +1432,7 @@ class LoadBalancerZoneMappingLoadBalancerAddressArgs:
|
|
|
1224
1432
|
@pulumi.getter(name="eipType")
|
|
1225
1433
|
def eip_type(self) -> Optional[pulumi.Input[str]]:
|
|
1226
1434
|
"""
|
|
1227
|
-
The type of the EIP.
|
|
1435
|
+
The type of the EIP instance.
|
|
1228
1436
|
"""
|
|
1229
1437
|
return pulumi.get(self, "eip_type")
|
|
1230
1438
|
|
|
@@ -1236,7 +1444,7 @@ class LoadBalancerZoneMappingLoadBalancerAddressArgs:
|
|
|
1236
1444
|
@pulumi.getter(name="ipv6Address")
|
|
1237
1445
|
def ipv6_address(self) -> Optional[pulumi.Input[str]]:
|
|
1238
1446
|
"""
|
|
1239
|
-
Ipv6 address
|
|
1447
|
+
Ipv6 address
|
|
1240
1448
|
"""
|
|
1241
1449
|
return pulumi.get(self, "ipv6_address")
|
|
1242
1450
|
|
|
@@ -2929,57 +3137,176 @@ class RuleRuleConditionSourceIpConfigArgs:
|
|
|
2929
3137
|
pulumi.set(self, "values", value)
|
|
2930
3138
|
|
|
2931
3139
|
|
|
3140
|
+
if not MYPY:
|
|
3141
|
+
class ServerGroupConnectionDrainConfigArgsDict(TypedDict):
|
|
3142
|
+
connection_drain_enabled: NotRequired[pulumi.Input[bool]]
|
|
3143
|
+
"""
|
|
3144
|
+
Specifies whether to enable connection draining. Valid values:
|
|
3145
|
+
"""
|
|
3146
|
+
connection_drain_timeout: NotRequired[pulumi.Input[int]]
|
|
3147
|
+
"""
|
|
3148
|
+
The timeout period of connection draining.
|
|
3149
|
+
|
|
3150
|
+
Valid values: `0` to `900`.
|
|
3151
|
+
|
|
3152
|
+
Default value: `300`.
|
|
3153
|
+
"""
|
|
3154
|
+
elif False:
|
|
3155
|
+
ServerGroupConnectionDrainConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
3156
|
+
|
|
3157
|
+
@pulumi.input_type
|
|
3158
|
+
class ServerGroupConnectionDrainConfigArgs:
|
|
3159
|
+
def __init__(__self__, *,
|
|
3160
|
+
connection_drain_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3161
|
+
connection_drain_timeout: Optional[pulumi.Input[int]] = None):
|
|
3162
|
+
"""
|
|
3163
|
+
:param pulumi.Input[bool] connection_drain_enabled: Specifies whether to enable connection draining. Valid values:
|
|
3164
|
+
:param pulumi.Input[int] connection_drain_timeout: The timeout period of connection draining.
|
|
3165
|
+
|
|
3166
|
+
Valid values: `0` to `900`.
|
|
3167
|
+
|
|
3168
|
+
Default value: `300`.
|
|
3169
|
+
"""
|
|
3170
|
+
if connection_drain_enabled is not None:
|
|
3171
|
+
pulumi.set(__self__, "connection_drain_enabled", connection_drain_enabled)
|
|
3172
|
+
if connection_drain_timeout is not None:
|
|
3173
|
+
pulumi.set(__self__, "connection_drain_timeout", connection_drain_timeout)
|
|
3174
|
+
|
|
3175
|
+
@property
|
|
3176
|
+
@pulumi.getter(name="connectionDrainEnabled")
|
|
3177
|
+
def connection_drain_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
3178
|
+
"""
|
|
3179
|
+
Specifies whether to enable connection draining. Valid values:
|
|
3180
|
+
"""
|
|
3181
|
+
return pulumi.get(self, "connection_drain_enabled")
|
|
3182
|
+
|
|
3183
|
+
@connection_drain_enabled.setter
|
|
3184
|
+
def connection_drain_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
3185
|
+
pulumi.set(self, "connection_drain_enabled", value)
|
|
3186
|
+
|
|
3187
|
+
@property
|
|
3188
|
+
@pulumi.getter(name="connectionDrainTimeout")
|
|
3189
|
+
def connection_drain_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
3190
|
+
"""
|
|
3191
|
+
The timeout period of connection draining.
|
|
3192
|
+
|
|
3193
|
+
Valid values: `0` to `900`.
|
|
3194
|
+
|
|
3195
|
+
Default value: `300`.
|
|
3196
|
+
"""
|
|
3197
|
+
return pulumi.get(self, "connection_drain_timeout")
|
|
3198
|
+
|
|
3199
|
+
@connection_drain_timeout.setter
|
|
3200
|
+
def connection_drain_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
3201
|
+
pulumi.set(self, "connection_drain_timeout", value)
|
|
3202
|
+
|
|
3203
|
+
|
|
2932
3204
|
if not MYPY:
|
|
2933
3205
|
class ServerGroupHealthCheckConfigArgsDict(TypedDict):
|
|
2934
3206
|
health_check_enabled: pulumi.Input[bool]
|
|
2935
3207
|
"""
|
|
2936
|
-
Specifies whether to enable the health check feature. Valid values:
|
|
3208
|
+
Specifies whether to enable the health check feature. Valid values:
|
|
2937
3209
|
"""
|
|
2938
3210
|
health_check_codes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2939
3211
|
"""
|
|
2940
|
-
The
|
|
2941
|
-
- If `health_check_protocol` is set to `HTTP` or `HTTPS`. Valid values: `http_2xx`, `http_3xx`, `http_4xx`, and `http_5xx`. Default value: `http_2xx`.
|
|
2942
|
-
- If `health_check_protocol` is set to `gRPC`. Valid values: `0` to `99`. Default value: `0`.
|
|
3212
|
+
The status code for a successful health check
|
|
2943
3213
|
"""
|
|
2944
3214
|
health_check_connect_port: NotRequired[pulumi.Input[int]]
|
|
2945
3215
|
"""
|
|
2946
|
-
The backend port that is used for health checks.
|
|
3216
|
+
The backend port that is used for health checks.
|
|
3217
|
+
|
|
3218
|
+
Valid values: `0` to `65535`.
|
|
3219
|
+
|
|
3220
|
+
If you set the value to `0`, the backend port is used for health checks.
|
|
3221
|
+
|
|
3222
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true`.
|
|
2947
3223
|
"""
|
|
2948
3224
|
health_check_host: NotRequired[pulumi.Input[str]]
|
|
2949
3225
|
"""
|
|
2950
3226
|
The domain name that is used for health checks.
|
|
3227
|
+
|
|
3228
|
+
* **Backend Server Internal IP** (default): Use the internal IP address of backend servers as the health check domain name.
|
|
3229
|
+
|
|
3230
|
+
* **Custom Domain Name**: Enter a domain name.
|
|
3231
|
+
|
|
3232
|
+
* The domain name must be 1 to 80 characters in length.
|
|
3233
|
+
* The domain name can contain lowercase letters, digits, hyphens (-), and periods (.).
|
|
3234
|
+
* The domain name must contain at least one period (.) but cannot start or end with a period (.).
|
|
3235
|
+
* The rightmost domain label of the domain name can contain only letters, and cannot contain digits or hyphens (-).
|
|
3236
|
+
* The domain name cannot start or end with a hyphen (-).
|
|
3237
|
+
|
|
3238
|
+
> **NOTE:** This parameter takes effect only if `HealthCheckProtocol` is set to `HTTP`, `HTTPS`, or `gRPC`.
|
|
2951
3239
|
"""
|
|
2952
3240
|
health_check_http_version: NotRequired[pulumi.Input[str]]
|
|
2953
3241
|
"""
|
|
2954
|
-
The version
|
|
3242
|
+
The HTTP version that is used for health checks. Valid values:
|
|
3243
|
+
|
|
3244
|
+
* **HTTP1.0**
|
|
3245
|
+
|
|
3246
|
+
* **HTTP1.1**
|
|
3247
|
+
|
|
3248
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to true and `HealthCheckProtocol` to `HTTP` or `HTTPS`.
|
|
2955
3249
|
"""
|
|
2956
3250
|
health_check_interval: NotRequired[pulumi.Input[int]]
|
|
2957
3251
|
"""
|
|
2958
|
-
The interval at which health checks are performed. Unit: seconds.
|
|
3252
|
+
The interval at which health checks are performed. Unit: seconds.
|
|
3253
|
+
|
|
3254
|
+
Valid values: `1` to `50`.
|
|
3255
|
+
|
|
3256
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true`.
|
|
2959
3257
|
"""
|
|
2960
3258
|
health_check_method: NotRequired[pulumi.Input[str]]
|
|
2961
3259
|
"""
|
|
2962
|
-
The HTTP method that is used for health checks.
|
|
3260
|
+
The HTTP method that is used for health checks. Valid values:
|
|
3261
|
+
|
|
3262
|
+
* `GET`: If the length of a response exceeds 8 KB, the response is truncated. However, the health check result is not affected.
|
|
3263
|
+
|
|
3264
|
+
* `POST`: gRPC health checks use the POST method by default.
|
|
3265
|
+
|
|
3266
|
+
* `HEAD`: HTTP and HTTPS health checks use the HEAD method by default.
|
|
3267
|
+
|
|
3268
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to true and `HealthCheckProtocol` to `HTTP`, `HTTPS`, or `gRPC`.
|
|
2963
3269
|
"""
|
|
2964
3270
|
health_check_path: NotRequired[pulumi.Input[str]]
|
|
2965
3271
|
"""
|
|
2966
|
-
The
|
|
3272
|
+
The URL that is used for health checks.
|
|
3273
|
+
|
|
3274
|
+
The URL must be 1 to 80 characters in length, and can contain letters, digits, and the following special characters: `- / . % ? # & =`. It can also contain the following extended characters: `_ ; ~ ! ( ) * [ ] @ $ ^ : ' , +`. The URL must start with a forward slash (`/`).
|
|
3275
|
+
|
|
3276
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true` and `HealthCheckProtocol` to `HTTP` or `HTTPS`.
|
|
2967
3277
|
"""
|
|
2968
3278
|
health_check_protocol: NotRequired[pulumi.Input[str]]
|
|
2969
3279
|
"""
|
|
2970
|
-
The protocol that is used for health checks. Valid values:
|
|
3280
|
+
The protocol that is used for health checks. Valid values:
|
|
3281
|
+
|
|
3282
|
+
- `HTTP`: HTTP health checks simulate browser behaviors by sending HEAD or GET requests to probe the availability of backend servers.
|
|
3283
|
+
- `HTTPS`: HTTPS health checks simulate browser behaviors by sending HEAD or GET requests to probe the availability of backend servers. HTTPS provides higher security than HTTP because HTTPS supports data encryption.
|
|
3284
|
+
- `TCP`: TCP health checks send TCP SYN packets to a backend server to probe the availability of backend servers.
|
|
3285
|
+
- `gRPC`: gRPC health checks send POST or GET requests to a backend server to check whether the backend server is healthy.
|
|
2971
3286
|
"""
|
|
2972
3287
|
health_check_timeout: NotRequired[pulumi.Input[int]]
|
|
2973
3288
|
"""
|
|
2974
|
-
The timeout period
|
|
3289
|
+
The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
|
|
3290
|
+
|
|
3291
|
+
Valid values: `1` to `300`.
|
|
3292
|
+
|
|
3293
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true`.
|
|
2975
3294
|
"""
|
|
2976
3295
|
healthy_threshold: NotRequired[pulumi.Input[int]]
|
|
2977
3296
|
"""
|
|
2978
|
-
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy.
|
|
3297
|
+
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. In this case, the health check status of the backend server changes from `fail` to `success`.
|
|
3298
|
+
|
|
3299
|
+
Valid values: `2` to `10`.
|
|
3300
|
+
|
|
3301
|
+
Default value: `3`.
|
|
2979
3302
|
"""
|
|
2980
3303
|
unhealthy_threshold: NotRequired[pulumi.Input[int]]
|
|
2981
3304
|
"""
|
|
2982
|
-
The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy.
|
|
3305
|
+
The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. In this case, the health check status of the backend server changes from `success` to `fail`.
|
|
3306
|
+
|
|
3307
|
+
Valid values: `2` to `10`.
|
|
3308
|
+
|
|
3309
|
+
Default value: `3`.
|
|
2983
3310
|
"""
|
|
2984
3311
|
elif False:
|
|
2985
3312
|
ServerGroupHealthCheckConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -3000,20 +3327,75 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
3000
3327
|
healthy_threshold: Optional[pulumi.Input[int]] = None,
|
|
3001
3328
|
unhealthy_threshold: Optional[pulumi.Input[int]] = None):
|
|
3002
3329
|
"""
|
|
3003
|
-
:param pulumi.Input[bool] health_check_enabled: Specifies whether to enable the health check feature. Valid values:
|
|
3004
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_codes: The
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3330
|
+
:param pulumi.Input[bool] health_check_enabled: Specifies whether to enable the health check feature. Valid values:
|
|
3331
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] health_check_codes: The status code for a successful health check
|
|
3332
|
+
:param pulumi.Input[int] health_check_connect_port: The backend port that is used for health checks.
|
|
3333
|
+
|
|
3334
|
+
Valid values: `0` to `65535`.
|
|
3335
|
+
|
|
3336
|
+
If you set the value to `0`, the backend port is used for health checks.
|
|
3337
|
+
|
|
3338
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true`.
|
|
3008
3339
|
:param pulumi.Input[str] health_check_host: The domain name that is used for health checks.
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3340
|
+
|
|
3341
|
+
* **Backend Server Internal IP** (default): Use the internal IP address of backend servers as the health check domain name.
|
|
3342
|
+
|
|
3343
|
+
* **Custom Domain Name**: Enter a domain name.
|
|
3344
|
+
|
|
3345
|
+
* The domain name must be 1 to 80 characters in length.
|
|
3346
|
+
* The domain name can contain lowercase letters, digits, hyphens (-), and periods (.).
|
|
3347
|
+
* The domain name must contain at least one period (.) but cannot start or end with a period (.).
|
|
3348
|
+
* The rightmost domain label of the domain name can contain only letters, and cannot contain digits or hyphens (-).
|
|
3349
|
+
* The domain name cannot start or end with a hyphen (-).
|
|
3350
|
+
|
|
3351
|
+
> **NOTE:** This parameter takes effect only if `HealthCheckProtocol` is set to `HTTP`, `HTTPS`, or `gRPC`.
|
|
3352
|
+
:param pulumi.Input[str] health_check_http_version: The HTTP version that is used for health checks. Valid values:
|
|
3353
|
+
|
|
3354
|
+
* **HTTP1.0**
|
|
3355
|
+
|
|
3356
|
+
* **HTTP1.1**
|
|
3357
|
+
|
|
3358
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to true and `HealthCheckProtocol` to `HTTP` or `HTTPS`.
|
|
3359
|
+
:param pulumi.Input[int] health_check_interval: The interval at which health checks are performed. Unit: seconds.
|
|
3360
|
+
|
|
3361
|
+
Valid values: `1` to `50`.
|
|
3362
|
+
|
|
3363
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true`.
|
|
3364
|
+
:param pulumi.Input[str] health_check_method: The HTTP method that is used for health checks. Valid values:
|
|
3365
|
+
|
|
3366
|
+
* `GET`: If the length of a response exceeds 8 KB, the response is truncated. However, the health check result is not affected.
|
|
3367
|
+
|
|
3368
|
+
* `POST`: gRPC health checks use the POST method by default.
|
|
3369
|
+
|
|
3370
|
+
* `HEAD`: HTTP and HTTPS health checks use the HEAD method by default.
|
|
3371
|
+
|
|
3372
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to true and `HealthCheckProtocol` to `HTTP`, `HTTPS`, or `gRPC`.
|
|
3373
|
+
:param pulumi.Input[str] health_check_path: The URL that is used for health checks.
|
|
3374
|
+
|
|
3375
|
+
The URL must be 1 to 80 characters in length, and can contain letters, digits, and the following special characters: `- / . % ? # & =`. It can also contain the following extended characters: `_ ; ~ ! ( ) * [ ] @ $ ^ : ' , +`. The URL must start with a forward slash (`/`).
|
|
3376
|
+
|
|
3377
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true` and `HealthCheckProtocol` to `HTTP` or `HTTPS`.
|
|
3378
|
+
:param pulumi.Input[str] health_check_protocol: The protocol that is used for health checks. Valid values:
|
|
3379
|
+
|
|
3380
|
+
- `HTTP`: HTTP health checks simulate browser behaviors by sending HEAD or GET requests to probe the availability of backend servers.
|
|
3381
|
+
- `HTTPS`: HTTPS health checks simulate browser behaviors by sending HEAD or GET requests to probe the availability of backend servers. HTTPS provides higher security than HTTP because HTTPS supports data encryption.
|
|
3382
|
+
- `TCP`: TCP health checks send TCP SYN packets to a backend server to probe the availability of backend servers.
|
|
3383
|
+
- `gRPC`: gRPC health checks send POST or GET requests to a backend server to check whether the backend server is healthy.
|
|
3384
|
+
:param pulumi.Input[int] health_check_timeout: The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
|
|
3385
|
+
|
|
3386
|
+
Valid values: `1` to `300`.
|
|
3387
|
+
|
|
3388
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true`.
|
|
3389
|
+
: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. In this case, the health check status of the backend server changes from `fail` to `success`.
|
|
3390
|
+
|
|
3391
|
+
Valid values: `2` to `10`.
|
|
3392
|
+
|
|
3393
|
+
Default value: `3`.
|
|
3394
|
+
: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. In this case, the health check status of the backend server changes from `success` to `fail`.
|
|
3395
|
+
|
|
3396
|
+
Valid values: `2` to `10`.
|
|
3397
|
+
|
|
3398
|
+
Default value: `3`.
|
|
3017
3399
|
"""
|
|
3018
3400
|
pulumi.set(__self__, "health_check_enabled", health_check_enabled)
|
|
3019
3401
|
if health_check_codes is not None:
|
|
@@ -3043,7 +3425,7 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
3043
3425
|
@pulumi.getter(name="healthCheckEnabled")
|
|
3044
3426
|
def health_check_enabled(self) -> pulumi.Input[bool]:
|
|
3045
3427
|
"""
|
|
3046
|
-
Specifies whether to enable the health check feature. Valid values:
|
|
3428
|
+
Specifies whether to enable the health check feature. Valid values:
|
|
3047
3429
|
"""
|
|
3048
3430
|
return pulumi.get(self, "health_check_enabled")
|
|
3049
3431
|
|
|
@@ -3055,9 +3437,7 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
3055
3437
|
@pulumi.getter(name="healthCheckCodes")
|
|
3056
3438
|
def health_check_codes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
3057
3439
|
"""
|
|
3058
|
-
The
|
|
3059
|
-
- If `health_check_protocol` is set to `HTTP` or `HTTPS`. Valid values: `http_2xx`, `http_3xx`, `http_4xx`, and `http_5xx`. Default value: `http_2xx`.
|
|
3060
|
-
- If `health_check_protocol` is set to `gRPC`. Valid values: `0` to `99`. Default value: `0`.
|
|
3440
|
+
The status code for a successful health check
|
|
3061
3441
|
"""
|
|
3062
3442
|
return pulumi.get(self, "health_check_codes")
|
|
3063
3443
|
|
|
@@ -3069,7 +3449,13 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
3069
3449
|
@pulumi.getter(name="healthCheckConnectPort")
|
|
3070
3450
|
def health_check_connect_port(self) -> Optional[pulumi.Input[int]]:
|
|
3071
3451
|
"""
|
|
3072
|
-
The backend port that is used for health checks.
|
|
3452
|
+
The backend port that is used for health checks.
|
|
3453
|
+
|
|
3454
|
+
Valid values: `0` to `65535`.
|
|
3455
|
+
|
|
3456
|
+
If you set the value to `0`, the backend port is used for health checks.
|
|
3457
|
+
|
|
3458
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true`.
|
|
3073
3459
|
"""
|
|
3074
3460
|
return pulumi.get(self, "health_check_connect_port")
|
|
3075
3461
|
|
|
@@ -3082,6 +3468,18 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
3082
3468
|
def health_check_host(self) -> Optional[pulumi.Input[str]]:
|
|
3083
3469
|
"""
|
|
3084
3470
|
The domain name that is used for health checks.
|
|
3471
|
+
|
|
3472
|
+
* **Backend Server Internal IP** (default): Use the internal IP address of backend servers as the health check domain name.
|
|
3473
|
+
|
|
3474
|
+
* **Custom Domain Name**: Enter a domain name.
|
|
3475
|
+
|
|
3476
|
+
* The domain name must be 1 to 80 characters in length.
|
|
3477
|
+
* The domain name can contain lowercase letters, digits, hyphens (-), and periods (.).
|
|
3478
|
+
* The domain name must contain at least one period (.) but cannot start or end with a period (.).
|
|
3479
|
+
* The rightmost domain label of the domain name can contain only letters, and cannot contain digits or hyphens (-).
|
|
3480
|
+
* The domain name cannot start or end with a hyphen (-).
|
|
3481
|
+
|
|
3482
|
+
> **NOTE:** This parameter takes effect only if `HealthCheckProtocol` is set to `HTTP`, `HTTPS`, or `gRPC`.
|
|
3085
3483
|
"""
|
|
3086
3484
|
return pulumi.get(self, "health_check_host")
|
|
3087
3485
|
|
|
@@ -3093,7 +3491,13 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
3093
3491
|
@pulumi.getter(name="healthCheckHttpVersion")
|
|
3094
3492
|
def health_check_http_version(self) -> Optional[pulumi.Input[str]]:
|
|
3095
3493
|
"""
|
|
3096
|
-
The version
|
|
3494
|
+
The HTTP version that is used for health checks. Valid values:
|
|
3495
|
+
|
|
3496
|
+
* **HTTP1.0**
|
|
3497
|
+
|
|
3498
|
+
* **HTTP1.1**
|
|
3499
|
+
|
|
3500
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to true and `HealthCheckProtocol` to `HTTP` or `HTTPS`.
|
|
3097
3501
|
"""
|
|
3098
3502
|
return pulumi.get(self, "health_check_http_version")
|
|
3099
3503
|
|
|
@@ -3105,7 +3509,11 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
3105
3509
|
@pulumi.getter(name="healthCheckInterval")
|
|
3106
3510
|
def health_check_interval(self) -> Optional[pulumi.Input[int]]:
|
|
3107
3511
|
"""
|
|
3108
|
-
The interval at which health checks are performed. Unit: seconds.
|
|
3512
|
+
The interval at which health checks are performed. Unit: seconds.
|
|
3513
|
+
|
|
3514
|
+
Valid values: `1` to `50`.
|
|
3515
|
+
|
|
3516
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true`.
|
|
3109
3517
|
"""
|
|
3110
3518
|
return pulumi.get(self, "health_check_interval")
|
|
3111
3519
|
|
|
@@ -3117,7 +3525,15 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
3117
3525
|
@pulumi.getter(name="healthCheckMethod")
|
|
3118
3526
|
def health_check_method(self) -> Optional[pulumi.Input[str]]:
|
|
3119
3527
|
"""
|
|
3120
|
-
The HTTP method that is used for health checks.
|
|
3528
|
+
The HTTP method that is used for health checks. Valid values:
|
|
3529
|
+
|
|
3530
|
+
* `GET`: If the length of a response exceeds 8 KB, the response is truncated. However, the health check result is not affected.
|
|
3531
|
+
|
|
3532
|
+
* `POST`: gRPC health checks use the POST method by default.
|
|
3533
|
+
|
|
3534
|
+
* `HEAD`: HTTP and HTTPS health checks use the HEAD method by default.
|
|
3535
|
+
|
|
3536
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to true and `HealthCheckProtocol` to `HTTP`, `HTTPS`, or `gRPC`.
|
|
3121
3537
|
"""
|
|
3122
3538
|
return pulumi.get(self, "health_check_method")
|
|
3123
3539
|
|
|
@@ -3129,7 +3545,11 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
3129
3545
|
@pulumi.getter(name="healthCheckPath")
|
|
3130
3546
|
def health_check_path(self) -> Optional[pulumi.Input[str]]:
|
|
3131
3547
|
"""
|
|
3132
|
-
The
|
|
3548
|
+
The URL that is used for health checks.
|
|
3549
|
+
|
|
3550
|
+
The URL must be 1 to 80 characters in length, and can contain letters, digits, and the following special characters: `- / . % ? # & =`. It can also contain the following extended characters: `_ ; ~ ! ( ) * [ ] @ $ ^ : ' , +`. The URL must start with a forward slash (`/`).
|
|
3551
|
+
|
|
3552
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true` and `HealthCheckProtocol` to `HTTP` or `HTTPS`.
|
|
3133
3553
|
"""
|
|
3134
3554
|
return pulumi.get(self, "health_check_path")
|
|
3135
3555
|
|
|
@@ -3141,7 +3561,12 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
3141
3561
|
@pulumi.getter(name="healthCheckProtocol")
|
|
3142
3562
|
def health_check_protocol(self) -> Optional[pulumi.Input[str]]:
|
|
3143
3563
|
"""
|
|
3144
|
-
The protocol that is used for health checks. Valid values:
|
|
3564
|
+
The protocol that is used for health checks. Valid values:
|
|
3565
|
+
|
|
3566
|
+
- `HTTP`: HTTP health checks simulate browser behaviors by sending HEAD or GET requests to probe the availability of backend servers.
|
|
3567
|
+
- `HTTPS`: HTTPS health checks simulate browser behaviors by sending HEAD or GET requests to probe the availability of backend servers. HTTPS provides higher security than HTTP because HTTPS supports data encryption.
|
|
3568
|
+
- `TCP`: TCP health checks send TCP SYN packets to a backend server to probe the availability of backend servers.
|
|
3569
|
+
- `gRPC`: gRPC health checks send POST or GET requests to a backend server to check whether the backend server is healthy.
|
|
3145
3570
|
"""
|
|
3146
3571
|
return pulumi.get(self, "health_check_protocol")
|
|
3147
3572
|
|
|
@@ -3153,7 +3578,11 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
3153
3578
|
@pulumi.getter(name="healthCheckTimeout")
|
|
3154
3579
|
def health_check_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
3155
3580
|
"""
|
|
3156
|
-
The timeout period
|
|
3581
|
+
The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds.
|
|
3582
|
+
|
|
3583
|
+
Valid values: `1` to `300`.
|
|
3584
|
+
|
|
3585
|
+
> **NOTE:** This parameter takes effect only if you set `HealthCheckEnabled` to `true`.
|
|
3157
3586
|
"""
|
|
3158
3587
|
return pulumi.get(self, "health_check_timeout")
|
|
3159
3588
|
|
|
@@ -3165,7 +3594,11 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
3165
3594
|
@pulumi.getter(name="healthyThreshold")
|
|
3166
3595
|
def healthy_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
3167
3596
|
"""
|
|
3168
|
-
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy.
|
|
3597
|
+
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. In this case, the health check status of the backend server changes from `fail` to `success`.
|
|
3598
|
+
|
|
3599
|
+
Valid values: `2` to `10`.
|
|
3600
|
+
|
|
3601
|
+
Default value: `3`.
|
|
3169
3602
|
"""
|
|
3170
3603
|
return pulumi.get(self, "healthy_threshold")
|
|
3171
3604
|
|
|
@@ -3177,7 +3610,11 @@ class ServerGroupHealthCheckConfigArgs:
|
|
|
3177
3610
|
@pulumi.getter(name="unhealthyThreshold")
|
|
3178
3611
|
def unhealthy_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
3179
3612
|
"""
|
|
3180
|
-
The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy.
|
|
3613
|
+
The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. In this case, the health check status of the backend server changes from `success` to `fail`.
|
|
3614
|
+
|
|
3615
|
+
Valid values: `2` to `10`.
|
|
3616
|
+
|
|
3617
|
+
Default value: `3`.
|
|
3181
3618
|
"""
|
|
3182
3619
|
return pulumi.get(self, "unhealthy_threshold")
|
|
3183
3620
|
|
|
@@ -3190,43 +3627,57 @@ if not MYPY:
|
|
|
3190
3627
|
class ServerGroupServerArgsDict(TypedDict):
|
|
3191
3628
|
server_id: pulumi.Input[str]
|
|
3192
3629
|
"""
|
|
3193
|
-
The ID of the backend server.
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3630
|
+
The ID of the backend server. You can specify at most 200 servers in each call.
|
|
3631
|
+
|
|
3632
|
+
* If the server group is of the `Instance` type, set ServerId to the ID of a resource of the `Ecs`, `Eni`, or `Eci` type.
|
|
3633
|
+
|
|
3634
|
+
* If the server group is of the `Ip` type, set ServerId to IP addresses.
|
|
3635
|
+
|
|
3636
|
+
> **NOTE:** You cannot perform this operation on a server group of the Function Compute type. You can call the [ListServerGroups](https://www.alibabacloud.com/help/en/doc-detail/213627.html) operation to query the type of server groups.
|
|
3197
3637
|
"""
|
|
3198
3638
|
server_type: pulumi.Input[str]
|
|
3199
3639
|
"""
|
|
3200
|
-
The type of the server.
|
|
3201
|
-
|
|
3202
|
-
- `
|
|
3203
|
-
- `
|
|
3204
|
-
- `
|
|
3205
|
-
- `
|
|
3640
|
+
The type of the backend server. You can specify at most 200 servers in each call. Default values:
|
|
3641
|
+
|
|
3642
|
+
- `Ecs`: Elastic Compute Service (ECS) instance
|
|
3643
|
+
- `Eni`: elastic network interface (ENI)
|
|
3644
|
+
- `Eci`: elastic container instance
|
|
3645
|
+
- `Ip`: IP address
|
|
3646
|
+
- `Fc`: Function Compute
|
|
3206
3647
|
"""
|
|
3207
3648
|
description: NotRequired[pulumi.Input[str]]
|
|
3208
3649
|
"""
|
|
3209
|
-
The description of the backend server.
|
|
3650
|
+
The description of the backend server. The description must be 2 to 256 characters in length, and cannot start with http:// or https://.
|
|
3210
3651
|
"""
|
|
3211
3652
|
port: NotRequired[pulumi.Input[int]]
|
|
3212
3653
|
"""
|
|
3213
|
-
The port used by the backend server. Valid values: `1` to `65535`.
|
|
3654
|
+
The port that is used by the backend server. Valid values: `1` to `65535`. You can specify at most 200 servers in each call.
|
|
3655
|
+
|
|
3656
|
+
> **NOTE:** This parameter is required if you set `ServerType` to `Ecs`, `Eni`, `Eci`, or `Ip`. You do not need to set this parameter if `ServerType` is set to `Fc`.
|
|
3214
3657
|
"""
|
|
3215
3658
|
remote_ip_enabled: NotRequired[pulumi.Input[bool]]
|
|
3216
3659
|
"""
|
|
3217
|
-
Specifies whether to enable the remote IP
|
|
3660
|
+
Specifies whether to enable the remote IP feature. You can specify at most 200 servers in each call. Default values:
|
|
3661
|
+
"""
|
|
3662
|
+
server_group_id: NotRequired[pulumi.Input[str]]
|
|
3663
|
+
"""
|
|
3664
|
+
The ID of the server group.
|
|
3218
3665
|
"""
|
|
3219
3666
|
server_ip: NotRequired[pulumi.Input[str]]
|
|
3220
3667
|
"""
|
|
3221
|
-
The IP address of
|
|
3668
|
+
The IP address of the backend server. You can specify at most 200 servers in each call.
|
|
3669
|
+
|
|
3670
|
+
> **NOTE:** You do not need to set this parameter if you set `ServerType` to `Fc`.
|
|
3222
3671
|
"""
|
|
3223
3672
|
status: NotRequired[pulumi.Input[str]]
|
|
3224
3673
|
"""
|
|
3225
|
-
The status of the
|
|
3674
|
+
The status of the resource
|
|
3226
3675
|
"""
|
|
3227
3676
|
weight: NotRequired[pulumi.Input[int]]
|
|
3228
3677
|
"""
|
|
3229
|
-
The weight of the server.
|
|
3678
|
+
The weight of the backend server. Valid values: `0` to `100`. Default value: `100`. If the value is set to `0`, no requests are forwarded to the server. You can specify at most 200 servers in each call.
|
|
3679
|
+
|
|
3680
|
+
> **NOTE:** You do not need to set this parameter if you set `ServerType` to `Fc`.
|
|
3230
3681
|
"""
|
|
3231
3682
|
elif False:
|
|
3232
3683
|
ServerGroupServerArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -3239,26 +3690,38 @@ class ServerGroupServerArgs:
|
|
|
3239
3690
|
description: Optional[pulumi.Input[str]] = None,
|
|
3240
3691
|
port: Optional[pulumi.Input[int]] = None,
|
|
3241
3692
|
remote_ip_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3693
|
+
server_group_id: Optional[pulumi.Input[str]] = None,
|
|
3242
3694
|
server_ip: Optional[pulumi.Input[str]] = None,
|
|
3243
3695
|
status: Optional[pulumi.Input[str]] = None,
|
|
3244
3696
|
weight: Optional[pulumi.Input[int]] = None):
|
|
3245
3697
|
"""
|
|
3246
|
-
:param pulumi.Input[str] server_id: The ID of the backend server.
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
- `
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
:param pulumi.Input[str]
|
|
3261
|
-
:param pulumi.Input[int]
|
|
3698
|
+
:param pulumi.Input[str] server_id: The ID of the backend server. You can specify at most 200 servers in each call.
|
|
3699
|
+
|
|
3700
|
+
* If the server group is of the `Instance` type, set ServerId to the ID of a resource of the `Ecs`, `Eni`, or `Eci` type.
|
|
3701
|
+
|
|
3702
|
+
* If the server group is of the `Ip` type, set ServerId to IP addresses.
|
|
3703
|
+
|
|
3704
|
+
> **NOTE:** You cannot perform this operation on a server group of the Function Compute type. You can call the [ListServerGroups](https://www.alibabacloud.com/help/en/doc-detail/213627.html) operation to query the type of server groups.
|
|
3705
|
+
:param pulumi.Input[str] server_type: The type of the backend server. You can specify at most 200 servers in each call. Default values:
|
|
3706
|
+
|
|
3707
|
+
- `Ecs`: Elastic Compute Service (ECS) instance
|
|
3708
|
+
- `Eni`: elastic network interface (ENI)
|
|
3709
|
+
- `Eci`: elastic container instance
|
|
3710
|
+
- `Ip`: IP address
|
|
3711
|
+
- `Fc`: Function Compute
|
|
3712
|
+
:param pulumi.Input[str] description: The description of the backend server. The description must be 2 to 256 characters in length, and cannot start with http:// or https://.
|
|
3713
|
+
:param pulumi.Input[int] port: The port that is used by the backend server. Valid values: `1` to `65535`. You can specify at most 200 servers in each call.
|
|
3714
|
+
|
|
3715
|
+
> **NOTE:** This parameter is required if you set `ServerType` to `Ecs`, `Eni`, `Eci`, or `Ip`. You do not need to set this parameter if `ServerType` is set to `Fc`.
|
|
3716
|
+
:param pulumi.Input[bool] remote_ip_enabled: Specifies whether to enable the remote IP feature. You can specify at most 200 servers in each call. Default values:
|
|
3717
|
+
:param pulumi.Input[str] server_group_id: The ID of the server group.
|
|
3718
|
+
:param pulumi.Input[str] server_ip: The IP address of the backend server. You can specify at most 200 servers in each call.
|
|
3719
|
+
|
|
3720
|
+
> **NOTE:** You do not need to set this parameter if you set `ServerType` to `Fc`.
|
|
3721
|
+
:param pulumi.Input[str] status: The status of the resource
|
|
3722
|
+
:param pulumi.Input[int] weight: The weight of the backend server. Valid values: `0` to `100`. Default value: `100`. If the value is set to `0`, no requests are forwarded to the server. You can specify at most 200 servers in each call.
|
|
3723
|
+
|
|
3724
|
+
> **NOTE:** You do not need to set this parameter if you set `ServerType` to `Fc`.
|
|
3262
3725
|
"""
|
|
3263
3726
|
pulumi.set(__self__, "server_id", server_id)
|
|
3264
3727
|
pulumi.set(__self__, "server_type", server_type)
|
|
@@ -3268,6 +3731,8 @@ class ServerGroupServerArgs:
|
|
|
3268
3731
|
pulumi.set(__self__, "port", port)
|
|
3269
3732
|
if remote_ip_enabled is not None:
|
|
3270
3733
|
pulumi.set(__self__, "remote_ip_enabled", remote_ip_enabled)
|
|
3734
|
+
if server_group_id is not None:
|
|
3735
|
+
pulumi.set(__self__, "server_group_id", server_group_id)
|
|
3271
3736
|
if server_ip is not None:
|
|
3272
3737
|
pulumi.set(__self__, "server_ip", server_ip)
|
|
3273
3738
|
if status is not None:
|
|
@@ -3279,10 +3744,13 @@ class ServerGroupServerArgs:
|
|
|
3279
3744
|
@pulumi.getter(name="serverId")
|
|
3280
3745
|
def server_id(self) -> pulumi.Input[str]:
|
|
3281
3746
|
"""
|
|
3282
|
-
The ID of the backend server.
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3747
|
+
The ID of the backend server. You can specify at most 200 servers in each call.
|
|
3748
|
+
|
|
3749
|
+
* If the server group is of the `Instance` type, set ServerId to the ID of a resource of the `Ecs`, `Eni`, or `Eci` type.
|
|
3750
|
+
|
|
3751
|
+
* If the server group is of the `Ip` type, set ServerId to IP addresses.
|
|
3752
|
+
|
|
3753
|
+
> **NOTE:** You cannot perform this operation on a server group of the Function Compute type. You can call the [ListServerGroups](https://www.alibabacloud.com/help/en/doc-detail/213627.html) operation to query the type of server groups.
|
|
3286
3754
|
"""
|
|
3287
3755
|
return pulumi.get(self, "server_id")
|
|
3288
3756
|
|
|
@@ -3294,12 +3762,13 @@ class ServerGroupServerArgs:
|
|
|
3294
3762
|
@pulumi.getter(name="serverType")
|
|
3295
3763
|
def server_type(self) -> pulumi.Input[str]:
|
|
3296
3764
|
"""
|
|
3297
|
-
The type of the server.
|
|
3298
|
-
|
|
3299
|
-
- `
|
|
3300
|
-
- `
|
|
3301
|
-
- `
|
|
3302
|
-
- `
|
|
3765
|
+
The type of the backend server. You can specify at most 200 servers in each call. Default values:
|
|
3766
|
+
|
|
3767
|
+
- `Ecs`: Elastic Compute Service (ECS) instance
|
|
3768
|
+
- `Eni`: elastic network interface (ENI)
|
|
3769
|
+
- `Eci`: elastic container instance
|
|
3770
|
+
- `Ip`: IP address
|
|
3771
|
+
- `Fc`: Function Compute
|
|
3303
3772
|
"""
|
|
3304
3773
|
return pulumi.get(self, "server_type")
|
|
3305
3774
|
|
|
@@ -3311,7 +3780,7 @@ class ServerGroupServerArgs:
|
|
|
3311
3780
|
@pulumi.getter
|
|
3312
3781
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
3313
3782
|
"""
|
|
3314
|
-
The description of the backend server.
|
|
3783
|
+
The description of the backend server. The description must be 2 to 256 characters in length, and cannot start with http:// or https://.
|
|
3315
3784
|
"""
|
|
3316
3785
|
return pulumi.get(self, "description")
|
|
3317
3786
|
|
|
@@ -3323,7 +3792,9 @@ class ServerGroupServerArgs:
|
|
|
3323
3792
|
@pulumi.getter
|
|
3324
3793
|
def port(self) -> Optional[pulumi.Input[int]]:
|
|
3325
3794
|
"""
|
|
3326
|
-
The port used by the backend server. Valid values: `1` to `65535`.
|
|
3795
|
+
The port that is used by the backend server. Valid values: `1` to `65535`. You can specify at most 200 servers in each call.
|
|
3796
|
+
|
|
3797
|
+
> **NOTE:** This parameter is required if you set `ServerType` to `Ecs`, `Eni`, `Eci`, or `Ip`. You do not need to set this parameter if `ServerType` is set to `Fc`.
|
|
3327
3798
|
"""
|
|
3328
3799
|
return pulumi.get(self, "port")
|
|
3329
3800
|
|
|
@@ -3335,7 +3806,7 @@ class ServerGroupServerArgs:
|
|
|
3335
3806
|
@pulumi.getter(name="remoteIpEnabled")
|
|
3336
3807
|
def remote_ip_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
3337
3808
|
"""
|
|
3338
|
-
Specifies whether to enable the remote IP
|
|
3809
|
+
Specifies whether to enable the remote IP feature. You can specify at most 200 servers in each call. Default values:
|
|
3339
3810
|
"""
|
|
3340
3811
|
return pulumi.get(self, "remote_ip_enabled")
|
|
3341
3812
|
|
|
@@ -3343,11 +3814,25 @@ class ServerGroupServerArgs:
|
|
|
3343
3814
|
def remote_ip_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
3344
3815
|
pulumi.set(self, "remote_ip_enabled", value)
|
|
3345
3816
|
|
|
3817
|
+
@property
|
|
3818
|
+
@pulumi.getter(name="serverGroupId")
|
|
3819
|
+
def server_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
3820
|
+
"""
|
|
3821
|
+
The ID of the server group.
|
|
3822
|
+
"""
|
|
3823
|
+
return pulumi.get(self, "server_group_id")
|
|
3824
|
+
|
|
3825
|
+
@server_group_id.setter
|
|
3826
|
+
def server_group_id(self, value: Optional[pulumi.Input[str]]):
|
|
3827
|
+
pulumi.set(self, "server_group_id", value)
|
|
3828
|
+
|
|
3346
3829
|
@property
|
|
3347
3830
|
@pulumi.getter(name="serverIp")
|
|
3348
3831
|
def server_ip(self) -> Optional[pulumi.Input[str]]:
|
|
3349
3832
|
"""
|
|
3350
|
-
The IP address of
|
|
3833
|
+
The IP address of the backend server. You can specify at most 200 servers in each call.
|
|
3834
|
+
|
|
3835
|
+
> **NOTE:** You do not need to set this parameter if you set `ServerType` to `Fc`.
|
|
3351
3836
|
"""
|
|
3352
3837
|
return pulumi.get(self, "server_ip")
|
|
3353
3838
|
|
|
@@ -3359,7 +3844,7 @@ class ServerGroupServerArgs:
|
|
|
3359
3844
|
@pulumi.getter
|
|
3360
3845
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
3361
3846
|
"""
|
|
3362
|
-
The status of the
|
|
3847
|
+
The status of the resource
|
|
3363
3848
|
"""
|
|
3364
3849
|
return pulumi.get(self, "status")
|
|
3365
3850
|
|
|
@@ -3371,7 +3856,9 @@ class ServerGroupServerArgs:
|
|
|
3371
3856
|
@pulumi.getter
|
|
3372
3857
|
def weight(self) -> Optional[pulumi.Input[int]]:
|
|
3373
3858
|
"""
|
|
3374
|
-
The weight of the server.
|
|
3859
|
+
The weight of the backend server. Valid values: `0` to `100`. Default value: `100`. If the value is set to `0`, no requests are forwarded to the server. You can specify at most 200 servers in each call.
|
|
3860
|
+
|
|
3861
|
+
> **NOTE:** You do not need to set this parameter if you set `ServerType` to `Fc`.
|
|
3375
3862
|
"""
|
|
3376
3863
|
return pulumi.get(self, "weight")
|
|
3377
3864
|
|
|
@@ -3380,23 +3867,107 @@ class ServerGroupServerArgs:
|
|
|
3380
3867
|
pulumi.set(self, "weight", value)
|
|
3381
3868
|
|
|
3382
3869
|
|
|
3870
|
+
if not MYPY:
|
|
3871
|
+
class ServerGroupSlowStartConfigArgsDict(TypedDict):
|
|
3872
|
+
slow_start_duration: NotRequired[pulumi.Input[int]]
|
|
3873
|
+
"""
|
|
3874
|
+
The duration of a slow start.
|
|
3875
|
+
|
|
3876
|
+
Valid values: 30 to 900.
|
|
3877
|
+
|
|
3878
|
+
Default value: 30.
|
|
3879
|
+
"""
|
|
3880
|
+
slow_start_enabled: NotRequired[pulumi.Input[bool]]
|
|
3881
|
+
"""
|
|
3882
|
+
Indicates whether slow starts are enabled. Valid values:
|
|
3883
|
+
"""
|
|
3884
|
+
elif False:
|
|
3885
|
+
ServerGroupSlowStartConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
3886
|
+
|
|
3887
|
+
@pulumi.input_type
|
|
3888
|
+
class ServerGroupSlowStartConfigArgs:
|
|
3889
|
+
def __init__(__self__, *,
|
|
3890
|
+
slow_start_duration: Optional[pulumi.Input[int]] = None,
|
|
3891
|
+
slow_start_enabled: Optional[pulumi.Input[bool]] = None):
|
|
3892
|
+
"""
|
|
3893
|
+
:param pulumi.Input[int] slow_start_duration: The duration of a slow start.
|
|
3894
|
+
|
|
3895
|
+
Valid values: 30 to 900.
|
|
3896
|
+
|
|
3897
|
+
Default value: 30.
|
|
3898
|
+
:param pulumi.Input[bool] slow_start_enabled: Indicates whether slow starts are enabled. Valid values:
|
|
3899
|
+
"""
|
|
3900
|
+
if slow_start_duration is not None:
|
|
3901
|
+
pulumi.set(__self__, "slow_start_duration", slow_start_duration)
|
|
3902
|
+
if slow_start_enabled is not None:
|
|
3903
|
+
pulumi.set(__self__, "slow_start_enabled", slow_start_enabled)
|
|
3904
|
+
|
|
3905
|
+
@property
|
|
3906
|
+
@pulumi.getter(name="slowStartDuration")
|
|
3907
|
+
def slow_start_duration(self) -> Optional[pulumi.Input[int]]:
|
|
3908
|
+
"""
|
|
3909
|
+
The duration of a slow start.
|
|
3910
|
+
|
|
3911
|
+
Valid values: 30 to 900.
|
|
3912
|
+
|
|
3913
|
+
Default value: 30.
|
|
3914
|
+
"""
|
|
3915
|
+
return pulumi.get(self, "slow_start_duration")
|
|
3916
|
+
|
|
3917
|
+
@slow_start_duration.setter
|
|
3918
|
+
def slow_start_duration(self, value: Optional[pulumi.Input[int]]):
|
|
3919
|
+
pulumi.set(self, "slow_start_duration", value)
|
|
3920
|
+
|
|
3921
|
+
@property
|
|
3922
|
+
@pulumi.getter(name="slowStartEnabled")
|
|
3923
|
+
def slow_start_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
3924
|
+
"""
|
|
3925
|
+
Indicates whether slow starts are enabled. Valid values:
|
|
3926
|
+
"""
|
|
3927
|
+
return pulumi.get(self, "slow_start_enabled")
|
|
3928
|
+
|
|
3929
|
+
@slow_start_enabled.setter
|
|
3930
|
+
def slow_start_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
3931
|
+
pulumi.set(self, "slow_start_enabled", value)
|
|
3932
|
+
|
|
3933
|
+
|
|
3383
3934
|
if not MYPY:
|
|
3384
3935
|
class ServerGroupStickySessionConfigArgsDict(TypedDict):
|
|
3385
3936
|
cookie: NotRequired[pulumi.Input[str]]
|
|
3386
3937
|
"""
|
|
3387
|
-
The cookie to be configured on the server.
|
|
3938
|
+
The cookie to be configured on the server.
|
|
3939
|
+
|
|
3940
|
+
The cookie must be 1 to 200 characters in length and can contain only ASCII characters and digits. It cannot contain commas (,), semicolons (;), or space characters. It cannot start with a dollar sign ($).
|
|
3941
|
+
|
|
3942
|
+
> **NOTE:** This parameter takes effect when the `StickySessionEnabled` parameter is set to `true` and the `StickySessionType` parameter is set to `Server`.
|
|
3388
3943
|
"""
|
|
3389
3944
|
cookie_timeout: NotRequired[pulumi.Input[int]]
|
|
3390
3945
|
"""
|
|
3391
|
-
The
|
|
3946
|
+
The maximum amount of time to wait before the session cookie expires. Unit: seconds.
|
|
3947
|
+
|
|
3948
|
+
Valid values: `1` to `86400`.
|
|
3949
|
+
|
|
3950
|
+
Default value: `1000`.
|
|
3951
|
+
|
|
3952
|
+
> **NOTE:** This parameter takes effect only when `StickySessionEnabled` is set to `true` and `StickySessionType` is set to `Insert`.
|
|
3392
3953
|
"""
|
|
3393
3954
|
sticky_session_enabled: NotRequired[pulumi.Input[bool]]
|
|
3394
3955
|
"""
|
|
3395
|
-
Specifies whether to enable session persistence.
|
|
3956
|
+
Specifies whether to enable session persistence. Valid values:
|
|
3396
3957
|
"""
|
|
3397
3958
|
sticky_session_type: NotRequired[pulumi.Input[str]]
|
|
3398
3959
|
"""
|
|
3399
|
-
The method that is used to handle a cookie. Valid values:
|
|
3960
|
+
The method that is used to handle a cookie. Valid values:
|
|
3961
|
+
|
|
3962
|
+
* `Insert`: inserts a cookie.
|
|
3963
|
+
|
|
3964
|
+
ALB inserts a cookie (SERVERID) into the first HTTP or HTTPS response packet that is sent to a client. The next request from the client contains this cookie and the listener forwards this request to the recorded backend server.
|
|
3965
|
+
|
|
3966
|
+
* `Server`: rewrites a cookie.
|
|
3967
|
+
|
|
3968
|
+
When ALB detects a user-defined cookie, it overwrites the original cookie with the user-defined cookie. Subsequent requests to ALB carry this user-defined cookie, and ALB determines the destination servers of the requests based on the cookies.
|
|
3969
|
+
|
|
3970
|
+
> **NOTE:** This parameter takes effect when the `StickySessionEnabled` parameter is set to `true` for the server group.
|
|
3400
3971
|
"""
|
|
3401
3972
|
elif False:
|
|
3402
3973
|
ServerGroupStickySessionConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -3409,10 +3980,30 @@ class ServerGroupStickySessionConfigArgs:
|
|
|
3409
3980
|
sticky_session_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3410
3981
|
sticky_session_type: Optional[pulumi.Input[str]] = None):
|
|
3411
3982
|
"""
|
|
3412
|
-
:param pulumi.Input[str] cookie: The cookie to be configured on the server.
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3983
|
+
:param pulumi.Input[str] cookie: The cookie to be configured on the server.
|
|
3984
|
+
|
|
3985
|
+
The cookie must be 1 to 200 characters in length and can contain only ASCII characters and digits. It cannot contain commas (,), semicolons (;), or space characters. It cannot start with a dollar sign ($).
|
|
3986
|
+
|
|
3987
|
+
> **NOTE:** This parameter takes effect when the `StickySessionEnabled` parameter is set to `true` and the `StickySessionType` parameter is set to `Server`.
|
|
3988
|
+
:param pulumi.Input[int] cookie_timeout: The maximum amount of time to wait before the session cookie expires. Unit: seconds.
|
|
3989
|
+
|
|
3990
|
+
Valid values: `1` to `86400`.
|
|
3991
|
+
|
|
3992
|
+
Default value: `1000`.
|
|
3993
|
+
|
|
3994
|
+
> **NOTE:** This parameter takes effect only when `StickySessionEnabled` is set to `true` and `StickySessionType` is set to `Insert`.
|
|
3995
|
+
:param pulumi.Input[bool] sticky_session_enabled: Specifies whether to enable session persistence. Valid values:
|
|
3996
|
+
:param pulumi.Input[str] sticky_session_type: The method that is used to handle a cookie. Valid values:
|
|
3997
|
+
|
|
3998
|
+
* `Insert`: inserts a cookie.
|
|
3999
|
+
|
|
4000
|
+
ALB inserts a cookie (SERVERID) into the first HTTP or HTTPS response packet that is sent to a client. The next request from the client contains this cookie and the listener forwards this request to the recorded backend server.
|
|
4001
|
+
|
|
4002
|
+
* `Server`: rewrites a cookie.
|
|
4003
|
+
|
|
4004
|
+
When ALB detects a user-defined cookie, it overwrites the original cookie with the user-defined cookie. Subsequent requests to ALB carry this user-defined cookie, and ALB determines the destination servers of the requests based on the cookies.
|
|
4005
|
+
|
|
4006
|
+
> **NOTE:** This parameter takes effect when the `StickySessionEnabled` parameter is set to `true` for the server group.
|
|
3416
4007
|
"""
|
|
3417
4008
|
if cookie is not None:
|
|
3418
4009
|
pulumi.set(__self__, "cookie", cookie)
|
|
@@ -3427,7 +4018,11 @@ class ServerGroupStickySessionConfigArgs:
|
|
|
3427
4018
|
@pulumi.getter
|
|
3428
4019
|
def cookie(self) -> Optional[pulumi.Input[str]]:
|
|
3429
4020
|
"""
|
|
3430
|
-
The cookie to be configured on the server.
|
|
4021
|
+
The cookie to be configured on the server.
|
|
4022
|
+
|
|
4023
|
+
The cookie must be 1 to 200 characters in length and can contain only ASCII characters and digits. It cannot contain commas (,), semicolons (;), or space characters. It cannot start with a dollar sign ($).
|
|
4024
|
+
|
|
4025
|
+
> **NOTE:** This parameter takes effect when the `StickySessionEnabled` parameter is set to `true` and the `StickySessionType` parameter is set to `Server`.
|
|
3431
4026
|
"""
|
|
3432
4027
|
return pulumi.get(self, "cookie")
|
|
3433
4028
|
|
|
@@ -3439,7 +4034,13 @@ class ServerGroupStickySessionConfigArgs:
|
|
|
3439
4034
|
@pulumi.getter(name="cookieTimeout")
|
|
3440
4035
|
def cookie_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
3441
4036
|
"""
|
|
3442
|
-
The
|
|
4037
|
+
The maximum amount of time to wait before the session cookie expires. Unit: seconds.
|
|
4038
|
+
|
|
4039
|
+
Valid values: `1` to `86400`.
|
|
4040
|
+
|
|
4041
|
+
Default value: `1000`.
|
|
4042
|
+
|
|
4043
|
+
> **NOTE:** This parameter takes effect only when `StickySessionEnabled` is set to `true` and `StickySessionType` is set to `Insert`.
|
|
3443
4044
|
"""
|
|
3444
4045
|
return pulumi.get(self, "cookie_timeout")
|
|
3445
4046
|
|
|
@@ -3451,7 +4052,7 @@ class ServerGroupStickySessionConfigArgs:
|
|
|
3451
4052
|
@pulumi.getter(name="stickySessionEnabled")
|
|
3452
4053
|
def sticky_session_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
3453
4054
|
"""
|
|
3454
|
-
Specifies whether to enable session persistence.
|
|
4055
|
+
Specifies whether to enable session persistence. Valid values:
|
|
3455
4056
|
"""
|
|
3456
4057
|
return pulumi.get(self, "sticky_session_enabled")
|
|
3457
4058
|
|
|
@@ -3463,7 +4064,17 @@ class ServerGroupStickySessionConfigArgs:
|
|
|
3463
4064
|
@pulumi.getter(name="stickySessionType")
|
|
3464
4065
|
def sticky_session_type(self) -> Optional[pulumi.Input[str]]:
|
|
3465
4066
|
"""
|
|
3466
|
-
The method that is used to handle a cookie. Valid values:
|
|
4067
|
+
The method that is used to handle a cookie. Valid values:
|
|
4068
|
+
|
|
4069
|
+
* `Insert`: inserts a cookie.
|
|
4070
|
+
|
|
4071
|
+
ALB inserts a cookie (SERVERID) into the first HTTP or HTTPS response packet that is sent to a client. The next request from the client contains this cookie and the listener forwards this request to the recorded backend server.
|
|
4072
|
+
|
|
4073
|
+
* `Server`: rewrites a cookie.
|
|
4074
|
+
|
|
4075
|
+
When ALB detects a user-defined cookie, it overwrites the original cookie with the user-defined cookie. Subsequent requests to ALB carry this user-defined cookie, and ALB determines the destination servers of the requests based on the cookies.
|
|
4076
|
+
|
|
4077
|
+
> **NOTE:** This parameter takes effect when the `StickySessionEnabled` parameter is set to `true` for the server group.
|
|
3467
4078
|
"""
|
|
3468
4079
|
return pulumi.get(self, "sticky_session_type")
|
|
3469
4080
|
|
|
@@ -3472,3 +4083,55 @@ class ServerGroupStickySessionConfigArgs:
|
|
|
3472
4083
|
pulumi.set(self, "sticky_session_type", value)
|
|
3473
4084
|
|
|
3474
4085
|
|
|
4086
|
+
if not MYPY:
|
|
4087
|
+
class ServerGroupUchConfigArgsDict(TypedDict):
|
|
4088
|
+
type: NotRequired[pulumi.Input[str]]
|
|
4089
|
+
"""
|
|
4090
|
+
The parameter type. Only QueryString can be filled.
|
|
4091
|
+
"""
|
|
4092
|
+
value: NotRequired[pulumi.Input[str]]
|
|
4093
|
+
"""
|
|
4094
|
+
Consistency hash parameter value
|
|
4095
|
+
"""
|
|
4096
|
+
elif False:
|
|
4097
|
+
ServerGroupUchConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
4098
|
+
|
|
4099
|
+
@pulumi.input_type
|
|
4100
|
+
class ServerGroupUchConfigArgs:
|
|
4101
|
+
def __init__(__self__, *,
|
|
4102
|
+
type: Optional[pulumi.Input[str]] = None,
|
|
4103
|
+
value: Optional[pulumi.Input[str]] = None):
|
|
4104
|
+
"""
|
|
4105
|
+
:param pulumi.Input[str] type: The parameter type. Only QueryString can be filled.
|
|
4106
|
+
:param pulumi.Input[str] value: Consistency hash parameter value
|
|
4107
|
+
"""
|
|
4108
|
+
if type is not None:
|
|
4109
|
+
pulumi.set(__self__, "type", type)
|
|
4110
|
+
if value is not None:
|
|
4111
|
+
pulumi.set(__self__, "value", value)
|
|
4112
|
+
|
|
4113
|
+
@property
|
|
4114
|
+
@pulumi.getter
|
|
4115
|
+
def type(self) -> Optional[pulumi.Input[str]]:
|
|
4116
|
+
"""
|
|
4117
|
+
The parameter type. Only QueryString can be filled.
|
|
4118
|
+
"""
|
|
4119
|
+
return pulumi.get(self, "type")
|
|
4120
|
+
|
|
4121
|
+
@type.setter
|
|
4122
|
+
def type(self, value: Optional[pulumi.Input[str]]):
|
|
4123
|
+
pulumi.set(self, "type", value)
|
|
4124
|
+
|
|
4125
|
+
@property
|
|
4126
|
+
@pulumi.getter
|
|
4127
|
+
def value(self) -> Optional[pulumi.Input[str]]:
|
|
4128
|
+
"""
|
|
4129
|
+
Consistency hash parameter value
|
|
4130
|
+
"""
|
|
4131
|
+
return pulumi.get(self, "value")
|
|
4132
|
+
|
|
4133
|
+
@value.setter
|
|
4134
|
+
def value(self, value: Optional[pulumi.Input[str]]):
|
|
4135
|
+
pulumi.set(self, "value", value)
|
|
4136
|
+
|
|
4137
|
+
|