@alicloud/sae20190506 2.8.4 → 2.9.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 +44 -26
- package/dist/client.js +77 -26
- package/dist/client.js.map +1 -1
- package/dist/models/CreateOrUpdateSwimmingLaneGroupRequest.d.ts +26 -0
- package/dist/models/CreateOrUpdateSwimmingLaneGroupRequest.js.map +1 -1
- package/dist/models/CreateOrUpdateSwimmingLaneGroupResponseBody.d.ts +40 -0
- package/dist/models/CreateOrUpdateSwimmingLaneGroupResponseBody.js.map +1 -1
- package/dist/models/CreateOrUpdateSwimmingLaneGroupShrinkRequest.d.ts +26 -0
- package/dist/models/CreateOrUpdateSwimmingLaneGroupShrinkRequest.js.map +1 -1
- package/dist/models/CreateOrUpdateSwimmingLaneRequest.d.ts +137 -0
- package/dist/models/CreateOrUpdateSwimmingLaneRequest.js.map +1 -1
- package/dist/models/CreateOrUpdateSwimmingLaneResponseBody.d.ts +40 -0
- package/dist/models/CreateOrUpdateSwimmingLaneResponseBody.js.map +1 -1
- package/dist/models/CreateOrUpdateSwimmingLaneShrinkRequest.d.ts +39 -0
- package/dist/models/CreateOrUpdateSwimmingLaneShrinkRequest.js.map +1 -1
- package/dist/models/DeleteInstancesRequest.d.ts +4 -0
- package/dist/models/DeleteInstancesRequest.js.map +1 -1
- package/dist/models/DeleteInstancesResponseBody.d.ts +40 -0
- package/dist/models/DeleteInstancesResponseBody.js.map +1 -1
- package/dist/models/DeleteSwimmingLaneGroupRequest.d.ts +6 -0
- package/dist/models/DeleteSwimmingLaneGroupRequest.js.map +1 -1
- package/dist/models/DeleteSwimmingLaneGroupResponseBody.d.ts +33 -0
- package/dist/models/DeleteSwimmingLaneGroupResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceLogRequest.d.ts +1 -0
- package/dist/models/DescribeInstanceLogRequest.js +2 -0
- package/dist/models/DescribeInstanceLogRequest.js.map +1 -1
- package/dist/models/DescribeSwimmingLaneRequest.d.ts +9 -0
- package/dist/models/DescribeSwimmingLaneRequest.js.map +1 -1
- package/dist/models/DescribeSwimmingLaneResponseBody.d.ts +185 -0
- package/dist/models/DescribeSwimmingLaneResponseBody.js.map +1 -1
- package/dist/models/GetWebshellTokenResponseBody.d.ts +4 -0
- package/dist/models/GetWebshellTokenResponseBody.js.map +1 -1
- package/dist/models/ListAllSwimmingLaneGroupsRequest.d.ts +3 -0
- package/dist/models/ListAllSwimmingLaneGroupsRequest.js.map +1 -1
- package/dist/models/ListAllSwimmingLaneGroupsResponseBody.d.ts +113 -0
- package/dist/models/ListAllSwimmingLaneGroupsResponseBody.js.map +1 -1
- package/dist/models/ListAllSwimmingLanesRequest.d.ts +6 -0
- package/dist/models/ListAllSwimmingLanesRequest.js.map +1 -1
- package/dist/models/ListAllSwimmingLanesResponseBody.d.ts +185 -0
- package/dist/models/ListAllSwimmingLanesResponseBody.js.map +1 -1
- package/dist/models/ListApplicationsForSwimmingLaneRequest.d.ts +8 -0
- package/dist/models/ListApplicationsForSwimmingLaneRequest.js.map +1 -1
- package/dist/models/ListApplicationsForSwimmingLaneResponseBody.d.ts +59 -0
- package/dist/models/ListApplicationsForSwimmingLaneResponseBody.js.map +1 -1
- package/dist/models/ListSwimmingLaneGatewayRoutesRequest.d.ts +6 -0
- package/dist/models/ListSwimmingLaneGatewayRoutesRequest.js.map +1 -1
- package/dist/models/ListSwimmingLaneGatewayRoutesResponseBody.d.ts +57 -0
- package/dist/models/ListSwimmingLaneGatewayRoutesResponseBody.js.map +1 -1
- package/dist/models/ListSwimmingLaneGroupTagsRequest.d.ts +6 -0
- package/dist/models/ListSwimmingLaneGroupTagsRequest.js.map +1 -1
- package/dist/models/ListSwimmingLaneGroupTagsResponseBody.d.ts +43 -0
- package/dist/models/ListSwimmingLaneGroupTagsResponseBody.js.map +1 -1
- package/dist/models/UpdateAppModeRequest.d.ts +11 -0
- package/dist/models/UpdateAppModeRequest.js.map +1 -1
- package/dist/models/UpdateAppModeResponseBody.d.ts +27 -0
- package/dist/models/UpdateAppModeResponseBody.js.map +1 -1
- package/dist/models/UpdateNamespaceSlsConfigsRequest.d.ts +28 -0
- package/dist/models/UpdateNamespaceSlsConfigsRequest.js +62 -0
- package/dist/models/UpdateNamespaceSlsConfigsRequest.js.map +1 -0
- package/dist/models/UpdateNamespaceSlsConfigsResponse.d.ts +19 -0
- package/dist/models/UpdateNamespaceSlsConfigsResponse.js +69 -0
- package/dist/models/UpdateNamespaceSlsConfigsResponse.js.map +1 -0
- package/dist/models/UpdateNamespaceSlsConfigsResponseBody.d.ts +42 -0
- package/dist/models/UpdateNamespaceSlsConfigsResponseBody.js +68 -0
- package/dist/models/UpdateNamespaceSlsConfigsResponseBody.js.map +1 -0
- package/dist/models/UpdateSwimmingLaneEnableAttributeRequest.d.ts +15 -0
- package/dist/models/UpdateSwimmingLaneEnableAttributeRequest.js.map +1 -1
- package/dist/models/UpdateSwimmingLaneEnableAttributeResponseBody.d.ts +33 -0
- package/dist/models/UpdateSwimmingLaneEnableAttributeResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +8 -2
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +83 -26
- package/src/models/CreateOrUpdateSwimmingLaneGroupRequest.ts +26 -0
- package/src/models/CreateOrUpdateSwimmingLaneGroupResponseBody.ts +40 -0
- package/src/models/CreateOrUpdateSwimmingLaneGroupShrinkRequest.ts +26 -0
- package/src/models/CreateOrUpdateSwimmingLaneRequest.ts +137 -0
- package/src/models/CreateOrUpdateSwimmingLaneResponseBody.ts +40 -0
- package/src/models/CreateOrUpdateSwimmingLaneShrinkRequest.ts +39 -0
- package/src/models/DeleteInstancesRequest.ts +4 -0
- package/src/models/DeleteInstancesResponseBody.ts +40 -0
- package/src/models/DeleteSwimmingLaneGroupRequest.ts +6 -0
- package/src/models/DeleteSwimmingLaneGroupResponseBody.ts +33 -0
- package/src/models/DescribeInstanceLogRequest.ts +3 -0
- package/src/models/DescribeSwimmingLaneRequest.ts +9 -0
- package/src/models/DescribeSwimmingLaneResponseBody.ts +185 -0
- package/src/models/GetWebshellTokenResponseBody.ts +4 -0
- package/src/models/ListAllSwimmingLaneGroupsRequest.ts +3 -0
- package/src/models/ListAllSwimmingLaneGroupsResponseBody.ts +113 -0
- package/src/models/ListAllSwimmingLanesRequest.ts +6 -0
- package/src/models/ListAllSwimmingLanesResponseBody.ts +185 -0
- package/src/models/ListApplicationsForSwimmingLaneRequest.ts +8 -0
- package/src/models/ListApplicationsForSwimmingLaneResponseBody.ts +59 -0
- package/src/models/ListSwimmingLaneGatewayRoutesRequest.ts +6 -0
- package/src/models/ListSwimmingLaneGatewayRoutesResponseBody.ts +57 -0
- package/src/models/ListSwimmingLaneGroupTagsRequest.ts +6 -0
- package/src/models/ListSwimmingLaneGroupTagsResponseBody.ts +43 -0
- package/src/models/UpdateAppModeRequest.ts +11 -0
- package/src/models/UpdateAppModeResponseBody.ts +27 -0
- package/src/models/UpdateNamespaceSlsConfigsRequest.ts +45 -0
- package/src/models/UpdateNamespaceSlsConfigsResponse.ts +40 -0
- package/src/models/UpdateNamespaceSlsConfigsResponseBody.ts +65 -0
- package/src/models/UpdateSwimmingLaneEnableAttributeRequest.ts +15 -0
- package/src/models/UpdateSwimmingLaneEnableAttributeResponseBody.ts +33 -0
- package/src/models/model.ts +3 -0
|
@@ -4,40 +4,65 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ListApplicationsForSwimmingLaneResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the application.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 0099b7be-5f5b-4512-a7fc-56049ef1****
|
|
9
12
|
*/
|
|
10
13
|
appId?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The name of the application.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* demo-app
|
|
14
20
|
*/
|
|
15
21
|
appName?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The ID of the baseline application.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* 8c573618-8d72-4407-baf4-f7b64b******
|
|
19
28
|
*/
|
|
20
29
|
baseAppId?: string;
|
|
21
30
|
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The name of the baseline application.
|
|
33
|
+
*
|
|
22
34
|
* @example
|
|
23
35
|
* demo
|
|
24
36
|
*/
|
|
25
37
|
baseAppName?: string;
|
|
26
38
|
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The ID of the MSE instance.
|
|
41
|
+
*
|
|
27
42
|
* @example
|
|
28
43
|
* mse-cn-hvm47******
|
|
29
44
|
*/
|
|
30
45
|
mseAppId?: string;
|
|
31
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* MSE Instance Name
|
|
49
|
+
*
|
|
32
50
|
* @example
|
|
33
51
|
* test
|
|
34
52
|
*/
|
|
35
53
|
mseAppName?: string;
|
|
36
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The ID of the namespace to which the MSE instance belongs.
|
|
57
|
+
*
|
|
37
58
|
* @example
|
|
38
59
|
* sae-test
|
|
39
60
|
*/
|
|
40
61
|
mseNamespaceId?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The canary tag configured for the application.
|
|
65
|
+
*/
|
|
41
66
|
serviceTags?: { [key: string]: string };
|
|
42
67
|
static names(): { [key: string]: string } {
|
|
43
68
|
return {
|
|
@@ -79,23 +104,57 @@ export class ListApplicationsForSwimmingLaneResponseBodyData extends $dara.Model
|
|
|
79
104
|
|
|
80
105
|
export class ListApplicationsForSwimmingLaneResponseBody extends $dara.Model {
|
|
81
106
|
/**
|
|
107
|
+
* @remarks
|
|
108
|
+
* The HTTP status code or the error code. Valid values:
|
|
109
|
+
*
|
|
110
|
+
* * **2xx**: The request was successful.
|
|
111
|
+
* * **3xx**: The request was redirected.
|
|
112
|
+
* * **4xx**: The request failed.
|
|
113
|
+
* * **5xx**: A server error occurred.
|
|
114
|
+
*
|
|
82
115
|
* @example
|
|
83
116
|
* 200
|
|
84
117
|
*/
|
|
85
118
|
code?: string;
|
|
119
|
+
/**
|
|
120
|
+
* @remarks
|
|
121
|
+
* The list of applications.
|
|
122
|
+
*/
|
|
86
123
|
data?: ListApplicationsForSwimmingLaneResponseBodyData[];
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* The status code. Value values:
|
|
127
|
+
*
|
|
128
|
+
* * If the request was successful, **ErrorCode** is not returned.
|
|
129
|
+
* * If the request failed, the **ErrorCode** parameter is returned. For more information, see **Error codes** section in this topic.
|
|
130
|
+
*/
|
|
87
131
|
errorCode?: string;
|
|
88
132
|
/**
|
|
133
|
+
* @remarks
|
|
134
|
+
* The message returned. The following limits are imposed on the ID:
|
|
135
|
+
*
|
|
136
|
+
* * If the request was successful, **success** is returned.
|
|
137
|
+
* * An error code is returned when a request failed.
|
|
138
|
+
*
|
|
89
139
|
* @example
|
|
90
140
|
* success
|
|
91
141
|
*/
|
|
92
142
|
message?: string;
|
|
93
143
|
/**
|
|
144
|
+
* @remarks
|
|
145
|
+
* The ID of the trace. The ID is used to query the details of a request.
|
|
146
|
+
*
|
|
94
147
|
* @example
|
|
95
148
|
* 0a98a02315955564772843261e****
|
|
96
149
|
*/
|
|
97
150
|
requestId?: string;
|
|
98
151
|
/**
|
|
152
|
+
* @remarks
|
|
153
|
+
* Indicates whether the list of application instances was queried. Valid values:
|
|
154
|
+
*
|
|
155
|
+
* * **true**: The instance groups were obtained.
|
|
156
|
+
* * **false**: The instance groups failed to be obtained.
|
|
157
|
+
*
|
|
99
158
|
* @example
|
|
100
159
|
* true
|
|
101
160
|
*/
|
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ListSwimmingLaneGatewayRoutesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The unique ID of the gateway.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* gw-277c0727535f4aae917e48de0f******
|
|
9
12
|
*/
|
|
10
13
|
gatewayUniqueId?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The ID of the namespace.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* cn-beijing:test
|
|
14
20
|
*/
|
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ListSwimmingLaneGatewayRoutesResponseBodyDataRoutePredicatePathPredicate extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The route URL.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* /Path
|
|
9
12
|
*/
|
|
10
13
|
path?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The type of the protection rule.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* Header
|
|
14
20
|
*/
|
|
@@ -37,6 +43,10 @@ export class ListSwimmingLaneGatewayRoutesResponseBodyDataRoutePredicatePathPred
|
|
|
37
43
|
}
|
|
38
44
|
|
|
39
45
|
export class ListSwimmingLaneGatewayRoutesResponseBodyDataRoutePredicate extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The path matching rule.
|
|
49
|
+
*/
|
|
40
50
|
pathPredicate?: ListSwimmingLaneGatewayRoutesResponseBodyDataRoutePredicatePathPredicate;
|
|
41
51
|
static names(): { [key: string]: string } {
|
|
42
52
|
return {
|
|
@@ -64,15 +74,25 @@ export class ListSwimmingLaneGatewayRoutesResponseBodyDataRoutePredicate extends
|
|
|
64
74
|
|
|
65
75
|
export class ListSwimmingLaneGatewayRoutesResponseBodyData extends $dara.Model {
|
|
66
76
|
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The ID of the route.
|
|
79
|
+
*
|
|
67
80
|
* @example
|
|
68
81
|
* 16933
|
|
69
82
|
*/
|
|
70
83
|
routeId?: number;
|
|
71
84
|
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The name of the route.
|
|
87
|
+
*
|
|
72
88
|
* @example
|
|
73
89
|
* test-route
|
|
74
90
|
*/
|
|
75
91
|
routeName?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* The routing rule.
|
|
95
|
+
*/
|
|
76
96
|
routePredicate?: ListSwimmingLaneGatewayRoutesResponseBodyDataRoutePredicate;
|
|
77
97
|
static names(): { [key: string]: string } {
|
|
78
98
|
return {
|
|
@@ -104,28 +124,65 @@ export class ListSwimmingLaneGatewayRoutesResponseBodyData extends $dara.Model {
|
|
|
104
124
|
|
|
105
125
|
export class ListSwimmingLaneGatewayRoutesResponseBody extends $dara.Model {
|
|
106
126
|
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* The HTTP status code. Valid values:
|
|
129
|
+
*
|
|
130
|
+
* * **2xx**: The request was successful.
|
|
131
|
+
* * **3xx**: The request was redirected.
|
|
132
|
+
* * **4xx**: The request failed.
|
|
133
|
+
* * **5xx**: A server error occurred.
|
|
134
|
+
*
|
|
107
135
|
* @example
|
|
108
136
|
* 200
|
|
109
137
|
*/
|
|
110
138
|
code?: string;
|
|
139
|
+
/**
|
|
140
|
+
* @remarks
|
|
141
|
+
* Responses.
|
|
142
|
+
*/
|
|
111
143
|
data?: ListSwimmingLaneGatewayRoutesResponseBodyData[];
|
|
144
|
+
/**
|
|
145
|
+
* @remarks
|
|
146
|
+
* The status code. Value values:
|
|
147
|
+
*
|
|
148
|
+
* * If the request was successful, **ErrorCode** is not returned.
|
|
149
|
+
* * If the request failed, **ErrorCode** is returned. For more information, see **Error codes** in this topic.
|
|
150
|
+
*/
|
|
112
151
|
errorCode?: string;
|
|
113
152
|
/**
|
|
153
|
+
* @remarks
|
|
154
|
+
* Additional information. Valid values:
|
|
155
|
+
*
|
|
156
|
+
* * The error message returned because the request is normal and **success** is returned.
|
|
157
|
+
* * If the request is abnormal, the specific exception error code is returned.
|
|
158
|
+
*
|
|
114
159
|
* @example
|
|
115
160
|
* success
|
|
116
161
|
*/
|
|
117
162
|
message?: string;
|
|
118
163
|
/**
|
|
164
|
+
* @remarks
|
|
165
|
+
* The ID of the request.
|
|
166
|
+
*
|
|
119
167
|
* @example
|
|
120
168
|
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
121
169
|
*/
|
|
122
170
|
requestId?: string;
|
|
123
171
|
/**
|
|
172
|
+
* @remarks
|
|
173
|
+
* Indicates whether the request was successful. Valid values: Valid values:
|
|
174
|
+
*
|
|
175
|
+
* * **true**: The configurations were obtained.
|
|
176
|
+
* * **false**: The configurations failed to be queried.
|
|
177
|
+
*
|
|
124
178
|
* @example
|
|
125
179
|
* true
|
|
126
180
|
*/
|
|
127
181
|
success?: boolean;
|
|
128
182
|
/**
|
|
183
|
+
* @remarks
|
|
184
|
+
* The ID of the trace. This parameter is used to query the exact call information.
|
|
185
|
+
*
|
|
129
186
|
* @example
|
|
130
187
|
* ac1a0b2215622246421415014e****
|
|
131
188
|
*/
|
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ListSwimmingLaneGroupTagsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the lane group.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 2074
|
|
9
12
|
*/
|
|
10
13
|
groupId?: number;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The ID of a namespace.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* cn-beijing:test
|
|
14
20
|
*/
|
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ListSwimmingLaneGroupTagsResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The metadata.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* {"version":"1.0.0","owner":"team-a"}
|
|
9
12
|
*/
|
|
10
13
|
metadata?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The label of the lane.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* {"alicloud.service.tag":"g1"}
|
|
14
20
|
*/
|
|
@@ -38,28 +44,65 @@ export class ListSwimmingLaneGroupTagsResponseBodyData extends $dara.Model {
|
|
|
38
44
|
|
|
39
45
|
export class ListSwimmingLaneGroupTagsResponseBody extends $dara.Model {
|
|
40
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The HTTP status code or the error code. Valid values:
|
|
49
|
+
*
|
|
50
|
+
* * **2xx**: The request was successful.
|
|
51
|
+
* * **3xx**: Redirection.
|
|
52
|
+
* * **4xx**: Request error.
|
|
53
|
+
* * **5xx**: Server error.
|
|
54
|
+
*
|
|
41
55
|
* @example
|
|
42
56
|
* 200
|
|
43
57
|
*/
|
|
44
58
|
code?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* Responses.
|
|
62
|
+
*/
|
|
45
63
|
data?: ListSwimmingLaneGroupTagsResponseBodyData[];
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* Error code. Valid values:
|
|
67
|
+
*
|
|
68
|
+
* * If the request is successful, no **ErrorCode** fields are returned.
|
|
69
|
+
* * Request failed: **ErrorCode** fields are returned. For more information, see **Error codes**.
|
|
70
|
+
*/
|
|
46
71
|
errorCode?: string;
|
|
47
72
|
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* Additional information. Valid values:
|
|
75
|
+
*
|
|
76
|
+
* * The error message returned because the request is normal and **success** is returned.
|
|
77
|
+
* * If the request is abnormal, the specific exception error code is returned.
|
|
78
|
+
*
|
|
48
79
|
* @example
|
|
49
80
|
* success
|
|
50
81
|
*/
|
|
51
82
|
message?: string;
|
|
52
83
|
/**
|
|
84
|
+
* @remarks
|
|
85
|
+
* The ID of the request.
|
|
86
|
+
*
|
|
53
87
|
* @example
|
|
54
88
|
* 30375C38-F4ED-4135-A0AE-5C75DC7F****
|
|
55
89
|
*/
|
|
56
90
|
requestId?: string;
|
|
57
91
|
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* Whether the data is successful. Valid values:
|
|
94
|
+
*
|
|
95
|
+
* * **true**: The request is successful.
|
|
96
|
+
* * **false**: Failed.
|
|
97
|
+
*
|
|
58
98
|
* @example
|
|
59
99
|
* true
|
|
60
100
|
*/
|
|
61
101
|
success?: boolean;
|
|
62
102
|
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* The ID of the trace. This parameter is used to query the exact call information.
|
|
105
|
+
*
|
|
63
106
|
* @example
|
|
64
107
|
* ac1a0b2215622920113732501e****
|
|
65
108
|
*/
|
|
@@ -4,12 +4,23 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class UpdateAppModeRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The app ID.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 7171a6ca-d1cd-4928-8642-7d5cfe69****
|
|
9
12
|
*/
|
|
10
13
|
appId?: string;
|
|
11
14
|
appIds?: string;
|
|
12
15
|
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* Enable Idle Mode?
|
|
18
|
+
*
|
|
19
|
+
* Enumeration value:
|
|
20
|
+
*
|
|
21
|
+
* * true: enables.
|
|
22
|
+
* * false: disables.
|
|
23
|
+
*
|
|
13
24
|
* @example
|
|
14
25
|
* true
|
|
15
26
|
*/
|
|
@@ -4,12 +4,33 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class UpdateAppModeResponseBody 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
|
+
* Error code. Valid 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**.
|
|
25
|
+
*/
|
|
11
26
|
errorCode?: string;
|
|
12
27
|
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The message returned. The following limits are imposed on the ID:
|
|
30
|
+
*
|
|
31
|
+
* * The request is normal. **success** is returned.
|
|
32
|
+
* * If the request is abnormal, the specific exception error code is returned.
|
|
33
|
+
*
|
|
13
34
|
* @example
|
|
14
35
|
* success
|
|
15
36
|
*/
|
|
@@ -23,11 +44,17 @@ export class UpdateAppModeResponseBody extends $dara.Model {
|
|
|
23
44
|
*/
|
|
24
45
|
requestId?: string;
|
|
25
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* Indicates whether the application was created. true and false. false
|
|
49
|
+
*
|
|
26
50
|
* @example
|
|
27
51
|
* true
|
|
28
52
|
*/
|
|
29
53
|
success?: string;
|
|
30
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The ID of the trace. This parameter is used to query the exact call information.
|
|
57
|
+
*
|
|
31
58
|
* @example
|
|
32
59
|
* 0a98a02315955564772843261e****
|
|
33
60
|
*/
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateNamespaceSlsConfigsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* test
|
|
9
|
+
*/
|
|
10
|
+
nameSpaceShortId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* cn-beijing:test
|
|
14
|
+
*/
|
|
15
|
+
namespaceId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* [{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}]
|
|
19
|
+
*/
|
|
20
|
+
slsConfigs?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
nameSpaceShortId: 'NameSpaceShortId',
|
|
24
|
+
namespaceId: 'NamespaceId',
|
|
25
|
+
slsConfigs: 'SlsConfigs',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
nameSpaceShortId: 'string',
|
|
32
|
+
namespaceId: 'string',
|
|
33
|
+
slsConfigs: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UpdateNamespaceSlsConfigsResponseBody } from "./UpdateNamespaceSlsConfigsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UpdateNamespaceSlsConfigsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UpdateNamespaceSlsConfigsResponseBody;
|
|
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: UpdateNamespaceSlsConfigsResponseBody,
|
|
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 UpdateNamespaceSlsConfigsResponseBody 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
|
+
* @example
|
|
19
|
+
* true
|
|
20
|
+
*/
|
|
21
|
+
success?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 0a98a02315955564772843261e****
|
|
25
|
+
*/
|
|
26
|
+
traceId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* Id of the request
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* AD0286B2-F4A4-5D43-9329-97DEF1019F06
|
|
33
|
+
*/
|
|
34
|
+
requestId?: string;
|
|
35
|
+
static names(): { [key: string]: string } {
|
|
36
|
+
return {
|
|
37
|
+
code: 'Code',
|
|
38
|
+
errorCode: 'ErrorCode',
|
|
39
|
+
message: 'Message',
|
|
40
|
+
success: 'Success',
|
|
41
|
+
traceId: 'TraceId',
|
|
42
|
+
requestId: 'requestId',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
static types(): { [key: string]: any } {
|
|
47
|
+
return {
|
|
48
|
+
code: 'string',
|
|
49
|
+
errorCode: 'string',
|
|
50
|
+
message: 'string',
|
|
51
|
+
success: 'boolean',
|
|
52
|
+
traceId: 'string',
|
|
53
|
+
requestId: 'string',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
validate() {
|
|
58
|
+
super.validate();
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
constructor(map?: { [key: string]: any }) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -4,21 +4,36 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class UpdateSwimmingLaneEnableAttributeRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Lane status:
|
|
9
|
+
*
|
|
10
|
+
* * true: enabled
|
|
11
|
+
* * false: disabled
|
|
12
|
+
*
|
|
7
13
|
* @example
|
|
8
14
|
* true
|
|
9
15
|
*/
|
|
10
16
|
enable?: boolean;
|
|
11
17
|
/**
|
|
18
|
+
* @remarks
|
|
19
|
+
* The ID of the lane group.
|
|
20
|
+
*
|
|
12
21
|
* @example
|
|
13
22
|
* 2074
|
|
14
23
|
*/
|
|
15
24
|
groupId?: number;
|
|
16
25
|
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* The ID of the lane.
|
|
28
|
+
*
|
|
17
29
|
* @example
|
|
18
30
|
* 9637
|
|
19
31
|
*/
|
|
20
32
|
laneId?: number;
|
|
21
33
|
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The ID of a namespace.
|
|
36
|
+
*
|
|
22
37
|
* @example
|
|
23
38
|
* cn-beijing:test
|
|
24
39
|
*/
|
|
@@ -4,27 +4,60 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class UpdateSwimmingLaneEnableAttributeResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The interface status or POP error code. Valid values:
|
|
9
|
+
*
|
|
10
|
+
* * **2xx**: The request was successful.
|
|
11
|
+
* * **3xx**: Redirection.
|
|
12
|
+
* * **4xx**: Request error.
|
|
13
|
+
* * **5xx**: A server error occurred.
|
|
14
|
+
*
|
|
7
15
|
* @example
|
|
8
16
|
* 200
|
|
9
17
|
*/
|
|
10
18
|
code?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* Error code. Valid values:
|
|
22
|
+
*
|
|
23
|
+
* * If the request is successful, no **ErrorCode** fields are returned.
|
|
24
|
+
* * Request failed: **ErrorCode** fields are returned. For more information, see **Error codes**.
|
|
25
|
+
*/
|
|
11
26
|
errorCode?: string;
|
|
12
27
|
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* Additional information. Valid values:
|
|
30
|
+
*
|
|
31
|
+
* * The error message returned because the request is normal and **success** is returned.
|
|
32
|
+
* * If the request is abnormal, the specific exception error code is returned.
|
|
33
|
+
*
|
|
13
34
|
* @example
|
|
14
35
|
* success
|
|
15
36
|
*/
|
|
16
37
|
message?: string;
|
|
17
38
|
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The ID of the request.
|
|
41
|
+
*
|
|
18
42
|
* @example
|
|
19
43
|
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
20
44
|
*/
|
|
21
45
|
requestId?: string;
|
|
22
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* Whether the data is successful. Valid values:
|
|
49
|
+
*
|
|
50
|
+
* * **true**: The policy was deleted.
|
|
51
|
+
* * **false**: The policy failed to be deleted.
|
|
52
|
+
*
|
|
23
53
|
* @example
|
|
24
54
|
* true
|
|
25
55
|
*/
|
|
26
56
|
success?: boolean;
|
|
27
57
|
/**
|
|
58
|
+
* @remarks
|
|
59
|
+
* The ID of the trace. This parameter is used to query the exact call information.
|
|
60
|
+
*
|
|
28
61
|
* @example
|
|
29
62
|
* ac1a0b2215622920113732501e****
|
|
30
63
|
*/
|
package/src/models/model.ts
CHANGED
|
@@ -837,6 +837,9 @@ export { UpdateJobResponse } from './UpdateJobResponse';
|
|
|
837
837
|
export { UpdateNamespaceRequest } from './UpdateNamespaceRequest';
|
|
838
838
|
export { UpdateNamespaceResponseBody } from './UpdateNamespaceResponseBody';
|
|
839
839
|
export { UpdateNamespaceResponse } from './UpdateNamespaceResponse';
|
|
840
|
+
export { UpdateNamespaceSlsConfigsRequest } from './UpdateNamespaceSlsConfigsRequest';
|
|
841
|
+
export { UpdateNamespaceSlsConfigsResponseBody } from './UpdateNamespaceSlsConfigsResponseBody';
|
|
842
|
+
export { UpdateNamespaceSlsConfigsResponse } from './UpdateNamespaceSlsConfigsResponse';
|
|
840
843
|
export { UpdateNamespaceVpcRequest } from './UpdateNamespaceVpcRequest';
|
|
841
844
|
export { UpdateNamespaceVpcResponseBody } from './UpdateNamespaceVpcResponseBody';
|
|
842
845
|
export { UpdateNamespaceVpcResponse } from './UpdateNamespaceVpcResponse';
|