@alicloud/esa20240910 2.27.0 → 2.27.1
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.
- package/dist/client.d.ts +2 -2
- package/dist/client.js +2 -2
- package/dist/models/CreateLoadBalancerRequest.d.ts +3 -3
- package/dist/models/CreateLoadBalancerRequestMonitor.d.ts +5 -4
- package/dist/models/CreateLoadBalancerRequestMonitor.js +2 -0
- package/dist/models/CreateLoadBalancerRequestMonitor.js.map +1 -1
- package/dist/models/CreateLoadBalancerRequestRandomSteering.d.ts +1 -1
- package/dist/models/CreateLoadBalancerRequestRules.d.ts +2 -2
- package/dist/models/CreateLoadBalancerShrinkRequest.d.ts +3 -3
- package/dist/models/GetLoadBalancerResponseBodyMonitor.d.ts +1 -0
- package/dist/models/GetLoadBalancerResponseBodyMonitor.js +2 -0
- package/dist/models/GetLoadBalancerResponseBodyMonitor.js.map +1 -1
- package/dist/models/ListLoadBalancersResponseBodyLoadBalancersMonitor.d.ts +1 -0
- package/dist/models/ListLoadBalancersResponseBodyLoadBalancersMonitor.js +2 -0
- package/dist/models/ListLoadBalancersResponseBodyLoadBalancersMonitor.js.map +1 -1
- package/dist/models/ListWafManagedRulesResponseBodyRules.d.ts +1 -1
- package/dist/models/UpdateLoadBalancerRequest.d.ts +3 -3
- package/dist/models/UpdateLoadBalancerRequestAdaptiveRouting.d.ts +1 -1
- package/dist/models/UpdateLoadBalancerRequestMonitor.d.ts +2 -1
- package/dist/models/UpdateLoadBalancerRequestMonitor.js +2 -0
- package/dist/models/UpdateLoadBalancerRequestMonitor.js.map +1 -1
- package/dist/models/UpdateLoadBalancerRequestRandomSteering.d.ts +2 -2
- package/dist/models/UpdateLoadBalancerRequestRules.d.ts +2 -2
- package/dist/models/UpdateLoadBalancerShrinkRequest.d.ts +3 -3
- package/package.json +1 -1
- package/src/client.ts +2 -2
- package/src/models/CreateLoadBalancerRequest.ts +3 -3
- package/src/models/CreateLoadBalancerRequestMonitor.ts +7 -4
- package/src/models/CreateLoadBalancerRequestRandomSteering.ts +1 -1
- package/src/models/CreateLoadBalancerRequestRules.ts +2 -2
- package/src/models/CreateLoadBalancerShrinkRequest.ts +3 -3
- package/src/models/GetLoadBalancerResponseBodyMonitor.ts +3 -0
- package/src/models/ListLoadBalancersResponseBodyLoadBalancersMonitor.ts +3 -0
- package/src/models/ListWafManagedRulesResponseBodyRules.ts +1 -1
- package/src/models/UpdateLoadBalancerRequest.ts +3 -3
- package/src/models/UpdateLoadBalancerRequestAdaptiveRouting.ts +1 -1
- package/src/models/UpdateLoadBalancerRequestMonitor.ts +4 -1
- package/src/models/UpdateLoadBalancerRequestRandomSteering.ts +2 -2
- package/src/models/UpdateLoadBalancerRequestRules.ts +2 -2
- package/src/models/UpdateLoadBalancerShrinkRequest.ts +3 -3
package/dist/client.d.ts
CHANGED
|
@@ -649,7 +649,7 @@ export default class Client extends OpenApi {
|
|
|
649
649
|
* Add a New Load Balancer
|
|
650
650
|
*
|
|
651
651
|
* @remarks
|
|
652
|
-
* Through this API, users can configure load balancing services according to their business needs, including but not limited to adaptive routing, weighted round-robin, rule matching, health checks, and
|
|
652
|
+
* Through this API, users can configure load balancing services according to their business needs, including but not limited to adaptive routing, weighted round-robin, rule matching, health checks, and more, to achieve effective traffic management and optimization.
|
|
653
653
|
*
|
|
654
654
|
* @param tmpReq - CreateLoadBalancerRequest
|
|
655
655
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -660,7 +660,7 @@ export default class Client extends OpenApi {
|
|
|
660
660
|
* Add a New Load Balancer
|
|
661
661
|
*
|
|
662
662
|
* @remarks
|
|
663
|
-
* Through this API, users can configure load balancing services according to their business needs, including but not limited to adaptive routing, weighted round-robin, rule matching, health checks, and
|
|
663
|
+
* Through this API, users can configure load balancing services according to their business needs, including but not limited to adaptive routing, weighted round-robin, rule matching, health checks, and more, to achieve effective traffic management and optimization.
|
|
664
664
|
*
|
|
665
665
|
* @param request - CreateLoadBalancerRequest
|
|
666
666
|
* @returns CreateLoadBalancerResponse
|
package/dist/client.js
CHANGED
|
@@ -2049,7 +2049,7 @@ class Client extends openapi_core_1.default {
|
|
|
2049
2049
|
* Add a New Load Balancer
|
|
2050
2050
|
*
|
|
2051
2051
|
* @remarks
|
|
2052
|
-
* Through this API, users can configure load balancing services according to their business needs, including but not limited to adaptive routing, weighted round-robin, rule matching, health checks, and
|
|
2052
|
+
* Through this API, users can configure load balancing services according to their business needs, including but not limited to adaptive routing, weighted round-robin, rule matching, health checks, and more, to achieve effective traffic management and optimization.
|
|
2053
2053
|
*
|
|
2054
2054
|
* @param tmpReq - CreateLoadBalancerRequest
|
|
2055
2055
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2140,7 +2140,7 @@ class Client extends openapi_core_1.default {
|
|
|
2140
2140
|
* Add a New Load Balancer
|
|
2141
2141
|
*
|
|
2142
2142
|
* @remarks
|
|
2143
|
-
* Through this API, users can configure load balancing services according to their business needs, including but not limited to adaptive routing, weighted round-robin, rule matching, health checks, and
|
|
2143
|
+
* Through this API, users can configure load balancing services according to their business needs, including but not limited to adaptive routing, weighted round-robin, rule matching, health checks, and more, to achieve effective traffic management and optimization.
|
|
2144
2144
|
*
|
|
2145
2145
|
* @param request - CreateLoadBalancerRequest
|
|
2146
2146
|
* @returns CreateLoadBalancerResponse
|
|
@@ -27,7 +27,7 @@ export declare class CreateLoadBalancerRequest extends $dara.Model {
|
|
|
27
27
|
* Detailed description of the load balancer, for easier management and identification.
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
|
-
*
|
|
30
|
+
* Load balancer description
|
|
31
31
|
*/
|
|
32
32
|
description?: string;
|
|
33
33
|
/**
|
|
@@ -136,7 +136,7 @@ export declare class CreateLoadBalancerRequest extends $dara.Model {
|
|
|
136
136
|
* @remarks
|
|
137
137
|
* Load balancing strategy.
|
|
138
138
|
*
|
|
139
|
-
* - geo:
|
|
139
|
+
* - geo: Geographical strategy.
|
|
140
140
|
* - random: Weighted round-robin.
|
|
141
141
|
* - order: Primary and backup method.
|
|
142
142
|
*
|
|
@@ -148,7 +148,7 @@ export declare class CreateLoadBalancerRequest extends $dara.Model {
|
|
|
148
148
|
steeringPolicy?: string;
|
|
149
149
|
/**
|
|
150
150
|
* @remarks
|
|
151
|
-
* Address pools corresponding to secondary regions. When multiple secondary regions share
|
|
151
|
+
* Address pools corresponding to secondary regions. When multiple secondary regions share the same set of address pools, the keys can be concatenated with commas.
|
|
152
152
|
*
|
|
153
153
|
* @example
|
|
154
154
|
* {"AL,MO": [92298024898****],"CN-SH,CN-SX,CN-SC":[92304347804****,92843536908****]}
|
|
@@ -18,7 +18,7 @@ export declare class CreateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
18
18
|
consecutiveUp?: number;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* Expected status codes, such as `200,202`,
|
|
21
|
+
* Expected status codes, such as `200,202`, which are successful HTTP responses.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* 200
|
|
@@ -37,7 +37,7 @@ export declare class CreateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
37
37
|
followRedirects?: boolean;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* Header information included in the probe, which is
|
|
40
|
+
* Header information included in the probe, which is an HTTP header.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* {
|
|
@@ -50,7 +50,7 @@ export declare class CreateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
50
50
|
header?: any;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* Monitoring interval, such as `60` seconds,
|
|
53
|
+
* Monitoring interval, such as `60` seconds, which is the frequency of checks.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* 60
|
|
@@ -64,9 +64,10 @@ export declare class CreateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
64
64
|
* GET
|
|
65
65
|
*/
|
|
66
66
|
method?: string;
|
|
67
|
+
monitoringRegion?: string;
|
|
67
68
|
/**
|
|
68
69
|
* @remarks
|
|
69
|
-
* Monitor check path, such as `/healthcheck`, which is
|
|
70
|
+
* Monitor check path, such as `/healthcheck`, which is an HTTP request path.
|
|
70
71
|
*
|
|
71
72
|
* @example
|
|
72
73
|
* /health
|
|
@@ -46,6 +46,7 @@ class CreateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
46
46
|
header: 'Header',
|
|
47
47
|
interval: 'Interval',
|
|
48
48
|
method: 'Method',
|
|
49
|
+
monitoringRegion: 'MonitoringRegion',
|
|
49
50
|
path: 'Path',
|
|
50
51
|
port: 'Port',
|
|
51
52
|
timeout: 'Timeout',
|
|
@@ -61,6 +62,7 @@ class CreateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
61
62
|
header: 'any',
|
|
62
63
|
interval: 'number',
|
|
63
64
|
method: 'string',
|
|
65
|
+
monitoringRegion: 'string',
|
|
64
66
|
path: 'string',
|
|
65
67
|
port: 'number',
|
|
66
68
|
timeout: 'number',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateLoadBalancerRequestMonitor.js","sourceRoot":"","sources":["../../src/models/CreateLoadBalancerRequestMonitor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateLoadBalancerRequestMonitor.js","sourceRoot":"","sources":["../../src/models/CreateLoadBalancerRequestMonitor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IA0G/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,iBAAiB;YAClC,aAAa,EAAE,eAAe;YAC9B,aAAa,EAAE,eAAe;YAC9B,eAAe,EAAE,iBAAiB;YAClC,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,gBAAgB,EAAE,kBAAkB;YACpC,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,QAAQ;YACzB,aAAa,EAAE,QAAQ;YACvB,aAAa,EAAE,QAAQ;YACvB,eAAe,EAAE,SAAS;YAC1B,MAAM,EAAE,KAAK;YACb,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,gBAAgB,EAAE,QAAQ;YAC1B,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnJD,4EAmJC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateLoadBalancerRequestRandomSteering extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* Default weight for
|
|
5
|
+
* Default weight for all pools that do not have individual weights specified. The value range is an integer between 0 and 100.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 50
|
|
@@ -80,7 +80,7 @@ export declare class CreateLoadBalancerRequestRules extends $dara.Model {
|
|
|
80
80
|
ruleEnable?: string;
|
|
81
81
|
/**
|
|
82
82
|
* @remarks
|
|
83
|
-
*
|
|
83
|
+
* The name of the rule. This parameter does not need to be set when adding global configurations.
|
|
84
84
|
*
|
|
85
85
|
* @example
|
|
86
86
|
* rule_1
|
|
@@ -88,7 +88,7 @@ export declare class CreateLoadBalancerRequestRules extends $dara.Model {
|
|
|
88
88
|
ruleName?: string;
|
|
89
89
|
/**
|
|
90
90
|
* @remarks
|
|
91
|
-
* The execution order of the rule. It can be left blank, in which case the rules will be executed in the order they appear in the list. If specified, it
|
|
91
|
+
* The execution order of the rule. It can be left blank, in which case the rules will be executed in the order they appear in the list. If specified, it must be a positive integer, with higher values indicating higher priority.
|
|
92
92
|
*
|
|
93
93
|
* @example
|
|
94
94
|
* 1
|
|
@@ -23,7 +23,7 @@ export declare class CreateLoadBalancerShrinkRequest extends $dara.Model {
|
|
|
23
23
|
* Detailed description of the load balancer, for easier management and identification.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
|
-
*
|
|
26
|
+
* Load balancer description
|
|
27
27
|
*/
|
|
28
28
|
description?: string;
|
|
29
29
|
/**
|
|
@@ -132,7 +132,7 @@ export declare class CreateLoadBalancerShrinkRequest extends $dara.Model {
|
|
|
132
132
|
* @remarks
|
|
133
133
|
* Load balancing strategy.
|
|
134
134
|
*
|
|
135
|
-
* - geo:
|
|
135
|
+
* - geo: Geographical strategy.
|
|
136
136
|
* - random: Weighted round-robin.
|
|
137
137
|
* - order: Primary and backup method.
|
|
138
138
|
*
|
|
@@ -144,7 +144,7 @@ export declare class CreateLoadBalancerShrinkRequest extends $dara.Model {
|
|
|
144
144
|
steeringPolicy?: string;
|
|
145
145
|
/**
|
|
146
146
|
* @remarks
|
|
147
|
-
* Address pools corresponding to secondary regions. When multiple secondary regions share
|
|
147
|
+
* Address pools corresponding to secondary regions. When multiple secondary regions share the same set of address pools, the keys can be concatenated with commas.
|
|
148
148
|
*
|
|
149
149
|
* @example
|
|
150
150
|
* {"AL,MO": [92298024898****],"CN-SH,CN-SX,CN-SC":[92304347804****,92843536908****]}
|
|
@@ -46,6 +46,7 @@ class GetLoadBalancerResponseBodyMonitor extends $dara.Model {
|
|
|
46
46
|
header: 'Header',
|
|
47
47
|
interval: 'Interval',
|
|
48
48
|
method: 'Method',
|
|
49
|
+
monitoringRegion: 'MonitoringRegion',
|
|
49
50
|
path: 'Path',
|
|
50
51
|
port: 'Port',
|
|
51
52
|
timeout: 'Timeout',
|
|
@@ -61,6 +62,7 @@ class GetLoadBalancerResponseBodyMonitor extends $dara.Model {
|
|
|
61
62
|
header: 'any',
|
|
62
63
|
interval: 'number',
|
|
63
64
|
method: 'string',
|
|
65
|
+
monitoringRegion: 'string',
|
|
64
66
|
path: 'string',
|
|
65
67
|
port: 'number',
|
|
66
68
|
timeout: 'number',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetLoadBalancerResponseBodyMonitor.js","sourceRoot":"","sources":["../../src/models/GetLoadBalancerResponseBodyMonitor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"GetLoadBalancerResponseBodyMonitor.js","sourceRoot":"","sources":["../../src/models/GetLoadBalancerResponseBodyMonitor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAkGjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,iBAAiB;YAClC,aAAa,EAAE,eAAe;YAC9B,aAAa,EAAE,eAAe;YAC9B,eAAe,EAAE,iBAAiB;YAClC,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,gBAAgB,EAAE,kBAAkB;YACpC,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,QAAQ;YACzB,aAAa,EAAE,QAAQ;YACvB,aAAa,EAAE,QAAQ;YACvB,eAAe,EAAE,SAAS;YAC1B,MAAM,EAAE,KAAK;YACb,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,gBAAgB,EAAE,QAAQ;YAC1B,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3ID,gFA2IC"}
|
|
@@ -46,6 +46,7 @@ class ListLoadBalancersResponseBodyLoadBalancersMonitor extends $dara.Model {
|
|
|
46
46
|
header: 'Header',
|
|
47
47
|
interval: 'Interval',
|
|
48
48
|
method: 'Method',
|
|
49
|
+
monitoringRegion: 'MonitoringRegion',
|
|
49
50
|
path: 'Path',
|
|
50
51
|
port: 'Port',
|
|
51
52
|
timeout: 'Timeout',
|
|
@@ -61,6 +62,7 @@ class ListLoadBalancersResponseBodyLoadBalancersMonitor extends $dara.Model {
|
|
|
61
62
|
header: 'any',
|
|
62
63
|
interval: 'number',
|
|
63
64
|
method: 'string',
|
|
65
|
+
monitoringRegion: 'string',
|
|
64
66
|
path: 'string',
|
|
65
67
|
port: 'number',
|
|
66
68
|
timeout: 'number',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListLoadBalancersResponseBodyLoadBalancersMonitor.js","sourceRoot":"","sources":["../../src/models/ListLoadBalancersResponseBodyLoadBalancersMonitor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iDAAkD,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ListLoadBalancersResponseBodyLoadBalancersMonitor.js","sourceRoot":"","sources":["../../src/models/ListLoadBalancersResponseBodyLoadBalancersMonitor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iDAAkD,SAAQ,KAAK,CAAC,KAAK;IAkGhF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,iBAAiB;YAClC,aAAa,EAAE,eAAe;YAC9B,aAAa,EAAE,eAAe;YAC9B,eAAe,EAAE,iBAAiB;YAClC,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,gBAAgB,EAAE,kBAAkB;YACpC,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,QAAQ;YACzB,aAAa,EAAE,QAAQ;YACvB,aAAa,EAAE,QAAQ;YACvB,eAAe,EAAE,SAAS;YAC1B,MAAM,EAAE,KAAK;YACb,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,gBAAgB,EAAE,QAAQ;YAC1B,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3ID,8GA2IC"}
|
|
@@ -6,7 +6,7 @@ import { UpdateLoadBalancerRequestRules } from "./UpdateLoadBalancerRequestRules
|
|
|
6
6
|
export declare class UpdateLoadBalancerRequest extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* Configuration for
|
|
9
|
+
* Configuration for fallback across pools.
|
|
10
10
|
*/
|
|
11
11
|
adaptiveRouting?: UpdateLoadBalancerRequestAdaptiveRouting;
|
|
12
12
|
/**
|
|
@@ -19,7 +19,7 @@ export declare class UpdateLoadBalancerRequest extends $dara.Model {
|
|
|
19
19
|
* Detailed description of the load balancer, for easier management and identification.
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
|
-
*
|
|
22
|
+
* Load balancer description
|
|
23
23
|
*/
|
|
24
24
|
description?: string;
|
|
25
25
|
/**
|
|
@@ -116,7 +116,7 @@ export declare class UpdateLoadBalancerRequest extends $dara.Model {
|
|
|
116
116
|
steeringPolicy?: string;
|
|
117
117
|
/**
|
|
118
118
|
* @remarks
|
|
119
|
-
* Address pool corresponding to the secondary region. When multiple secondary regions share the same address pool, the
|
|
119
|
+
* Address pool corresponding to the secondary region. When multiple secondary regions share the same address pool, the regions can be concatenated with commas as the key.
|
|
120
120
|
*
|
|
121
121
|
* @example
|
|
122
122
|
* {"AL,MO": [92298024898****],"CN-SH,CN-SX,CN-SC":[92304347804****,92843536908****]}
|
|
@@ -64,6 +64,7 @@ export declare class UpdateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
64
64
|
* GET
|
|
65
65
|
*/
|
|
66
66
|
method?: string;
|
|
67
|
+
monitoringRegion?: string;
|
|
67
68
|
/**
|
|
68
69
|
* @remarks
|
|
69
70
|
* Monitor check path, such as /healthcheck, which is the HTTP request path.
|
|
@@ -90,7 +91,7 @@ export declare class UpdateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
90
91
|
timeout?: number;
|
|
91
92
|
/**
|
|
92
93
|
* @remarks
|
|
93
|
-
* Monitor protocol type, such as HTTP, used for health checks. When set to \\"off\\", no
|
|
94
|
+
* Monitor protocol type, such as HTTP, used for health checks. When set to \\"off\\", no checks are performed.
|
|
94
95
|
*
|
|
95
96
|
* @example
|
|
96
97
|
* HTTP
|
|
@@ -46,6 +46,7 @@ class UpdateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
46
46
|
header: 'Header',
|
|
47
47
|
interval: 'Interval',
|
|
48
48
|
method: 'Method',
|
|
49
|
+
monitoringRegion: 'MonitoringRegion',
|
|
49
50
|
path: 'Path',
|
|
50
51
|
port: 'Port',
|
|
51
52
|
timeout: 'Timeout',
|
|
@@ -61,6 +62,7 @@ class UpdateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
61
62
|
header: 'any',
|
|
62
63
|
interval: 'number',
|
|
63
64
|
method: 'string',
|
|
65
|
+
monitoringRegion: 'string',
|
|
64
66
|
path: 'string',
|
|
65
67
|
port: 'number',
|
|
66
68
|
timeout: 'number',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateLoadBalancerRequestMonitor.js","sourceRoot":"","sources":["../../src/models/UpdateLoadBalancerRequestMonitor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"UpdateLoadBalancerRequestMonitor.js","sourceRoot":"","sources":["../../src/models/UpdateLoadBalancerRequestMonitor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAkG/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,iBAAiB;YAClC,aAAa,EAAE,eAAe;YAC9B,aAAa,EAAE,eAAe;YAC9B,eAAe,EAAE,iBAAiB;YAClC,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,gBAAgB,EAAE,kBAAkB;YACpC,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,eAAe,EAAE,QAAQ;YACzB,aAAa,EAAE,QAAQ;YACvB,aAAa,EAAE,QAAQ;YACvB,eAAe,EAAE,SAAS;YAC1B,MAAM,EAAE,KAAK;YACb,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,gBAAgB,EAAE,QAAQ;YAC1B,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA3ID,4EA2IC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class UpdateLoadBalancerRequestRandomSteering extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
5
|
+
* Default round-robin weight, used for all pools that do not have a separately specified weight. Value range: integers between 0-100.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 50
|
|
@@ -10,7 +10,7 @@ export declare class UpdateLoadBalancerRequestRandomSteering extends $dara.Model
|
|
|
10
10
|
defaultWeight?: number;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* Weight configuration for each backend server pool, where the key is the pool ID and the value is the weight
|
|
13
|
+
* Weight configuration for each backend server pool, where the key is the pool ID and the value is the weight factor. The weight factor represents the proportion of relative traffic distribution.
|
|
14
14
|
*/
|
|
15
15
|
poolWeights?: {
|
|
16
16
|
[key: string]: number;
|
|
@@ -59,7 +59,7 @@ export declare class UpdateLoadBalancerRequestRules extends $dara.Model {
|
|
|
59
59
|
* @remarks
|
|
60
60
|
* Rule content, using conditional expressions to match user requests. This parameter does not need to be set when adding global configurations. There are two usage scenarios:
|
|
61
61
|
* - Match all incoming requests: Set the value to true
|
|
62
|
-
* - Match specific requests: Set the value to a custom expression,
|
|
62
|
+
* - Match specific requests: Set the value to a custom expression, e.g., (http.host eq \\"video.example.com\\")
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
65
|
* http.request.method eq "GET"
|
|
@@ -85,7 +85,7 @@ export declare class UpdateLoadBalancerRequestRules extends $dara.Model {
|
|
|
85
85
|
ruleName?: string;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The execution order of the rule. It can be left
|
|
88
|
+
* The execution order of the rule. It can be left blank, in which case the rules will be executed in the order they appear in the list. If specified, it must be a positive integer, with higher values indicating higher priority.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* 1
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class UpdateLoadBalancerShrinkRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* Configuration for
|
|
5
|
+
* Configuration for fallback across pools.
|
|
6
6
|
*/
|
|
7
7
|
adaptiveRoutingShrink?: string;
|
|
8
8
|
/**
|
|
@@ -15,7 +15,7 @@ export declare class UpdateLoadBalancerShrinkRequest extends $dara.Model {
|
|
|
15
15
|
* Detailed description of the load balancer, for easier management and identification.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
|
-
*
|
|
18
|
+
* Load balancer description
|
|
19
19
|
*/
|
|
20
20
|
description?: string;
|
|
21
21
|
/**
|
|
@@ -112,7 +112,7 @@ export declare class UpdateLoadBalancerShrinkRequest extends $dara.Model {
|
|
|
112
112
|
steeringPolicy?: string;
|
|
113
113
|
/**
|
|
114
114
|
* @remarks
|
|
115
|
-
* Address pool corresponding to the secondary region. When multiple secondary regions share the same address pool, the
|
|
115
|
+
* Address pool corresponding to the secondary region. When multiple secondary regions share the same address pool, the regions can be concatenated with commas as the key.
|
|
116
116
|
*
|
|
117
117
|
* @example
|
|
118
118
|
* {"AL,MO": [92298024898****],"CN-SH,CN-SX,CN-SC":[92304347804****,92843536908****]}
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -2261,7 +2261,7 @@ export default class Client extends OpenApi {
|
|
|
2261
2261
|
* Add a New Load Balancer
|
|
2262
2262
|
*
|
|
2263
2263
|
* @remarks
|
|
2264
|
-
* Through this API, users can configure load balancing services according to their business needs, including but not limited to adaptive routing, weighted round-robin, rule matching, health checks, and
|
|
2264
|
+
* Through this API, users can configure load balancing services according to their business needs, including but not limited to adaptive routing, weighted round-robin, rule matching, health checks, and more, to achieve effective traffic management and optimization.
|
|
2265
2265
|
*
|
|
2266
2266
|
* @param tmpReq - CreateLoadBalancerRequest
|
|
2267
2267
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2373,7 +2373,7 @@ export default class Client extends OpenApi {
|
|
|
2373
2373
|
* Add a New Load Balancer
|
|
2374
2374
|
*
|
|
2375
2375
|
* @remarks
|
|
2376
|
-
* Through this API, users can configure load balancing services according to their business needs, including but not limited to adaptive routing, weighted round-robin, rule matching, health checks, and
|
|
2376
|
+
* Through this API, users can configure load balancing services according to their business needs, including but not limited to adaptive routing, weighted round-robin, rule matching, health checks, and more, to achieve effective traffic management and optimization.
|
|
2377
2377
|
*
|
|
2378
2378
|
* @param request - CreateLoadBalancerRequest
|
|
2379
2379
|
* @returns CreateLoadBalancerResponse
|
|
@@ -30,7 +30,7 @@ export class CreateLoadBalancerRequest extends $dara.Model {
|
|
|
30
30
|
* Detailed description of the load balancer, for easier management and identification.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
|
-
*
|
|
33
|
+
* Load balancer description
|
|
34
34
|
*/
|
|
35
35
|
description?: string;
|
|
36
36
|
/**
|
|
@@ -139,7 +139,7 @@ export class CreateLoadBalancerRequest extends $dara.Model {
|
|
|
139
139
|
* @remarks
|
|
140
140
|
* Load balancing strategy.
|
|
141
141
|
*
|
|
142
|
-
* - geo:
|
|
142
|
+
* - geo: Geographical strategy.
|
|
143
143
|
* - random: Weighted round-robin.
|
|
144
144
|
* - order: Primary and backup method.
|
|
145
145
|
*
|
|
@@ -151,7 +151,7 @@ export class CreateLoadBalancerRequest extends $dara.Model {
|
|
|
151
151
|
steeringPolicy?: string;
|
|
152
152
|
/**
|
|
153
153
|
* @remarks
|
|
154
|
-
* Address pools corresponding to secondary regions. When multiple secondary regions share
|
|
154
|
+
* Address pools corresponding to secondary regions. When multiple secondary regions share the same set of address pools, the keys can be concatenated with commas.
|
|
155
155
|
*
|
|
156
156
|
* @example
|
|
157
157
|
* {"AL,MO": [92298024898****],"CN-SH,CN-SX,CN-SC":[92304347804****,92843536908****]}
|
|
@@ -21,7 +21,7 @@ export class CreateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
21
21
|
consecutiveUp?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* Expected status codes, such as `200,202`,
|
|
24
|
+
* Expected status codes, such as `200,202`, which are successful HTTP responses.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 200
|
|
@@ -40,7 +40,7 @@ export class CreateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
40
40
|
followRedirects?: boolean;
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
* Header information included in the probe, which is
|
|
43
|
+
* Header information included in the probe, which is an HTTP header.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
46
|
* {
|
|
@@ -53,7 +53,7 @@ export class CreateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
53
53
|
header?: any;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* Monitoring interval, such as `60` seconds,
|
|
56
|
+
* Monitoring interval, such as `60` seconds, which is the frequency of checks.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* 60
|
|
@@ -67,9 +67,10 @@ export class CreateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
67
67
|
* GET
|
|
68
68
|
*/
|
|
69
69
|
method?: string;
|
|
70
|
+
monitoringRegion?: string;
|
|
70
71
|
/**
|
|
71
72
|
* @remarks
|
|
72
|
-
* Monitor check path, such as `/healthcheck`, which is
|
|
73
|
+
* Monitor check path, such as `/healthcheck`, which is an HTTP request path.
|
|
73
74
|
*
|
|
74
75
|
* @example
|
|
75
76
|
* /health
|
|
@@ -116,6 +117,7 @@ export class CreateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
116
117
|
header: 'Header',
|
|
117
118
|
interval: 'Interval',
|
|
118
119
|
method: 'Method',
|
|
120
|
+
monitoringRegion: 'MonitoringRegion',
|
|
119
121
|
path: 'Path',
|
|
120
122
|
port: 'Port',
|
|
121
123
|
timeout: 'Timeout',
|
|
@@ -132,6 +134,7 @@ export class CreateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
132
134
|
header: 'any',
|
|
133
135
|
interval: 'number',
|
|
134
136
|
method: 'string',
|
|
137
|
+
monitoringRegion: 'string',
|
|
135
138
|
path: 'string',
|
|
136
139
|
port: 'number',
|
|
137
140
|
timeout: 'number',
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateLoadBalancerRequestRandomSteering extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Default weight for
|
|
8
|
+
* Default weight for all pools that do not have individual weights specified. The value range is an integer between 0 and 100.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 50
|
|
@@ -83,7 +83,7 @@ export class CreateLoadBalancerRequestRules extends $dara.Model {
|
|
|
83
83
|
ruleEnable?: string;
|
|
84
84
|
/**
|
|
85
85
|
* @remarks
|
|
86
|
-
*
|
|
86
|
+
* The name of the rule. This parameter does not need to be set when adding global configurations.
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
89
|
* rule_1
|
|
@@ -91,7 +91,7 @@ export class CreateLoadBalancerRequestRules extends $dara.Model {
|
|
|
91
91
|
ruleName?: string;
|
|
92
92
|
/**
|
|
93
93
|
* @remarks
|
|
94
|
-
* The execution order of the rule. It can be left blank, in which case the rules will be executed in the order they appear in the list. If specified, it
|
|
94
|
+
* The execution order of the rule. It can be left blank, in which case the rules will be executed in the order they appear in the list. If specified, it must be a positive integer, with higher values indicating higher priority.
|
|
95
95
|
*
|
|
96
96
|
* @example
|
|
97
97
|
* 1
|
|
@@ -26,7 +26,7 @@ export class CreateLoadBalancerShrinkRequest extends $dara.Model {
|
|
|
26
26
|
* Detailed description of the load balancer, for easier management and identification.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
|
-
*
|
|
29
|
+
* Load balancer description
|
|
30
30
|
*/
|
|
31
31
|
description?: string;
|
|
32
32
|
/**
|
|
@@ -135,7 +135,7 @@ export class CreateLoadBalancerShrinkRequest extends $dara.Model {
|
|
|
135
135
|
* @remarks
|
|
136
136
|
* Load balancing strategy.
|
|
137
137
|
*
|
|
138
|
-
* - geo:
|
|
138
|
+
* - geo: Geographical strategy.
|
|
139
139
|
* - random: Weighted round-robin.
|
|
140
140
|
* - order: Primary and backup method.
|
|
141
141
|
*
|
|
@@ -147,7 +147,7 @@ export class CreateLoadBalancerShrinkRequest extends $dara.Model {
|
|
|
147
147
|
steeringPolicy?: string;
|
|
148
148
|
/**
|
|
149
149
|
* @remarks
|
|
150
|
-
* Address pools corresponding to secondary regions. When multiple secondary regions share
|
|
150
|
+
* Address pools corresponding to secondary regions. When multiple secondary regions share the same set of address pools, the keys can be concatenated with commas.
|
|
151
151
|
*
|
|
152
152
|
* @example
|
|
153
153
|
* {"AL,MO": [92298024898****],"CN-SH,CN-SX,CN-SC":[92304347804****,92843536908****]}
|
|
@@ -67,6 +67,7 @@ export class GetLoadBalancerResponseBodyMonitor extends $dara.Model {
|
|
|
67
67
|
* GET
|
|
68
68
|
*/
|
|
69
69
|
method?: string;
|
|
70
|
+
monitoringRegion?: string;
|
|
70
71
|
/**
|
|
71
72
|
* @remarks
|
|
72
73
|
* Path.
|
|
@@ -108,6 +109,7 @@ export class GetLoadBalancerResponseBodyMonitor extends $dara.Model {
|
|
|
108
109
|
header: 'Header',
|
|
109
110
|
interval: 'Interval',
|
|
110
111
|
method: 'Method',
|
|
112
|
+
monitoringRegion: 'MonitoringRegion',
|
|
111
113
|
path: 'Path',
|
|
112
114
|
port: 'Port',
|
|
113
115
|
timeout: 'Timeout',
|
|
@@ -124,6 +126,7 @@ export class GetLoadBalancerResponseBodyMonitor extends $dara.Model {
|
|
|
124
126
|
header: 'any',
|
|
125
127
|
interval: 'number',
|
|
126
128
|
method: 'string',
|
|
129
|
+
monitoringRegion: 'string',
|
|
127
130
|
path: 'string',
|
|
128
131
|
port: 'number',
|
|
129
132
|
timeout: 'number',
|
|
@@ -67,6 +67,7 @@ export class ListLoadBalancersResponseBodyLoadBalancersMonitor extends $dara.Mod
|
|
|
67
67
|
* GET
|
|
68
68
|
*/
|
|
69
69
|
method?: string;
|
|
70
|
+
monitoringRegion?: string;
|
|
70
71
|
/**
|
|
71
72
|
* @remarks
|
|
72
73
|
* The path.
|
|
@@ -108,6 +109,7 @@ export class ListLoadBalancersResponseBodyLoadBalancersMonitor extends $dara.Mod
|
|
|
108
109
|
header: 'Header',
|
|
109
110
|
interval: 'Interval',
|
|
110
111
|
method: 'Method',
|
|
112
|
+
monitoringRegion: 'MonitoringRegion',
|
|
111
113
|
path: 'Path',
|
|
112
114
|
port: 'Port',
|
|
113
115
|
timeout: 'Timeout',
|
|
@@ -124,6 +126,7 @@ export class ListLoadBalancersResponseBodyLoadBalancersMonitor extends $dara.Mod
|
|
|
124
126
|
header: 'any',
|
|
125
127
|
interval: 'number',
|
|
126
128
|
method: 'string',
|
|
129
|
+
monitoringRegion: 'string',
|
|
127
130
|
path: 'string',
|
|
128
131
|
port: 'number',
|
|
129
132
|
timeout: 'number',
|
|
@@ -9,7 +9,7 @@ import { UpdateLoadBalancerRequestRules } from "./UpdateLoadBalancerRequestRules
|
|
|
9
9
|
export class UpdateLoadBalancerRequest extends $dara.Model {
|
|
10
10
|
/**
|
|
11
11
|
* @remarks
|
|
12
|
-
* Configuration for
|
|
12
|
+
* Configuration for fallback across pools.
|
|
13
13
|
*/
|
|
14
14
|
adaptiveRouting?: UpdateLoadBalancerRequestAdaptiveRouting;
|
|
15
15
|
/**
|
|
@@ -22,7 +22,7 @@ export class UpdateLoadBalancerRequest extends $dara.Model {
|
|
|
22
22
|
* Detailed description of the load balancer, for easier management and identification.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
|
-
*
|
|
25
|
+
* Load balancer description
|
|
26
26
|
*/
|
|
27
27
|
description?: string;
|
|
28
28
|
/**
|
|
@@ -119,7 +119,7 @@ export class UpdateLoadBalancerRequest extends $dara.Model {
|
|
|
119
119
|
steeringPolicy?: string;
|
|
120
120
|
/**
|
|
121
121
|
* @remarks
|
|
122
|
-
* Address pool corresponding to the secondary region. When multiple secondary regions share the same address pool, the
|
|
122
|
+
* Address pool corresponding to the secondary region. When multiple secondary regions share the same address pool, the regions can be concatenated with commas as the key.
|
|
123
123
|
*
|
|
124
124
|
* @example
|
|
125
125
|
* {"AL,MO": [92298024898****],"CN-SH,CN-SX,CN-SC":[92304347804****,92843536908****]}
|
|
@@ -67,6 +67,7 @@ export class UpdateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
67
67
|
* GET
|
|
68
68
|
*/
|
|
69
69
|
method?: string;
|
|
70
|
+
monitoringRegion?: string;
|
|
70
71
|
/**
|
|
71
72
|
* @remarks
|
|
72
73
|
* Monitor check path, such as /healthcheck, which is the HTTP request path.
|
|
@@ -93,7 +94,7 @@ export class UpdateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
93
94
|
timeout?: number;
|
|
94
95
|
/**
|
|
95
96
|
* @remarks
|
|
96
|
-
* Monitor protocol type, such as HTTP, used for health checks. When set to \\"off\\", no
|
|
97
|
+
* Monitor protocol type, such as HTTP, used for health checks. When set to \\"off\\", no checks are performed.
|
|
97
98
|
*
|
|
98
99
|
* @example
|
|
99
100
|
* HTTP
|
|
@@ -108,6 +109,7 @@ export class UpdateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
108
109
|
header: 'Header',
|
|
109
110
|
interval: 'Interval',
|
|
110
111
|
method: 'Method',
|
|
112
|
+
monitoringRegion: 'MonitoringRegion',
|
|
111
113
|
path: 'Path',
|
|
112
114
|
port: 'Port',
|
|
113
115
|
timeout: 'Timeout',
|
|
@@ -124,6 +126,7 @@ export class UpdateLoadBalancerRequestMonitor extends $dara.Model {
|
|
|
124
126
|
header: 'any',
|
|
125
127
|
interval: 'number',
|
|
126
128
|
method: 'string',
|
|
129
|
+
monitoringRegion: 'string',
|
|
127
130
|
path: 'string',
|
|
128
131
|
port: 'number',
|
|
129
132
|
timeout: 'number',
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateLoadBalancerRequestRandomSteering extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* Default round-robin weight, used for all pools that do not have a separately specified weight. Value range: integers between 0-100.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 50
|
|
@@ -13,7 +13,7 @@ export class UpdateLoadBalancerRequestRandomSteering extends $dara.Model {
|
|
|
13
13
|
defaultWeight?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* Weight configuration for each backend server pool, where the key is the pool ID and the value is the weight
|
|
16
|
+
* Weight configuration for each backend server pool, where the key is the pool ID and the value is the weight factor. The weight factor represents the proportion of relative traffic distribution.
|
|
17
17
|
*/
|
|
18
18
|
poolWeights?: { [key: string]: number };
|
|
19
19
|
static names(): { [key: string]: string } {
|
|
@@ -62,7 +62,7 @@ export class UpdateLoadBalancerRequestRules extends $dara.Model {
|
|
|
62
62
|
* @remarks
|
|
63
63
|
* Rule content, using conditional expressions to match user requests. This parameter does not need to be set when adding global configurations. There are two usage scenarios:
|
|
64
64
|
* - Match all incoming requests: Set the value to true
|
|
65
|
-
* - Match specific requests: Set the value to a custom expression,
|
|
65
|
+
* - Match specific requests: Set the value to a custom expression, e.g., (http.host eq \\"video.example.com\\")
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
68
|
* http.request.method eq "GET"
|
|
@@ -88,7 +88,7 @@ export class UpdateLoadBalancerRequestRules extends $dara.Model {
|
|
|
88
88
|
ruleName?: string;
|
|
89
89
|
/**
|
|
90
90
|
* @remarks
|
|
91
|
-
* The execution order of the rule. It can be left
|
|
91
|
+
* The execution order of the rule. It can be left blank, in which case the rules will be executed in the order they appear in the list. If specified, it must be a positive integer, with higher values indicating higher priority.
|
|
92
92
|
*
|
|
93
93
|
* @example
|
|
94
94
|
* 1
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateLoadBalancerShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Configuration for
|
|
8
|
+
* Configuration for fallback across pools.
|
|
9
9
|
*/
|
|
10
10
|
adaptiveRoutingShrink?: string;
|
|
11
11
|
/**
|
|
@@ -18,7 +18,7 @@ export class UpdateLoadBalancerShrinkRequest extends $dara.Model {
|
|
|
18
18
|
* Detailed description of the load balancer, for easier management and identification.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
|
-
*
|
|
21
|
+
* Load balancer description
|
|
22
22
|
*/
|
|
23
23
|
description?: string;
|
|
24
24
|
/**
|
|
@@ -115,7 +115,7 @@ export class UpdateLoadBalancerShrinkRequest extends $dara.Model {
|
|
|
115
115
|
steeringPolicy?: string;
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
* Address pool corresponding to the secondary region. When multiple secondary regions share the same address pool, the
|
|
118
|
+
* Address pool corresponding to the secondary region. When multiple secondary regions share the same address pool, the regions can be concatenated with commas as the key.
|
|
119
119
|
*
|
|
120
120
|
* @example
|
|
121
121
|
* {"AL,MO": [92298024898****],"CN-SH,CN-SX,CN-SC":[92304347804****,92843536908****]}
|