@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
|
@@ -3,9 +3,43 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeApplicationMseServiceResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The application ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* mse-cn-hvm47******
|
|
12
|
+
*/
|
|
6
13
|
mseAppId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The application name.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* test
|
|
20
|
+
*/
|
|
7
21
|
mseAppName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The namespace.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* sae-ent
|
|
28
|
+
*/
|
|
8
29
|
mseAppNameSpace?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The application status. Valid values:
|
|
33
|
+
*
|
|
34
|
+
* * EXPIRED
|
|
35
|
+
* * REBOOTING
|
|
36
|
+
* * WAITING
|
|
37
|
+
* * FAIL
|
|
38
|
+
* * NULL/SUCCESS
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* SUCCESS
|
|
42
|
+
*/
|
|
9
43
|
status?: string;
|
|
10
44
|
static names(): { [key: string]: string } {
|
|
11
45
|
return {
|
|
@@ -36,28 +70,63 @@ export class DescribeApplicationMseServiceResponseBodyData extends $dara.Model {
|
|
|
36
70
|
|
|
37
71
|
export class DescribeApplicationMseServiceResponseBody extends $dara.Model {
|
|
38
72
|
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The API status or POP error code. Valid values: 2xx: The request was successful. 3xx: The request was redirected. 4xx: The request was invalid. 5xx: A server error occurred.
|
|
75
|
+
*
|
|
39
76
|
* @example
|
|
40
77
|
* 200
|
|
41
78
|
*/
|
|
42
79
|
code?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* The application information.
|
|
83
|
+
*/
|
|
43
84
|
data?: DescribeApplicationMseServiceResponseBodyData;
|
|
85
|
+
/**
|
|
86
|
+
* @remarks
|
|
87
|
+
* The error code. Value description:
|
|
88
|
+
*
|
|
89
|
+
* * If the request succeeds, this field is not returned.
|
|
90
|
+
* * For more information, see the **Error codes** section of this topic.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* System.Upgrading
|
|
94
|
+
*/
|
|
44
95
|
errorCode?: string;
|
|
45
96
|
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The additional information. Value description:
|
|
99
|
+
*
|
|
100
|
+
* * If the request was successful, **success** is returned.
|
|
101
|
+
* * If the request failed, an error code is returned.
|
|
102
|
+
*
|
|
46
103
|
* @example
|
|
47
104
|
* success
|
|
48
105
|
*/
|
|
49
106
|
message?: string;
|
|
50
107
|
/**
|
|
108
|
+
* @remarks
|
|
109
|
+
* The request ID.
|
|
110
|
+
*
|
|
51
111
|
* @example
|
|
52
112
|
* B4D805CA-926D-41B1-8E63-7AD0C1ED****
|
|
53
113
|
*/
|
|
54
114
|
requestId?: string;
|
|
55
115
|
/**
|
|
116
|
+
* @remarks
|
|
117
|
+
* Indicates whether the application instance groups were obtained successfully. Valid values:
|
|
118
|
+
*
|
|
119
|
+
* * **true**
|
|
120
|
+
* * **false**
|
|
121
|
+
*
|
|
56
122
|
* @example
|
|
57
123
|
* true
|
|
58
124
|
*/
|
|
59
125
|
success?: boolean;
|
|
60
126
|
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* The ID of the trace, which is used to query the exact call information.
|
|
129
|
+
*
|
|
61
130
|
* @example
|
|
62
131
|
* 0a98a02315955564772843261e****
|
|
63
132
|
*/
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class DescribeNamespaceResourcesResponseBodyData extends $dara.Model {
|
|
6
|
+
apmJavaAgentVersion?: string;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* The number of applications.
|
|
@@ -172,6 +173,7 @@ export class DescribeNamespaceResourcesResponseBodyData extends $dara.Model {
|
|
|
172
173
|
vpcName?: string;
|
|
173
174
|
static names(): { [key: string]: string } {
|
|
174
175
|
return {
|
|
176
|
+
apmJavaAgentVersion: 'ApmJavaAgentVersion',
|
|
175
177
|
appCount: 'AppCount',
|
|
176
178
|
belongRegion: 'BelongRegion',
|
|
177
179
|
description: 'Description',
|
|
@@ -197,6 +199,7 @@ export class DescribeNamespaceResourcesResponseBodyData extends $dara.Model {
|
|
|
197
199
|
|
|
198
200
|
static types(): { [key: string]: any } {
|
|
199
201
|
return {
|
|
202
|
+
apmJavaAgentVersion: 'string',
|
|
200
203
|
appCount: 'number',
|
|
201
204
|
belongRegion: 'string',
|
|
202
205
|
description: 'string',
|
|
@@ -4,6 +4,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DowngradeApplicationApmServiceResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Indicates whether ARMS advanced monitoring is disabled. Valid values:
|
|
9
|
+
*
|
|
10
|
+
* * **true**
|
|
11
|
+
* * **false**
|
|
12
|
+
*
|
|
7
13
|
* @example
|
|
8
14
|
* true
|
|
9
15
|
*/
|
|
@@ -31,24 +37,59 @@ export class DowngradeApplicationApmServiceResponseBodyData extends $dara.Model
|
|
|
31
37
|
|
|
32
38
|
export class DowngradeApplicationApmServiceResponseBody extends $dara.Model {
|
|
33
39
|
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The HTTP status code or the error code. Valid values:
|
|
42
|
+
*
|
|
43
|
+
* * **2xx**: The request was successful.
|
|
44
|
+
* * **3xx**: The request was redirected.
|
|
45
|
+
* * **4xx**: The request failed.
|
|
46
|
+
* * **5xx**: A server error occurred.
|
|
47
|
+
*
|
|
34
48
|
* @example
|
|
35
49
|
* 200
|
|
36
50
|
*/
|
|
37
51
|
code?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* The returned result.
|
|
55
|
+
*/
|
|
38
56
|
data?: DowngradeApplicationApmServiceResponseBodyData;
|
|
57
|
+
/**
|
|
58
|
+
* @remarks
|
|
59
|
+
* The status code.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* 400
|
|
63
|
+
*/
|
|
39
64
|
errorCode?: string;
|
|
40
65
|
/**
|
|
66
|
+
* @remarks
|
|
67
|
+
* The message that is returned.
|
|
68
|
+
*
|
|
41
69
|
* @example
|
|
42
70
|
* success
|
|
43
71
|
*/
|
|
44
72
|
message?: string;
|
|
45
73
|
/**
|
|
74
|
+
* @remarks
|
|
75
|
+
* Request ID.
|
|
76
|
+
*
|
|
46
77
|
* @example
|
|
47
78
|
* 01CF26C7-00A3-4AA6-BA76-7E95F2A3****
|
|
48
79
|
*/
|
|
49
80
|
requestId?: string;
|
|
81
|
+
/**
|
|
82
|
+
* @remarks
|
|
83
|
+
* Indicates whether ARMS advanced monitoring is disabled. Valid values:
|
|
84
|
+
*
|
|
85
|
+
* * **true**
|
|
86
|
+
* * **false**
|
|
87
|
+
*/
|
|
50
88
|
success?: boolean;
|
|
51
89
|
/**
|
|
90
|
+
* @remarks
|
|
91
|
+
* The ID of the trace. The ID is used to query the details of a request.
|
|
92
|
+
*
|
|
52
93
|
* @example
|
|
53
94
|
* 0a98a02315955564772843261e****
|
|
54
95
|
*/
|
|
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetWebshellTokenRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* The ID of the interactive messaging application.
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
@@ -13,11 +15,11 @@ export class GetWebshellTokenRequest extends $dara.Model {
|
|
|
13
15
|
appId?: string;
|
|
14
16
|
/**
|
|
15
17
|
* @remarks
|
|
16
|
-
* The name of the container.
|
|
18
|
+
* The name of the init container.
|
|
17
19
|
*
|
|
18
20
|
* Note:
|
|
19
21
|
*
|
|
20
|
-
* * If this parameter
|
|
22
|
+
* * If you specify this parameter, Cloud Assistant runs the command in the specified container of the instances.
|
|
21
23
|
*
|
|
22
24
|
* * If this parameter is specified, the command can run only on Linux instances on which Cloud Assistant Agent 2.2.3.344 or later is installed.
|
|
23
25
|
*
|
|
@@ -34,6 +36,8 @@ export class GetWebshellTokenRequest extends $dara.Model {
|
|
|
34
36
|
containerName?: string;
|
|
35
37
|
/**
|
|
36
38
|
* @remarks
|
|
39
|
+
* The name of the pod.
|
|
40
|
+
*
|
|
37
41
|
* This parameter is required.
|
|
38
42
|
*
|
|
39
43
|
* @example
|
|
@@ -4,16 +4,25 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetWebshellTokenResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Webshell page address
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* HttpUrl : "https://saenext.console.aliyun.com/cn-shenzhen/app-list/app1/micro-app/shell/pod1?tokenId=xxx
|
|
9
12
|
*/
|
|
10
13
|
httpUrl?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The information about the token.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* zWWpvRj_5pzof4hfo7-hGynM8oGMmO_7
|
|
14
20
|
*/
|
|
15
21
|
token?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The WebSocket address.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* wss://sae-webshell.console.aliyun.com/websocket/eamWebshell?tokenId=xxx®ion=cn-shenzhen
|
|
19
28
|
*/
|
|
@@ -45,32 +54,65 @@ export class GetWebshellTokenResponseBodyData extends $dara.Model {
|
|
|
45
54
|
|
|
46
55
|
export class GetWebshellTokenResponseBody extends $dara.Model {
|
|
47
56
|
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The HTTP status code. Valid values:
|
|
59
|
+
*
|
|
60
|
+
* * **2xx**: The request was successful.
|
|
61
|
+
* * **3xx**: The request was redirected.
|
|
62
|
+
* * **4xx**: The request failed.
|
|
63
|
+
* * **5xx**: A server error occurred.
|
|
64
|
+
*
|
|
48
65
|
* @example
|
|
49
66
|
* 200
|
|
50
67
|
*/
|
|
51
68
|
code?: string;
|
|
52
69
|
/**
|
|
53
70
|
* @remarks
|
|
54
|
-
*
|
|
71
|
+
* The returned result.
|
|
55
72
|
*/
|
|
56
73
|
data?: GetWebshellTokenResponseBodyData;
|
|
74
|
+
/**
|
|
75
|
+
* @remarks
|
|
76
|
+
* The error code returned if the call failed. Value values:
|
|
77
|
+
*
|
|
78
|
+
* * If the request was successful, **ErrorCode** is not returned.
|
|
79
|
+
* * If the request failed, the **ErrorCode** parameter is returned. For more information, see **Error codes** section in this topic.
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* 400
|
|
83
|
+
*/
|
|
57
84
|
errorCode?: string;
|
|
58
85
|
/**
|
|
86
|
+
* @remarks
|
|
87
|
+
* The returned message. Value description:
|
|
88
|
+
*
|
|
89
|
+
* * If the request was successful, a success message is returned.
|
|
90
|
+
* * An error code is returned if the request failed.
|
|
91
|
+
*
|
|
59
92
|
* @example
|
|
60
93
|
* success
|
|
61
94
|
*/
|
|
62
95
|
message?: string;
|
|
63
96
|
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* Request ID.
|
|
99
|
+
*
|
|
64
100
|
* @example
|
|
65
101
|
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
66
102
|
*/
|
|
67
103
|
requestId?: string;
|
|
68
104
|
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* Indicates whether the request was successful.
|
|
107
|
+
*
|
|
69
108
|
* @example
|
|
70
109
|
* true
|
|
71
110
|
*/
|
|
72
111
|
success?: boolean;
|
|
73
112
|
/**
|
|
113
|
+
* @remarks
|
|
114
|
+
* The ID of the trace.
|
|
115
|
+
*
|
|
74
116
|
* @example
|
|
75
117
|
* 0a98a02315955564772843261e****
|
|
76
118
|
*/
|
|
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class QueryArmsEnableResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Indicates if enabled. Valid values: true and false.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* true
|
|
9
12
|
*/
|
|
@@ -31,28 +34,63 @@ export class QueryArmsEnableResponseBodyData extends $dara.Model {
|
|
|
31
34
|
|
|
32
35
|
export class QueryArmsEnableResponseBody extends $dara.Model {
|
|
33
36
|
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The status code or error code. Valid values: 2xx: The request was successful. 3xx: The request was redirected. 4xx: The request was invalid. 5xx: A server error occurred.
|
|
39
|
+
*
|
|
34
40
|
* @example
|
|
35
41
|
* 200
|
|
36
42
|
*/
|
|
37
43
|
code?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The response data.
|
|
47
|
+
*/
|
|
38
48
|
data?: QueryArmsEnableResponseBodyData;
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* The error code. Value description:
|
|
52
|
+
*
|
|
53
|
+
* * If the request was successful, this field is not returned.
|
|
54
|
+
* * For more information, see the **Error codes** section of this topic.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* InvalidApplication.NotFound
|
|
58
|
+
*/
|
|
39
59
|
errorCode?: string;
|
|
40
60
|
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* The additional information. Value description:
|
|
63
|
+
*
|
|
64
|
+
* * If the request was successful, **success** is returned.
|
|
65
|
+
* * If the request failed, an error code is returned.
|
|
66
|
+
*
|
|
41
67
|
* @example
|
|
42
68
|
* success
|
|
43
69
|
*/
|
|
44
70
|
message?: string;
|
|
45
71
|
/**
|
|
72
|
+
* @remarks
|
|
73
|
+
* The request ID.
|
|
74
|
+
*
|
|
46
75
|
* @example
|
|
47
76
|
* 01CF26C7-00A3-4AA6-BA76-7E95F2A3****
|
|
48
77
|
*/
|
|
49
78
|
requestId?: string;
|
|
50
79
|
/**
|
|
80
|
+
* @remarks
|
|
81
|
+
* Indicates whether the request was successful. Valid values:
|
|
82
|
+
*
|
|
83
|
+
* * **true**
|
|
84
|
+
* * **false**
|
|
85
|
+
*
|
|
51
86
|
* @example
|
|
52
87
|
* true
|
|
53
88
|
*/
|
|
54
89
|
success?: boolean;
|
|
55
90
|
/**
|
|
91
|
+
* @remarks
|
|
92
|
+
* The ID of the trace, which is used to query the details of a request.
|
|
93
|
+
*
|
|
56
94
|
* @example
|
|
57
95
|
* 0a98a02315955564772843261e****
|
|
58
96
|
*/
|
|
@@ -23,6 +23,7 @@ export class RescaleApplicationVerticallyRequest extends $dara.Model {
|
|
|
23
23
|
* 1000
|
|
24
24
|
*/
|
|
25
25
|
cpu?: string;
|
|
26
|
+
deploy?: boolean;
|
|
26
27
|
/**
|
|
27
28
|
* @remarks
|
|
28
29
|
* The disk size. Unit: GB.
|
|
@@ -71,6 +72,7 @@ export class RescaleApplicationVerticallyRequest extends $dara.Model {
|
|
|
71
72
|
return {
|
|
72
73
|
appId: 'AppId',
|
|
73
74
|
cpu: 'Cpu',
|
|
75
|
+
deploy: 'Deploy',
|
|
74
76
|
diskSize: 'DiskSize',
|
|
75
77
|
memory: 'Memory',
|
|
76
78
|
resourceType: 'ResourceType',
|
|
@@ -85,6 +87,7 @@ export class RescaleApplicationVerticallyRequest extends $dara.Model {
|
|
|
85
87
|
return {
|
|
86
88
|
appId: 'string',
|
|
87
89
|
cpu: 'string',
|
|
90
|
+
deploy: 'boolean',
|
|
88
91
|
diskSize: 'string',
|
|
89
92
|
memory: 'string',
|
|
90
93
|
resourceType: 'string',
|
|
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateApplicationDescriptionRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* The new description of the application. The description can be up to 1,024 characters in length.
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
@@ -13,6 +15,8 @@ export class UpdateApplicationDescriptionRequest extends $dara.Model {
|
|
|
13
15
|
appDescription?: string;
|
|
14
16
|
/**
|
|
15
17
|
* @remarks
|
|
18
|
+
* The ID of the application that you want to update.
|
|
19
|
+
*
|
|
16
20
|
* This parameter is required.
|
|
17
21
|
*
|
|
18
22
|
* @example
|
|
@@ -4,27 +4,63 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class UpdateApplicationDescriptionResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The HTTP status code or the error code. Valid values:
|
|
9
|
+
*
|
|
10
|
+
* * **2xx**: The request was successful.
|
|
11
|
+
* * **3xx**: The request was redirected.
|
|
12
|
+
* * **4xx**: The request failed.
|
|
13
|
+
* * **5xx**: A server error occurred.
|
|
14
|
+
*
|
|
7
15
|
* @example
|
|
8
16
|
* 200
|
|
9
17
|
*/
|
|
10
18
|
code?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The error code returned if the call failed. Value values:
|
|
22
|
+
*
|
|
23
|
+
* * If the request was successful, **ErrorCode** is not returned.
|
|
24
|
+
* * If the request failed, **ErrorCode** is returned. For more information, see **Error codes** in this topic.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 400
|
|
28
|
+
*/
|
|
11
29
|
errorCode?: string;
|
|
12
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The message returned. The following limits are imposed on the ID:
|
|
33
|
+
*
|
|
34
|
+
* * If the request was successful, **success** is returned.
|
|
35
|
+
* * An error code is returned when a request failed.
|
|
36
|
+
*
|
|
13
37
|
* @example
|
|
14
38
|
* success
|
|
15
39
|
*/
|
|
16
40
|
message?: string;
|
|
17
41
|
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* Request ID.
|
|
44
|
+
*
|
|
18
45
|
* @example
|
|
19
46
|
* 01CF26C7-00A3-4AA6-BA76-7E95F2A3***
|
|
20
47
|
*/
|
|
21
48
|
requestId?: string;
|
|
22
49
|
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* Indicates whether the application was deployed. Valid values:
|
|
52
|
+
*
|
|
53
|
+
* * **true**: The application was deployed.
|
|
54
|
+
* * **false**: The application failed to be deployed.
|
|
55
|
+
*
|
|
23
56
|
* @example
|
|
24
57
|
* true
|
|
25
58
|
*/
|
|
26
59
|
success?: boolean;
|
|
27
60
|
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* The ID of the trace. The ID is used to query the details of a request.
|
|
63
|
+
*
|
|
28
64
|
* @example
|
|
29
65
|
* ac1a0b2215622246421415014e****
|
|
30
66
|
*/
|
|
@@ -13,6 +13,7 @@ export class UpdateApplicationVswitchesRequest extends $dara.Model {
|
|
|
13
13
|
* 0099b7be-5f5b-4512-a7fc-56049ef1****
|
|
14
14
|
*/
|
|
15
15
|
appId?: string;
|
|
16
|
+
deploy?: boolean;
|
|
16
17
|
/**
|
|
17
18
|
* @remarks
|
|
18
19
|
* The ID of the vSwitch.
|
|
@@ -26,6 +27,7 @@ export class UpdateApplicationVswitchesRequest extends $dara.Model {
|
|
|
26
27
|
static names(): { [key: string]: string } {
|
|
27
28
|
return {
|
|
28
29
|
appId: 'AppId',
|
|
30
|
+
deploy: 'Deploy',
|
|
29
31
|
vSwitchId: 'VSwitchId',
|
|
30
32
|
};
|
|
31
33
|
}
|
|
@@ -33,6 +35,7 @@ export class UpdateApplicationVswitchesRequest extends $dara.Model {
|
|
|
33
35
|
static types(): { [key: string]: any } {
|
|
34
36
|
return {
|
|
35
37
|
appId: 'string',
|
|
38
|
+
deploy: 'boolean',
|
|
36
39
|
vSwitchId: 'string',
|
|
37
40
|
};
|
|
38
41
|
}
|
|
@@ -5,11 +5,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateIngressRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the
|
|
8
|
+
* The ID of the **CLB** certificate. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* * If
|
|
10
|
+
* * If the **LoadBalanceType** is **clb**, use this field to configure the HTTPS listener certificate.
|
|
11
11
|
*
|
|
12
|
-
* For more information about how to
|
|
12
|
+
* For more information about how to use SSL certificate IDs for CLB, see [Manage certificates (CLB)](https://help.aliyun.com/document_detail/90792.html).
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* 188077086902****_176993d****_181437****_108724****
|
|
@@ -17,10 +17,10 @@ export class UpdateIngressRequest extends $dara.Model {
|
|
|
17
17
|
certId?: string;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
* The
|
|
20
|
+
* The ID of the multi-certificate **ALB**. Valid values:
|
|
21
21
|
*
|
|
22
|
-
* * If
|
|
23
|
-
* * The ID of the SSL certificate
|
|
22
|
+
* * If the **LoadBalanceType** is **alb**, use this field to configure multiple certificates for HTTPS listeners. Separate multiple certificate IDs with commas (,).
|
|
23
|
+
* * The ID of the SSL certificate used by ALB must be obtained from the digital certificate product. For example, in the configuration `756***-cn-hangzhou`, the `756***` is the certificate ID obtained from the product page, and the `-cn-hangzhou` is a fixed suffix. For more information, see [Manage certificates](https://help.aliyun.com/document_detail/209076.html).
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* 87***35-cn-hangzhou,812***3-cn-hangzhou
|
|
@@ -29,7 +29,7 @@ export class UpdateIngressRequest extends $dara.Model {
|
|
|
29
29
|
corsConfig?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The default forwarding rule.
|
|
32
|
+
* The default forwarding rule. Forwards traffic to a specified application through a specified port based on the IP address. The following table describes the parameters.
|
|
33
33
|
*
|
|
34
34
|
* * **appId**: the ID of the application.
|
|
35
35
|
* * **containerPort**: the container port of the application.
|
|
@@ -76,7 +76,7 @@ export class UpdateIngressRequest extends $dara.Model {
|
|
|
76
76
|
ingressId?: number;
|
|
77
77
|
/**
|
|
78
78
|
* @remarks
|
|
79
|
-
* The
|
|
79
|
+
* The SLB listening port. This port cannot be occupied.
|
|
80
80
|
*
|
|
81
81
|
* @example
|
|
82
82
|
* 443
|
|
@@ -86,7 +86,7 @@ export class UpdateIngressRequest extends $dara.Model {
|
|
|
86
86
|
* @remarks
|
|
87
87
|
* The protocol that is used to forward requests. Valid values:
|
|
88
88
|
*
|
|
89
|
-
* * **HTTP**: HTTP is suitable for applications that need to identify
|
|
89
|
+
* * **HTTP**: HTTP is suitable for applications that need to identify transmitted data.
|
|
90
90
|
* * **HTTPS**: HTTPS is suitable for applications that require encrypted data transmission.
|
|
91
91
|
*
|
|
92
92
|
* @example
|
|
@@ -95,7 +95,7 @@ export class UpdateIngressRequest extends $dara.Model {
|
|
|
95
95
|
listenerProtocol?: string;
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
*
|
|
98
|
+
* The parameter is deprecated and cannot be updated.
|
|
99
99
|
*
|
|
100
100
|
* @example
|
|
101
101
|
* clb
|
|
@@ -111,10 +111,10 @@ export class UpdateIngressRequest extends $dara.Model {
|
|
|
111
111
|
requestTimeout?: number;
|
|
112
112
|
/**
|
|
113
113
|
* @remarks
|
|
114
|
-
* The forwarding
|
|
114
|
+
* The forwarding rule. Forwards traffic to a specified application through a specified port based on the domain name and request path. The following table describes the parameters.
|
|
115
115
|
*
|
|
116
116
|
* * **appId**: the ID of the application.
|
|
117
|
-
* * **containerPort**:
|
|
117
|
+
* * **containerPort**: The port of the application instance.
|
|
118
118
|
* * **domain**: the domain name.
|
|
119
119
|
* * **path**: the request path.
|
|
120
120
|
*
|