@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
|
@@ -35,7 +35,7 @@ export class UpdateIngressResponseBodyData extends $dara.Model {
|
|
|
35
35
|
export class UpdateIngressResponseBody extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The HTTP status code. Valid values:
|
|
38
|
+
* The HTTP status code or the error code. Valid values:
|
|
39
39
|
*
|
|
40
40
|
* * **2xx**: The request was successful.
|
|
41
41
|
* * **3xx**: The request was redirected.
|
|
@@ -48,12 +48,12 @@ export class UpdateIngressResponseBody extends $dara.Model {
|
|
|
48
48
|
code?: string;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
*
|
|
51
|
+
* Responses.
|
|
52
52
|
*/
|
|
53
53
|
data?: UpdateIngressResponseBodyData;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The
|
|
56
|
+
* The status code. Value values:
|
|
57
57
|
*
|
|
58
58
|
* * If the request was successful, **ErrorCode** is not returned.
|
|
59
59
|
* * If the request failed, **ErrorCode** is returned. For more information, see the **Error codes** section of this topic.
|
|
@@ -61,10 +61,10 @@ export class UpdateIngressResponseBody extends $dara.Model {
|
|
|
61
61
|
errorCode?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
*
|
|
64
|
+
* Additional information. Valid values:
|
|
65
65
|
*
|
|
66
|
-
* *
|
|
67
|
-
* * If the request
|
|
66
|
+
* * The error message returned because the request is normal and **success** is returned.
|
|
67
|
+
* * If the request is abnormal, the specific exception error code is returned.
|
|
68
68
|
*
|
|
69
69
|
* @example
|
|
70
70
|
* success
|
|
@@ -72,7 +72,7 @@ export class UpdateIngressResponseBody extends $dara.Model {
|
|
|
72
72
|
message?: string;
|
|
73
73
|
/**
|
|
74
74
|
* @remarks
|
|
75
|
-
* The request
|
|
75
|
+
* The ID of the request.
|
|
76
76
|
*
|
|
77
77
|
* @example
|
|
78
78
|
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
@@ -80,10 +80,10 @@ export class UpdateIngressResponseBody extends $dara.Model {
|
|
|
80
80
|
requestId?: string;
|
|
81
81
|
/**
|
|
82
82
|
* @remarks
|
|
83
|
-
*
|
|
83
|
+
* Whether the configuration of the Ingress instance is updated. Valid values:
|
|
84
84
|
*
|
|
85
|
-
* * **true
|
|
86
|
-
* * **false
|
|
85
|
+
* * **true**: The update was successful.
|
|
86
|
+
* * **false**: Update failed.
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
89
|
* true
|
|
@@ -91,7 +91,7 @@ export class UpdateIngressResponseBody extends $dara.Model {
|
|
|
91
91
|
success?: boolean;
|
|
92
92
|
/**
|
|
93
93
|
* @remarks
|
|
94
|
-
* The trace
|
|
94
|
+
* The ID of the trace.
|
|
95
95
|
*
|
|
96
96
|
* @example
|
|
97
97
|
* 0a98a02315955564772843261e****
|
|
@@ -4,16 +4,40 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class UpdateNamespaceSlsConfigsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The short ID of the namespace. No need to specify a region ID. We recommend configuring this parameter.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* test
|
|
9
12
|
*/
|
|
10
13
|
nameSpaceShortId?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The namespace ID.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* cn-beijing:test
|
|
14
20
|
*/
|
|
15
21
|
namespaceId?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The logging configurations of Simple Log Service.
|
|
25
|
+
*
|
|
26
|
+
* * `[{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]`: Simple Log Service resources automatically created by Serverless App Engine (SAE) are used.
|
|
27
|
+
* * To use custom Simple Log Service resources, set this parameter to `[{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}]`.
|
|
28
|
+
*
|
|
29
|
+
* Take note of the following subparameters:
|
|
30
|
+
*
|
|
31
|
+
* * **projectName**: the name of the Simple Log Service project.
|
|
32
|
+
* * **logDir**: the path in which logs are stored.
|
|
33
|
+
* * **logType**: the log type. **stdout** indicates the standard output (stdout) logs of the container. You can specify only one stdout value for this parameter. If not specified, file logs are collected.
|
|
34
|
+
* * **logstoreName**: the name of the Logstore in Simple Log Service.
|
|
35
|
+
* * **logtailName**: the name of the Logtail in Simple Log Service. If not specified, a new Logtail is created.
|
|
36
|
+
*
|
|
37
|
+
* If logging configuration changes are not needed during job template deployment, specify **SlsConfigs** only in the first request. Omit this parameter in later requests. To stop using Simple Log Service, leave **SlsConfigs** empty.
|
|
38
|
+
*
|
|
39
|
+
* > Projects automatically created by SAE for job templates are deleted when their corresponding job templates are deleted. Therefore, you should not select an existing SAE-created project for log collection.
|
|
40
|
+
*
|
|
17
41
|
* @example
|
|
18
42
|
* [{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}]
|
|
19
43
|
*/
|
|
@@ -4,29 +4,51 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class UpdateNamespaceSlsConfigsResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* 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.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 200
|
|
9
12
|
*/
|
|
10
13
|
code?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The error code. Value description:
|
|
17
|
+
*
|
|
18
|
+
* * If the request was successful, this field is not returned.
|
|
19
|
+
* * For more information, see the **Error codes** section of this topic.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* InvalidNamespaceId.NotFound
|
|
23
|
+
*/
|
|
11
24
|
errorCode?: string;
|
|
12
25
|
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* The additional information.
|
|
28
|
+
*
|
|
13
29
|
* @example
|
|
14
30
|
* success
|
|
15
31
|
*/
|
|
16
32
|
message?: string;
|
|
17
33
|
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* Indicates whether the Simple Log Service configuration for the namespace was updated. Valid values: true and false.
|
|
36
|
+
*
|
|
18
37
|
* @example
|
|
19
38
|
* true
|
|
20
39
|
*/
|
|
21
40
|
success?: boolean;
|
|
22
41
|
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* The ID of the trace, which is used to query the exact call information.
|
|
44
|
+
*
|
|
23
45
|
* @example
|
|
24
46
|
* 0a98a02315955564772843261e****
|
|
25
47
|
*/
|
|
26
48
|
traceId?: string;
|
|
27
49
|
/**
|
|
28
50
|
* @remarks
|
|
29
|
-
*
|
|
51
|
+
* The request ID.
|
|
30
52
|
*
|
|
31
53
|
* @example
|
|
32
54
|
* AD0286B2-F4A4-5D43-9329-97DEF1019F06
|
|
@@ -4,6 +4,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class UpgradeApplicationApmServiceResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Indicates whether ARMS advanced monitoring is enabled. Valid values:
|
|
9
|
+
*
|
|
10
|
+
* * **true**
|
|
11
|
+
* * **false**
|
|
12
|
+
*
|
|
7
13
|
* @example
|
|
8
14
|
* true
|
|
9
15
|
*/
|
|
@@ -31,28 +37,65 @@ export class UpgradeApplicationApmServiceResponseBodyData extends $dara.Model {
|
|
|
31
37
|
|
|
32
38
|
export class UpgradeApplicationApmServiceResponseBody 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?: UpgradeApplicationApmServiceResponseBodyData;
|
|
39
57
|
/**
|
|
58
|
+
* @remarks
|
|
59
|
+
* The status code. Value values:
|
|
60
|
+
*
|
|
61
|
+
* * If the request was successful, **ErrorCode** is not returned.
|
|
62
|
+
* * If the request failed, **ErrorCode** is returned. For more information, see **Error codes** in this topic.
|
|
63
|
+
*
|
|
40
64
|
* @example
|
|
41
65
|
* success
|
|
42
66
|
*/
|
|
43
67
|
errorCode?: string;
|
|
44
68
|
/**
|
|
69
|
+
* @remarks
|
|
70
|
+
* The message returned. The following limits are imposed on the ID:
|
|
71
|
+
*
|
|
72
|
+
* * If the request was successful, **success** is returned.
|
|
73
|
+
* * An error code is returned when a request failed.
|
|
74
|
+
*
|
|
45
75
|
* @example
|
|
46
76
|
* success
|
|
47
77
|
*/
|
|
48
78
|
message?: string;
|
|
49
79
|
/**
|
|
80
|
+
* @remarks
|
|
81
|
+
* Request ID.
|
|
82
|
+
*
|
|
50
83
|
* @example
|
|
51
84
|
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
52
85
|
*/
|
|
53
86
|
requestId?: string;
|
|
87
|
+
/**
|
|
88
|
+
* @remarks
|
|
89
|
+
* Indicates whether the request was successful. Valid values:
|
|
90
|
+
*
|
|
91
|
+
* * **true**
|
|
92
|
+
* * **false**
|
|
93
|
+
*/
|
|
54
94
|
success?: boolean;
|
|
55
95
|
/**
|
|
96
|
+
* @remarks
|
|
97
|
+
* The ID of the trace. The ID is used to query the details of a request.
|
|
98
|
+
*
|
|
56
99
|
* @example
|
|
57
100
|
* 0a98a02315955564772843261e****
|
|
58
101
|
*/
|