pulumi-alicloud 3.79.0a1747891356__py3-none-any.whl → 3.79.0a1748578459__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 +40 -0
- pulumi_alicloud/alb/_inputs.py +21 -105
- pulumi_alicloud/alb/get_load_balancers.py +169 -18
- pulumi_alicloud/alb/listener.py +28 -56
- pulumi_alicloud/alb/outputs.py +150 -105
- pulumi_alicloud/cs/_inputs.py +54 -0
- pulumi_alicloud/cs/get_kubernetes_version.py +4 -4
- pulumi_alicloud/cs/managed_kubernetes.py +129 -7
- pulumi_alicloud/cs/outputs.py +49 -0
- pulumi_alicloud/ecs/__init__.py +1 -0
- pulumi_alicloud/ecs/_inputs.py +40 -0
- pulumi_alicloud/ecs/get_dedicated_hosts.py +49 -22
- pulumi_alicloud/ecs/get_instances.py +4 -3
- pulumi_alicloud/ecs/instance.py +94 -0
- pulumi_alicloud/ecs/outputs.py +129 -39
- pulumi_alicloud/ecs/ram_role_attachment.py +406 -0
- pulumi_alicloud/eflo/__init__.py +1 -0
- pulumi_alicloud/eflo/vsc.py +433 -0
- pulumi_alicloud/elasticsearch/instance.py +7 -7
- pulumi_alicloud/ess/outputs.py +226 -4
- pulumi_alicloud/expressconnect/router_vpc_association.py +56 -49
- pulumi_alicloud/fc/__init__.py +1 -0
- pulumi_alicloud/fc/get_v3_triggers.py +277 -0
- pulumi_alicloud/fc/outputs.py +192 -0
- pulumi_alicloud/lindorm/__init__.py +1 -0
- pulumi_alicloud/lindorm/public_network.py +288 -0
- pulumi_alicloud/maxcompute/project.py +2 -4
- pulumi_alicloud/oos/get_parameters.py +72 -28
- pulumi_alicloud/oos/outputs.py +10 -10
- pulumi_alicloud/pai/__init__.py +1 -0
- pulumi_alicloud/pai/workspace_user_config.py +356 -0
- pulumi_alicloud/polardb/cluster.py +155 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/pvtz/get_zone_records.py +66 -35
- pulumi_alicloud/pvtz/get_zones.py +49 -32
- pulumi_alicloud/pvtz/outputs.py +60 -56
- pulumi_alicloud/ram/policy.py +21 -35
- pulumi_alicloud/ram/role_attachment.py +6 -2
- pulumi_alicloud/rds/__init__.py +1 -0
- pulumi_alicloud/rds/db_proxy_public.py +512 -0
- pulumi_alicloud/rds/instance.py +35 -35
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/get_alerts.py +463 -0
- pulumi_alicloud/sls/outputs.py +975 -0
- {pulumi_alicloud-3.79.0a1747891356.dist-info → pulumi_alicloud-3.79.0a1748578459.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.79.0a1747891356.dist-info → pulumi_alicloud-3.79.0a1748578459.dist-info}/RECORD +48 -41
- {pulumi_alicloud-3.79.0a1747891356.dist-info → pulumi_alicloud-3.79.0a1748578459.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.79.0a1747891356.dist-info → pulumi_alicloud-3.79.0a1748578459.dist-info}/top_level.txt +0 -0
pulumi_alicloud/__init__.py
CHANGED
|
@@ -3585,6 +3585,14 @@ _utilities.register(
|
|
|
3585
3585
|
"alicloud:ecs/launchTemplate:LaunchTemplate": "LaunchTemplate"
|
|
3586
3586
|
}
|
|
3587
3587
|
},
|
|
3588
|
+
{
|
|
3589
|
+
"pkg": "alicloud",
|
|
3590
|
+
"mod": "ecs/ramRoleAttachment",
|
|
3591
|
+
"fqn": "pulumi_alicloud.ecs",
|
|
3592
|
+
"classes": {
|
|
3593
|
+
"alicloud:ecs/ramRoleAttachment:RamRoleAttachment": "RamRoleAttachment"
|
|
3594
|
+
}
|
|
3595
|
+
},
|
|
3588
3596
|
{
|
|
3589
3597
|
"pkg": "alicloud",
|
|
3590
3598
|
"mod": "ecs/reservedInstance",
|
|
@@ -3905,6 +3913,14 @@ _utilities.register(
|
|
|
3905
3913
|
"alicloud:eflo/vpd:Vpd": "Vpd"
|
|
3906
3914
|
}
|
|
3907
3915
|
},
|
|
3916
|
+
{
|
|
3917
|
+
"pkg": "alicloud",
|
|
3918
|
+
"mod": "eflo/vsc",
|
|
3919
|
+
"fqn": "pulumi_alicloud.eflo",
|
|
3920
|
+
"classes": {
|
|
3921
|
+
"alicloud:eflo/vsc:Vsc": "Vsc"
|
|
3922
|
+
}
|
|
3923
|
+
},
|
|
3908
3924
|
{
|
|
3909
3925
|
"pkg": "alicloud",
|
|
3910
3926
|
"mod": "ehpc/cluster",
|
|
@@ -5465,6 +5481,14 @@ _utilities.register(
|
|
|
5465
5481
|
"alicloud:lindorm/instance:Instance": "Instance"
|
|
5466
5482
|
}
|
|
5467
5483
|
},
|
|
5484
|
+
{
|
|
5485
|
+
"pkg": "alicloud",
|
|
5486
|
+
"mod": "lindorm/publicNetwork",
|
|
5487
|
+
"fqn": "pulumi_alicloud.lindorm",
|
|
5488
|
+
"classes": {
|
|
5489
|
+
"alicloud:lindorm/publicNetwork:PublicNetwork": "PublicNetwork"
|
|
5490
|
+
}
|
|
5491
|
+
},
|
|
5468
5492
|
{
|
|
5469
5493
|
"pkg": "alicloud",
|
|
5470
5494
|
"mod": "live/caster",
|
|
@@ -6457,6 +6481,14 @@ _utilities.register(
|
|
|
6457
6481
|
"alicloud:pai/workspaceRun:WorkspaceRun": "WorkspaceRun"
|
|
6458
6482
|
}
|
|
6459
6483
|
},
|
|
6484
|
+
{
|
|
6485
|
+
"pkg": "alicloud",
|
|
6486
|
+
"mod": "pai/workspaceUserConfig",
|
|
6487
|
+
"fqn": "pulumi_alicloud.pai",
|
|
6488
|
+
"classes": {
|
|
6489
|
+
"alicloud:pai/workspaceUserConfig:WorkspaceUserConfig": "WorkspaceUserConfig"
|
|
6490
|
+
}
|
|
6491
|
+
},
|
|
6460
6492
|
{
|
|
6461
6493
|
"pkg": "alicloud",
|
|
6462
6494
|
"mod": "pai/workspaceWorkspace",
|
|
@@ -6953,6 +6985,14 @@ _utilities.register(
|
|
|
6953
6985
|
"alicloud:rds/dbNode:DbNode": "DbNode"
|
|
6954
6986
|
}
|
|
6955
6987
|
},
|
|
6988
|
+
{
|
|
6989
|
+
"pkg": "alicloud",
|
|
6990
|
+
"mod": "rds/dbProxyPublic",
|
|
6991
|
+
"fqn": "pulumi_alicloud.rds",
|
|
6992
|
+
"classes": {
|
|
6993
|
+
"alicloud:rds/dbProxyPublic:DbProxyPublic": "DbProxyPublic"
|
|
6994
|
+
}
|
|
6995
|
+
},
|
|
6956
6996
|
{
|
|
6957
6997
|
"pkg": "alicloud",
|
|
6958
6998
|
"mod": "rds/ddrInstance",
|
pulumi_alicloud/alb/_inputs.py
CHANGED
|
@@ -257,23 +257,19 @@ if not MYPY:
|
|
|
257
257
|
class ListenerAccessLogTracingConfigArgsDict(TypedDict):
|
|
258
258
|
tracing_enabled: pulumi.Input[builtins.bool]
|
|
259
259
|
"""
|
|
260
|
-
Xtrace Function.
|
|
260
|
+
Xtrace Function. Valid values: `true`, `false`. Default Value: `false`.
|
|
261
261
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
Default Value: False * *.
|
|
265
|
-
|
|
266
|
-
> **NOTE:** Only Instances outside the Security Group to Access the Log Switch `accesslogenabled` Open, in Order to Set This Parameter to the **True * *.
|
|
262
|
+
> **NOTE:** Only Instances outside the Security Group to Access the Log Switch `accesslogenabled` Open, in Order to Set This Parameter to the value `true`.
|
|
267
263
|
"""
|
|
268
264
|
tracing_sample: NotRequired[pulumi.Input[builtins.int]]
|
|
269
265
|
"""
|
|
270
|
-
Xtrace Sampling Rate. Value: 1~10000
|
|
266
|
+
Xtrace Sampling Rate. Value: 1~10000. `tracingenabled` valued True When Effective.
|
|
271
267
|
"""
|
|
272
268
|
tracing_type: NotRequired[pulumi.Input[builtins.str]]
|
|
273
269
|
"""
|
|
274
|
-
Xtrace Type Value Is
|
|
270
|
+
Xtrace Type Value Is `Zipkin`.
|
|
275
271
|
|
|
276
|
-
> **NOTE:** `tracingenabled`
|
|
272
|
+
> **NOTE:** `tracingenabled` valued True When Effective.
|
|
277
273
|
"""
|
|
278
274
|
elif False:
|
|
279
275
|
ListenerAccessLogTracingConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -285,17 +281,13 @@ class ListenerAccessLogTracingConfigArgs:
|
|
|
285
281
|
tracing_sample: Optional[pulumi.Input[builtins.int]] = None,
|
|
286
282
|
tracing_type: Optional[pulumi.Input[builtins.str]] = None):
|
|
287
283
|
"""
|
|
288
|
-
:param pulumi.Input[builtins.bool] tracing_enabled: Xtrace Function.
|
|
289
|
-
|
|
290
|
-
Value: True **** Or False * *.
|
|
284
|
+
:param pulumi.Input[builtins.bool] tracing_enabled: Xtrace Function. Valid values: `true`, `false`. Default Value: `false`.
|
|
291
285
|
|
|
292
|
-
|
|
286
|
+
> **NOTE:** Only Instances outside the Security Group to Access the Log Switch `accesslogenabled` Open, in Order to Set This Parameter to the value `true`.
|
|
287
|
+
:param pulumi.Input[builtins.int] tracing_sample: Xtrace Sampling Rate. Value: 1~10000. `tracingenabled` valued True When Effective.
|
|
288
|
+
:param pulumi.Input[builtins.str] tracing_type: Xtrace Type Value Is `Zipkin`.
|
|
293
289
|
|
|
294
|
-
> **NOTE:**
|
|
295
|
-
:param pulumi.Input[builtins.int] tracing_sample: Xtrace Sampling Rate. Value: 1~10000 **.> `tracingenabled` **True When Effective.
|
|
296
|
-
:param pulumi.Input[builtins.str] tracing_type: Xtrace Type Value Is **Zipkin * *.
|
|
297
|
-
|
|
298
|
-
> **NOTE:** `tracingenabled` **True When Effective.
|
|
290
|
+
> **NOTE:** `tracingenabled` valued True When Effective.
|
|
299
291
|
"""
|
|
300
292
|
pulumi.set(__self__, "tracing_enabled", tracing_enabled)
|
|
301
293
|
if tracing_sample is not None:
|
|
@@ -307,13 +299,9 @@ class ListenerAccessLogTracingConfigArgs:
|
|
|
307
299
|
@pulumi.getter(name="tracingEnabled")
|
|
308
300
|
def tracing_enabled(self) -> pulumi.Input[builtins.bool]:
|
|
309
301
|
"""
|
|
310
|
-
Xtrace Function.
|
|
311
|
-
|
|
312
|
-
Value: True **** Or False * *.
|
|
313
|
-
|
|
314
|
-
Default Value: False * *.
|
|
302
|
+
Xtrace Function. Valid values: `true`, `false`. Default Value: `false`.
|
|
315
303
|
|
|
316
|
-
> **NOTE:** Only Instances outside the Security Group to Access the Log Switch `accesslogenabled` Open, in Order to Set This Parameter to the
|
|
304
|
+
> **NOTE:** Only Instances outside the Security Group to Access the Log Switch `accesslogenabled` Open, in Order to Set This Parameter to the value `true`.
|
|
317
305
|
"""
|
|
318
306
|
return pulumi.get(self, "tracing_enabled")
|
|
319
307
|
|
|
@@ -325,7 +313,7 @@ class ListenerAccessLogTracingConfigArgs:
|
|
|
325
313
|
@pulumi.getter(name="tracingSample")
|
|
326
314
|
def tracing_sample(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
327
315
|
"""
|
|
328
|
-
Xtrace Sampling Rate. Value: 1~10000
|
|
316
|
+
Xtrace Sampling Rate. Value: 1~10000. `tracingenabled` valued True When Effective.
|
|
329
317
|
"""
|
|
330
318
|
return pulumi.get(self, "tracing_sample")
|
|
331
319
|
|
|
@@ -337,9 +325,9 @@ class ListenerAccessLogTracingConfigArgs:
|
|
|
337
325
|
@pulumi.getter(name="tracingType")
|
|
338
326
|
def tracing_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
339
327
|
"""
|
|
340
|
-
Xtrace Type Value Is
|
|
328
|
+
Xtrace Type Value Is `Zipkin`.
|
|
341
329
|
|
|
342
|
-
> **NOTE:** `tracingenabled`
|
|
330
|
+
> **NOTE:** `tracingenabled` valued True When Effective.
|
|
343
331
|
"""
|
|
344
332
|
return pulumi.get(self, "tracing_type")
|
|
345
333
|
|
|
@@ -520,7 +508,7 @@ if not MYPY:
|
|
|
520
508
|
class ListenerDefaultActionArgsDict(TypedDict):
|
|
521
509
|
type: pulumi.Input[builtins.str]
|
|
522
510
|
"""
|
|
523
|
-
|
|
511
|
+
The action type. Value: ForwardGroup, indicating forwarding to the server group.
|
|
524
512
|
"""
|
|
525
513
|
forward_group_config: NotRequired[pulumi.Input['ListenerDefaultActionForwardGroupConfigArgsDict']]
|
|
526
514
|
"""
|
|
@@ -535,7 +523,7 @@ class ListenerDefaultActionArgs:
|
|
|
535
523
|
type: pulumi.Input[builtins.str],
|
|
536
524
|
forward_group_config: Optional[pulumi.Input['ListenerDefaultActionForwardGroupConfigArgs']] = None):
|
|
537
525
|
"""
|
|
538
|
-
:param pulumi.Input[builtins.str] type:
|
|
526
|
+
:param pulumi.Input[builtins.str] type: The action type. Value: ForwardGroup, indicating forwarding to the server group.
|
|
539
527
|
:param pulumi.Input['ListenerDefaultActionForwardGroupConfigArgs'] forward_group_config: Forwarding Action Configurations See `forward_group_config` below.
|
|
540
528
|
"""
|
|
541
529
|
pulumi.set(__self__, "type", type)
|
|
@@ -546,7 +534,7 @@ class ListenerDefaultActionArgs:
|
|
|
546
534
|
@pulumi.getter
|
|
547
535
|
def type(self) -> pulumi.Input[builtins.str]:
|
|
548
536
|
"""
|
|
549
|
-
|
|
537
|
+
The action type. Value: ForwardGroup, indicating forwarding to the server group.
|
|
550
538
|
"""
|
|
551
539
|
return pulumi.get(self, "type")
|
|
552
540
|
|
|
@@ -718,18 +706,10 @@ if not MYPY:
|
|
|
718
706
|
x_forwarded_for_client_source_ips_enabled: NotRequired[pulumi.Input[builtins.bool]]
|
|
719
707
|
"""
|
|
720
708
|
Whether to use the X-Forwarded-Client-Ip header to obtain the source IP address of the server load balancer instance. Value:
|
|
721
|
-
|
|
722
|
-
true: Yes.
|
|
723
|
-
|
|
724
|
-
false (default): No.
|
|
725
|
-
|
|
726
|
-
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.
|
|
727
709
|
"""
|
|
728
710
|
x_forwarded_for_client_source_ips_trusted: NotRequired[pulumi.Input[builtins.str]]
|
|
729
711
|
"""
|
|
730
|
-
Specify the trusted proxy IP.
|
|
731
|
-
|
|
732
|
-
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.
|
|
712
|
+
Specify the trusted proxy IP. 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.
|
|
733
713
|
"""
|
|
734
714
|
x_forwarded_for_client_src_port_enabled: NotRequired[pulumi.Input[builtins.bool]]
|
|
735
715
|
"""
|
|
@@ -742,26 +722,10 @@ if not MYPY:
|
|
|
742
722
|
x_forwarded_for_host_enabled: NotRequired[pulumi.Input[builtins.bool]]
|
|
743
723
|
"""
|
|
744
724
|
Whether to enable the X-Forwarded-Host header field to obtain the domain name of the client accessing the Application Load Balancer. Value:
|
|
745
|
-
|
|
746
|
-
true: Yes.
|
|
747
|
-
|
|
748
|
-
false (default): No.
|
|
749
|
-
|
|
750
|
-
HTTP, HTTPS, and QUIC listeners support this parameter.
|
|
751
725
|
"""
|
|
752
726
|
x_forwarded_for_processing_mode: NotRequired[pulumi.Input[builtins.str]]
|
|
753
727
|
"""
|
|
754
728
|
Schema for processing X-Forwarded-For header fields. This value takes effect only when XForwardedForEnabled is true. Value:
|
|
755
|
-
|
|
756
|
-
append (default): append.
|
|
757
|
-
|
|
758
|
-
remove: Delete.
|
|
759
|
-
|
|
760
|
-
Configure append to add the last hop IP address to the X-Forwarded-For header field before sending the request to the backend service.
|
|
761
|
-
|
|
762
|
-
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.
|
|
763
|
-
|
|
764
|
-
HTTP and HTTPS listeners support this parameter.
|
|
765
729
|
"""
|
|
766
730
|
x_forwarded_for_proto_enabled: NotRequired[pulumi.Input[builtins.bool]]
|
|
767
731
|
"""
|
|
@@ -808,35 +772,11 @@ class ListenerXForwardedForConfigArgs:
|
|
|
808
772
|
:param pulumi.Input[builtins.str] x_forwarded_for_client_cert_subject_dn_alias: The Custom Header Field Name,
|
|
809
773
|
:param pulumi.Input[builtins.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.
|
|
810
774
|
:param pulumi.Input[builtins.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:
|
|
811
|
-
|
|
812
|
-
true: Yes.
|
|
813
|
-
|
|
814
|
-
false (default): No.
|
|
815
|
-
|
|
816
|
-
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.
|
|
817
|
-
:param pulumi.Input[builtins.str] x_forwarded_for_client_source_ips_trusted: Specify the trusted proxy IP.
|
|
818
|
-
|
|
819
|
-
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.
|
|
775
|
+
:param pulumi.Input[builtins.str] x_forwarded_for_client_source_ips_trusted: Specify the trusted proxy IP. 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.
|
|
820
776
|
:param pulumi.Input[builtins.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.
|
|
821
777
|
:param pulumi.Input[builtins.bool] x_forwarded_for_enabled: Whether to Enable by X-Forwarded-For Header Field Is Used to Obtain the Client IP Addresses.
|
|
822
778
|
:param pulumi.Input[builtins.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:
|
|
823
|
-
|
|
824
|
-
true: Yes.
|
|
825
|
-
|
|
826
|
-
false (default): No.
|
|
827
|
-
|
|
828
|
-
HTTP, HTTPS, and QUIC listeners support this parameter.
|
|
829
779
|
:param pulumi.Input[builtins.str] x_forwarded_for_processing_mode: Schema for processing X-Forwarded-For header fields. This value takes effect only when XForwardedForEnabled is true. Value:
|
|
830
|
-
|
|
831
|
-
append (default): append.
|
|
832
|
-
|
|
833
|
-
remove: Delete.
|
|
834
|
-
|
|
835
|
-
Configure append to add the last hop IP address to the X-Forwarded-For header field before sending the request to the backend service.
|
|
836
|
-
|
|
837
|
-
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.
|
|
838
|
-
|
|
839
|
-
HTTP and HTTPS listeners support this parameter.
|
|
840
780
|
:param pulumi.Input[builtins.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.
|
|
841
781
|
:param pulumi.Input[builtins.bool] x_forwarded_for_slb_id_enabled: Indicates Whether the SLB-ID Header Field Is Used to Obtain the Load Balancing Instance Id
|
|
842
782
|
:param pulumi.Input[builtins.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
|
|
@@ -977,12 +917,6 @@ class ListenerXForwardedForConfigArgs:
|
|
|
977
917
|
def x_forwarded_for_client_source_ips_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
978
918
|
"""
|
|
979
919
|
Whether to use the X-Forwarded-Client-Ip header to obtain the source IP address of the server load balancer instance. Value:
|
|
980
|
-
|
|
981
|
-
true: Yes.
|
|
982
|
-
|
|
983
|
-
false (default): No.
|
|
984
|
-
|
|
985
|
-
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.
|
|
986
920
|
"""
|
|
987
921
|
return pulumi.get(self, "x_forwarded_for_client_source_ips_enabled")
|
|
988
922
|
|
|
@@ -994,9 +928,7 @@ class ListenerXForwardedForConfigArgs:
|
|
|
994
928
|
@pulumi.getter(name="xForwardedForClientSourceIpsTrusted")
|
|
995
929
|
def x_forwarded_for_client_source_ips_trusted(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
996
930
|
"""
|
|
997
|
-
Specify the trusted proxy IP.
|
|
998
|
-
|
|
999
|
-
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.
|
|
931
|
+
Specify the trusted proxy IP. 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.
|
|
1000
932
|
"""
|
|
1001
933
|
return pulumi.get(self, "x_forwarded_for_client_source_ips_trusted")
|
|
1002
934
|
|
|
@@ -1033,12 +965,6 @@ class ListenerXForwardedForConfigArgs:
|
|
|
1033
965
|
def x_forwarded_for_host_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1034
966
|
"""
|
|
1035
967
|
Whether to enable the X-Forwarded-Host header field to obtain the domain name of the client accessing the Application Load Balancer. Value:
|
|
1036
|
-
|
|
1037
|
-
true: Yes.
|
|
1038
|
-
|
|
1039
|
-
false (default): No.
|
|
1040
|
-
|
|
1041
|
-
HTTP, HTTPS, and QUIC listeners support this parameter.
|
|
1042
968
|
"""
|
|
1043
969
|
return pulumi.get(self, "x_forwarded_for_host_enabled")
|
|
1044
970
|
|
|
@@ -1051,16 +977,6 @@ class ListenerXForwardedForConfigArgs:
|
|
|
1051
977
|
def x_forwarded_for_processing_mode(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1052
978
|
"""
|
|
1053
979
|
Schema for processing X-Forwarded-For header fields. This value takes effect only when XForwardedForEnabled is true. Value:
|
|
1054
|
-
|
|
1055
|
-
append (default): append.
|
|
1056
|
-
|
|
1057
|
-
remove: Delete.
|
|
1058
|
-
|
|
1059
|
-
Configure append to add the last hop IP address to the X-Forwarded-For header field before sending the request to the backend service.
|
|
1060
|
-
|
|
1061
|
-
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.
|
|
1062
|
-
|
|
1063
|
-
HTTP and HTTPS listeners support this parameter.
|
|
1064
980
|
"""
|
|
1065
981
|
return pulumi.get(self, "x_forwarded_for_processing_mode")
|
|
1066
982
|
|
|
@@ -87,11 +87,17 @@ class GetLoadBalancersResult:
|
|
|
87
87
|
@property
|
|
88
88
|
@pulumi.getter(name="addressType")
|
|
89
89
|
def address_type(self) -> Optional[builtins.str]:
|
|
90
|
+
"""
|
|
91
|
+
The type of IP address that the ALB instance uses to provide services.
|
|
92
|
+
"""
|
|
90
93
|
return pulumi.get(self, "address_type")
|
|
91
94
|
|
|
92
95
|
@property
|
|
93
96
|
@pulumi.getter
|
|
94
97
|
def balancers(self) -> Sequence['outputs.GetLoadBalancersBalancerResult']:
|
|
98
|
+
"""
|
|
99
|
+
A list of Alb Load Balancers. Each element contains the following attributes:
|
|
100
|
+
"""
|
|
95
101
|
return pulumi.get(self, "balancers")
|
|
96
102
|
|
|
97
103
|
@property
|
|
@@ -115,12 +121,18 @@ class GetLoadBalancersResult:
|
|
|
115
121
|
@property
|
|
116
122
|
@pulumi.getter(name="loadBalancerBusinessStatus")
|
|
117
123
|
def load_balancer_business_status(self) -> Optional[builtins.str]:
|
|
124
|
+
"""
|
|
125
|
+
(Available since v1.142.0) Load Balancing of the Service Status.
|
|
126
|
+
"""
|
|
118
127
|
return pulumi.get(self, "load_balancer_business_status")
|
|
119
128
|
|
|
120
129
|
@property
|
|
121
130
|
@pulumi.getter(name="loadBalancerBussinessStatus")
|
|
122
131
|
@_utilities.deprecated("""Field 'load_balancer_bussiness_status' has been deprecated from provider version 1.142.0 and it will be removed in the future version. Please use the new attribute 'load_balancer_business_status' instead.""")
|
|
123
132
|
def load_balancer_bussiness_status(self) -> Optional[builtins.str]:
|
|
133
|
+
"""
|
|
134
|
+
(Deprecated since v1.142.0) Load Balancing of the Service Status. **NOTE:** Field `load_balancer_bussiness_status` has been deprecated from provider version 1.142.0. New field `load_balancer_business_status` instead.
|
|
135
|
+
"""
|
|
124
136
|
return pulumi.get(self, "load_balancer_bussiness_status")
|
|
125
137
|
|
|
126
138
|
@property
|
|
@@ -131,6 +143,9 @@ class GetLoadBalancersResult:
|
|
|
131
143
|
@property
|
|
132
144
|
@pulumi.getter(name="loadBalancerName")
|
|
133
145
|
def load_balancer_name(self) -> Optional[builtins.str]:
|
|
146
|
+
"""
|
|
147
|
+
The name of the resource.
|
|
148
|
+
"""
|
|
134
149
|
return pulumi.get(self, "load_balancer_name")
|
|
135
150
|
|
|
136
151
|
@property
|
|
@@ -141,6 +156,9 @@ class GetLoadBalancersResult:
|
|
|
141
156
|
@property
|
|
142
157
|
@pulumi.getter
|
|
143
158
|
def names(self) -> Sequence[builtins.str]:
|
|
159
|
+
"""
|
|
160
|
+
A list of Load Balancer names.
|
|
161
|
+
"""
|
|
144
162
|
return pulumi.get(self, "names")
|
|
145
163
|
|
|
146
164
|
@property
|
|
@@ -151,21 +169,33 @@ class GetLoadBalancersResult:
|
|
|
151
169
|
@property
|
|
152
170
|
@pulumi.getter(name="resourceGroupId")
|
|
153
171
|
def resource_group_id(self) -> Optional[builtins.str]:
|
|
172
|
+
"""
|
|
173
|
+
The ID of the resource group.
|
|
174
|
+
"""
|
|
154
175
|
return pulumi.get(self, "resource_group_id")
|
|
155
176
|
|
|
156
177
|
@property
|
|
157
178
|
@pulumi.getter
|
|
158
179
|
def status(self) -> Optional[builtins.str]:
|
|
180
|
+
"""
|
|
181
|
+
(Available since v1.250.0) The zone status.
|
|
182
|
+
"""
|
|
159
183
|
return pulumi.get(self, "status")
|
|
160
184
|
|
|
161
185
|
@property
|
|
162
186
|
@pulumi.getter
|
|
163
187
|
def tags(self) -> Optional[Mapping[str, builtins.str]]:
|
|
188
|
+
"""
|
|
189
|
+
The tag of the resource.
|
|
190
|
+
"""
|
|
164
191
|
return pulumi.get(self, "tags")
|
|
165
192
|
|
|
166
193
|
@property
|
|
167
194
|
@pulumi.getter(name="vpcId")
|
|
168
195
|
def vpc_id(self) -> Optional[builtins.str]:
|
|
196
|
+
"""
|
|
197
|
+
The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
|
|
198
|
+
"""
|
|
169
199
|
return pulumi.get(self, "vpc_id")
|
|
170
200
|
|
|
171
201
|
@property
|
|
@@ -176,6 +206,9 @@ class GetLoadBalancersResult:
|
|
|
176
206
|
@property
|
|
177
207
|
@pulumi.getter(name="zoneId")
|
|
178
208
|
def zone_id(self) -> Optional[builtins.str]:
|
|
209
|
+
"""
|
|
210
|
+
The ID of the zone to which the ALB instance belongs.
|
|
211
|
+
"""
|
|
179
212
|
return pulumi.get(self, "zone_id")
|
|
180
213
|
|
|
181
214
|
|
|
@@ -224,7 +257,7 @@ def get_load_balancers(address_type: Optional[builtins.str] = None,
|
|
|
224
257
|
"""
|
|
225
258
|
This data source provides the Alb Load Balancers of the current Alibaba Cloud user.
|
|
226
259
|
|
|
227
|
-
> **NOTE:** Available
|
|
260
|
+
> **NOTE:** Available since v1.132.0.
|
|
228
261
|
|
|
229
262
|
## Example Usage
|
|
230
263
|
|
|
@@ -234,25 +267,84 @@ def get_load_balancers(address_type: Optional[builtins.str] = None,
|
|
|
234
267
|
import pulumi
|
|
235
268
|
import pulumi_alicloud as alicloud
|
|
236
269
|
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
270
|
+
config = pulumi.Config()
|
|
271
|
+
name = config.get("name")
|
|
272
|
+
if name is None:
|
|
273
|
+
name = "terraform-example"
|
|
274
|
+
default = alicloud.resourcemanager.get_resource_groups()
|
|
275
|
+
default_get_zones = alicloud.alb.get_zones()
|
|
276
|
+
default_network = alicloud.vpc.Network("default",
|
|
277
|
+
vpc_name=name,
|
|
278
|
+
cidr_block="192.168.0.0/16",
|
|
279
|
+
enable_ipv6=True)
|
|
280
|
+
zone_a = alicloud.ecs.Eip("zone_a",
|
|
281
|
+
bandwidth="10",
|
|
282
|
+
internet_charge_type="PayByTraffic")
|
|
283
|
+
zone_a_switch = alicloud.vpc.Switch("zone_a",
|
|
284
|
+
vswitch_name=name,
|
|
285
|
+
vpc_id=default_network.id,
|
|
286
|
+
cidr_block="192.168.0.0/18",
|
|
287
|
+
zone_id=default_get_zones.zones[0].id,
|
|
288
|
+
ipv6_cidr_block_mask=6)
|
|
289
|
+
zone_b = alicloud.vpc.Switch("zone_b",
|
|
290
|
+
vswitch_name=name,
|
|
291
|
+
vpc_id=default_network.id,
|
|
292
|
+
cidr_block="192.168.128.0/18",
|
|
293
|
+
zone_id=default_get_zones.zones[1].id,
|
|
294
|
+
ipv6_cidr_block_mask=8)
|
|
295
|
+
default_ipv6_gateway = alicloud.vpc.Ipv6Gateway("default",
|
|
296
|
+
ipv6_gateway_name=name,
|
|
297
|
+
vpc_id=default_network.id)
|
|
298
|
+
default_common_bandwith_package = alicloud.vpc.CommonBandwithPackage("default",
|
|
299
|
+
bandwidth="1000",
|
|
300
|
+
internet_charge_type="PayByBandwidth")
|
|
301
|
+
default_load_balancer = alicloud.alb.LoadBalancer("default",
|
|
302
|
+
load_balancer_edition="Basic",
|
|
303
|
+
address_type="Internet",
|
|
304
|
+
vpc_id=default_ipv6_gateway.vpc_id,
|
|
305
|
+
address_allocated_mode="Fixed",
|
|
306
|
+
address_ip_version="DualStack",
|
|
307
|
+
ipv6_address_type="Internet",
|
|
308
|
+
bandwidth_package_id=default_common_bandwith_package.id,
|
|
309
|
+
resource_group_id=default.groups[1].id,
|
|
310
|
+
load_balancer_name=name,
|
|
311
|
+
deletion_protection_enabled=False,
|
|
312
|
+
load_balancer_billing_config={
|
|
313
|
+
"pay_type": "PayAsYouGo",
|
|
314
|
+
},
|
|
315
|
+
zone_mappings=[
|
|
316
|
+
{
|
|
317
|
+
"vswitch_id": zone_a_switch.id,
|
|
318
|
+
"zone_id": zone_a_switch.zone_id,
|
|
319
|
+
"eip_type": "Common",
|
|
320
|
+
"allocation_id": zone_a.id,
|
|
321
|
+
"intranet_address": "192.168.10.1",
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"vswitch_id": zone_b.id,
|
|
325
|
+
"zone_id": zone_b.zone_id,
|
|
326
|
+
},
|
|
327
|
+
],
|
|
328
|
+
tags={
|
|
329
|
+
"Created": "TF",
|
|
330
|
+
})
|
|
331
|
+
ids = alicloud.alb.get_load_balancers_output(ids=[default_load_balancer.id])
|
|
332
|
+
pulumi.export("albLoadBalancersId0", ids.balancers[0].id)
|
|
241
333
|
```
|
|
242
334
|
|
|
243
335
|
|
|
244
|
-
:param builtins.str address_type: The type of IP address that the ALB instance uses to provide services. Valid
|
|
245
|
-
|
|
246
|
-
:param builtins.bool enable_details: Default to `false`. Set it to `true` can output more details about resource attributes.
|
|
336
|
+
:param builtins.str address_type: The type of IP address that the ALB instance uses to provide services. Valid values: `Intranet`, `Internet`.
|
|
337
|
+
:param builtins.bool enable_details: Whether to query the detailed list of resource attributes. Default value: `false`.
|
|
247
338
|
:param Sequence[builtins.str] ids: A list of Load Balancer IDs.
|
|
248
339
|
:param builtins.str load_balancer_business_status: Load Balancing of the Service Status. Valid Values: `Abnormal`and `Normal`.
|
|
249
|
-
:param builtins.str load_balancer_bussiness_status: Field
|
|
340
|
+
:param builtins.str load_balancer_bussiness_status: Field `load_balancer_bussiness_status` has been deprecated from provider version 1.142.0. New field `load_balancer_business_status` instead.
|
|
250
341
|
:param Sequence[builtins.str] load_balancer_ids: The load balancer ids.
|
|
251
342
|
:param builtins.str load_balancer_name: The name of the resource.
|
|
252
343
|
:param builtins.str name_regex: A regex string to filter results by Load Balancer name.
|
|
253
344
|
:param builtins.str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
254
345
|
:param builtins.str resource_group_id: The ID of the resource group.
|
|
255
346
|
:param builtins.str status: The load balancer status. Valid values: `Active`, `Configuring`, `CreateFailed`, `Inactive` and `Provisioning`.
|
|
347
|
+
:param Mapping[str, builtins.str] tags: A mapping of tags to assign to the resource.
|
|
256
348
|
:param builtins.str vpc_id: The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
|
|
257
349
|
:param Sequence[builtins.str] vpc_ids: The vpc ids.
|
|
258
350
|
:param builtins.str zone_id: The zone ID of the resource.
|
|
@@ -314,7 +406,7 @@ def get_load_balancers_output(address_type: Optional[pulumi.Input[Optional[built
|
|
|
314
406
|
"""
|
|
315
407
|
This data source provides the Alb Load Balancers of the current Alibaba Cloud user.
|
|
316
408
|
|
|
317
|
-
> **NOTE:** Available
|
|
409
|
+
> **NOTE:** Available since v1.132.0.
|
|
318
410
|
|
|
319
411
|
## Example Usage
|
|
320
412
|
|
|
@@ -324,25 +416,84 @@ def get_load_balancers_output(address_type: Optional[pulumi.Input[Optional[built
|
|
|
324
416
|
import pulumi
|
|
325
417
|
import pulumi_alicloud as alicloud
|
|
326
418
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
419
|
+
config = pulumi.Config()
|
|
420
|
+
name = config.get("name")
|
|
421
|
+
if name is None:
|
|
422
|
+
name = "terraform-example"
|
|
423
|
+
default = alicloud.resourcemanager.get_resource_groups()
|
|
424
|
+
default_get_zones = alicloud.alb.get_zones()
|
|
425
|
+
default_network = alicloud.vpc.Network("default",
|
|
426
|
+
vpc_name=name,
|
|
427
|
+
cidr_block="192.168.0.0/16",
|
|
428
|
+
enable_ipv6=True)
|
|
429
|
+
zone_a = alicloud.ecs.Eip("zone_a",
|
|
430
|
+
bandwidth="10",
|
|
431
|
+
internet_charge_type="PayByTraffic")
|
|
432
|
+
zone_a_switch = alicloud.vpc.Switch("zone_a",
|
|
433
|
+
vswitch_name=name,
|
|
434
|
+
vpc_id=default_network.id,
|
|
435
|
+
cidr_block="192.168.0.0/18",
|
|
436
|
+
zone_id=default_get_zones.zones[0].id,
|
|
437
|
+
ipv6_cidr_block_mask=6)
|
|
438
|
+
zone_b = alicloud.vpc.Switch("zone_b",
|
|
439
|
+
vswitch_name=name,
|
|
440
|
+
vpc_id=default_network.id,
|
|
441
|
+
cidr_block="192.168.128.0/18",
|
|
442
|
+
zone_id=default_get_zones.zones[1].id,
|
|
443
|
+
ipv6_cidr_block_mask=8)
|
|
444
|
+
default_ipv6_gateway = alicloud.vpc.Ipv6Gateway("default",
|
|
445
|
+
ipv6_gateway_name=name,
|
|
446
|
+
vpc_id=default_network.id)
|
|
447
|
+
default_common_bandwith_package = alicloud.vpc.CommonBandwithPackage("default",
|
|
448
|
+
bandwidth="1000",
|
|
449
|
+
internet_charge_type="PayByBandwidth")
|
|
450
|
+
default_load_balancer = alicloud.alb.LoadBalancer("default",
|
|
451
|
+
load_balancer_edition="Basic",
|
|
452
|
+
address_type="Internet",
|
|
453
|
+
vpc_id=default_ipv6_gateway.vpc_id,
|
|
454
|
+
address_allocated_mode="Fixed",
|
|
455
|
+
address_ip_version="DualStack",
|
|
456
|
+
ipv6_address_type="Internet",
|
|
457
|
+
bandwidth_package_id=default_common_bandwith_package.id,
|
|
458
|
+
resource_group_id=default.groups[1].id,
|
|
459
|
+
load_balancer_name=name,
|
|
460
|
+
deletion_protection_enabled=False,
|
|
461
|
+
load_balancer_billing_config={
|
|
462
|
+
"pay_type": "PayAsYouGo",
|
|
463
|
+
},
|
|
464
|
+
zone_mappings=[
|
|
465
|
+
{
|
|
466
|
+
"vswitch_id": zone_a_switch.id,
|
|
467
|
+
"zone_id": zone_a_switch.zone_id,
|
|
468
|
+
"eip_type": "Common",
|
|
469
|
+
"allocation_id": zone_a.id,
|
|
470
|
+
"intranet_address": "192.168.10.1",
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"vswitch_id": zone_b.id,
|
|
474
|
+
"zone_id": zone_b.zone_id,
|
|
475
|
+
},
|
|
476
|
+
],
|
|
477
|
+
tags={
|
|
478
|
+
"Created": "TF",
|
|
479
|
+
})
|
|
480
|
+
ids = alicloud.alb.get_load_balancers_output(ids=[default_load_balancer.id])
|
|
481
|
+
pulumi.export("albLoadBalancersId0", ids.balancers[0].id)
|
|
331
482
|
```
|
|
332
483
|
|
|
333
484
|
|
|
334
|
-
:param builtins.str address_type: The type of IP address that the ALB instance uses to provide services. Valid
|
|
335
|
-
|
|
336
|
-
:param builtins.bool enable_details: Default to `false`. Set it to `true` can output more details about resource attributes.
|
|
485
|
+
:param builtins.str address_type: The type of IP address that the ALB instance uses to provide services. Valid values: `Intranet`, `Internet`.
|
|
486
|
+
:param builtins.bool enable_details: Whether to query the detailed list of resource attributes. Default value: `false`.
|
|
337
487
|
:param Sequence[builtins.str] ids: A list of Load Balancer IDs.
|
|
338
488
|
:param builtins.str load_balancer_business_status: Load Balancing of the Service Status. Valid Values: `Abnormal`and `Normal`.
|
|
339
|
-
:param builtins.str load_balancer_bussiness_status: Field
|
|
489
|
+
:param builtins.str load_balancer_bussiness_status: Field `load_balancer_bussiness_status` has been deprecated from provider version 1.142.0. New field `load_balancer_business_status` instead.
|
|
340
490
|
:param Sequence[builtins.str] load_balancer_ids: The load balancer ids.
|
|
341
491
|
:param builtins.str load_balancer_name: The name of the resource.
|
|
342
492
|
:param builtins.str name_regex: A regex string to filter results by Load Balancer name.
|
|
343
493
|
:param builtins.str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
344
494
|
:param builtins.str resource_group_id: The ID of the resource group.
|
|
345
495
|
:param builtins.str status: The load balancer status. Valid values: `Active`, `Configuring`, `CreateFailed`, `Inactive` and `Provisioning`.
|
|
496
|
+
:param Mapping[str, builtins.str] tags: A mapping of tags to assign to the resource.
|
|
346
497
|
:param builtins.str vpc_id: The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
|
|
347
498
|
:param Sequence[builtins.str] vpc_ids: The vpc ids.
|
|
348
499
|
:param builtins.str zone_id: The zone ID of the resource.
|