@volcengine/pulumi 0.0.41 → 0.0.44-alpha.1768546977

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.
Files changed (108) hide show
  1. package/alb/accessLog.d.ts +60 -0
  2. package/alb/accessLog.js +57 -0
  3. package/alb/accessLog.js.map +1 -0
  4. package/alb/acl.d.ts +28 -0
  5. package/alb/acl.js +6 -0
  6. package/alb/acl.js.map +1 -1
  7. package/alb/acls.d.ts +13 -0
  8. package/alb/acls.js +1 -0
  9. package/alb/acls.js.map +1 -1
  10. package/alb/alb.d.ts +147 -0
  11. package/alb/alb.js +47 -0
  12. package/alb/alb.js.map +1 -1
  13. package/alb/albs.d.ts +24 -0
  14. package/alb/albs.js +2 -0
  15. package/alb/albs.js.map +1 -1
  16. package/alb/allCertificates.d.ts +49 -0
  17. package/alb/allCertificates.js +29 -0
  18. package/alb/allCertificates.js.map +1 -0
  19. package/alb/cacertificate.d.ts +8 -0
  20. package/alb/cacertificate.js +2 -0
  21. package/alb/cacertificate.js.map +1 -1
  22. package/alb/certificate.d.ts +26 -0
  23. package/alb/certificate.js +8 -0
  24. package/alb/certificate.js.map +1 -1
  25. package/alb/certificates.d.ts +33 -0
  26. package/alb/certificates.js +10 -0
  27. package/alb/certificates.js.map +1 -1
  28. package/alb/customizedCfg.d.ts +14 -0
  29. package/alb/customizedCfg.js +2 -0
  30. package/alb/customizedCfg.js.map +1 -1
  31. package/alb/customizedCfgs.d.ts +13 -0
  32. package/alb/customizedCfgs.js +1 -0
  33. package/alb/customizedCfgs.js.map +1 -1
  34. package/alb/getAcls.d.ts +13 -0
  35. package/alb/getAcls.js +1 -0
  36. package/alb/getAcls.js.map +1 -1
  37. package/alb/getAlbs.d.ts +24 -0
  38. package/alb/getAlbs.js +2 -0
  39. package/alb/getAlbs.js.map +1 -1
  40. package/alb/getAllCertificates.d.ts +47 -0
  41. package/alb/getAllCertificates.js +26 -0
  42. package/alb/getAllCertificates.js.map +1 -0
  43. package/alb/getCertificates.d.ts +33 -0
  44. package/alb/getCertificates.js +10 -0
  45. package/alb/getCertificates.js.map +1 -1
  46. package/alb/getCustomizedCfgs.d.ts +13 -0
  47. package/alb/getCustomizedCfgs.js +1 -0
  48. package/alb/getCustomizedCfgs.js.map +1 -1
  49. package/alb/getHealthCheckTemplates.d.ts +33 -0
  50. package/alb/getHealthCheckTemplates.js +10 -0
  51. package/alb/getHealthCheckTemplates.js.map +1 -1
  52. package/alb/getListenerHealths.d.ts +37 -0
  53. package/alb/getListenerHealths.js +22 -0
  54. package/alb/getListenerHealths.js.map +1 -0
  55. package/alb/getListeners.d.ts +25 -0
  56. package/alb/getListeners.js +2 -0
  57. package/alb/getListeners.js.map +1 -1
  58. package/alb/getServerGroupServers.d.ts +20 -0
  59. package/alb/getServerGroupServers.js +4 -0
  60. package/alb/getServerGroupServers.js.map +1 -1
  61. package/alb/getServerGroups.d.ts +25 -0
  62. package/alb/getServerGroups.js +2 -0
  63. package/alb/getServerGroups.js.map +1 -1
  64. package/alb/healthCheckTemplate.d.ts +45 -3
  65. package/alb/healthCheckTemplate.js +10 -0
  66. package/alb/healthCheckTemplate.js.map +1 -1
  67. package/alb/healthCheckTemplates.d.ts +33 -0
  68. package/alb/healthCheckTemplates.js +10 -0
  69. package/alb/healthCheckTemplates.js.map +1 -1
  70. package/alb/healthLog.d.ts +72 -0
  71. package/alb/healthLog.js +62 -0
  72. package/alb/healthLog.js.map +1 -0
  73. package/alb/index.d.ts +24 -0
  74. package/alb/index.js +34 -2
  75. package/alb/index.js.map +1 -1
  76. package/alb/listener.d.ts +101 -3
  77. package/alb/listener.js +26 -0
  78. package/alb/listener.js.map +1 -1
  79. package/alb/listenerHealths.d.ts +39 -0
  80. package/alb/listenerHealths.js +25 -0
  81. package/alb/listenerHealths.js.map +1 -0
  82. package/alb/listeners.d.ts +25 -0
  83. package/alb/listeners.js +2 -0
  84. package/alb/listeners.js.map +1 -1
  85. package/alb/replaceCertificate.d.ts +183 -0
  86. package/alb/replaceCertificate.js +82 -0
  87. package/alb/replaceCertificate.js.map +1 -0
  88. package/alb/rule.d.ts +107 -0
  89. package/alb/rule.js +47 -0
  90. package/alb/rule.js.map +1 -1
  91. package/alb/serverGroup.d.ts +60 -0
  92. package/alb/serverGroup.js +20 -0
  93. package/alb/serverGroup.js.map +1 -1
  94. package/alb/serverGroupServer.d.ts +18 -6
  95. package/alb/serverGroupServer.js +2 -0
  96. package/alb/serverGroupServer.js.map +1 -1
  97. package/alb/serverGroupServers.d.ts +20 -0
  98. package/alb/serverGroupServers.js +4 -0
  99. package/alb/serverGroupServers.js.map +1 -1
  100. package/alb/serverGroups.d.ts +25 -0
  101. package/alb/serverGroups.js +2 -0
  102. package/alb/serverGroups.js.map +1 -1
  103. package/alb/tlsAccessLog.d.ts +72 -0
  104. package/alb/tlsAccessLog.js +62 -0
  105. package/alb/tlsAccessLog.js.map +1 -0
  106. package/package.json +1 -1
  107. package/types/input.d.ts +581 -1
  108. package/types/output.d.ts +1720 -168
package/types/output.d.ts CHANGED
@@ -10,6 +10,16 @@ export declare namespace alb {
10
10
  */
11
11
  entry: string;
12
12
  }
