@alicloud/sae20190506 2.3.2 → 2.5.0
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 +68 -6
- package/dist/client.js +155 -6
- package/dist/client.js.map +1 -1
- package/dist/models/BindNlbRequest.d.ts +62 -0
- package/dist/models/BindNlbRequest.js +66 -0
- package/dist/models/BindNlbRequest.js.map +1 -0
- package/dist/models/BindNlbResponse.d.ts +19 -0
- package/dist/models/BindNlbResponse.js +69 -0
- package/dist/models/BindNlbResponse.js.map +1 -0
- package/dist/models/BindNlbResponseBody.d.ts +78 -0
- package/dist/models/BindNlbResponseBody.js +74 -0
- package/dist/models/BindNlbResponseBody.js.map +1 -0
- package/dist/models/BindNlbResponseBodyData.d.ts +21 -0
- package/dist/models/BindNlbResponseBodyData.js +58 -0
- package/dist/models/BindNlbResponseBodyData.js.map +1 -0
- package/dist/models/ConfirmPipelineBatchRequest.d.ts +1 -1
- package/dist/models/DataInstancesValue.d.ts +40 -0
- package/dist/models/DataInstancesValue.js +66 -0
- package/dist/models/DataInstancesValue.js.map +1 -0
- package/dist/models/DataInstancesValueListenersValue.d.ts +59 -0
- package/dist/models/DataInstancesValueListenersValue.js +66 -0
- package/dist/models/DataInstancesValueListenersValue.js.map +1 -0
- package/dist/models/DeployApplicationRequest.d.ts +12 -0
- package/dist/models/DeployApplicationRequest.js.map +1 -1
- package/dist/models/DeployApplicationShrinkRequest.d.ts +12 -0
- package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DescribeApplicationNlbsRequest.d.ts +21 -0
- package/dist/models/DescribeApplicationNlbsRequest.js +58 -0
- package/dist/models/DescribeApplicationNlbsRequest.js.map +1 -0
- package/dist/models/DescribeApplicationNlbsResponse.d.ts +19 -0
- package/dist/models/DescribeApplicationNlbsResponse.js +69 -0
- package/dist/models/DescribeApplicationNlbsResponse.js.map +1 -0
- package/dist/models/DescribeApplicationNlbsResponseBody.d.ts +75 -0
- package/dist/models/DescribeApplicationNlbsResponseBody.js +74 -0
- package/dist/models/DescribeApplicationNlbsResponseBody.js.map +1 -0
- package/dist/models/DescribeApplicationNlbsResponseBodyData.d.ts +21 -0
- package/dist/models/DescribeApplicationNlbsResponseBodyData.js +62 -0
- package/dist/models/DescribeApplicationNlbsResponseBodyData.js.map +1 -0
- package/dist/models/DescribeApplicationScalingRuleResponseBody.d.ts +1 -1
- package/dist/models/DescribeApplicationScalingRuleResponseBodyData.d.ts +16 -0
- package/dist/models/DescribeApplicationScalingRuleResponseBodyData.js.map +1 -1
- package/dist/models/DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimer.d.ts +1 -0
- package/dist/models/DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimer.js +2 -0
- package/dist/models/DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimer.js.map +1 -1
- package/dist/models/DescribeInstanceLogRequest.d.ts +7 -0
- package/dist/models/DescribeInstanceLogRequest.js.map +1 -1
- package/dist/models/GetWebshellTokenResponseBodyData.d.ts +8 -0
- package/dist/models/GetWebshellTokenResponseBodyData.js.map +1 -1
- package/dist/models/ListApplicationsResponseBodyData.d.ts +1 -1
- package/dist/models/QueryResourceStaticsResponseBodyDataSummary.d.ts +8 -0
- package/dist/models/QueryResourceStaticsResponseBodyDataSummary.js.map +1 -1
- package/dist/models/UpdateAppModeRequest.d.ts +23 -0
- package/dist/models/UpdateAppModeRequest.js +60 -0
- package/dist/models/UpdateAppModeRequest.js.map +1 -0
- package/dist/models/UpdateAppModeResponse.d.ts +19 -0
- package/dist/models/UpdateAppModeResponse.js +69 -0
- package/dist/models/UpdateAppModeResponse.js.map +1 -0
- package/dist/models/UpdateAppModeResponseBody.d.ts +42 -0
- package/dist/models/UpdateAppModeResponseBody.js +68 -0
- package/dist/models/UpdateAppModeResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +13 -0
- package/dist/models/model.js +43 -17
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +169 -6
- package/src/models/BindNlbRequest.ts +83 -0
- package/src/models/BindNlbResponse.ts +40 -0
- package/src/models/BindNlbResponseBody.ts +106 -0
- package/src/models/BindNlbResponseBodyData.ts +34 -0
- package/src/models/ConfirmPipelineBatchRequest.ts +1 -1
- package/src/models/DataInstancesValue.ts +58 -0
- package/src/models/DataInstancesValueListenersValue.ts +80 -0
- package/src/models/DeployApplicationRequest.ts +12 -0
- package/src/models/DeployApplicationShrinkRequest.ts +12 -0
- package/src/models/DescribeApplicationNlbsRequest.ts +34 -0
- package/src/models/DescribeApplicationNlbsResponse.ts +40 -0
- package/src/models/DescribeApplicationNlbsResponseBody.ts +103 -0
- package/src/models/DescribeApplicationNlbsResponseBodyData.ts +35 -0
- package/src/models/DescribeApplicationScalingRuleResponseBody.ts +1 -1
- package/src/models/DescribeApplicationScalingRuleResponseBodyData.ts +16 -0
- package/src/models/DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimer.ts +3 -0
- package/src/models/DescribeInstanceLogRequest.ts +7 -0
- package/src/models/GetWebshellTokenResponseBodyData.ts +8 -0
- package/src/models/ListApplicationsResponseBodyData.ts +1 -1
- package/src/models/QueryResourceStaticsResponseBodyDataSummary.ts +8 -0
- package/src/models/UpdateAppModeRequest.ts +38 -0
- package/src/models/UpdateAppModeResponse.ts +40 -0
- package/src/models/UpdateAppModeResponseBody.ts +65 -0
- package/src/models/model.ts +13 -0
|
@@ -323,6 +323,10 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
323
323
|
* {\\"instanceId\\":\\"mse-cn-zvp2bh6h70r\\",\\"namespace\\":\\"4c0aa74f-57cb-423c-b6af-5d9f2d0e3dbd\\"}
|
|
324
324
|
*/
|
|
325
325
|
microRegistrationConfig?: string;
|
|
326
|
+
/**
|
|
327
|
+
* @example
|
|
328
|
+
* {"enable": true,"mseLosslessRule": {"delayTime": 0,"enable": false,"notice": false,"warmupTime": 120}}
|
|
329
|
+
*/
|
|
326
330
|
microserviceEngineConfig?: string;
|
|
327
331
|
/**
|
|
328
332
|
* @remarks
|
|
@@ -388,6 +392,10 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
388
392
|
* 10d3b4****
|
|
389
393
|
*/
|
|
390
394
|
nasId?: string;
|
|
395
|
+
/**
|
|
396
|
+
* @example
|
|
397
|
+
* pro
|
|
398
|
+
*/
|
|
391
399
|
newSaeVersion?: string;
|
|
392
400
|
/**
|
|
393
401
|
* @remarks
|
|
@@ -587,6 +595,10 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
587
595
|
* [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]
|
|
588
596
|
*/
|
|
589
597
|
slsConfigs?: string;
|
|
598
|
+
/**
|
|
599
|
+
* @example
|
|
600
|
+
* {"exec":{"command":["sh","-c","cat /home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}
|
|
601
|
+
*/
|
|
590
602
|
startupProbe?: string;
|
|
591
603
|
swimlanePvtzDiscoverySvc?: string;
|
|
592
604
|
/**
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeApplicationNlbsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the application.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 7171a6ca-d1cd-4928-8642-7d5cfe69****
|
|
12
|
+
*/
|
|
13
|
+
appId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
appId: 'AppId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
appId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeApplicationNlbsResponseBody } from "./DescribeApplicationNlbsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeApplicationNlbsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeApplicationNlbsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeApplicationNlbsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeApplicationNlbsResponseBodyData } from "./DescribeApplicationNlbsResponseBodyData";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeApplicationNlbsResponseBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The HTTP status code. Valid values:
|
|
10
|
+
*
|
|
11
|
+
* * **2xx**: The request was successful.
|
|
12
|
+
* * **3xx**: The request was redirected.
|
|
13
|
+
* * **4xx**: The request failed.
|
|
14
|
+
* * **5xx**: A server error occurred.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* 200
|
|
18
|
+
*/
|
|
19
|
+
code?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The returned data.
|
|
23
|
+
*/
|
|
24
|
+
data?: DescribeApplicationNlbsResponseBodyData;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* The status code. Value values:
|
|
28
|
+
*
|
|
29
|
+
* * If the request was successful, **ErrorCode** is not returned.
|
|
30
|
+
* * If the request failed, **ErrorCode** is returned. For more information, see **Error codes** section in this topic.
|
|
31
|
+
*/
|
|
32
|
+
errorCode?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The message returned. Valid values:If the request was successful, success is returned. If the request failed, an error code is returned.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* success
|
|
39
|
+
*/
|
|
40
|
+
message?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* The request ID.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
47
|
+
*/
|
|
48
|
+
requestId?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* Indicates whether the NLB instance was successfully associated with the application. Valid values:
|
|
52
|
+
*
|
|
53
|
+
* * **true**: The application was associated.
|
|
54
|
+
* * **false**: The application failed to be associated.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* true
|
|
58
|
+
*/
|
|
59
|
+
success?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* The ID of the trace. The ID is used to query the details of a request.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* ac1a0b2215622246421415014e****
|
|
66
|
+
*/
|
|
67
|
+
traceId?: string;
|
|
68
|
+
static names(): { [key: string]: string } {
|
|
69
|
+
return {
|
|
70
|
+
code: 'Code',
|
|
71
|
+
data: 'Data',
|
|
72
|
+
errorCode: 'ErrorCode',
|
|
73
|
+
message: 'Message',
|
|
74
|
+
requestId: 'RequestId',
|
|
75
|
+
success: 'Success',
|
|
76
|
+
traceId: 'TraceId',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
static types(): { [key: string]: any } {
|
|
81
|
+
return {
|
|
82
|
+
code: 'string',
|
|
83
|
+
data: DescribeApplicationNlbsResponseBodyData,
|
|
84
|
+
errorCode: 'string',
|
|
85
|
+
message: 'string',
|
|
86
|
+
requestId: 'string',
|
|
87
|
+
success: 'string',
|
|
88
|
+
traceId: 'string',
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
validate() {
|
|
93
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
94
|
+
(this.data as any).validate();
|
|
95
|
+
}
|
|
96
|
+
super.validate();
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
constructor(map?: { [key: string]: any }) {
|
|
100
|
+
super(map);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DataInstancesValue } from "./DataInstancesValue";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeApplicationNlbsResponseBodyData extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The details of the instance.
|
|
10
|
+
*/
|
|
11
|
+
instances?: { [key: string]: DataInstancesValue };
|
|
12
|
+
static names(): { [key: string]: string } {
|
|
13
|
+
return {
|
|
14
|
+
instances: 'Instances',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
instances: { 'type': 'map', 'keyType': 'string', 'valueType': DataInstancesValue },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
validate() {
|
|
25
|
+
if(this.instances) {
|
|
26
|
+
$dara.Model.validateMap(this.instances);
|
|
27
|
+
}
|
|
28
|
+
super.validate();
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
constructor(map?: { [key: string]: any }) {
|
|
32
|
+
super(map);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
@@ -35,11 +35,27 @@ export class DescribeApplicationScalingRuleResponseBodyData extends $dara.Model
|
|
|
35
35
|
*/
|
|
36
36
|
metric?: DescribeApplicationScalingRuleResponseBodyDataMetric;
|
|
37
37
|
/**
|
|
38
|
+
* @remarks
|
|
39
|
+
* The ratio of the minimum number of available instances to the current number of instances. Valid values:
|
|
40
|
+
*
|
|
41
|
+
* * **-1** (default value): The minimum number of available instances is not determined based on this parameter.
|
|
42
|
+
* * **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.
|
|
43
|
+
*
|
|
44
|
+
* > If the **MinReadyInstanceRatio** and **MinReadyInstanceRatio** parameters are configured and the **MinReadyInstanceRatio** parameter is set to a number from 0 to 100, the value of the MinReadyInstanceRatio parameter takes precedence. For example, if the **MinReadyInstances** parameter is set to **5**, and the **MinReadyInstanceRatio** parameter is set to **50**, the minimum number of available instances is set to the nearest integer rounded up from the calculated result of the following formula: Nmber of existing instances × **50**.
|
|
45
|
+
*
|
|
38
46
|
* @example
|
|
39
47
|
* -1
|
|
40
48
|
*/
|
|
41
49
|
minReadyInstanceRatio?: number;
|
|
42
50
|
/**
|
|
51
|
+
* @remarks
|
|
52
|
+
* The minimum number of available instances. Valid values:
|
|
53
|
+
*
|
|
54
|
+
* * If you set the value to **0**, business is interrupted when the application is updated.
|
|
55
|
+
* * 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.
|
|
56
|
+
*
|
|
57
|
+
* > To ensure business continuity, make sure that at least one instance is available during application deployment and rollback.
|
|
58
|
+
*
|
|
43
59
|
* @example
|
|
44
60
|
* 1
|
|
45
61
|
*/
|
package/src/models/DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimer.ts
CHANGED
|
@@ -53,12 +53,14 @@ export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRu
|
|
|
53
53
|
* The points in time when the auto scaling policy is triggered within one day.
|
|
54
54
|
*/
|
|
55
55
|
schedules?: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimerSchedules[];
|
|
56
|
+
timeZone?: string;
|
|
56
57
|
static names(): { [key: string]: string } {
|
|
57
58
|
return {
|
|
58
59
|
beginDate: 'BeginDate',
|
|
59
60
|
endDate: 'EndDate',
|
|
60
61
|
period: 'Period',
|
|
61
62
|
schedules: 'Schedules',
|
|
63
|
+
timeZone: 'TimeZone',
|
|
62
64
|
};
|
|
63
65
|
}
|
|
64
66
|
|
|
@@ -68,6 +70,7 @@ export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRu
|
|
|
68
70
|
endDate: 'string',
|
|
69
71
|
period: 'string',
|
|
70
72
|
schedules: { 'type': 'array', 'itemType': DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimerSchedules },
|
|
73
|
+
timeZone: 'string',
|
|
71
74
|
};
|
|
72
75
|
}
|
|
73
76
|
|
|
@@ -3,6 +3,13 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeInstanceLogRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the sidecar container. You can call the [DescribeApplicationInstances](https://help.aliyun.com/document_detail/2834847.html) to obtain the ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* sidecar-test-01
|
|
12
|
+
*/
|
|
6
13
|
containerId?: string;
|
|
7
14
|
/**
|
|
8
15
|
* @remarks
|
|
@@ -3,12 +3,20 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class GetWebshellTokenResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* HttpUrl : "https://saenext.console.aliyun.com/cn-shenzhen/app-list/app1/micro-app/shell/pod1?tokenId=xxx
|
|
9
|
+
*/
|
|
6
10
|
httpUrl?: string;
|
|
7
11
|
/**
|
|
8
12
|
* @example
|
|
9
13
|
* zWWpvRj_5pzof4hfo7-hGynM8oGMmO_7
|
|
10
14
|
*/
|
|
11
15
|
token?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* wss://sae-webshell.console.aliyun.com/websocket/eamWebshell?tokenId=xxx®ion=cn-shenzhen
|
|
19
|
+
*/
|
|
12
20
|
webSocketUrl?: string;
|
|
13
21
|
static names(): { [key: string]: string } {
|
|
14
22
|
return {
|
|
@@ -6,7 +6,7 @@ import { ListApplicationsResponseBodyDataApplications } from "./ListApplications
|
|
|
6
6
|
export class ListApplicationsResponseBodyData extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The applications.
|
|
9
|
+
* The queried applications.
|
|
10
10
|
*/
|
|
11
11
|
applications?: ListApplicationsResponseBodyDataApplications[];
|
|
12
12
|
/**
|
|
@@ -3,6 +3,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class QueryResourceStaticsResponseBodyDataSummary extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 10
|
|
9
|
+
*/
|
|
6
10
|
activeCpu?: number;
|
|
7
11
|
/**
|
|
8
12
|
* @remarks
|
|
@@ -16,6 +20,10 @@ export class QueryResourceStaticsResponseBodyDataSummary extends $dara.Model {
|
|
|
16
20
|
ephemeralStorage?: number;
|
|
17
21
|
gpuA10?: number;
|
|
18
22
|
gpuPpu810e?: number;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* 10
|
|
26
|
+
*/
|
|
19
27
|
idleCpu?: number;
|
|
20
28
|
/**
|
|
21
29
|
* @remarks
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateAppModeRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 7171a6ca-d1cd-4928-8642-7d5cfe69****
|
|
9
|
+
*/
|
|
10
|
+
appId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* true
|
|
14
|
+
*/
|
|
15
|
+
enableIdle?: boolean;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
appId: 'AppId',
|
|
19
|
+
enableIdle: 'EnableIdle',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
appId: 'string',
|
|
26
|
+
enableIdle: 'boolean',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UpdateAppModeResponseBody } from "./UpdateAppModeResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UpdateAppModeResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UpdateAppModeResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: UpdateAppModeResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateAppModeResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 200
|
|
9
|
+
*/
|
|
10
|
+
code?: string;
|
|
11
|
+
errorCode?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* success
|
|
15
|
+
*/
|
|
16
|
+
message?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @remarks
|
|
19
|
+
* Id of the request
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
23
|
+
*/
|
|
24
|
+
requestId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* @example
|
|
27
|
+
* true
|
|
28
|
+
*/
|
|
29
|
+
success?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @example
|
|
32
|
+
* 0a98a02315955564772843261e****
|
|
33
|
+
*/
|
|
34
|
+
traceId?: string;
|
|
35
|
+
static names(): { [key: string]: string } {
|
|
36
|
+
return {
|
|
37
|
+
code: 'Code',
|
|
38
|
+
errorCode: 'ErrorCode',
|
|
39
|
+
message: 'Message',
|
|
40
|
+
requestId: 'RequestId',
|
|
41
|
+
success: 'Success',
|
|
42
|
+
traceId: 'TraceId',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
static types(): { [key: string]: any } {
|
|
47
|
+
return {
|
|
48
|
+
code: 'string',
|
|
49
|
+
errorCode: 'string',
|
|
50
|
+
message: 'string',
|
|
51
|
+
requestId: 'string',
|
|
52
|
+
success: 'string',
|
|
53
|
+
traceId: 'string',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
validate() {
|
|
58
|
+
super.validate();
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
constructor(map?: { [key: string]: any }) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -43,6 +43,7 @@ export { AbortAndRollbackChangeOrderResponseBodyData } from './AbortAndRollbackC
|
|
|
43
43
|
export { AbortChangeOrderResponseBodyData } from './AbortChangeOrderResponseBodyData';
|
|
44
44
|
export { BatchStartApplicationsResponseBodyData } from './BatchStartApplicationsResponseBodyData';
|
|
45
45
|
export { BatchStopApplicationsResponseBodyData } from './BatchStopApplicationsResponseBodyData';
|
|
46
|
+
export { BindNlbResponseBodyData } from './BindNlbResponseBodyData';
|
|
46
47
|
export { BindSlbResponseBodyData } from './BindSlbResponseBodyData';
|
|
47
48
|
export { ConfirmPipelineBatchResponseBodyData } from './ConfirmPipelineBatchResponseBodyData';
|
|
48
49
|
export { CreateApplicationResponseBodyData } from './CreateApplicationResponseBodyData';
|
|
@@ -90,6 +91,7 @@ export { DescribeApplicationImageResponseBodyData } from './DescribeApplicationI
|
|
|
90
91
|
export { DescribeApplicationInstancesResponseBodyDataInstancesSidecarContainersStatus } from './DescribeApplicationInstancesResponseBodyDataInstancesSidecarContainersStatus';
|
|
91
92
|
export { DescribeApplicationInstancesResponseBodyDataInstances } from './DescribeApplicationInstancesResponseBodyDataInstances';
|
|
92
93
|
export { DescribeApplicationInstancesResponseBodyData } from './DescribeApplicationInstancesResponseBodyData';
|
|
94
|
+
export { DescribeApplicationNlbsResponseBodyData } from './DescribeApplicationNlbsResponseBodyData';
|
|
93
95
|
export { DescribeApplicationScalingRuleResponseBodyDataMetricMetrics } from './DescribeApplicationScalingRuleResponseBodyDataMetricMetrics';
|
|
94
96
|
export { DescribeApplicationScalingRuleResponseBodyDataMetricMetricsStatusCurrentMetrics } from './DescribeApplicationScalingRuleResponseBodyDataMetricMetricsStatusCurrentMetrics';
|
|
95
97
|
export { DescribeApplicationScalingRuleResponseBodyDataMetricMetricsStatusNextScaleMetrics } from './DescribeApplicationScalingRuleResponseBodyDataMetricMetricsStatusNextScaleMetrics';
|
|
@@ -430,6 +432,8 @@ export { WebTLSConfig } from './WebTlsconfig';
|
|
|
430
432
|
export { WebTrafficConfig } from './WebTrafficConfig';
|
|
431
433
|
export { WebVersionStatus } from './WebVersionStatus';
|
|
432
434
|
export { WebWAFConfig } from './WebWafconfig';
|
|
435
|
+
export { DataInstancesValue } from './DataInstancesValue';
|
|
436
|
+
export { DataInstancesValueListenersValue } from './DataInstancesValueListenersValue';
|
|
433
437
|
export { AbortAndRollbackChangeOrderRequest } from './AbortAndRollbackChangeOrderRequest';
|
|
434
438
|
export { AbortAndRollbackChangeOrderResponseBody } from './AbortAndRollbackChangeOrderResponseBody';
|
|
435
439
|
export { AbortAndRollbackChangeOrderResponse } from './AbortAndRollbackChangeOrderResponse';
|
|
@@ -442,6 +446,9 @@ export { BatchStartApplicationsResponse } from './BatchStartApplicationsResponse
|
|
|
442
446
|
export { BatchStopApplicationsRequest } from './BatchStopApplicationsRequest';
|
|
443
447
|
export { BatchStopApplicationsResponseBody } from './BatchStopApplicationsResponseBody';
|
|
444
448
|
export { BatchStopApplicationsResponse } from './BatchStopApplicationsResponse';
|
|
449
|
+
export { BindNlbRequest } from './BindNlbRequest';
|
|
450
|
+
export { BindNlbResponseBody } from './BindNlbResponseBody';
|
|
451
|
+
export { BindNlbResponse } from './BindNlbResponse';
|
|
445
452
|
export { BindSlbRequest } from './BindSlbRequest';
|
|
446
453
|
export { BindSlbResponseBody } from './BindSlbResponseBody';
|
|
447
454
|
export { BindSlbResponse } from './BindSlbResponse';
|
|
@@ -544,6 +551,9 @@ export { DescribeApplicationImageResponse } from './DescribeApplicationImageResp
|
|
|
544
551
|
export { DescribeApplicationInstancesRequest } from './DescribeApplicationInstancesRequest';
|
|
545
552
|
export { DescribeApplicationInstancesResponseBody } from './DescribeApplicationInstancesResponseBody';
|
|
546
553
|
export { DescribeApplicationInstancesResponse } from './DescribeApplicationInstancesResponse';
|
|
554
|
+
export { DescribeApplicationNlbsRequest } from './DescribeApplicationNlbsRequest';
|
|
555
|
+
export { DescribeApplicationNlbsResponseBody } from './DescribeApplicationNlbsResponseBody';
|
|
556
|
+
export { DescribeApplicationNlbsResponse } from './DescribeApplicationNlbsResponse';
|
|
547
557
|
export { DescribeApplicationScalingRuleRequest } from './DescribeApplicationScalingRuleRequest';
|
|
548
558
|
export { DescribeApplicationScalingRuleResponseBody } from './DescribeApplicationScalingRuleResponseBody';
|
|
549
559
|
export { DescribeApplicationScalingRuleResponse } from './DescribeApplicationScalingRuleResponse';
|
|
@@ -782,6 +792,9 @@ export { UnbindSlbResponse } from './UnbindSlbResponse';
|
|
|
782
792
|
export { UntagResourcesRequest } from './UntagResourcesRequest';
|
|
783
793
|
export { UntagResourcesResponseBody } from './UntagResourcesResponseBody';
|
|
784
794
|
export { UntagResourcesResponse } from './UntagResourcesResponse';
|
|
795
|
+
export { UpdateAppModeRequest } from './UpdateAppModeRequest';
|
|
796
|
+
export { UpdateAppModeResponseBody } from './UpdateAppModeResponseBody';
|
|
797
|
+
export { UpdateAppModeResponse } from './UpdateAppModeResponse';
|
|
785
798
|
export { UpdateAppSecurityGroupRequest } from './UpdateAppSecurityGroupRequest';
|
|
786
799
|
export { UpdateAppSecurityGroupResponseBody } from './UpdateAppSecurityGroupResponseBody';
|
|
787
800
|
export { UpdateAppSecurityGroupResponse } from './UpdateAppSecurityGroupResponse';
|