@alicloud/sae20190506 2.9.0 → 2.9.2
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 +26 -16
- package/dist/client.js +47 -16
- package/dist/client.js.map +1 -1
- package/dist/models/BatchRestartApplicationsRequest.d.ts +4 -0
- package/dist/models/BatchRestartApplicationsRequest.js.map +1 -1
- package/dist/models/BatchRestartApplicationsResponseBody.d.ts +37 -0
- package/dist/models/BatchRestartApplicationsResponseBody.js.map +1 -1
- package/dist/models/CreateApplicationRequest.d.ts +3 -0
- package/dist/models/CreateApplicationRequest.js +6 -0
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationScalingRuleRequest.d.ts +134 -0
- package/dist/models/CreateApplicationScalingRuleRequest.js.map +1 -1
- package/dist/models/CreateApplicationScalingRuleResponseBody.d.ts +166 -0
- package/dist/models/CreateApplicationScalingRuleResponseBody.js.map +1 -1
- package/dist/models/CreateApplicationShrinkRequest.d.ts +3 -0
- package/dist/models/CreateApplicationShrinkRequest.js +6 -0
- package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
- package/dist/models/CreateIngressRequest.d.ts +100 -26
- package/dist/models/CreateIngressRequest.js.map +1 -1
- package/dist/models/CreateIngressResponseBody.d.ts +15 -15
- package/dist/models/CreateSecretRequest.d.ts +12 -0
- package/dist/models/CreateSecretRequest.js.map +1 -1
- package/dist/models/CreateSecretResponseBody.d.ts +40 -0
- package/dist/models/CreateSecretResponseBody.js.map +1 -1
- package/dist/models/CreateSecretShrinkRequest.d.ts +12 -0
- package/dist/models/CreateSecretShrinkRequest.js.map +1 -1
- package/dist/models/DeployApplicationRequest.d.ts +2 -0
- package/dist/models/DeployApplicationRequest.js +4 -0
- package/dist/models/DeployApplicationRequest.js.map +1 -1
- package/dist/models/DeployApplicationShrinkRequest.d.ts +2 -0
- package/dist/models/DeployApplicationShrinkRequest.js +4 -0
- package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DescribeApplicationConfigResponseBody.d.ts +2 -0
- package/dist/models/DescribeApplicationConfigResponseBody.js +4 -0
- package/dist/models/DescribeApplicationConfigResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationMseServiceRequest.d.ts +4 -0
- package/dist/models/DescribeApplicationMseServiceRequest.js.map +1 -1
- package/dist/models/DescribeApplicationMseServiceResponseBody.d.ts +69 -0
- package/dist/models/DescribeApplicationMseServiceResponseBody.js.map +1 -1
- package/dist/models/DescribeNamespaceResourcesResponseBody.d.ts +1 -0
- package/dist/models/DescribeNamespaceResourcesResponseBody.js +2 -0
- package/dist/models/DescribeNamespaceResourcesResponseBody.js.map +1 -1
- package/dist/models/DowngradeApplicationApmServiceRequest.d.ts +2 -0
- package/dist/models/DowngradeApplicationApmServiceRequest.js.map +1 -1
- package/dist/models/DowngradeApplicationApmServiceResponseBody.d.ts +41 -0
- package/dist/models/DowngradeApplicationApmServiceResponseBody.js.map +1 -1
- package/dist/models/GetWebshellTokenRequest.d.ts +6 -2
- package/dist/models/GetWebshellTokenRequest.js.map +1 -1
- package/dist/models/GetWebshellTokenResponseBody.d.ts +43 -1
- package/dist/models/GetWebshellTokenResponseBody.js.map +1 -1
- package/dist/models/QueryArmsEnableRequest.d.ts +2 -0
- package/dist/models/QueryArmsEnableRequest.js.map +1 -1
- package/dist/models/QueryArmsEnableResponseBody.d.ts +38 -0
- package/dist/models/QueryArmsEnableResponseBody.js.map +1 -1
- package/dist/models/RescaleApplicationVerticallyRequest.d.ts +1 -0
- package/dist/models/RescaleApplicationVerticallyRequest.js +2 -0
- package/dist/models/RescaleApplicationVerticallyRequest.js.map +1 -1
- package/dist/models/UpdateApplicationDescriptionRequest.d.ts +4 -0
- package/dist/models/UpdateApplicationDescriptionRequest.js.map +1 -1
- package/dist/models/UpdateApplicationDescriptionResponseBody.d.ts +36 -0
- package/dist/models/UpdateApplicationDescriptionResponseBody.js.map +1 -1
- package/dist/models/UpdateApplicationVswitchesRequest.d.ts +1 -0
- package/dist/models/UpdateApplicationVswitchesRequest.js +2 -0
- package/dist/models/UpdateApplicationVswitchesRequest.js.map +1 -1
- package/dist/models/UpdateIngressRequest.d.ts +12 -12
- package/dist/models/UpdateIngressResponseBody.d.ts +11 -11
- package/dist/models/UpdateNamespaceSlsConfigsRequest.d.ts +24 -0
- package/dist/models/UpdateNamespaceSlsConfigsRequest.js.map +1 -1
- package/dist/models/UpdateNamespaceSlsConfigsResponseBody.d.ts +23 -1
- package/dist/models/UpdateNamespaceSlsConfigsResponseBody.js.map +1 -1
- package/dist/models/UpgradeApplicationApmServiceRequest.d.ts +2 -0
- package/dist/models/UpgradeApplicationApmServiceRequest.js.map +1 -1
- package/dist/models/UpgradeApplicationApmServiceResponseBody.d.ts +43 -0
- package/dist/models/UpgradeApplicationApmServiceResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +54 -16
- package/src/models/BatchRestartApplicationsRequest.ts +4 -0
- package/src/models/BatchRestartApplicationsResponseBody.ts +37 -0
- package/src/models/CreateApplicationRequest.ts +9 -0
- package/src/models/CreateApplicationScalingRuleRequest.ts +134 -0
- package/src/models/CreateApplicationScalingRuleResponseBody.ts +166 -0
- package/src/models/CreateApplicationShrinkRequest.ts +9 -0
- package/src/models/CreateIngressRequest.ts +100 -26
- package/src/models/CreateIngressResponseBody.ts +15 -15
- package/src/models/CreateSecretRequest.ts +12 -0
- package/src/models/CreateSecretResponseBody.ts +40 -0
- package/src/models/CreateSecretShrinkRequest.ts +12 -0
- package/src/models/DeployApplicationRequest.ts +6 -0
- package/src/models/DeployApplicationShrinkRequest.ts +6 -0
- package/src/models/DescribeApplicationConfigResponseBody.ts +6 -0
- package/src/models/DescribeApplicationMseServiceRequest.ts +4 -0
- package/src/models/DescribeApplicationMseServiceResponseBody.ts +69 -0
- package/src/models/DescribeNamespaceResourcesResponseBody.ts +3 -0
- package/src/models/DowngradeApplicationApmServiceRequest.ts +2 -0
- package/src/models/DowngradeApplicationApmServiceResponseBody.ts +41 -0
- package/src/models/GetWebshellTokenRequest.ts +6 -2
- package/src/models/GetWebshellTokenResponseBody.ts +43 -1
- package/src/models/QueryArmsEnableRequest.ts +2 -0
- package/src/models/QueryArmsEnableResponseBody.ts +38 -0
- package/src/models/RescaleApplicationVerticallyRequest.ts +3 -0
- package/src/models/UpdateApplicationDescriptionRequest.ts +4 -0
- package/src/models/UpdateApplicationDescriptionResponseBody.ts +36 -0
- package/src/models/UpdateApplicationVswitchesRequest.ts +3 -0
- package/src/models/UpdateIngressRequest.ts +12 -12
- package/src/models/UpdateIngressResponseBody.ts +11 -11
- package/src/models/UpdateNamespaceSlsConfigsRequest.ts +24 -0
- package/src/models/UpdateNamespaceSlsConfigsResponseBody.ts +23 -1
- package/src/models/UpgradeApplicationApmServiceRequest.ts +2 -0
- package/src/models/UpgradeApplicationApmServiceResponseBody.ts +43 -0
|
@@ -2,6 +2,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class BatchRestartApplicationsRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
+
* The application IDs. Separate multiple IDs with commas (,).
|
|
6
|
+
*
|
|
5
7
|
* This parameter is required.
|
|
6
8
|
*
|
|
7
9
|
* @example
|
|
@@ -10,6 +12,8 @@ export declare class BatchRestartApplicationsRequest extends $dara.Model {
|
|
|
10
12
|
appIds?: string;
|
|
11
13
|
/**
|
|
12
14
|
* @remarks
|
|
15
|
+
* The namespace ID.
|
|
16
|
+
*
|
|
13
17
|
* This parameter is required.
|
|
14
18
|
*
|
|
15
19
|
* @example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BatchRestartApplicationsRequest.js","sourceRoot":"","sources":["../../src/models/BatchRestartApplicationsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"BatchRestartApplicationsRequest.js","sourceRoot":"","sources":["../../src/models/BatchRestartApplicationsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAqB9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,QAAQ;SACtB,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;AA1CD,0EA0CC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class BatchRestartApplicationsResponseBodyData extends $dara.Model {
|
|
3
3
|
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The ID of the change process.
|
|
6
|
+
*
|
|
4
7
|
* @example
|
|
5
8
|
* 01db03d3-3ee9-48b3-b3d0-dfce2d88****
|
|
6
9
|
*/
|
|
@@ -18,28 +21,62 @@ export declare class BatchRestartApplicationsResponseBodyData extends $dara.Mode
|
|
|
18
21
|
}
|
|
19
22
|
export declare class BatchRestartApplicationsResponseBody extends $dara.Model {
|
|
20
23
|
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* The API status or POP error code. Value description:
|
|
26
|
+
*
|
|
27
|
+
* 2xx: The request was successful. 3xx: The request was redirected. 4xx: The request was invalid. 5xx: A server error occurred.
|
|
28
|
+
*
|
|
21
29
|
* @example
|
|
22
30
|
* 200
|
|
23
31
|
*/
|
|
24
32
|
code?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The response.
|
|
36
|
+
*/
|
|
25
37
|
data?: BatchRestartApplicationsResponseBodyData;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The error code. Value description:
|
|
41
|
+
*
|
|
42
|
+
* If the request succeeds, this field is not returned. It is returned only if the request fails. For more information, see the "Error codes" section in this topic.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* System.Upgrading
|
|
46
|
+
*/
|
|
26
47
|
errorCode?: string;
|
|
27
48
|
/**
|
|
49
|
+
* @remarks
|
|
50
|
+
* The additional information. Value description:
|
|
51
|
+
*
|
|
52
|
+
* If the request succeeds, a success message is returned. If the request fails, an error code is returned.
|
|
53
|
+
*
|
|
28
54
|
* @example
|
|
29
55
|
* success
|
|
30
56
|
*/
|
|
31
57
|
message?: string;
|
|
32
58
|
/**
|
|
59
|
+
* @remarks
|
|
60
|
+
* The request ID.
|
|
61
|
+
*
|
|
33
62
|
* @example
|
|
34
63
|
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
35
64
|
*/
|
|
36
65
|
requestId?: string;
|
|
37
66
|
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* Indicates whether the applications were started. Valid values:
|
|
69
|
+
*
|
|
70
|
+
* true and false
|
|
71
|
+
*
|
|
38
72
|
* @example
|
|
39
73
|
* true
|
|
40
74
|
*/
|
|
41
75
|
success?: boolean;
|
|
42
76
|
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The ID of the trace, which is used to query the exact call information.
|
|
79
|
+
*
|
|
43
80
|
* @example
|
|
44
81
|
* 0a98a02315955564772843261e****
|
|
45
82
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BatchRestartApplicationsResponseBody.js","sourceRoot":"","sources":["../../src/models/BatchRestartApplicationsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"BatchRestartApplicationsResponseBody.js","sourceRoot":"","sources":["../../src/models/BatchRestartApplicationsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IASvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;SAC/B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;SACxB,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;AA5BD,4FA4BC;AAED,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IA8DnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,wCAAwC;YAC9C,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,QAAQ;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhGD,oFAgGC"}
|
|
@@ -18,6 +18,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
18
18
|
* cri-xxxxxx
|
|
19
19
|
*/
|
|
20
20
|
acrInstanceId?: string;
|
|
21
|
+
agentVersion?: string;
|
|
21
22
|
/**
|
|
22
23
|
* @remarks
|
|
23
24
|
* The description of the template. The description cannot exceed 1,024 characters in length.
|
|
@@ -222,6 +223,8 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
222
223
|
* false
|
|
223
224
|
*/
|
|
224
225
|
enableEbpf?: string;
|
|
226
|
+
enableNamespaceAgentVersion?: boolean;
|
|
227
|
+
enableNamespaceSlsConfig?: boolean;
|
|
225
228
|
/**
|
|
226
229
|
* @remarks
|
|
227
230
|
* Indicates whether to enable the new ARMS feature:
|
|
@@ -43,6 +43,7 @@ class CreateApplicationRequest extends $dara.Model {
|
|
|
43
43
|
return {
|
|
44
44
|
acrAssumeRoleArn: 'AcrAssumeRoleArn',
|
|
45
45
|
acrInstanceId: 'AcrInstanceId',
|
|
46
|
+
agentVersion: 'AgentVersion',
|
|
46
47
|
appDescription: 'AppDescription',
|
|
47
48
|
appName: 'AppName',
|
|
48
49
|
appSource: 'AppSource',
|
|
@@ -62,6 +63,8 @@ class CreateApplicationRequest extends $dara.Model {
|
|
|
62
63
|
emptyDirDesc: 'EmptyDirDesc',
|
|
63
64
|
enableCpuBurst: 'EnableCpuBurst',
|
|
64
65
|
enableEbpf: 'EnableEbpf',
|
|
66
|
+
enableNamespaceAgentVersion: 'EnableNamespaceAgentVersion',
|
|
67
|
+
enableNamespaceSlsConfig: 'EnableNamespaceSlsConfig',
|
|
65
68
|
enableNewArms: 'EnableNewArms',
|
|
66
69
|
enablePrometheus: 'EnablePrometheus',
|
|
67
70
|
enableSidecarResourceIsolated: 'EnableSidecarResourceIsolated',
|
|
@@ -128,6 +131,7 @@ class CreateApplicationRequest extends $dara.Model {
|
|
|
128
131
|
return {
|
|
129
132
|
acrAssumeRoleArn: 'string',
|
|
130
133
|
acrInstanceId: 'string',
|
|
134
|
+
agentVersion: 'string',
|
|
131
135
|
appDescription: 'string',
|
|
132
136
|
appName: 'string',
|
|
133
137
|
appSource: 'string',
|
|
@@ -147,6 +151,8 @@ class CreateApplicationRequest extends $dara.Model {
|
|
|
147
151
|
emptyDirDesc: 'string',
|
|
148
152
|
enableCpuBurst: 'boolean',
|
|
149
153
|
enableEbpf: 'string',
|
|
154
|
+
enableNamespaceAgentVersion: 'boolean',
|
|
155
|
+
enableNamespaceSlsConfig: 'boolean',
|
|
150
156
|
enableNewArms: 'boolean',
|
|
151
157
|
enablePrometheus: 'boolean',
|
|
152
158
|
enableSidecarResourceIsolated: 'boolean',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateApplicationRequest.js","sourceRoot":"","sources":["../../src/models/CreateApplicationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+DAA4D;AAC5D,qEAAkE;AAGlE,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateApplicationRequest.js","sourceRoot":"","sources":["../../src/models/CreateApplicationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+DAA4D;AAC5D,qEAAkE;AAGlE,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IA00BvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,kBAAkB;YACpC,aAAa,EAAE,eAAe;YAC9B,YAAY,EAAE,cA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 -2,6 +2,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateApplicationScalingRuleRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
+
* The application ID.
|
|
6
|
+
*
|
|
5
7
|
* This parameter is required.
|
|
6
8
|
*
|
|
7
9
|
* @example
|
|
@@ -10,27 +12,109 @@ export declare class CreateApplicationScalingRuleRequest extends $dara.Model {
|
|
|
10
12
|
appId?: string;
|
|
11
13
|
enableIdle?: boolean;
|
|
12
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The percentage of the minimum number of available instances. Valid values:
|
|
17
|
+
*
|
|
18
|
+
* * **-1** (default value): The minimum number of available instances is not determined based on this parameter.
|
|
19
|
+
* * **0 to 100**: The minimum number of available instances is calculated by using the following formula: Number of existing instances × Value of MinReadyInstanceRatio × 100%. The calculation result is rounded up to the nearest integer. For example, if the number of existing instances is 5 and MinReadyInstanceRatio is set to 50, the minimum number of available instances is 3.
|
|
20
|
+
*
|
|
21
|
+
* > When **MinReadyInstance** and **MinReadyInstanceRatio** are passed at the same time and the **MinReadyInstanceRatio** value is not \\*\\*-1\\*\\*, the **MinReadyInstanceRatio** parameter takes precedence. **Note**When both **MinReadyInstance** and **MinReadyInstanceRatio** are specified and **MinReadyInstanceRatio** is set to a number from 0 to 100, the value of **MinReadyInstanceRatio** takes precedence.
|
|
22
|
+
*
|
|
13
23
|
* @example
|
|
14
24
|
* -1
|
|
15
25
|
*/
|
|
16
26
|
minReadyInstanceRatio?: number;
|
|
17
27
|
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The minimum number of available instances. Special values:
|
|
30
|
+
*
|
|
31
|
+
* * If you set the value to **0**, business is interrupted when the application is updated.
|
|
32
|
+
* * If you set this property to -1, the system calculates a recommended value as the minimum number of available instances by using the following formula: Recommended value = Number of existing instances × 25%. The calculation result is rounded up to the nearest integer. For example, if the number of existing instances is 5, the recommended value is calculated by using the following formula: 5 × 25% = 1.25. In this case, the minimum number of available instances is 2.
|
|
33
|
+
*
|
|
34
|
+
* > To ensure business continuity, make sure that at least one instance is available during application deployment and rollback.
|
|
35
|
+
*
|
|
18
36
|
* @example
|
|
19
37
|
* 3
|
|
20
38
|
*/
|
|
21
39
|
minReadyInstances?: number;
|
|
22
40
|
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* Specifies whether to enable the auto scaling policy. Valid values:
|
|
43
|
+
*
|
|
44
|
+
* * **true**: The auto scaling policy is enabled.
|
|
45
|
+
* * **false**: The auto scaling policy is disabled.
|
|
46
|
+
*
|
|
23
47
|
* @example
|
|
24
48
|
* true
|
|
25
49
|
*/
|
|
26
50
|
scalingRuleEnable?: boolean;
|
|
27
51
|
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The configurations of the metric-based auto scaling policy. This parameter is required if you set the ScalingRuleType parameter to metric.
|
|
54
|
+
*
|
|
55
|
+
* The following list describes the involved parameters:
|
|
56
|
+
*
|
|
57
|
+
* * **maxReplicas**: the maximum number of instances in the application.
|
|
58
|
+
*
|
|
59
|
+
* * **minReplicas**: the minimum number of instances in the application.
|
|
60
|
+
*
|
|
61
|
+
* * **metricType**: the metric that is used to trigger the auto scaling policy.
|
|
62
|
+
*
|
|
63
|
+
* * **CPU**: the CPU utilization.
|
|
64
|
+
* * **MEMORY**: the memory usage.
|
|
65
|
+
* * **QPS**: the average QPS within 1 minute per Java application instance.
|
|
66
|
+
* * **RT**: the average response time of all API operations within 1 minute in the Java application.
|
|
67
|
+
* * **tcpActiveConn**: the average number of active TCP connections within 30 seconds per instance.
|
|
68
|
+
* * **SLB_QPS**: the average QPS of the Internet-facing SLB instance within 15 seconds per instance.
|
|
69
|
+
* * **SLB_RT**: the average response time of the Internet-facing SLB instance within 15 seconds.
|
|
70
|
+
* * **INTRANET_SLB_QPS**: the average QPS of the internal-facing SLB instance within 15 seconds per instance.
|
|
71
|
+
* * **INTRANET_SLB_RT**: the average response time of the internal-facing SLB instance within 15 seconds.
|
|
72
|
+
*
|
|
73
|
+
* * **metricTargetAverageUtilization**: the limit on the metric that is specified by **metricType**. You can specify following limits:
|
|
74
|
+
*
|
|
75
|
+
* * The limit on the CPU utilization. Unit: percentage.
|
|
76
|
+
* * The limit on the memory usage. Unit: percentage.
|
|
77
|
+
* * The limit on the QPS.
|
|
78
|
+
* * The limit on the response time. Unit: milliseconds.
|
|
79
|
+
* * The limit on the average number of active TCP connections per second.
|
|
80
|
+
* * The limit on the QPS of the Internet-facing SLB instance.
|
|
81
|
+
* * The limit on the response time of the Internet-facing SLB instance. Unit: milliseconds.
|
|
82
|
+
* * The limit on the QPS of the internal-facing SLB instance.
|
|
83
|
+
* * The limit on the response time of the internal-facing SLB instance. Unit: milliseconds.
|
|
84
|
+
*
|
|
85
|
+
* * **slbId**: the ID of the SLB instance.
|
|
86
|
+
*
|
|
87
|
+
* * **slbProject**: the Simple Log Service (SLS) project.
|
|
88
|
+
*
|
|
89
|
+
* * **slbLogstore**: the SLS Logstore.
|
|
90
|
+
*
|
|
91
|
+
* * **vport**: the listener port of the SLB instance. HTTP and HTTPS are supported.
|
|
92
|
+
*
|
|
93
|
+
* * **scaleUpRules**: the scale-out rules.
|
|
94
|
+
*
|
|
95
|
+
* * **scaleDownRules**: the scale-in rule.
|
|
96
|
+
*
|
|
97
|
+
* * **step**: the scale-out or scale-in step size. This parameter specifies the maximum number of instances that can be added or removed per unit time.
|
|
98
|
+
*
|
|
99
|
+
* * **disabled**: specifies whether to disable the application scale-in. If you set this parameter to true, the application instances are never reduced. This prevents business risks during peak hours.
|
|
100
|
+
*
|
|
101
|
+
* * **true**: disables the application scale-in.
|
|
102
|
+
* * **false**: enables the application scale-in. Default value: false.
|
|
103
|
+
*
|
|
104
|
+
* * **stabilizationWindowSeconds**: the cooldown period during which the system is stable and does not perform scale-out or scale-in operations. Valid values: 0 to 3600. Unit: seconds. Default value: 0.
|
|
105
|
+
*
|
|
106
|
+
* > NoteYou can specify one or more metrics as the trigger conditions of the auto scaling policy. If one of the values of the specified metrics is greater than or equal to the specified limit, the application is scaled out. The number of instances after the scale-out operation is less than or equal to the value of the specified maximum application instances. If the values of all specified metrics are less than the limits, the application is scaled in. The number of instances after the scale-in operation is greater than or equal to the value of the specified minimum application instances.
|
|
107
|
+
*
|
|
28
108
|
* @example
|
|
29
109
|
* {"maxReplicas":3,"minReplicas":1,"metrics":[{"metricType":"CPU","metricTargetAverageUtilization":20},{"metricType":"MEMORY","metricTargetAverageUtilization":30},{"metricType":"tcpActiveConn","metricTargetAverageUtilization":20},{"metricType":"SLB_QPS","MetricTargetAverageUtilization":25,"SlbProject":"aliyun-fc-cn-hangzhou-d95881d9-5d3c-5f26-a6b8-************","SlbLogstore":"function-log","Vport":"80"},{"metricType":"SLB_RT","MetricTargetAverageUtilization":35,"SlbProject":"aliyun-fc-cn-hangzhou-d95881d9-5d3c-5f26-a6b8-************","SlbLogstore":"function-log","Vport":"80"}],"scaleUpRules":{"step":"100","disabled":false,"stabilizationWindowSeconds":0},"scaleDownRules":{"step":"100","disabled":false,"stabilizationWindowSeconds":300}}
|
|
30
110
|
*/
|
|
31
111
|
scalingRuleMetric?: string;
|
|
32
112
|
/**
|
|
33
113
|
* @remarks
|
|
114
|
+
* The name of the auto scaling policy. The name must be unique in an application, and can be up to 32 characters in length. It must start with a lowercase letter and can contain only lowercase letters, digits, and hyphens (-).
|
|
115
|
+
*
|
|
116
|
+
* > You cannot change the names of created auto scaling policies.
|
|
117
|
+
*
|
|
34
118
|
* This parameter is required.
|
|
35
119
|
*
|
|
36
120
|
* @example
|
|
@@ -38,12 +122,62 @@ export declare class CreateApplicationScalingRuleRequest extends $dara.Model {
|
|
|
38
122
|
*/
|
|
39
123
|
scalingRuleName?: string;
|
|
40
124
|
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* The configuration of the scheduled elasticity policy. This parameter is required if you select Scheduled Scaling Policy or Use SDK to Set.
|
|
127
|
+
*
|
|
128
|
+
* The following table describes the parameters.
|
|
129
|
+
*
|
|
130
|
+
* * **beginDate** and **endDate**: **beginDate** is the start date and **endDate** is the end date, which is used to configure the timing Auto Scaling policy. Valid values:
|
|
131
|
+
*
|
|
132
|
+
* * If both values are **null**, long-term execution is performed. This is the default value.
|
|
133
|
+
* * If the value is a specific date, for example, the **beginDate** is **2021-03-25** and the **endDate** is **2021-04-25**, the validity period is one month.
|
|
134
|
+
*
|
|
135
|
+
* * **period**: The period during which the timed Auto Scaling policy is executed. Valid values:
|
|
136
|
+
*
|
|
137
|
+
* * **\\* \\* \\***: The scheduled policy is executed at a specified time every day.
|
|
138
|
+
*
|
|
139
|
+
* * **\\* \\* Fri,Mon**: The scheduled policy is executed at the specified time on the specified number of days per week. You can select multiple time zones. The time zone is GMT +8. Valid values:
|
|
140
|
+
*
|
|
141
|
+
* * **Sun**: Sunday
|
|
142
|
+
* * **Mon**: Monday
|
|
143
|
+
* * **Tue**: Tuesday
|
|
144
|
+
* * **Wed**: Wednesday
|
|
145
|
+
* * **Thu**: Thursday
|
|
146
|
+
* * **Fri**: Friday
|
|
147
|
+
* * **Sat**: Saturday
|
|
148
|
+
*
|
|
149
|
+
* * **1,2,3,28,31 \\* \\***: The scheduled auto scaling policy is executed at a specified point in time on one or more dates of each month. Valid values: 1 to 31. If a month does not have the 31st day, the auto scaling policy is executed on the specified days other than the 31st day.
|
|
150
|
+
*
|
|
151
|
+
* * **schedules**: the points in time at which the scheduled auto scaling policy is triggered and the number of application instances that are retained during the time periods. You can specify up to 20 points in time. The following list describes the involved parameters:
|
|
152
|
+
*
|
|
153
|
+
* * **atTime**: the point in time at which the policy is triggered. **targetReplicas**: the number of application instances that you want to retain during the corresponding time period or the minimum number of available instances required for each deployment.****
|
|
154
|
+
*
|
|
155
|
+
* * **Valid values: 1 to 50.** Valid values: 1 to 50.
|
|
156
|
+
*
|
|
157
|
+
* **
|
|
158
|
+
*
|
|
159
|
+
* **Note**Make sure that at least one instance is available during the application deployment and rollback to prevent your business from being interrupted. If you set the value to **0**, business interruptions occur when the application is updated. If you set the value to **0**, business interruptions occur when the application is updated.
|
|
160
|
+
*
|
|
41
161
|
* @example
|
|
42
162
|
* {"beginDate":null,"endDate":null,"period":"* * *","schedules":[{"atTime":"08:00","targetReplicas":10},{"atTime":"20:00","targetReplicas":3}]}
|
|
43
163
|
*/
|
|
44
164
|
scalingRuleTimer?: string;
|
|
45
165
|
/**
|
|
46
166
|
* @remarks
|
|
167
|
+
* The type of the auto scaling policy. Take note of the following rules:
|
|
168
|
+
*
|
|
169
|
+
* * **timing**: a scheduled auto scaling policy.
|
|
170
|
+
* * **metric**: a metric-based auto scaling policy.
|
|
171
|
+
* * **mix**: a hybrid auto scaling policy.
|
|
172
|
+
*
|
|
173
|
+
* >
|
|
174
|
+
*
|
|
175
|
+
* * If you set this parameter to timing, the ScalingRuleTimer parameter must be specified.
|
|
176
|
+
*
|
|
177
|
+
* * If you set this parameter to metric, the ScalingRuleMetric parameter must be specified.
|
|
178
|
+
*
|
|
179
|
+
* * If you set this parameter to mix, the ScalingRuleMetric parameter must be specified. You can specify the ScalingRuleTimer parameter based on your business requirements.
|
|
180
|
+
*
|
|
47
181
|
* This parameter is required.
|
|
48
182
|
*
|
|
49
183
|
* @example
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateApplicationScalingRuleRequest.js","sourceRoot":"","sources":["../../src/models/CreateApplicationScalingRuleRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateApplicationScalingRuleRequest.js","sourceRoot":"","sources":["../../src/models/CreateApplicationScalingRuleRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAyLlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,UAAU,EAAE,YAAY;YACxB,qBAAqB,EAAE,uBAAuB;YAC9C,iBAAiB,EAAE,mBAAmB;YACtC,iBAAiB,EAAE,mBAAmB;YACtC,iBAAiB,EAAE,mBAAmB;YACtC,eAAe,EAAE,iBAAiB;YAClC,gBAAgB,EAAE,kBAAkB;YACpC,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,UAAU,EAAE,SAAS;YACrB,qBAAqB,EAAE,QAAQ;YAC/B,iBAAiB,EAAE,QAAQ;YAC3B,iBAAiB,EAAE,SAAS;YAC5B,iBAAiB,EAAE,QAAQ;YAC3B,eAAe,EAAE,QAAQ;YACzB,gBAAgB,EAAE,QAAQ;YAC1B,eAAe,EAAE,QAAQ;SAC1B,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;AA5ND,kFA4NC"}
|