13
+ interface AclTag {
14
+ /**
15
+ * The Key of Tags.
16
+ */
17
+ key: string;
18
+ /**
19
+ * The Value of Tags.
20
+ */
21
+ value: string;
22
+ }
13
23
  interface AclsAcl {
14
24
  /**
15
25
  * The entries info of acl.
@@ -47,6 +57,14 @@ export declare namespace alb {
47
57
  * The name of project.
48
58
  */
49
59
  projectName: string;
60
+ /**
61
+ * The status of Acl.
62
+ */
63
+ status: string;
64
+ /**
65
+ * Tags.
66
+ */
67
+ tags: outputs.alb.AclsAclTag[];
50
68
  /**
51
69
  * Update time of Acl.
52
70
  */
@@ -84,6 +102,26 @@ export declare namespace alb {
84
102
  */
85
103
  protocol: string;
86
104
  }
105
+ interface AclsAclTag {
106
+ /**
107
+ * The Key of Tags.
108
+ */
109
+ key: string;
110
+ /**
111
+ * The Value of Tags.
112
+ */
113
+ value: string;
114
+ }
115
+ interface AclsTag {
116
+ /**
117
+ * The Key of Tags.
118
+ */
119
+ key: string;
120
+ /**
121
+ * The Value of Tags.
122
+ */
123
+ value: string;
124
+ }
87
125
  interface AlbEipBillingConfig {
88
126
  /**
89
127
  * The peek bandwidth of the EIP which automatically assigned to the Alb. Unit: Mbps.
@@ -98,6 +136,24 @@ export declare namespace alb {
98
136
  */
99
137
  isp: string;
100
138
  }
139
+ interface AlbGlobalAccelerator {
140
+ /**
141
+ * The global accelerator id.
142
+ */
143
+ acceleratorId: string;
144
+ /**
145
+ * The global accelerator listener id.
146
+ */
147
+ acceleratorListenerId?: string;
148
+ /**
149
+ * The global accelerator endpoint group id.
150
+ */
151
+ endpointGroupId?: string;
152
+ /**
153
+ * The traffic distribution weight of the endpoint. The value range is: 1 - 100.
154
+ */
155
+ weight?: number;
156
+ }
101
157
  interface AlbIpv6EipBillingConfig {
102
158
  /**
103
159
  * The peek bandwidth of the Ipv6 EIP which automatically assigned to the Alb. Unit: Mbps.
@@ -195,6 +251,14 @@ export declare namespace alb {
195
251
  * The DNS name.
196
252
  */
197
253
  dnsName: string;
254
+ /**
255
+ * Whether the tls access log function is enabled.
256
+ */
257
+ enabled: boolean;
258
+ /**
259
+ * The global accelerator bound to the ALB instance.
260
+ */
261
+ globalAccelerators: outputs.alb.AlbsAlbGlobalAccelerator[];
198
262
  /**
199
263
  * The health log information of the Alb.
200
264
  */
@@ -211,6 +275,10 @@ export declare namespace alb {
211
275
  * The billing type of the Alb.
212
276
  */
213
277
  loadBalancerBillingType: number;
278
+ /**
279
+ * The version of the ALB instance. Basic: Basic Edition. Standard: Standard Edition.
280
+ */
281
+ loadBalancerEdition: string;
214
282
  /**
215
283
  * The ID of the Alb.
216
284
  */
@@ -227,6 +295,14 @@ export declare namespace alb {
227
295
  * The reason why Alb is locked. This parameter has a query value only when the status of the Alb instance is `FinancialLocked`.
228
296
  */
229
297
  lockReason: string;
298
+ /**
299
+ * The reason for enabling instance modification protection.
300
+ */
301
+ modificationProtectionReason: string;
302
+ /**
303
+ * Whether the instance modification protection function is enabled. NonProtection: Not enabled. ConsoleProtection: Enabled.
304
+ */
305
+ modificationProtectionStatus: string;
230
306
  /**
231
307
  * The overdue time of the Alb. This parameter has a query value only when the status of the Alb instance is `FinancialLocked`.
232
308
  */
@@ -235,6 +311,14 @@ export declare namespace alb {
235
311
  * The project name of the Alb.
236
312
  */
237
313
  projectName: string;
314
+ /**
315
+ * ALB can support the Proxy Protocol and record the real IP of the client.
316
+ */
317
+ proxyProtocolEnabled: string;
318
+ /**
319
+ * Listeners under the instance support automatically selecting extended certificates.
320
+ */
321
+ sniAutoMatch: string;
238
322
  /**
239
323
  * The status of the Alb.
240
324
  */
@@ -248,7 +332,7 @@ export declare namespace alb {
248
332
  */
249
333
  tlsAccessLogs: outputs.alb.AlbsAlbTlsAccessLog[];
250
334
  /**
251
- * The type of the Alb, valid value: `public`, `private`.
335
+ * The type of the Alb. public: public network ALB. private: private network ALB.
252
336
  */
253
337
  type: string;
254
338
  /**
@@ -259,6 +343,14 @@ export declare namespace alb {
259
343
  * The vpc id which Alb belongs to.
260
344
  */
261
345
  vpcId: string;
346
+ /**
347
+ * The ID of the WAF security protection instance bound to the ALB instance.
348
+ */
349
+ wafInstanceId: string;
350
+ /**
351
+ * The WAF security protection switch.
352
+ */
353
+ wafProtectionEnabled: string;
262
354
  /**
263
355
  * Configuration information of the Alb instance in different Availability Zones.
264
356
  */
@@ -274,6 +366,16 @@ export declare namespace alb {
274
366
  */
275
367
  enabled: boolean;
276
368
  }
369
+ interface AlbsAlbGlobalAccelerator {
370
+ /**
371
+ * The global accelerator id.
372
+ */
373
+ acceleratorId: string;
374
+ /**
375
+ * The name of the global accelerator.
376
+ */
377
+ acceleratorName: string;
378
+ }
277
379
  interface AlbsAlbHealthLog {
278
380
  /**
279
381
  * Whether the tls access log function is enabled.
@@ -338,7 +440,7 @@ export declare namespace alb {
338
440
  }
339
441
  interface AlbsAlbZoneMappingLoadBalancerAddress {
340
442
  /**
341
- * The Eip address of the Alb.
443
+ * The public ip address of the Alb.
342
444
  */
343
445
  eipAddress: string;
344
446
  /**
@@ -380,7 +482,7 @@ export declare namespace alb {
380
482
  */
381
483
  bandwidth: number;
382
484
  /**
383
- * The Eip address of the Alb.
485
+ * The public ip address of the Alb.
384
486
  */
385
487
  eipAddress: string;
386
488
  /**
@@ -438,6 +540,80 @@ export declare namespace alb {
438
540
  */
439
541
  value: string;
440
542
  }
543
+ interface AllCertificatesCertificate {
544
+ /**
545
+ * The ID of the Certificate.
546
+ */
547
+ certificateId: string;
548
+ /**
549
+ * The name of the Certificate.
550
+ */
551
+ certificateName: string;
552
+ /**
553
+ * The type of the Certificate.
554
+ */
555
+ certificateType: string;
556
+ /**
557
+ * The create time of the Certificate.
558
+ */
559
+ createTime: string;
560
+ /**
561
+ * The description of the Certificate.
562
+ */
563
+ description: string;
564
+ /**
565
+ * The domain name of the Certificate.
566
+ */
567
+ domainName: string;
568
+ /**
569
+ * The expire time of the Certificate.
570
+ */
571
+ expiredAt: string;
572
+ /**
573
+ * The ID of the Certificate.
574
+ */
575
+ id: string;
576
+ /**
577
+ * The ID list of the Listener.
578
+ */
579
+ listeners: string[];
580
+ /**
581
+ * The ProjectName of the Certificate.
582
+ */
583
+ projectName: string;
584
+ /**
585
+ * The list of extended domain names for the certificate, separated by English commas ',', including (commonName, DnsName, IP).
586
+ */
587
+ san: string;
588
+ /**
589
+ * The status of the Certificate.
590
+ */
591
+ status: string;
592
+ /**
593
+ * Tags.
594
+ */
595
+ tags: outputs.alb.AllCertificatesCertificateTag[];
596
+ }
597
+ interface AllCertificatesCertificateTag {
598
+ /**
599
+ * The Key of Tags.
600
+ */
601
+ key: string;
602
+ /**
603
+ * The Value of Tags.
604
+ */
605
+ value: string;
606
+ }
607
+ interface AllCertificatesTag {
608
+ /**
609
+ * The Key of Tags.
610
+ */
611
+ key: string;
612
+ /**
613
+ * The Value of Tags.
614
+ */
615
+ value: string;
616
+ }
441
617
  interface CaCertificatesCertificate {
442
618
  /**
443
619
  * The ID of the CA certificate.
@@ -475,11 +651,25 @@ export declare namespace alb {
475
651
  * The project name of the CA certificate.
476
652
  */
477
653
  projectName: string;
654
+ /**
655
+ * The san extension of the CA Certificate.
656
+ */
657
+ san: string;
478
658
  /**
479
659
  * The status of the CA Certificate.
480
660
  */
481
661
  status: string;
482
662
  }
663
+ interface CertificateTag {
664
+ /**
665
+ * The Key of Tags.
666
+ */
667
+ key: string;
668
+ /**
669
+ * The Value of Tags.
670
+ */
671
+ value: string;
672
+ }
483
673
  interface CertificatesCertificate {
484
674
  /**
485
675
  * The ID of the Certificate.
@@ -518,13 +708,51 @@ export declare namespace alb {
518
708
  */
519
709
  listeners: string[];
520
710
  /**
521
- * The ProjectName of the Certificate.
711
+ * The project name to which the certificate belongs.
522
712
  */
523
713
  projectName: string;
714
+ /**
715
+ * The san extension of the Certificate.
716
+ */
717
+ san: string;
524
718
  /**
525
719
  * The status of the Certificate.
526
720
  */
527
721
  status: string;
722
+ /**
723
+ * Tags.
724
+ */
725
+ tags: outputs.alb.CertificatesCertificateTag[];
726
+ }
727
+ interface CertificatesCertificateTag {
728
+ /**
729
+ * The Key of Tags.
730
+ */
731
+ key: string;
732
+ /**
733
+ * The Value of Tags.
734
+ */
735
+ value: string;
736
+ }
737
+ interface CertificatesTag {
738
+ /**
739
+ * The Key of Tags.
740
+ */
741
+ key: string;
742
+ /**
743
+ * The Value of Tags.
744
+ */
745
+ value: string;
746
+ }
747
+ interface CustomizedCfgTag {
748
+ /**
749
+ * The Key of Tags.
750
+ */
751
+ key: string;
752
+ /**
753
+ * The Value of Tags.
754
+ */
755
+ value: string;
528
756
  }
529
757
  interface CustomizedCfgsCfg {
530
758
  /**
@@ -563,6 +791,10 @@ export declare namespace alb {
563
791
  * The status of CustomizedCfg.
564
792
  */
565
793
  status: string;
794
+ /**
795
+ * Tags.
796
+ */
797
+ tags: outputs.alb.CustomizedCfgsCfgTag[];
566
798
  /**
567
799
  * The update time of CustomizedCfg.
568
800
  */
@@ -586,6 +818,26 @@ export declare namespace alb {
586
818
  */
587
819
  protocol: string;
588
820
  }
821
+ interface CustomizedCfgsCfgTag {
822
+ /**
823
+ * The Key of Tags.
824
+ */
825
+ key: string;
826
+ /**
827
+ * The Value of Tags.
828
+ */
829
+ value: string;
830
+ }
831
+ interface CustomizedCfgsTag {
832
+ /**
833
+ * The Key of Tags.
834
+ */
835
+ key: string;
836
+ /**
837
+ * The Value of Tags.
838
+ */
839
+ value: string;
840
+ }
589
841
  interface GetAclsAcl {
590
842
  /**
591
843
  * The entries info of acl.
@@ -623,6 +875,14 @@ export declare namespace alb {
623
875
  * The name of project.
624
876
  */
625
877
  projectName: string;
878
+ /**
879
+ * The status of Acl.
880
+ */
881
+ status: string;
882
+ /**
883
+ * Tags.
884
+ */
885
+ tags: outputs.alb.GetAclsAclTag[];
626
886
  /**
627
887
  * Update time of Acl.
628
888
  */
@@ -660,6 +920,26 @@ export declare namespace alb {
660
920
  */
661
921
  protocol: string;
662
922
  }
923
+ interface GetAclsAclTag {
924
+ /**
925
+ * The Key of Tags.
926
+ */
927
+ key: string;
928
+ /**
929
+ * The Value of Tags.
930
+ */
931
+ value: string;
932
+ }
933
+ interface GetAclsTag {
934
+ /**
935
+ * The Key of Tags.
936
+ */
937
+ key: string;
938
+ /**
939
+ * The Value of Tags.
940
+ */
941
+ value: string;
942
+ }
663
943
  interface GetAlbsAlb {
664
944
  /**
665
945
  * The access log information of the Alb.
@@ -693,6 +973,14 @@ export declare namespace alb {
693
973
  * The DNS name.
694
974
  */
695
975
  dnsName: string;
976
+ /**
977
+ * Whether the tls access log function is enabled.
978
+ */
979
+ enabled: boolean;
980
+ /**
981
+ * The global accelerator bound to the ALB instance.
982
+ */
983
+ globalAccelerators: outputs.alb.GetAlbsAlbGlobalAccelerator[];
696
984
  /**
697
985
  * The health log information of the Alb.
698
986
  */
@@ -709,6 +997,10 @@ export declare namespace alb {
709
997
  * The billing type of the Alb.
710
998
  */
711
999
  loadBalancerBillingType: number;
1000
+ /**
1001
+ * The version of the ALB instance. Basic: Basic Edition. Standard: Standard Edition.
1002
+ */
1003
+ loadBalancerEdition: string;
712
1004
  /**
713
1005
  * The ID of the Alb.
714
1006
  */
@@ -725,6 +1017,14 @@ export declare namespace alb {
725
1017
  * The reason why Alb is locked. This parameter has a query value only when the status of the Alb instance is `FinancialLocked`.
726
1018
  */
727
1019
  lockReason: string;
1020
+ /**
1021
+ * The reason for enabling instance modification protection.
1022
+ */
1023
+ modificationProtectionReason: string;
1024
+ /**
1025
+ * Whether the instance modification protection function is enabled. NonProtection: Not enabled. ConsoleProtection: Enabled.
1026
+ */
1027
+ modificationProtectionStatus: string;
728
1028
  /**
729
1029
  * The overdue time of the Alb. This parameter has a query value only when the status of the Alb instance is `FinancialLocked`.
730
1030
  */
@@ -733,6 +1033,14 @@ export declare namespace alb {
733
1033
  * The project name of the Alb.
734
1034
  */
735
1035
  projectName: string;
1036
+ /**
1037
+ * ALB can support the Proxy Protocol and record the real IP of the client.
1038
+ */
1039
+ proxyProtocolEnabled: string;
1040
+ /**
1041
+ * Listeners under the instance support automatically selecting extended certificates.
1042
+ */
1043
+ sniAutoMatch: string;
736
1044
  /**
737
1045
  * The status of the Alb.
738
1046
  */
@@ -746,7 +1054,7 @@ export declare namespace alb {
746
1054
  */
747
1055
  tlsAccessLogs: outputs.alb.GetAlbsAlbTlsAccessLog[];
748
1056
  /**
749
- * The type of the Alb, valid value: `public`, `private`.
1057
+ * The type of the Alb. public: public network ALB. private: private network ALB.
750
1058
  */
751
1059
  type: string;
752
1060
  /**
@@ -757,6 +1065,14 @@ export declare namespace alb {
757
1065
  * The vpc id which Alb belongs to.
758
1066
  */
759
1067
  vpcId: string;
1068
+ /**
1069
+ * The ID of the WAF security protection instance bound to the ALB instance.
1070
+ */
1071
+ wafInstanceId: string;
1072
+ /**
1073
+ * The WAF security protection switch.
1074
+ */
1075
+ wafProtectionEnabled: string;
760
1076
  /**
761
1077
  * Configuration information of the Alb instance in different Availability Zones.
762
1078
  */
@@ -772,6 +1088,16 @@ export declare namespace alb {
772
1088
  */
773
1089
  enabled: boolean;
774
1090
  }
1091
+ interface GetAlbsAlbGlobalAccelerator {
1092
+ /**
1093
+ * The global accelerator id.
1094
+ */
1095
+ acceleratorId: string;
1096
+ /**
1097
+ * The name of the global accelerator.
1098
+ */
1099
+ acceleratorName: string;
1100
+ }
775
1101
  interface GetAlbsAlbHealthLog {
776
1102
  /**
777
1103
  * Whether the tls access log function is enabled.
@@ -836,7 +1162,7 @@ export declare namespace alb {
836
1162
  }
837
1163
  interface GetAlbsAlbZoneMappingLoadBalancerAddress {
838
1164
  /**
839
- * The Eip address of the Alb.
1165
+ * The public ip address of the Alb.
840
1166
  */
841
1167
  eipAddress: string;
842
1168
  /**
@@ -878,7 +1204,7 @@ export declare namespace alb {
878
1204
  */
879
1205
  bandwidth: number;
880
1206
  /**
881
- * The Eip address of the Alb.
1207
+ * The public ip address of the Alb.
882
1208
  */
883
1209
  eipAddress: string;
884
1210
  /**
@@ -936,6 +1262,80 @@ export declare namespace alb {
936
1262
  */
937
1263
  value: string;
938
1264
  }
1265
+ interface GetAllCertificatesCertificate {
1266
+ /**
1267
+ * The ID of the Certificate.
1268
+ */
1269
+ certificateId: string;
1270
+ /**
1271
+ * The name of the Certificate.
1272
+ */
1273
+ certificateName: string;
1274
+ /**
1275
+ * The type of the Certificate.
1276
+ */
1277
+ certificateType: string;
1278
+ /**
1279
+ * The create time of the Certificate.
1280
+ */
1281
+ createTime: string;
1282
+ /**
1283
+ * The description of the Certificate.
1284
+ */
1285
+ description: string;
1286
+ /**
1287
+ * The domain name of the Certificate.
1288
+ */
1289
+ domainName: string;
1290
+ /**
1291
+ * The expire time of the Certificate.
1292
+ */
1293
+ expiredAt: string;
1294
+ /**
1295
+ * The ID of the Certificate.
1296
+ */
1297
+ id: string;
1298
+ /**
1299
+ * The ID list of the Listener.
1300
+ */
1301
+ listeners: string[];
1302
+ /**
1303
+ * The ProjectName of the Certificate.
1304
+ */
1305
+ projectName: string;
1306
+ /**
1307
+ * The list of extended domain names for the certificate, separated by English commas ',', including (commonName, DnsName, IP).
1308
+ */
1309
+ san: string;
1310
+ /**
1311
+ * The status of the Certificate.
1312
+ */
1313
+ status: string;
1314
+ /**
1315
+ * Tags.
1316
+ */
1317
+ tags: outputs.alb.GetAllCertificatesCertificateTag[];
1318
+ }
1319
+ interface GetAllCertificatesCertificateTag {
1320
+ /**
1321
+ * The Key of Tags.
1322
+ */
1323
+ key: string;
1324
+ /**
1325
+ * The Value of Tags.
1326
+ */
1327
+ value: string;
1328
+ }
1329
+ interface GetAllCertificatesTag {
1330
+ /**
1331
+ * The Key of Tags.
1332
+ */
1333
+ key: string;
1334
+ /**
1335
+ * The Value of Tags.
1336
+ */
1337
+ value: string;
1338
+ }
939
1339
  interface GetCaCertificatesCertificate {
940
1340
  /**
941
1341
  * The ID of the CA certificate.
@@ -973,6 +1373,10 @@ export declare namespace alb {
973
1373
  * The project name of the CA certificate.
974
1374
  */
975
1375
  projectName: string;
1376
+ /**
1377
+ * The san extension of the CA Certificate.
1378
+ */
1379
+ san: string;
976
1380
  /**
977
1381
  * The status of the CA Certificate.
978
1382
  */
@@ -1016,13 +1420,41 @@ export declare namespace alb {
1016
1420
  */
1017
1421
  listeners: string[];
1018
1422
  /**
1019
- * The ProjectName of the Certificate.
1423
+ * The project name to which the certificate belongs.
1020
1424
  */
1021
1425
  projectName: string;
1426
+ /**
1427
+ * The san extension of the Certificate.
1428
+ */
1429
+ san: string;
1022
1430
  /**
1023
1431
  * The status of the Certificate.
1024
1432
  */
1025
1433
  status: string;
1434
+ /**
1435
+ * Tags.
1436
+ */
1437
+ tags: outputs.alb.GetCertificatesCertificateTag[];
1438
+ }
1439
+ interface GetCertificatesCertificateTag {
1440
+ /**
1441
+ * The Key of Tags.
1442
+ */
1443
+ key: string;
1444
+ /**
1445
+ * The Value of Tags.
1446
+ */
1447
+ value: string;
1448
+ }
1449
+ interface GetCertificatesTag {
1450
+ /**
1451
+ * The Key of Tags.
1452
+ */
1453
+ key: string;
1454
+ /**
1455
+ * The Value of Tags.
1456
+ */
1457
+ value: string;
1026
1458
  }
1027
1459
  interface GetCustomizedCfgsCfg {
1028
1460
  /**
@@ -1061,6 +1493,10 @@ export declare namespace alb {
1061
1493
  * The status of CustomizedCfg.
1062
1494
  */
1063
1495
  status: string;
1496
+ /**
1497
+ * Tags.
1498
+ */
1499
+ tags: outputs.alb.GetCustomizedCfgsCfgTag[];
1064
1500
  /**
1065
1501
  * The update time of CustomizedCfg.
1066
1502
  */
@@ -1084,7 +1520,31 @@ export declare namespace alb {
1084
1520
  */
1085
1521
  protocol: string;
1086
1522
  }
1523
+ interface GetCustomizedCfgsCfgTag {
1524
+ /**
1525
+ * The Key of Tags.
1526
+ */
1527
+ key: string;
1528
+ /**
1529
+ * The Value of Tags.
1530
+ */
1531
+ value: string;
1532
+ }
1533
+ interface GetCustomizedCfgsTag {
1534
+ /**
1535
+ * The Key of Tags.
1536
+ */
1537
+ key: string;
1538
+ /**
1539
+ * The Value of Tags.
1540
+ */
1541
+ value: string;
1542
+ }
1087
1543
  interface GetHealthCheckTemplatesHealthCheckTemplate {
1544
+ /**
1545
+ * The creation time of the health check template.
1546
+ */
1547
+ createTime: string;
1088
1548
  /**
1089
1549
  * The description of health check template.
1090
1550
  */
@@ -1106,11 +1566,15 @@ export declare namespace alb {
1106
1566
  */
1107
1567
  healthCheckInterval: number;
1108
1568
  /**
1109
- * The health check method,default is `GET`,support `GET` and ``HEAD.
1569
+ * The health check method, support `GET` and `HEAD`.
1110
1570
  */
1111
1571
  healthCheckMethod: string;
1112
1572
  /**
1113
- * The protocol of health check,only support HTTP.
1573
+ * The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
1574
+ */
1575
+ healthCheckPort: number;
1576
+ /**
1577
+ * The protocol of health check, support HTTP and TCP.
1114
1578
  */
1115
1579
  healthCheckProtocol: string;
1116
1580
  /**
@@ -1137,10 +1601,42 @@ export declare namespace alb {
1137
1601
  * The id of the health check template.
1138
1602
  */
1139
1603
  id: string;
1604
+ /**
1605
+ * The project name to query.
1606
+ */
1607
+ projectName: string;
1608
+ /**
1609
+ * Tags.
1610
+ */
1611
+ tags: outputs.alb.GetHealthCheckTemplatesHealthCheckTemplateTag[];
1140
1612
  /**
1141
1613
  * The unhealthy threshold of the health check, the default is 3, the value is 2-10.
1142
1614
  */
1143
1615
  unhealthyThreshold: number;
1616
+ /**
1617
+ * The last update time of the health check template.
1618
+ */
1619
+ updateTime: string;
1620
+ }
1621
+ interface GetHealthCheckTemplatesHealthCheckTemplateTag {
1622
+ /**
1623
+ * The Key of Tags.
1624
+ */
1625
+ key: string;
1626
+ /**
1627
+ * The Value of Tags.
1628
+ */
1629
+ value: string;
1630
+ }
1631
+ interface GetHealthCheckTemplatesTag {
1632
+ /**
1633
+ * The Key of Tags.
1634
+ */
1635
+ key: string;
1636
+ /**
1637
+ * The Value of Tags.
1638
+ */
1639
+ value: string;
1144
1640
  }
1145
1641
  interface GetListenerDomainExtensionsDomainExtension {
1146
1642
  /**
@@ -1164,7 +1660,71 @@ export declare namespace alb {
1164
1660
  */
1165
1661
  listenerId: string;
1166
1662
  }
1663
+ interface GetListenerHealthsListener {
1664
+ /**
1665
+ * The list of backend server health details.
1666
+ */
1667
+ backendServers: outputs.alb.GetListenerHealthsListenerBackendServer[];
1668
+ /**
1669
+ * The ID of the listener.
1670
+ */
1671
+ listenerId: string;
1672
+ /**
1673
+ * The status of the listener. Value: Active, Error, NoTarget, Disabled.
1674
+ */
1675
+ status: string;
1676
+ /**
1677
+ * The total count of backend servers under the listener.
1678
+ */
1679
+ totalBackendServerCount: number;
1680
+ /**
1681
+ * The count of backend servers with abnormal health check status.
1682
+ */
1683
+ unHealthyCount: number;
1684
+ }
1685
+ interface GetListenerHealthsListenerBackendServer {
1686
+ /**
1687
+ * The ID of the ECS instance or ENI.
1688
+ */
1689
+ instanceId: string;
1690
+ /**
1691
+ * The IP address of the backend server.
1692
+ */
1693
+ ip: string;
1694
+ /**
1695
+ * The port of the backend server.
1696
+ */
1697
+ port: number;
1698
+ /**
1699
+ * The number of forwarding rules associated with the backend server.
1700
+ */
1701
+ ruleNumber: number;
1702
+ /**
1703
+ * The ID of the backend server group.
1704
+ */
1705
+ serverGroupId: string;
1706
+ /**
1707
+ * The name of the backend server group.
1708
+ */
1709
+ serverGroupName: string;
1710
+ /**
1711
+ * The ID of the backend server.
1712
+ */
1713
+ serverId: string;
1714
+ /**
1715
+ * The health status of the backend server. Value: Up, Down.
1716
+ */
1717
+ status: string;
1718
+ /**
1719
+ * The type of backend server. Value: ecs, eni.
1720
+ */
1721
+ type: string;
1722
+ }
1167
1723
  interface GetListenersListener {
1724
+ /**
1725
+ * Whether the listener has enabled the "Log custom headers in the access log" feature.
1726
+ */
1727
+ accessLogRecordCustomizedHeadersEnabled: string;
1168
1728
  /**
1169
1729
  * The ID of the access control policy group bound to the listener, only returned when the AclStatus parameter is on.
1170
1730
  */
@@ -1182,7 +1742,11 @@ export declare namespace alb {
1182
1742
  */
1183
1743
  caCertificateId: string;
1184
1744
  /**
1185
- * The certificate id associated with the listener. Source is `certCenter`.
1745
+ * The source of the CA certificate associated with the HTTPS listener.
1746
+ */
1747
+ caCertificateSource: string;
1748
+ /**
1749
+ * The server certificate ID used by the domain name. It takes effect when the certificate source is cert_center.
1186
1750
  */
1187
1751
  certCenterCertificateId: string;
1188
1752
  /**
@@ -1237,6 +1801,18 @@ export declare namespace alb {
1237
1801
  * The id of the Alb.
1238
1802
  */
1239
1803
  loadBalancerId: string;
1804
+ /**
1805
+ * The certificate ID associated with the HTTPS listener. Effective when the certificate source is pca_leaf.
1806
+ */
1807
+ pcaLeafCertificateId: string;
1808
+ /**
1809
+ * The CA certificate ID associated with the HTTPS listener. It takes effect when the certificate source is pca_root.
1810
+ */
1811
+ pcaRootCaCertificateId: string;
1812
+ /**
1813
+ * The CA certificate ID associated with the HTTPS listener. Effective when the certificate source is pca_sub.
1814
+ */
1815
+ pcaSubCaCertificateId: string;
1240
1816
  /**
1241
1817
  * The port receiving request of the Listener.
1242
1818
  */
@@ -1261,16 +1837,28 @@ export declare namespace alb {
1261
1837
  * The status of the Listener.
1262
1838
  */
1263
1839
  status: string;
1840
+ /**
1841
+ * Tags.
1842
+ */
1843
+ tags: outputs.alb.GetListenersListenerTag[];
1264
1844
  /**
1265
1845
  * The update time of the Listener.
1266
1846
  */
1267
1847
  updateTime: string;
1268
1848
  }
1269
1849
  interface GetListenersListenerDomainExtension {
1850
+ /**
1851
+ * The server certificate ID used by the domain name. It takes effect when the certificate source is cert_center.
1852
+ */
1853
+ certCenterCertificateId: string;
1270
1854
  /**
1271
1855
  * The server certificate ID that domain used.
1272
1856
  */
1273
1857
  certificateId: string;
1858
+ /**
1859
+ * The source of the certificate.
1860
+ */
1861
+ certificateSource: string;
1274
1862
  /**
1275
1863
  * The domain.
1276
1864
  */
@@ -1283,6 +1871,14 @@ export declare namespace alb {
1283
1871
  * The ID of the Listener.
1284
1872
  */
1285
1873
  listenerId: string;
1874
+ /**
1875
+ * The certificate ID associated with the HTTPS listener. Effective when the certificate source is pca_leaf.
1876
+ */
1877
+ pcaLeafCertificateId: string;
1878
+ /**
1879
+ * The CommonName, extended domain names, and IPs of the certificate are separated by ','.
1880
+ */
1881
+ san: string;
1286
1882
  }
1287
1883
  interface GetListenersListenerServerGroup {
1288
1884
  /**
@@ -1294,6 +1890,26 @@ export declare namespace alb {
1294
1890
  */
1295
1891
  serverGroupName: string;
1296
1892
  }
1893
+ interface GetListenersListenerTag {
1894
+ /**
1895
+ * The Key of Tags.
1896
+ */
1897
+ key: string;
1898
+ /**
1899
+ * The Value of Tags.
1900
+ */
1901
+ value: string;
1902
+ }
1903
+ interface GetListenersTag {
1904
+ /**
1905
+ * The Key of Tags.
1906
+ */
1907
+ key: string;
1908
+ /**
1909
+ * The Value of Tags.
1910
+ */
1911
+ value: string;
1912
+ }
1297
1913
  interface GetRulesRule {
1298
1914
  /**
1299
1915
  * The Description of Rule.
@@ -1303,16 +1919,24 @@ export declare namespace alb {
1303
1919
  * The Domain of Rule.
1304
1920
  */
1305
1921
  domain: string;
1922
+ /**
1923
+ * Forward group configuration for ForwardGroup type action.
1924
+ */
1925
+ forwardGroupConfigs: outputs.alb.GetRulesRuleForwardGroupConfig[];
1306
1926
  /**
1307
1927
  * The Id of Rule.
1308
1928
  */
1309
1929
  id: string;
1310
1930
  /**
1311
- * Redirect related configuration.
1931
+ * The priority of the Rule. Only the standard version is supported.
1932
+ */
1933
+ priority: number;
1934
+ /**
1935
+ * Redirect configuration for Redirect type action.
1312
1936
  */
1313
1937
  redirectConfigs: outputs.alb.GetRulesRuleRedirectConfig[];
1314
1938
  /**
1315
- * The list of rewrite configurations.
1939
+ * Rewrite configuration for Rewrite type action.
1316
1940
  */
1317
1941
  rewriteConfigs: outputs.alb.GetRulesRuleRewriteConfig[];
1318
1942
  /**
@@ -1325,6 +1949,14 @@ export declare namespace alb {
1325
1949
  * The forwarding rule action, if this parameter is empty, forward to server group, if value is `Redirect`, will redirect.
1326
1950
  */
1327
1951
  ruleAction: string;
1952
+ /**
1953
+ * The rule actions for standard edition forwarding rules.
1954
+ */
1955
+ ruleActions: outputs.alb.GetRulesRuleRuleAction[];
1956
+ /**
1957
+ * The rule conditions for standard edition forwarding rules.
1958
+ */
1959
+ ruleConditions: outputs.alb.GetRulesRuleRuleCondition[];
1328
1960
  /**
1329
1961
  * The Id of Rule.
1330
1962
  */
@@ -1348,13 +1980,37 @@ export declare namespace alb {
1348
1980
  */
1349
1981
  url: string;
1350
1982
  }
1983
+ interface GetRulesRuleForwardGroupConfig {
1984
+ /**
1985
+ * The server group tuples.
1986
+ */
1987
+ serverGroupTuples: outputs.alb.GetRulesRuleForwardGroupConfigServerGroupTuple[];
1988
+ /**
1989
+ * Whether to enable inter-group session hold.
1990
+ */
1991
+ stickySessionEnabled: string;
1992
+ /**
1993
+ * The group session stickiness timeout, in seconds.
1994
+ */
1995
+ stickySessionTimeout: number;
1996
+ }
1997
+ interface GetRulesRuleForwardGroupConfigServerGroupTuple {
1998
+ /**
1999
+ * The Id of Server Group.
2000
+ */
2001
+ serverGroupId: string;
2002
+ /**
2003
+ * The weight of the server group.
2004
+ */
2005
+ weight: string;
2006
+ }
1351
2007
  interface GetRulesRuleRedirectConfig {
1352
2008
  /**
1353
2009
  * The redirect domain.
1354
2010
  */
1355
2011
  redirectDomain: string;
1356
2012
  /**
1357
- * The redirect HTTP code,support 301(default), 302, 307, 308.
2013
+ * The redirect HTTP code.
1358
2014
  */
1359
2015
  redirectHttpCode: string;
1360
2016
  /**
@@ -1362,7 +2018,7 @@ export declare namespace alb {
1362
2018
  */
1363
2019
  redirectPort: string;
1364
2020
  /**
1365
- * The redirect protocol,support HTTP,HTTPS(default).
2021
+ * The redirect protocol.
1366
2022
  */
1367
2023
  redirectProtocol: string;
1368
2024
  /**
@@ -1376,6 +2032,184 @@ export declare namespace alb {
1376
2032
  */
1377
2033
  rewritePath: string;
1378
2034
  }
2035
+ interface GetRulesRuleRuleAction {
2036
+ /**
2037
+ * Fixed response configuration for fixed response type rule.
2038
+ */
2039
+ fixedResponseConfigs: outputs.alb.GetRulesRuleRuleActionFixedResponseConfig[];
2040
+ /**
2041
+ * Forward group configuration for ForwardGroup type action.
2042
+ */
2043
+ forwardGroupConfigs: outputs.alb.GetRulesRuleRuleActionForwardGroupConfig[];
2044
+ /**
2045
+ * Redirect configuration for Redirect type action.
2046
+ */
2047
+ redirectConfigs: outputs.alb.GetRulesRuleRuleActionRedirectConfig[];
2048
+ /**
2049
+ * Rewrite configuration for Rewrite type action.
2050
+ */
2051
+ rewriteConfigs: outputs.alb.GetRulesRuleRuleActionRewriteConfig[];
2052
+ /**
2053
+ * Traffic limit configuration for TrafficLimit type action.
2054
+ */
2055
+ trafficLimitConfigs: outputs.alb.GetRulesRuleRuleActionTrafficLimitConfig[];
2056
+ /**
2057
+ * The type of rule condition. Valid values: Host, Path, Header.
2058
+ */
2059
+ type: string;
2060
+ }
2061
+ interface GetRulesRuleRuleActionFixedResponseConfig {
2062
+ /**
2063
+ * The content type of the fixed response.
2064
+ */
2065
+ contentType: string;
2066
+ /**
2067
+ * The response body of the fixed response.
2068
+ */
2069
+ responseBody: string;
2070
+ /**
2071
+ * The fixed response HTTP status code.
2072
+ */
2073
+ responseCode: string;
2074
+ /**
2075
+ * The fixed response message.
2076
+ */
2077
+ responseMessage: string;
2078
+ }
2079
+ interface GetRulesRuleRuleActionForwardGroupConfig {
2080
+ /**
2081
+ * The config of group session stickiness.
2082
+ */
2083
+ serverGroupStickySessions: outputs.alb.GetRulesRuleRuleActionForwardGroupConfigServerGroupStickySession[];
2084
+ /**
2085
+ * The server group tuples.
2086
+ */
2087
+ serverGroupTuples: outputs.alb.GetRulesRuleRuleActionForwardGroupConfigServerGroupTuple[];
2088
+ }
2089
+ interface GetRulesRuleRuleActionForwardGroupConfigServerGroupStickySession {
2090
+ /**
2091
+ * Whether to enable sticky session stickiness. Valid values are 'on' and 'off'.
2092
+ */
2093
+ enabled: string;
2094
+ /**
2095
+ * The sticky session timeout, in seconds.
2096
+ */
2097
+ timeout: number;
2098
+ }
2099
+ interface GetRulesRuleRuleActionForwardGroupConfigServerGroupTuple {
2100
+ /**
2101
+ * The Id of Server Group.
2102
+ */
2103
+ serverGroupId: string;
2104
+ /**
2105
+ * The weight of the server group.
2106
+ */
2107
+ weight: number;
2108
+ }
2109
+ interface GetRulesRuleRuleActionRedirectConfig {
2110
+ /**
2111
+ * The redirect domain.
2112
+ */
2113
+ redirectDomain: string;
2114
+ /**
2115
+ * The redirect HTTP code.
2116
+ */
2117
+ redirectHttpCode: string;
2118
+ /**
2119
+ * The redirect port.
2120
+ */
2121
+ redirectPort: string;
2122
+ /**
2123
+ * The redirect protocol.
2124
+ */
2125
+ redirectProtocol: string;
2126
+ /**
2127
+ * The redirect URI.
2128
+ */
2129
+ redirectUri: string;
2130
+ }
2131
+ interface GetRulesRuleRuleActionRewriteConfig {
2132
+ /**
2133
+ * The rewrite path.
2134
+ */
2135
+ path: string;
2136
+ }
2137
+ interface GetRulesRuleRuleActionTrafficLimitConfig {
2138
+ /**
2139
+ * The QPS limit.
2140
+ */
2141
+ qps: number;
2142
+ }
2143
+ interface GetRulesRuleRuleCondition {
2144
+ /**
2145
+ * Header configuration for Header type condition.
2146
+ */
2147
+ headerConfigs: outputs.alb.GetRulesRuleRuleConditionHeaderConfig[];
2148
+ /**
2149
+ * Host configuration for host type condition.
2150
+ */
2151
+ hostConfigs: outputs.alb.GetRulesRuleRuleConditionHostConfig[];
2152
+ /**
2153
+ * Method configuration for Method type condition.
2154
+ */
2155
+ methodConfigs: outputs.alb.GetRulesRuleRuleConditionMethodConfig[];
2156
+ /**
2157
+ * Path configuration for Path type condition.
2158
+ */
2159
+ pathConfigs: outputs.alb.GetRulesRuleRuleConditionPathConfig[];
2160
+ /**
2161
+ * Query string configuration.
2162
+ */
2163
+ queryStringConfigs: outputs.alb.GetRulesRuleRuleConditionQueryStringConfig[];
2164
+ /**
2165
+ * The type of rule condition. Valid values: Host, Path, Header.
2166
+ */
2167
+ type: string;
2168
+ }
2169
+ interface GetRulesRuleRuleConditionHeaderConfig {
2170
+ /**
2171
+ * The query string key.
2172
+ */
2173
+ key: string;
2174
+ /**
2175
+ * The list of query string values.
2176
+ */
2177
+ values: string[];
2178
+ }
2179
+ interface GetRulesRuleRuleConditionHostConfig {
2180
+ /**
2181
+ * The list of query string values.
2182
+ */
2183
+ values: string[];
2184
+ }
2185
+ interface GetRulesRuleRuleConditionMethodConfig {
2186
+ /**
2187
+ * The list of query string values.
2188
+ */
2189
+ values: string[];
2190
+ }
2191
+ interface GetRulesRuleRuleConditionPathConfig {
2192
+ /**
2193
+ * The list of query string values.
2194
+ */
2195
+ values: string[];
2196
+ }
2197
+ interface GetRulesRuleRuleConditionQueryStringConfig {
2198
+ /**
2199
+ * The list of query string values.
2200
+ */
2201
+ values: outputs.alb.GetRulesRuleRuleConditionQueryStringConfigValue[];
2202
+ }
2203
+ interface GetRulesRuleRuleConditionQueryStringConfigValue {
2204
+ /**
2205
+ * The query string key.
2206
+ */
2207
+ key: string;
2208
+ /**
2209
+ * The query string value.
2210
+ */
2211
+ value: string;
2212
+ }
1379
2213
  interface GetServerGroupServersServer {
1380
2214
  /**
1381
2215
  * The description of the instance.
@@ -1397,12 +2231,16 @@ export declare namespace alb {
1397
2231
  * The port receiving request.
1398
2232
  */
1399
2233
  port: number;
2234
+ /**
2235
+ * Whether to enable remote IP function. Optional choice contains `on`, `off`.
2236
+ */
2237
+ remoteEnabled: string;
1400
2238
  /**
1401
2239
  * The server id of instance in ServerGroup.
1402
2240
  */
1403
2241
  serverId: string;
1404
2242
  /**
1405
- * The type of instance. Optional choice contains `ecs`, `eni`.
2243
+ * The type of instance. Optional choice contains `ecs`, `eni`, `ip`.
1406
2244
  */
1407
2245
  type: string;
1408
2246
  /**
@@ -1415,6 +2253,10 @@ export declare namespace alb {
1415
2253
  * The create time of the Alb server group.
1416
2254
  */
1417
2255
  createTime: string;
2256
+ /**
2257
+ * Whether to enable cross-zone load balancing for the server group.
2258
+ */
2259
+ crossZoneEnabled: string;
1418
2260
  /**
1419
2261
  * The description of the server group server.
1420
2262
  */
@@ -1427,6 +2269,10 @@ export declare namespace alb {
1427
2269
  * The ID of the Alb server group.
1428
2270
  */
1429
2271
  id: string;
2272
+ /**
2273
+ * The ip address type of the server group.
2274
+ */
2275
+ ipAddressType: string;
1430
2276
  /**
1431
2277
  * The listener information of the Alb server group.
1432
2278
  */
@@ -1435,6 +2281,10 @@ export declare namespace alb {
1435
2281
  * The project name of Alb server group.
1436
2282
  */
1437
2283
  projectName: string;
2284
+ /**
2285
+ * The backend protocol of the Alb server group.
2286
+ */
2287
+ protocol: string;
1438
2288
  /**
1439
2289
  * The scheduler algorithm of the Alb server group.
1440
2290
  */
@@ -1467,12 +2317,16 @@ export declare namespace alb {
1467
2317
  * The sticky session config of the Alb server group.
1468
2318
  */
1469
2319
  stickySessionConfigs: outputs.alb.GetServerGroupsServerGroupStickySessionConfig[];
2320
+ /**
2321
+ * Tags.
2322
+ */
2323
+ tags: outputs.alb.GetServerGroupsServerGroupTag[];
1470
2324
  /**
1471
2325
  * The update time of the Alb server group.
1472
2326
  */
1473
2327
  updateTime: string;
1474
2328
  /**
1475
- * The vpc id of the Alb server group.
2329
+ * The vpc id of Alb server group.
1476
2330
  */
1477
2331
  vpcId: string;
1478
2332
  }
@@ -1492,11 +2346,11 @@ export declare namespace alb {
1492
2346
  /**
1493
2347
  * The normal http status code of health check.
1494
2348
  */
1495
- httpCode?: string;
2349
+ httpCode: string;
1496
2350
  /**
1497
2351
  * The http version of health check.
1498
2352
  */
1499
- httpVersion?: string;
2353
+ httpVersion: string;
1500
2354
  /**
1501
2355
  * The interval executing health check.
1502
2356
  */
@@ -1506,9 +2360,13 @@ export declare namespace alb {
1506
2360
  */
1507
2361
  method: string;
1508
2362
  /**
1509
- * The protocol of health check.
2363
+ * The port receiving request of the server group server.
2364
+ */
2365
+ port: number;
2366
+ /**
2367
+ * The backend protocol of the Alb server group.
1510
2368
  */
1511
- protocol?: string;
2369
+ protocol: string;
1512
2370
  /**
1513
2371
  * The response timeout of health check.
1514
2372
  */
@@ -1574,6 +2432,26 @@ export declare namespace alb {
1574
2432
  */
1575
2433
  stickySessionType: string;
1576
2434
  }
2435
+ interface GetServerGroupsServerGroupTag {
2436
+ /**
2437
+ * The Key of Tags.
2438
+ */
2439
+ key: string;
2440
+ /**
2441
+ * The Value of Tags.
2442
+ */
2443
+ value: string;
2444
+ }
2445
+ interface GetServerGroupsTag {
2446
+ /**
2447
+ * The Key of Tags.
2448
+ */
2449
+ key: string;
2450
+ /**
2451
+ * The Value of Tags.
2452
+ */
2453
+ value: string;
2454
+ }
1577
2455
  interface GetZonesZone {
1578
2456
  /**
1579
2457
  * The id of the zone.
@@ -1584,7 +2462,21 @@ export declare namespace alb {
1584
2462
  */
1585
2463
  zoneId: string;
1586
2464
  }
2465
+ interface HealthCheckTemplateTag {
2466
+ /**
2467
+ * The Key of Tags.
2468
+ */
2469
+ key: string;
2470
+ /**
2471
+ * The Value of Tags.
2472
+ */
2473
+ value: string;
2474
+ }
1587
2475
  interface HealthCheckTemplatesHealthCheckTemplate {
2476
+ /**
2477
+ * The creation time of the health check template.
2478
+ */
2479
+ createTime: string;
1588
2480
  /**
1589
2481
  * The description of health check template.
1590
2482
  */
@@ -1606,11 +2498,15 @@ export declare namespace alb {
1606
2498
  */
1607
2499
  healthCheckInterval: number;
1608
2500
  /**
1609
- * The health check method,default is `GET`,support `GET` and ``HEAD.
2501
+ * The health check method, support `GET` and `HEAD`.
1610
2502
  */
1611
2503
  healthCheckMethod: string;
1612
2504
  /**
1613
- * The protocol of health check,only support HTTP.
2505
+ * The port for health check. 0 means use backend server port for health check, 1-65535 means use the specified port.
2506
+ */
2507
+ healthCheckPort: number;
2508
+ /**
2509
+ * The protocol of health check, support HTTP and TCP.
1614
2510
  */
1615
2511
  healthCheckProtocol: string;
1616
2512
  /**
@@ -1637,272 +2533,866 @@ export declare namespace alb {
1637
2533
  * The id of the health check template.
1638
2534
  */
1639
2535
  id: string;
2536
+ /**
2537
+ * The project name to query.
2538
+ */
2539
+ projectName: string;
2540
+ /**
2541
+ * Tags.
2542
+ */
2543
+ tags: outputs.alb.HealthCheckTemplatesHealthCheckTemplateTag[];
1640
2544
  /**
1641
2545
  * The unhealthy threshold of the health check, the default is 3, the value is 2-10.
1642
2546
  */
1643
- unhealthyThreshold: number;
1644
- }
1645
- interface ListenerDomainExtensionsDomainExtension {
2547
+ unhealthyThreshold: number;
2548
+ /**
2549
+ * The last update time of the health check template.
2550
+ */
2551
+ updateTime: string;
2552
+ }
2553
+ interface HealthCheckTemplatesHealthCheckTemplateTag {
2554
+ /**
2555
+ * The Key of Tags.
2556
+ */
2557
+ key: string;
2558
+ /**
2559
+ * The Value of Tags.
2560
+ */
2561
+ value: string;
2562
+ }
2563
+ interface HealthCheckTemplatesTag {
2564
+ /**
2565
+ * The Key of Tags.
2566
+ */
2567
+ key: string;
2568
+ /**
2569
+ * The Value of Tags.
2570
+ */
2571
+ value: string;
2572
+ }
2573
+ interface ListenerDomainExtension {
2574
+ /**
2575
+ * The server certificate ID used by the domain name. Valid when the certificateSource is `certCenter`.
2576
+ */
2577
+ certCenterCertificateId?: string;
2578
+ /**
2579
+ * The server certificate ID used by the domain name. Valid when the certificateSource is `alb`.
2580
+ */
2581
+ certificateId?: string;
2582
+ /**
2583
+ * The source of the certificate. Valid values: `alb`, `certCenter`.
2584
+ */
2585
+ certificateSource?: string;
2586
+ /**
2587
+ * The domain name.
2588
+ */
2589
+ domain?: string;
2590
+ /**
2591
+ * The extended domain ID, required only for deletion and modification.
2592
+ */
2593
+ domainExtensionId: string;
2594
+ /**
2595
+ * The server certificate ID used by the domain name. Valid when the certificate source is `pcaLeaf`.
2596
+ */
2597
+ pcaLeafCertificateId?: string;
2598
+ }
2599
+ interface ListenerDomainExtensionsDomainExtension {
2600
+ /**
2601
+ * The server certificate ID that domain used.
2602
+ */
2603
+ certificateId: string;
2604
+ /**
2605
+ * The domain.
2606
+ */
2607
+ domain: string;
2608
+ /**
2609
+ * The extension domain ID.
2610
+ */
2611
+ domainExtensionId: string;
2612
+ /**
2613
+ * The ID of the Listener.
2614
+ */
2615
+ id: string;
2616
+ /**
2617
+ * A Listener ID.
2618
+ */
2619
+ listenerId: string;
2620
+ }
2621
+ interface ListenerHealthsListener {
2622
+ /**
2623
+ * The list of backend server health details.
2624
+ */
2625
+ backendServers: outputs.alb.ListenerHealthsListenerBackendServer[];
2626
+ /**
2627
+ * The ID of the listener.
2628
+ */
2629
+ listenerId: string;
2630
+ /**
2631
+ * The status of the listener. Value: Active, Error, NoTarget, Disabled.
2632
+ */
2633
+ status: string;
2634
+ /**
2635
+ * The total count of backend servers under the listener.
2636
+ */
2637
+ totalBackendServerCount: number;
2638
+ /**
2639
+ * The count of backend servers with abnormal health check status.
2640
+ */
2641
+ unHealthyCount: number;
2642
+ }
2643
+ interface ListenerHealthsListenerBackendServer {
2644
+ /**
2645
+ * The ID of the ECS instance or ENI.
2646
+ */
2647
+ instanceId: string;
2648
+ /**
2649
+ * The IP address of the backend server.
2650
+ */
2651
+ ip: string;
2652
+ /**
2653
+ * The port of the backend server.
2654
+ */
2655
+ port: number;
2656
+ /**
2657
+ * The number of forwarding rules associated with the backend server.
2658
+ */
2659
+ ruleNumber: number;
2660
+ /**
2661
+ * The ID of the backend server group.
2662
+ */
2663
+ serverGroupId: string;
2664
+ /**
2665
+ * The name of the backend server group.
2666
+ */
2667
+ serverGroupName: string;
2668
+ /**
2669
+ * The ID of the backend server.
2670
+ */
2671
+ serverId: string;
2672
+ /**
2673
+ * The health status of the backend server. Value: Up, Down.
2674
+ */
2675
+ status: string;
2676
+ /**
2677
+ * The type of backend server. Value: ecs, eni.
2678
+ */
2679
+ type: string;
2680
+ }
2681
+ interface ListenerTag {
2682
+ /**
2683
+ * The Key of Tags.
2684
+ */
2685
+ key: string;
2686
+ /**
2687
+ * The Value of Tags.
2688
+ */
2689
+ value: string;
2690
+ }
2691
+ interface ListenersListener {
2692
+ /**
2693
+ * Whether the listener has enabled the "Log custom headers in the access log" feature.
2694
+ */
2695
+ accessLogRecordCustomizedHeadersEnabled: string;
2696
+ /**
2697
+ * The ID of the access control policy group bound to the listener, only returned when the AclStatus parameter is on.
2698
+ */
2699
+ aclIds: string[];
2700
+ /**
2701
+ * Whether to enable the access control function,valid value is on or off.
2702
+ */
2703
+ aclStatus: string;
2704
+ /**
2705
+ * The access control type.
2706
+ */
2707
+ aclType: string;
2708
+ /**
2709
+ * CA certificate ID associated with HTTPS listener.
2710
+ */
2711
+ caCertificateId: string;
2712
+ /**
2713
+ * The source of the CA certificate associated with the HTTPS listener.
2714
+ */
2715
+ caCertificateSource: string;
2716
+ /**
2717
+ * The server certificate ID used by the domain name. It takes effect when the certificate source is cert_center.
2718
+ */
2719
+ certCenterCertificateId: string;
2720
+ /**
2721
+ * The server certificate ID that domain used.
2722
+ */
2723
+ certificateId: string;
2724
+ /**
2725
+ * The source of the certificate.
2726
+ */
2727
+ certificateSource: string;
2728
+ /**
2729
+ * The create time of the Listener.
2730
+ */
2731
+ createTime: string;
2732
+ /**
2733
+ * The customized configuration ID, the value is empty string when not bound.
2734
+ */
2735
+ customizedCfgId: string;
2736
+ /**
2737
+ * The description of listener.
2738
+ */
2739
+ description: string;
2740
+ /**
2741
+ * The HTTPS listener association list of extension domains for.
2742
+ */
2743
+ domainExtensions: outputs.alb.ListenersListenerDomainExtension[];
2744
+ /**
2745
+ * The HTTP2 feature switch,valid value is on or off.
2746
+ */
2747
+ enableHttp2: string;
2748
+ /**
2749
+ * The QUIC feature switch,valid value is on or off.
2750
+ */
2751
+ enableQuic: string;
2752
+ /**
2753
+ * The enable status of the Listener.
2754
+ */
2755
+ enabled: string;
2756
+ /**
2757
+ * The ID of the Listener.
2758
+ */
2759
+ id: string;
2760
+ /**
2761
+ * The ID of the Listener.
2762
+ */
2763
+ listenerId: string;
2764
+ /**
2765
+ * The name of the Listener.
2766
+ */
2767
+ listenerName: string;
2768
+ /**
2769
+ * The id of the Alb.
2770
+ */
2771
+ loadBalancerId: string;
2772
+ /**
2773
+ * The certificate ID associated with the HTTPS listener. Effective when the certificate source is pca_leaf.
2774
+ */
2775
+ pcaLeafCertificateId: string;
2776
+ /**
2777
+ * The CA certificate ID associated with the HTTPS listener. It takes effect when the certificate source is pca_root.
2778
+ */
2779
+ pcaRootCaCertificateId: string;
2780
+ /**
2781
+ * The CA certificate ID associated with the HTTPS listener. Effective when the certificate source is pca_sub.
2782
+ */
2783
+ pcaSubCaCertificateId: string;
2784
+ /**
2785
+ * The port receiving request of the Listener.
2786
+ */
2787
+ port: number;
2788
+ /**
2789
+ * The project name of the listener.
2790
+ */
2791
+ projectName: string;
2792
+ /**
2793
+ * The protocol of the Listener.
2794
+ */
2795
+ protocol: string;
2796
+ /**
2797
+ * The ID of server group.
2798
+ */
2799
+ serverGroupId: string;
2800
+ /**
2801
+ * The list of server groups with associated listeners.
2802
+ */
2803
+ serverGroups: outputs.alb.ListenersListenerServerGroup[];
2804
+ /**
2805
+ * The status of the Listener.
2806
+ */
2807
+ status: string;
2808
+ /**
2809
+ * Tags.
2810
+ */
2811
+ tags: outputs.alb.ListenersListenerTag[];
2812
+ /**
2813
+ * The update time of the Listener.
2814
+ */
2815
+ updateTime: string;
2816
+ }
2817
+ interface ListenersListenerDomainExtension {
2818
+ /**
2819
+ * The server certificate ID used by the domain name. It takes effect when the certificate source is cert_center.
2820
+ */
2821
+ certCenterCertificateId: string;
2822
+ /**
2823
+ * The server certificate ID that domain used.
2824
+ */
2825
+ certificateId: string;
2826
+ /**
2827
+ * The source of the certificate.
2828
+ */
2829
+ certificateSource: string;
2830
+ /**
2831
+ * The domain.
2832
+ */
2833
+ domain: string;
2834
+ /**
2835
+ * The extension domain ID.
2836
+ */
2837
+ domainExtensionId: string;
2838
+ /**
2839
+ * The ID of the Listener.
2840
+ */
2841
+ listenerId: string;
2842
+ /**
2843
+ * The certificate ID associated with the HTTPS listener. Effective when the certificate source is pca_leaf.
2844
+ */
2845
+ pcaLeafCertificateId: string;
2846
+ /**
2847
+ * The CommonName, extended domain names, and IPs of the certificate are separated by ','.
2848
+ */
2849
+ san: string;
2850
+ }
2851
+ interface ListenersListenerServerGroup {
2852
+ /**
2853
+ * The ID of server group.
2854
+ */
2855
+ serverGroupId: string;
2856
+ /**
2857
+ * The name of server group.
2858
+ */
2859
+ serverGroupName: string;
2860
+ }
2861
+ interface ListenersListenerTag {
2862
+ /**
2863
+ * The Key of Tags.
2864
+ */
2865
+ key: string;
2866
+ /**
2867
+ * The Value of Tags.
2868
+ */
2869
+ value: string;
2870
+ }
2871
+ interface ListenersTag {
2872
+ /**
2873
+ * The Key of Tags.
2874
+ */
2875
+ key: string;
2876
+ /**
2877
+ * The Value of Tags.
2878
+ */
2879
+ value: string;
2880
+ }
2881
+ interface RuleRedirectConfig {
2882
+ /**
2883
+ * The redirect domain, only support exact domain name.
2884
+ */
2885
+ redirectDomain: string;
2886
+ /**
2887
+ * The redirect http code, support 301(default), 302, 307, 308.
2888
+ */
2889
+ redirectHttpCode?: string;
2890
+ /**
2891
+ * The redirect port.
2892
+ */
2893
+ redirectPort: string;
2894
+ /**
2895
+ * The redirect protocol, support HTTP, HTTPS(default).
2896
+ */
2897
+ redirectProtocol?: string;
2898
+ /**
2899
+ * The redirect URI.
2900
+ */
2901
+ redirectUri: string;
2902
+ }
2903
+ interface RuleRewriteConfig {
2904
+ /**
2905
+ * Rewrite path.
2906
+ */
2907
+ rewritePath: string;
2908
+ }
2909
+ interface RuleRuleAction {
2910
+ /**
2911
+ * Fixed response configuration for fixed response type rule.
2912
+ */
2913
+ fixedResponseConfig: outputs.alb.RuleRuleActionFixedResponseConfig;
2914
+ /**
2915
+ * Forward group configuration for ForwardGroup type action.
2916
+ */
2917
+ forwardGroupConfig: outputs.alb.RuleRuleActionForwardGroupConfig;
2918
+ /**
2919
+ * Redirect configuration for Redirect type action.
2920
+ */
2921
+ redirectConfig: outputs.alb.RuleRuleActionRedirectConfig;
2922
+ /**
2923
+ * Rewrite configuration for Rewrite type action.
2924
+ */
2925
+ rewriteConfig: outputs.alb.RuleRuleActionRewriteConfig;
2926
+ /**
2927
+ * Traffic limit configuration for TrafficLimit type action.
2928
+ */
2929
+ trafficLimitConfig: outputs.alb.RuleRuleActionTrafficLimitConfig;
2930
+ /**
2931
+ * The type of rule action. Valid values: ForwardGroup, Redirect, Rewrite, TrafficLimit.
2932
+ */
2933
+ type: string;
2934
+ }
2935
+ interface RuleRuleActionFixedResponseConfig {
2936
+ /**
2937
+ * The content type of the fixed response.
2938
+ */
2939
+ contentType: string;
2940
+ /**
2941
+ * The response body of the fixed response.
2942
+ */
2943
+ responseBody: string;
2944
+ /**
2945
+ * The fixed response HTTP status code.
2946
+ */
2947
+ responseCode: string;
2948
+ /**
2949
+ * The fixed response message.
2950
+ */
2951
+ responseMessage: string;
2952
+ }
2953
+ interface RuleRuleActionForwardGroupConfig {
2954
+ /**
2955
+ * The config of group session stickiness.
2956
+ */
2957
+ serverGroupStickySession: outputs.alb.RuleRuleActionForwardGroupConfigServerGroupStickySession;
2958
+ /**
2959
+ * The server group tuples.
2960
+ */
2961
+ serverGroupTuples: outputs.alb.RuleRuleActionForwardGroupConfigServerGroupTuple[];
2962
+ }
2963
+ interface RuleRuleActionForwardGroupConfigServerGroupStickySession {
2964
+ /**
2965
+ * Whether to enable sticky session stickiness. Valid values are 'on' and 'off'.
2966
+ */
2967
+ enabled: string;
2968
+ /**
2969
+ * The sticky session timeout, in seconds.
2970
+ */
2971
+ timeout: number;
2972
+ }
2973
+ interface RuleRuleActionForwardGroupConfigServerGroupTuple {
2974
+ /**
2975
+ * The server group ID. The priority of this parameter is higher than that of `serverGroupId`.
2976
+ */
2977
+ serverGroupId: string;
2978
+ /**
2979
+ * The weight of the server group.
2980
+ */
2981
+ weight: number;
2982
+ }
2983
+ interface RuleRuleActionRedirectConfig {
2984
+ /**
2985
+ * The domain name to which the request was redirected.
2986
+ */
2987
+ host: string;
2988
+ /**
2989
+ * The redirect HTTP code.
2990
+ */
2991
+ httpCode: string;
2992
+ /**
2993
+ * The path to which the request was redirected.
2994
+ */
2995
+ path: string;
2996
+ /**
2997
+ * The redirect port.
2998
+ */
2999
+ port: string;
3000
+ /**
3001
+ * The redirect protocol.
3002
+ */
3003
+ protocol: string;
3004
+ }
3005
+ interface RuleRuleActionRewriteConfig {
3006
+ /**
3007
+ * The rewrite path.
3008
+ */
3009
+ path: string;
3010
+ }
3011
+ interface RuleRuleActionTrafficLimitConfig {
3012
+ /**
3013
+ * The QPS limit.
3014
+ */
3015
+ qps: number;
3016
+ }
3017
+ interface RuleRuleCondition {
3018
+ /**
3019
+ * Header configuration for Header type condition.
3020
+ */
3021
+ headerConfig: outputs.alb.RuleRuleConditionHeaderConfig;
3022
+ /**
3023
+ * Host configuration for Host type condition.
3024
+ */
3025
+ hostConfig: outputs.alb.RuleRuleConditionHostConfig;
3026
+ /**
3027
+ * Method configuration for Method type condition.
3028
+ */
3029
+ methodConfig: outputs.alb.RuleRuleConditionMethodConfig;
3030
+ /**
3031
+ * Path configuration for Path type condition.
3032
+ */
3033
+ pathConfig: outputs.alb.RuleRuleConditionPathConfig;
3034
+ /**
3035
+ * Query string configuration for QueryString type condition.
3036
+ */
3037
+ queryStringConfig: outputs.alb.RuleRuleConditionQueryStringConfig;
3038
+ /**
3039
+ * The type of rule condition. Valid values: Host, Path, Header, Method, QueryString.
3040
+ */
3041
+ type?: string;
3042
+ }
3043
+ interface RuleRuleConditionHeaderConfig {
3044
+ /**
3045
+ * The header key.
3046
+ */
3047
+ key: string;
3048
+ /**
3049
+ * The list of header values.
3050
+ */
3051
+ values: string[];
3052
+ }
3053
+ interface RuleRuleConditionHostConfig {
3054
+ /**
3055
+ * The list of domain names.
3056
+ */
3057
+ values: string[];
3058
+ }
3059
+ interface RuleRuleConditionMethodConfig {
3060
+ /**
3061
+ * The values of the method. Vaild values: HEAD,GET,POST,OPTIONS,PUT,PATCH,DELETE.
3062
+ */
3063
+ values: string[];
3064
+ }
3065
+ interface RuleRuleConditionPathConfig {
3066
+ /**
3067
+ * The list of absolute paths.
3068
+ */
3069
+ values?: string[];
3070
+ }
3071
+ interface RuleRuleConditionQueryStringConfig {
3072
+ /**
3073
+ * The list of query string values.
3074
+ */
3075
+ values: outputs.alb.RuleRuleConditionQueryStringConfigValue[];
3076
+ }
3077
+ interface RuleRuleConditionQueryStringConfigValue {
3078
+ /**
3079
+ * The query string key.
3080
+ */
3081
+ key: string;
3082
+ /**
3083
+ * The query string value.
3084
+ */
3085
+ value: string;
3086
+ }
3087
+ interface RuleServerGroupTuple {
3088
+ /**
3089
+ * The server group ID. The priority of this parameter is higher than that of `serverGroupId`.
3090
+ */
3091
+ serverGroupId: string;
3092
+ /**
3093
+ * The weight of the server group.
3094
+ */
3095
+ weight?: number;
3096
+ }
3097
+ interface RulesRule {
3098
+ /**
3099
+ * The Description of Rule.
3100
+ */
3101
+ description: string;
3102
+ /**
3103
+ * The Domain of Rule.
3104
+ */
3105
+ domain: string;
3106
+ /**
3107
+ * Forward group configuration for ForwardGroup type action.
3108
+ */
3109
+ forwardGroupConfigs: outputs.alb.RulesRuleForwardGroupConfig[];
3110
+ /**
3111
+ * The Id of Rule.
3112
+ */
3113
+ id: string;
3114
+ /**
3115
+ * The priority of the Rule. Only the standard version is supported.
3116
+ */
3117
+ priority: number;
3118
+ /**
3119
+ * Redirect configuration for Redirect type action.
3120
+ */
3121
+ redirectConfigs: outputs.alb.RulesRuleRedirectConfig[];
3122
+ /**
3123
+ * Rewrite configuration for Rewrite type action.
3124
+ */
3125
+ rewriteConfigs: outputs.alb.RulesRuleRewriteConfig[];
1646
3126
  /**
1647
- * The server certificate ID that domain used.
3127
+ * Rewrite configuration switch for forwarding rules, only allows configuration and takes effect when RuleAction is empty (i.e., forwarding to server group). Only available for whitelist users, please submit an application to experience. Supported values are as follows:
3128
+ * on: enable.
3129
+ * off: disable.
1648
3130
  */
1649
- certificateId: string;
3131
+ rewriteEnabled: string;
1650
3132
  /**
1651
- * The domain.
3133
+ * The forwarding rule action, if this parameter is empty, forward to server group, if value is `Redirect`, will redirect.
1652
3134
  */
1653
- domain: string;
3135
+ ruleAction: string;
1654
3136
  /**
1655
- * The extension domain ID.
3137
+ * The rule actions for standard edition forwarding rules.
1656
3138
  */
1657
- domainExtensionId: string;
3139
+ ruleActions: outputs.alb.RulesRuleRuleAction[];
1658
3140
  /**
1659
- * The ID of the Listener.
3141
+ * The rule conditions for standard edition forwarding rules.
1660
3142
  */
1661
- id: string;
3143
+ ruleConditions: outputs.alb.RulesRuleRuleCondition[];
1662
3144
  /**
1663
- * A Listener ID.
3145
+ * The Id of Rule.
1664
3146
  */
1665
- listenerId: string;
1666
- }
1667
- interface ListenersListener {
3147
+ ruleId: string;
1668
3148
  /**
1669
- * The ID of the access control policy group bound to the listener, only returned when the AclStatus parameter is on.
3149
+ * The Id of Server Group.
1670
3150
  */
1671
- aclIds: string[];
3151
+ serverGroupId: string;
1672
3152
  /**
1673
- * Whether to enable the access control function,valid value is on or off.
3153
+ * Forwarding rule QPS rate limiting switch:
3154
+ * on: enable.
3155
+ * off: disable (default).
1674
3156
  */
1675
- aclStatus: string;
3157
+ trafficLimitEnabled: string;
1676
3158
  /**
1677
- * The access control type.
3159
+ * When Rules.N.TrafficLimitEnabled is turned on, this field is required. Requests per second. Valid values are between 100 and 100000.
1678
3160
  */
1679
- aclType: string;
3161
+ trafficLimitQps: number;
1680
3162
  /**
1681
- * CA certificate ID associated with HTTPS listener.
3163
+ * The Url of Rule.
1682
3164
  */
1683
- caCertificateId: string;
3165
+ url: string;
3166
+ }
3167
+ interface RulesRuleForwardGroupConfig {
1684
3168
  /**
1685
- * The certificate id associated with the listener. Source is `certCenter`.
3169
+ * The server group tuples.
1686
3170
  */
1687
- certCenterCertificateId: string;
3171
+ serverGroupTuples: outputs.alb.RulesRuleForwardGroupConfigServerGroupTuple[];
1688
3172
  /**
1689
- * The server certificate ID that domain used.
3173
+ * Whether to enable inter-group session hold.
1690
3174
  */
1691
- certificateId: string;
3175
+ stickySessionEnabled: string;
1692
3176
  /**
1693
- * The source of the certificate.
3177
+ * The group session stickiness timeout, in seconds.
1694
3178
  */
1695
- certificateSource: string;
3179
+ stickySessionTimeout: number;
3180
+ }
3181
+ interface RulesRuleForwardGroupConfigServerGroupTuple {
1696
3182
  /**
1697
- * The create time of the Listener.
3183
+ * The Id of Server Group.
1698
3184
  */
1699
- createTime: string;
3185
+ serverGroupId: string;
1700
3186
  /**
1701
- * The customized configuration ID, the value is empty string when not bound.
3187
+ * The weight of the server group.
1702
3188
  */
1703
- customizedCfgId: string;
3189
+ weight: string;
3190
+ }
3191
+ interface RulesRuleRedirectConfig {
1704
3192
  /**
1705
- * The description of listener.
3193
+ * The redirect domain.
1706
3194
  */
1707
- description: string;
3195
+ redirectDomain: string;
1708
3196
  /**
1709
- * The HTTPS listener association list of extension domains for.
3197
+ * The redirect HTTP code.
1710
3198
  */
1711
- domainExtensions: outputs.alb.ListenersListenerDomainExtension[];
3199
+ redirectHttpCode: string;
1712
3200
  /**
1713
- * The HTTP2 feature switch,valid value is on or off.
3201
+ * The redirect port.
1714
3202
  */
1715
- enableHttp2: string;
3203
+ redirectPort: string;
1716
3204
  /**
1717
- * The QUIC feature switch,valid value is on or off.
3205
+ * The redirect protocol.
1718
3206
  */
1719
- enableQuic: string;
3207
+ redirectProtocol: string;
1720
3208
  /**
1721
- * The enable status of the Listener.
3209
+ * The redirect URI.
1722
3210
  */
1723
- enabled: string;
3211
+ redirectUri: string;
3212
+ }
3213
+ interface RulesRuleRewriteConfig {
1724
3214
  /**
1725
- * The ID of the Listener.
3215
+ * Rewrite path.
1726
3216
  */
1727
- id: string;
3217
+ rewritePath: string;
3218
+ }
3219
+ interface RulesRuleRuleAction {
1728
3220
  /**
1729
- * The ID of the Listener.
3221
+ * Fixed response configuration for fixed response type rule.
1730
3222
  */
1731
- listenerId: string;
3223
+ fixedResponseConfigs: outputs.alb.RulesRuleRuleActionFixedResponseConfig[];
1732
3224
  /**
1733
- * The name of the Listener.
3225
+ * Forward group configuration for ForwardGroup type action.
1734
3226
  */
1735
- listenerName: string;
3227
+ forwardGroupConfigs: outputs.alb.RulesRuleRuleActionForwardGroupConfig[];
1736
3228
  /**
1737
- * The id of the Alb.
3229
+ * Redirect configuration for Redirect type action.
1738
3230
  */
1739
- loadBalancerId: string;
3231
+ redirectConfigs: outputs.alb.RulesRuleRuleActionRedirectConfig[];
1740
3232
  /**
1741
- * The port receiving request of the Listener.
3233
+ * Rewrite configuration for Rewrite type action.
1742
3234
  */
1743
- port: number;
3235
+ rewriteConfigs: outputs.alb.RulesRuleRuleActionRewriteConfig[];
1744
3236
  /**
1745
- * The project name of the listener.
3237
+ * Traffic limit configuration for TrafficLimit type action.
1746
3238
  */
1747
- projectName: string;
3239
+ trafficLimitConfigs: outputs.alb.RulesRuleRuleActionTrafficLimitConfig[];
1748
3240
  /**
1749
- * The protocol of the Listener.
3241
+ * The type of rule condition. Valid values: Host, Path, Header.
1750
3242
  */
1751
- protocol: string;
3243
+ type: string;
3244
+ }
3245
+ interface RulesRuleRuleActionFixedResponseConfig {
1752
3246
  /**
1753
- * The ID of server group.
3247
+ * The content type of the fixed response.
1754
3248
  */
1755
- serverGroupId: string;
3249
+ contentType: string;
1756
3250
  /**
1757
- * The list of server groups with associated listeners.
3251
+ * The response body of the fixed response.
1758
3252
  */
1759
- serverGroups: outputs.alb.ListenersListenerServerGroup[];
3253
+ responseBody: string;
1760
3254
  /**
1761
- * The status of the Listener.
3255
+ * The fixed response HTTP status code.
1762
3256
  */
1763
- status: string;
3257
+ responseCode: string;
1764
3258
  /**
1765
- * The update time of the Listener.
3259
+ * The fixed response message.
1766
3260
  */
1767
- updateTime: string;
3261
+ responseMessage: string;
1768
3262
  }
1769
- interface ListenersListenerDomainExtension {
3263
+ interface RulesRuleRuleActionForwardGroupConfig {
1770
3264
  /**
1771
- * The server certificate ID that domain used.
3265
+ * The config of group session stickiness.
1772
3266
  */
1773
- certificateId: string;
3267
+ serverGroupStickySessions: outputs.alb.RulesRuleRuleActionForwardGroupConfigServerGroupStickySession[];
1774
3268
  /**
1775
- * The domain.
3269
+ * The server group tuples.
1776
3270
  */
1777
- domain: string;
3271
+ serverGroupTuples: outputs.alb.RulesRuleRuleActionForwardGroupConfigServerGroupTuple[];
3272
+ }
3273
+ interface RulesRuleRuleActionForwardGroupConfigServerGroupStickySession {
1778
3274
  /**
1779
- * The extension domain ID.
3275
+ * Whether to enable sticky session stickiness. Valid values are 'on' and 'off'.
1780
3276
  */
1781
- domainExtensionId: string;
3277
+ enabled: string;
1782
3278
  /**
1783
- * The ID of the Listener.
3279
+ * The sticky session timeout, in seconds.
1784
3280
  */
1785
- listenerId: string;
3281
+ timeout: number;
1786
3282
  }
1787
- interface ListenersListenerServerGroup {
3283
+ interface RulesRuleRuleActionForwardGroupConfigServerGroupTuple {
1788
3284
  /**
1789
- * The ID of server group.
3285
+ * The Id of Server Group.
1790
3286
  */
1791
3287
  serverGroupId: string;
1792
3288
  /**
1793
- * The name of server group.
3289
+ * The weight of the server group.
1794
3290
  */
1795
- serverGroupName: string;
3291
+ weight: number;
1796
3292
  }
1797
- interface RuleRedirectConfig {
3293
+ interface RulesRuleRuleActionRedirectConfig {
1798
3294
  /**
1799
- * The redirect domain, only support exact domain name.
3295
+ * The redirect domain.
1800
3296
  */
1801
3297
  redirectDomain: string;
1802
3298
  /**
1803
- * The redirect http code, support 301(default), 302, 307, 308.
3299
+ * The redirect HTTP code.
1804
3300
  */
1805
- redirectHttpCode?: string;
3301
+ redirectHttpCode: string;
1806
3302
  /**
1807
3303
  * The redirect port.
1808
3304
  */
1809
3305
  redirectPort: string;
1810
3306
  /**
1811
- * The redirect protocol, support HTTP, HTTPS(default).
3307
+ * The redirect protocol.
1812
3308
  */
1813
- redirectProtocol?: string;
3309
+ redirectProtocol: string;
1814
3310
  /**
1815
3311
  * The redirect URI.
1816
3312
  */
1817
3313
  redirectUri: string;
1818
3314
  }
1819
- interface RuleRewriteConfig {
3315
+ interface RulesRuleRuleActionRewriteConfig {
1820
3316
  /**
1821
- * Rewrite path.
3317
+ * The rewrite path.
1822
3318
  */
1823
- rewritePath: string;
3319
+ path: string;
1824
3320
  }
1825
- interface RulesRule {
1826
- /**
1827
- * The Description of Rule.
1828
- */
1829
- description: string;
1830
- /**
1831
- * The Domain of Rule.
1832
- */
1833
- domain: string;
1834
- /**
1835
- * The Id of Rule.
1836
- */
1837
- id: string;
3321
+ interface RulesRuleRuleActionTrafficLimitConfig {
1838
3322
  /**
1839
- * Redirect related configuration.
3323
+ * The QPS limit.
1840
3324
  */
1841
- redirectConfigs: outputs.alb.RulesRuleRedirectConfig[];
3325
+ qps: number;
3326
+ }
3327
+ interface RulesRuleRuleCondition {
1842
3328
  /**
1843
- * The list of rewrite configurations.
3329
+ * Header configuration for Header type condition.
1844
3330
  */
1845
- rewriteConfigs: outputs.alb.RulesRuleRewriteConfig[];
3331
+ headerConfigs: outputs.alb.RulesRuleRuleConditionHeaderConfig[];
1846
3332
  /**
1847
- * Rewrite configuration switch for forwarding rules, only allows configuration and takes effect when RuleAction is empty (i.e., forwarding to server group). Only available for whitelist users, please submit an application to experience. Supported values are as follows:
1848
- * on: enable.
1849
- * off: disable.
3333
+ * Host configuration for host type condition.
1850
3334
  */
1851
- rewriteEnabled: string;
3335
+ hostConfigs: outputs.alb.RulesRuleRuleConditionHostConfig[];
1852
3336
  /**
1853
- * The forwarding rule action, if this parameter is empty, forward to server group, if value is `Redirect`, will redirect.
3337
+ * Method configuration for Method type condition.
1854
3338
  */
1855
- ruleAction: string;
3339
+ methodConfigs: outputs.alb.RulesRuleRuleConditionMethodConfig[];
1856
3340
  /**
1857
- * The Id of Rule.
3341
+ * Path configuration for Path type condition.
1858
3342
  */
1859
- ruleId: string;
3343
+ pathConfigs: outputs.alb.RulesRuleRuleConditionPathConfig[];
1860
3344
  /**
1861
- * The Id of Server Group.
3345
+ * Query string configuration.
1862
3346
  */
1863
- serverGroupId: string;
3347
+ queryStringConfigs: outputs.alb.RulesRuleRuleConditionQueryStringConfig[];
1864
3348
  /**
1865
- * Forwarding rule QPS rate limiting switch:
1866
- * on: enable.
1867
- * off: disable (default).
3349
+ * The type of rule condition. Valid values: Host, Path, Header.
1868
3350
  */
1869
- trafficLimitEnabled: string;
3351
+ type: string;
3352
+ }
3353
+ interface RulesRuleRuleConditionHeaderConfig {
1870
3354
  /**
1871
- * When Rules.N.TrafficLimitEnabled is turned on, this field is required. Requests per second. Valid values are between 100 and 100000.
3355
+ * The query string key.
1872
3356
  */
1873
- trafficLimitQps: number;
3357
+ key: string;
1874
3358
  /**
1875
- * The Url of Rule.
3359
+ * The list of query string values.
1876
3360
  */
1877
- url: string;
3361
+ values: string[];
1878
3362
  }
1879
- interface RulesRuleRedirectConfig {
3363
+ interface RulesRuleRuleConditionHostConfig {
1880
3364
  /**
1881
- * The redirect domain.
3365
+ * The list of query string values.
1882
3366
  */
1883
- redirectDomain: string;
3367
+ values: string[];
3368
+ }
3369
+ interface RulesRuleRuleConditionMethodConfig {
1884
3370
  /**
1885
- * The redirect HTTP code,support 301(default), 302, 307, 308.
3371
+ * The list of query string values.
1886
3372
  */
1887
- redirectHttpCode: string;
3373
+ values: string[];
3374
+ }
3375
+ interface RulesRuleRuleConditionPathConfig {
1888
3376
  /**
1889
- * The redirect port.
3377
+ * The list of query string values.
1890
3378
  */
1891
- redirectPort: string;
3379
+ values: string[];
3380
+ }
3381
+ interface RulesRuleRuleConditionQueryStringConfig {
1892
3382
  /**
1893
- * The redirect protocol,support HTTP,HTTPS(default).
3383
+ * The list of query string values.
1894
3384
  */
1895
- redirectProtocol: string;
3385
+ values: outputs.alb.RulesRuleRuleConditionQueryStringConfigValue[];
3386
+ }
3387
+ interface RulesRuleRuleConditionQueryStringConfigValue {
1896
3388
  /**
1897
- * The redirect URI.
3389
+ * The query string key.
1898
3390
  */
1899
- redirectUri: string;
1900
- }
1901
- interface RulesRuleRewriteConfig {
3391
+ key: string;
1902
3392
  /**
1903
- * Rewrite path.
3393
+ * The query string value.
1904
3394
  */
1905
- rewritePath: string;
3395
+ value: string;
1906
3396
  }
1907
3397
  interface ServerGroupHealthCheck {
1908
3398
  /**
@@ -1918,9 +3408,9 @@ export declare namespace alb {
1918
3408
  */
1919
3409
  healthyThreshold?: number;
1920
3410
  /**
1921
- * The normal http status code of health check, the value can be `http2xx` or `http3xx` or `http4xx` or `http5xx`.
3411
+ * The normal http status code of health check, the value can be `http2xx`, `http3xx`, `http4xx` or `http5xx`. Default is `http_2xx,http_3xx`.
1922
3412
  */
1923
- httpCode: string;
3413
+ httpCode?: string;
1924
3414
  /**
1925
3415
  * The http version of health check. Valid values: `HTTP1.0`, `HTTP1.1`. Default is `HTTP1.0`.
1926
3416
  */
@@ -1933,6 +3423,14 @@ export declare namespace alb {
1933
3423
  * The method of health check. Valid values: `GET` or `HEAD`. Default is `HEAD`.
1934
3424
  */
1935
3425
  method?: string;
3426
+ /**
3427
+ * The port of health check. When the value is 0, it means use the backend server port for health check. Valid value range in 0~65535.
3428
+ */
3429
+ port?: number;
3430
+ /**
3431
+ * The protocol of health check. Valid values: `HTTP`, `TCP`. Default is `HTTP`.
3432
+ */
3433
+ protocol?: string;
1936
3434
  /**
1937
3435
  * The response timeout of health check. Unit: second. Valid value range in 1~60. Default is 2.
1938
3436
  */
@@ -1967,12 +3465,16 @@ export declare namespace alb {
1967
3465
  * The port receiving request.
1968
3466
  */
1969
3467
  port: number;
3468
+ /**
3469
+ * Whether to enable remote IP function. Optional choice contains `on`, `off`.
3470
+ */
3471
+ remoteEnabled: string;
1970
3472
  /**
1971
3473
  * The server id of instance in ServerGroup.
1972
3474
  */
1973
3475
  serverId: string;
1974
3476
  /**
1975
- * The type of instance. Optional choice contains `ecs`, `eni`.
3477
+ * The type of instance. Optional choice contains `ecs`, `eni`, `ip`.
1976
3478
  */
1977
3479
  type: string;
1978
3480
  /**
@@ -1998,11 +3500,25 @@ export declare namespace alb {
1998
3500
  */
1999
3501
  stickySessionType?: string;
2000
3502
  }
3503
+ interface ServerGroupTag {
3504
+ /**
3505
+ * The Key of Tags.
3506
+ */
3507
+ key: string;
3508
+ /**
3509
+ * The Value of Tags.
3510
+ */
3511
+ value: string;
3512
+ }
2001
3513
  interface ServerGroupsServerGroup {
2002
3514
  /**
2003
3515
  * The create time of the Alb server group.
2004
3516
  */
2005
3517
  createTime: string;
3518
+ /**
3519
+ * Whether to enable cross-zone load balancing for the server group.
3520
+ */
3521
+ crossZoneEnabled: string;
2006
3522
  /**
2007
3523
  * The description of the server group server.
2008
3524
  */
@@ -2015,6 +3531,10 @@ export declare namespace alb {
2015
3531
  * The ID of the Alb server group.
2016
3532
  */
2017
3533
  id: string;
3534
+ /**
3535
+ * The ip address type of the server group.
3536
+ */
3537
+ ipAddressType: string;
2018
3538
  /**
2019
3539
  * The listener information of the Alb server group.
2020
3540
  */
@@ -2023,6 +3543,10 @@ export declare namespace alb {
2023
3543
  * The project name of Alb server group.
2024
3544
  */
2025
3545
  projectName: string;
3546
+ /**
3547
+ * The backend protocol of the Alb server group.
3548
+ */
3549
+ protocol: string;
2026
3550
  /**
2027
3551
  * The scheduler algorithm of the Alb server group.
2028
3552
  */
@@ -2055,12 +3579,16 @@ export declare namespace alb {
2055
3579
  * The sticky session config of the Alb server group.
2056
3580
  */
2057
3581
  stickySessionConfigs: outputs.alb.ServerGroupsServerGroupStickySessionConfig[];
3582
+ /**
3583
+ * Tags.
3584
+ */
3585
+ tags: outputs.alb.ServerGroupsServerGroupTag[];
2058
3586
  /**
2059
3587
  * The update time of the Alb server group.
2060
3588
  */
2061
3589
  updateTime: string;
2062
3590
  /**
2063
- * The vpc id of the Alb server group.
3591
+ * The vpc id of Alb server group.
2064
3592
  */
2065
3593
  vpcId: string;
2066
3594
  }
@@ -2080,11 +3608,11 @@ export declare namespace alb {
2080
3608
  /**
2081
3609
  * The normal http status code of health check.
2082
3610
  */
2083
- httpCode?: string;
3611
+ httpCode: string;
2084
3612
  /**
2085
3613
  * The http version of health check.
2086
3614
  */
2087
- httpVersion?: string;
3615
+ httpVersion: string;
2088
3616
  /**
2089
3617
  * The interval executing health check.
2090
3618
  */
@@ -2094,9 +3622,13 @@ export declare namespace alb {
2094
3622
  */
2095
3623
  method: string;
2096
3624
  /**
2097
- * The protocol of health check.
3625
+ * The port receiving request of the server group server.
2098
3626
  */
2099
- protocol?: string;
3627
+ port: number;
3628
+ /**
3629
+ * The backend protocol of the Alb server group.
3630
+ */
3631
+ protocol: string;
2100
3632
  /**
2101
3633
  * The response timeout of health check.
2102
3634
  */
@@ -2162,6 +3694,26 @@ export declare namespace alb {
2162
3694
  */
2163
3695
  stickySessionType: string;
2164
3696
  }
3697
+ interface ServerGroupsServerGroupTag {
3698
+ /**
3699
+ * The Key of Tags.
3700
+ */
3701
+ key: string;
3702
+ /**
3703
+ * The Value of Tags.
3704
+ */
3705
+ value: string;
3706
+ }
3707
+ interface ServerGroupsTag {
3708
+ /**
3709
+ * The Key of Tags.
3710
+ */
3711
+ key: string;
3712
+ /**
3713
+ * The Value of Tags.
3714
+ */
3715
+ value: string;
3716
+ }
2165
3717
  interface ZonesZone {
2166
3718
  /**
2167
3719
  * The id of the zone.