@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
|
@@ -3,33 +3,59 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateOrUpdateSwimmingLaneGroupRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the baseline application.
|
|
9
|
+
*/
|
|
6
10
|
appIds?: string[];
|
|
7
11
|
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The unique ID of the corresponding gateway.
|
|
14
|
+
*
|
|
8
15
|
* @example
|
|
9
16
|
* mse_ingresspost-cn-axc49******
|
|
10
17
|
*/
|
|
11
18
|
entryAppId?: string;
|
|
12
19
|
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The application entry type (gateway type).
|
|
22
|
+
*
|
|
23
|
+
* * **apig:** cloud-native API Gateway
|
|
24
|
+
* * **mse:** Java Services Gateway
|
|
25
|
+
* * **mse-gw:** MSE cloud-native Gateway
|
|
26
|
+
*
|
|
13
27
|
* @example
|
|
14
28
|
* mse-gw
|
|
15
29
|
*/
|
|
16
30
|
entryAppType?: string;
|
|
17
31
|
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The ID of the lane group. This is required when you update a lane group.
|
|
34
|
+
*
|
|
18
35
|
* @example
|
|
19
36
|
* 2047
|
|
20
37
|
*/
|
|
21
38
|
groupId?: number;
|
|
22
39
|
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The name of the lane group.
|
|
42
|
+
*
|
|
23
43
|
* @example
|
|
24
44
|
* mse-test
|
|
25
45
|
*/
|
|
26
46
|
groupName?: string;
|
|
27
47
|
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The ID of a namespace.
|
|
50
|
+
*
|
|
28
51
|
* @example
|
|
29
52
|
* cn-beijing:test
|
|
30
53
|
*/
|
|
31
54
|
namespaceId?: string;
|
|
32
55
|
/**
|
|
56
|
+
* @remarks
|
|
57
|
+
* The end-to-end grayscale version. Valid values: 0 and 2 (recommended).
|
|
58
|
+
*
|
|
33
59
|
* @example
|
|
34
60
|
* 2
|
|
35
61
|
*/
|
|
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class CreateOrUpdateSwimmingLaneGroupResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the lane group.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 2074
|
|
9
12
|
*/
|
|
@@ -31,28 +34,65 @@ export class CreateOrUpdateSwimmingLaneGroupResponseBodyData extends $dara.Model
|
|
|
31
34
|
|
|
32
35
|
export class CreateOrUpdateSwimmingLaneGroupResponseBody extends $dara.Model {
|
|
33
36
|
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The HTTP status code or the error code. Valid values:
|
|
39
|
+
*
|
|
40
|
+
* * **2xx**: The request was successful.
|
|
41
|
+
* * **3xx**: Redirection.
|
|
42
|
+
* * **4xx**: The request failed.
|
|
43
|
+
* * **5xx**: Server error.
|
|
44
|
+
*
|
|
34
45
|
* @example
|
|
35
46
|
* 200
|
|
36
47
|
*/
|
|
37
48
|
code?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* The application information.
|
|
52
|
+
*/
|
|
38
53
|
data?: CreateOrUpdateSwimmingLaneGroupResponseBodyData;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The status code. Value values:
|
|
57
|
+
*
|
|
58
|
+
* * If the request was successful, **ErrorCode** is not returned.
|
|
59
|
+
* * If the request failed, **ErrorCode** is returned. For more information, see **Error codes** in this topic.
|
|
60
|
+
*/
|
|
39
61
|
errorCode?: string;
|
|
40
62
|
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* Additional information. Valid values:
|
|
65
|
+
*
|
|
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
|
+
*
|
|
41
69
|
* @example
|
|
42
70
|
* success
|
|
43
71
|
*/
|
|
44
72
|
message?: string;
|
|
45
73
|
/**
|
|
74
|
+
* @remarks
|
|
75
|
+
* The request ID.
|
|
76
|
+
*
|
|
46
77
|
* @example
|
|
47
78
|
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
48
79
|
*/
|
|
49
80
|
requestId?: string;
|
|
50
81
|
/**
|
|
82
|
+
* @remarks
|
|
83
|
+
* Whether the lane group is created. Valid values:
|
|
84
|
+
*
|
|
85
|
+
* * **true**: Created successfully.
|
|
86
|
+
* * **false**: The ConfigMap failed to be created.
|
|
87
|
+
*
|
|
51
88
|
* @example
|
|
52
89
|
* true
|
|
53
90
|
*/
|
|
54
91
|
success?: boolean;
|
|
55
92
|
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* The ID of the trace. This parameter is used to query the exact call information.
|
|
95
|
+
*
|
|
56
96
|
* @example
|
|
57
97
|
* 0a98a02315955564772843261e****
|
|
58
98
|
*/
|
|
@@ -3,33 +3,59 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateOrUpdateSwimmingLaneGroupShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the baseline application.
|
|
9
|
+
*/
|
|
6
10
|
appIdsShrink?: string;
|
|
7
11
|
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The unique ID of the corresponding gateway.
|
|
14
|
+
*
|
|
8
15
|
* @example
|
|
9
16
|
* mse_ingresspost-cn-axc49******
|
|
10
17
|
*/
|
|
11
18
|
entryAppId?: string;
|
|
12
19
|
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The application entry type (gateway type).
|
|
22
|
+
*
|
|
23
|
+
* * **apig:** cloud-native API Gateway
|
|
24
|
+
* * **mse:** Java Services Gateway
|
|
25
|
+
* * **mse-gw:** MSE cloud-native Gateway
|
|
26
|
+
*
|
|
13
27
|
* @example
|
|
14
28
|
* mse-gw
|
|
15
29
|
*/
|
|
16
30
|
entryAppType?: string;
|
|
17
31
|
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The ID of the lane group. This is required when you update a lane group.
|
|
34
|
+
*
|
|
18
35
|
* @example
|
|
19
36
|
* 2047
|
|
20
37
|
*/
|
|
21
38
|
groupId?: number;
|
|
22
39
|
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The name of the lane group.
|
|
42
|
+
*
|
|
23
43
|
* @example
|
|
24
44
|
* mse-test
|
|
25
45
|
*/
|
|
26
46
|
groupName?: string;
|
|
27
47
|
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The ID of a namespace.
|
|
50
|
+
*
|
|
28
51
|
* @example
|
|
29
52
|
* cn-beijing:test
|
|
30
53
|
*/
|
|
31
54
|
namespaceId?: string;
|
|
32
55
|
/**
|
|
56
|
+
* @remarks
|
|
57
|
+
* The end-to-end grayscale version. Valid values: 0 and 2 (recommended).
|
|
58
|
+
*
|
|
33
59
|
* @example
|
|
34
60
|
* 2
|
|
35
61
|
*/
|
|
@@ -4,21 +4,43 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class CreateOrUpdateSwimmingLaneRequestAppEntryRuleConditions extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Matching Rule:
|
|
9
|
+
*
|
|
10
|
+
* * The exact match. The condition is met if the traffic value and the condition value are exactly the same.
|
|
11
|
+
* * The exact match. The condition is met if the traffic value and the condition value are exactly the same.
|
|
12
|
+
* * The inclusive match. The condition is met if the traffic value is included in the specified list.
|
|
13
|
+
* * The percentage match. Principle: The condition is met if \\"hash(get(`key`)) % 100 < value\\".
|
|
14
|
+
* * Regular match: a regular expression match. The condition is met when the match is based on regular expression rules.
|
|
15
|
+
*
|
|
7
16
|
* @example
|
|
8
17
|
* ==
|
|
9
18
|
*/
|
|
10
19
|
condition?: string;
|
|
11
20
|
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The parameter name.
|
|
23
|
+
*
|
|
12
24
|
* @example
|
|
13
25
|
* t
|
|
14
26
|
*/
|
|
15
27
|
name?: string;
|
|
16
28
|
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* The parameter type. Valid values:
|
|
31
|
+
*
|
|
32
|
+
* * header
|
|
33
|
+
* * param
|
|
34
|
+
* * Cookie: forwards requests based on cookies.
|
|
35
|
+
*
|
|
17
36
|
* @example
|
|
18
37
|
* Header
|
|
19
38
|
*/
|
|
20
39
|
type?: string;
|
|
21
40
|
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* The match value of the condition.
|
|
43
|
+
*
|
|
22
44
|
* @example
|
|
23
45
|
* g1
|
|
24
46
|
*/
|
|
@@ -52,22 +74,49 @@ export class CreateOrUpdateSwimmingLaneRequestAppEntryRuleConditions extends $da
|
|
|
52
74
|
|
|
53
75
|
export class CreateOrUpdateSwimmingLaneRequestAppEntryRule extends $dara.Model {
|
|
54
76
|
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* Logical connectors between conditions:
|
|
79
|
+
*
|
|
80
|
+
* * AND: All conditions are met at the same time.
|
|
81
|
+
* * OR: Any condition is met.
|
|
82
|
+
*
|
|
55
83
|
* @example
|
|
56
84
|
* AND
|
|
57
85
|
*/
|
|
58
86
|
conditionJoiner?: string;
|
|
87
|
+
/**
|
|
88
|
+
* @remarks
|
|
89
|
+
* The conditions that trigger circuit breaking.
|
|
90
|
+
*/
|
|
59
91
|
conditions?: CreateOrUpdateSwimmingLaneRequestAppEntryRuleConditions[];
|
|
60
92
|
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* Whether to enable proportional grayscale.
|
|
95
|
+
*
|
|
96
|
+
* * true: enabled. After you enable this parameter, you must configure the PercentageByPath.
|
|
97
|
+
* * false: disables the service.
|
|
98
|
+
*
|
|
61
99
|
* @example
|
|
62
100
|
* true
|
|
63
101
|
*/
|
|
64
102
|
independentPercentageEnable?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* @remarks
|
|
105
|
+
* The matched request path.
|
|
106
|
+
*/
|
|
65
107
|
paths?: string[];
|
|
66
108
|
/**
|
|
109
|
+
* @remarks
|
|
110
|
+
* The traffic ratio. Valid values: 0 to 100.
|
|
111
|
+
*
|
|
67
112
|
* @example
|
|
68
113
|
* 50
|
|
69
114
|
*/
|
|
70
115
|
percentage?: number;
|
|
116
|
+
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* The traffic configuration.
|
|
119
|
+
*/
|
|
71
120
|
percentageByPath?: { [key: string]: number };
|
|
72
121
|
static names(): { [key: string]: string } {
|
|
73
122
|
return {
|
|
@@ -111,21 +160,43 @@ export class CreateOrUpdateSwimmingLaneRequestAppEntryRule extends $dara.Model {
|
|
|
111
160
|
|
|
112
161
|
export class CreateOrUpdateSwimmingLaneRequestMseGatewayEntryRuleConditions extends $dara.Model {
|
|
113
162
|
/**
|
|
163
|
+
* @remarks
|
|
164
|
+
* The matching rule.
|
|
165
|
+
*
|
|
166
|
+
* * \\==: exact match.
|
|
167
|
+
* * ! =: exact match.
|
|
168
|
+
* * in: contains matches.
|
|
169
|
+
* * Percentage: Percentage matching.
|
|
170
|
+
* * Regular matching: specifies whether a regular expression is used to search for the original string.
|
|
171
|
+
*
|
|
114
172
|
* @example
|
|
115
173
|
* ==
|
|
116
174
|
*/
|
|
117
175
|
condition?: string;
|
|
118
176
|
/**
|
|
177
|
+
* @remarks
|
|
178
|
+
* The parameter name.
|
|
179
|
+
*
|
|
119
180
|
* @example
|
|
120
181
|
* test
|
|
121
182
|
*/
|
|
122
183
|
name?: string;
|
|
123
184
|
/**
|
|
185
|
+
* @remarks
|
|
186
|
+
* The parameter type. Valid values:
|
|
187
|
+
*
|
|
188
|
+
* * header
|
|
189
|
+
* * param
|
|
190
|
+
* * Cookie: forwards requests based on cookies.
|
|
191
|
+
*
|
|
124
192
|
* @example
|
|
125
193
|
* header
|
|
126
194
|
*/
|
|
127
195
|
type?: string;
|
|
128
196
|
/**
|
|
197
|
+
* @remarks
|
|
198
|
+
* The match value of the condition.
|
|
199
|
+
*
|
|
129
200
|
* @example
|
|
130
201
|
* g1
|
|
131
202
|
*/
|
|
@@ -159,22 +230,49 @@ export class CreateOrUpdateSwimmingLaneRequestMseGatewayEntryRuleConditions exte
|
|
|
159
230
|
|
|
160
231
|
export class CreateOrUpdateSwimmingLaneRequestMseGatewayEntryRule extends $dara.Model {
|
|
161
232
|
/**
|
|
233
|
+
* @remarks
|
|
234
|
+
* Logical connectors between conditions:
|
|
235
|
+
*
|
|
236
|
+
* * AND: All conditions are met at the same time.
|
|
237
|
+
* * OR: Any condition is met.
|
|
238
|
+
*
|
|
162
239
|
* @example
|
|
163
240
|
* AND
|
|
164
241
|
*/
|
|
165
242
|
conditionJoiner?: string;
|
|
243
|
+
/**
|
|
244
|
+
* @remarks
|
|
245
|
+
* Routing Condition
|
|
246
|
+
*/
|
|
166
247
|
conditions?: CreateOrUpdateSwimmingLaneRequestMseGatewayEntryRuleConditions[];
|
|
167
248
|
/**
|
|
249
|
+
* @remarks
|
|
250
|
+
* Whether to enable proportional grayscale.
|
|
251
|
+
*
|
|
252
|
+
* * true: Enabled. After you enable this parameter, you must configure the PercentageByPath.
|
|
253
|
+
* * false: Disabled.
|
|
254
|
+
*
|
|
168
255
|
* @example
|
|
169
256
|
* true
|
|
170
257
|
*/
|
|
171
258
|
independentPercentageEnable?: boolean;
|
|
172
259
|
/**
|
|
260
|
+
* @remarks
|
|
261
|
+
* The percentage of traffic replication. Valid values: 0 to 100.
|
|
262
|
+
*
|
|
173
263
|
* @example
|
|
174
264
|
* 100
|
|
175
265
|
*/
|
|
176
266
|
percentage?: number;
|
|
267
|
+
/**
|
|
268
|
+
* @remarks
|
|
269
|
+
* The traffic configuration.
|
|
270
|
+
*/
|
|
177
271
|
percentageByRoute?: { [key: string]: number };
|
|
272
|
+
/**
|
|
273
|
+
* @remarks
|
|
274
|
+
* The ID of the route.
|
|
275
|
+
*/
|
|
178
276
|
routeIds?: number[];
|
|
179
277
|
static names(): { [key: string]: string } {
|
|
180
278
|
return {
|
|
@@ -217,39 +315,78 @@ export class CreateOrUpdateSwimmingLaneRequestMseGatewayEntryRule extends $dara.
|
|
|
217
315
|
}
|
|
218
316
|
|
|
219
317
|
export class CreateOrUpdateSwimmingLaneRequest extends $dara.Model {
|
|
318
|
+
/**
|
|
319
|
+
* @remarks
|
|
320
|
+
* The route configuration of the gateway.
|
|
321
|
+
*
|
|
322
|
+
* > This parameter is required if the gateway entry of the lane group is Java.
|
|
323
|
+
*/
|
|
220
324
|
appEntryRule?: CreateOrUpdateSwimmingLaneRequestAppEntryRule;
|
|
221
325
|
/**
|
|
326
|
+
* @remarks
|
|
327
|
+
* Full-link Grayscale Mode:
|
|
328
|
+
*
|
|
329
|
+
* * 0: The request is routed based on the content of the request.
|
|
330
|
+
* * 1: routing based on percentages
|
|
331
|
+
*
|
|
222
332
|
* @example
|
|
223
333
|
* 0
|
|
224
334
|
*/
|
|
225
335
|
canaryModel?: number;
|
|
226
336
|
/**
|
|
337
|
+
* @remarks
|
|
338
|
+
* Lane Status
|
|
339
|
+
*
|
|
340
|
+
* * true: enabled
|
|
341
|
+
* * false: disabled
|
|
342
|
+
*
|
|
227
343
|
* @example
|
|
228
344
|
* true
|
|
229
345
|
*/
|
|
230
346
|
enable?: boolean;
|
|
231
347
|
/**
|
|
348
|
+
* @remarks
|
|
349
|
+
* The ID of the lane group to which the lane belongs.
|
|
350
|
+
*
|
|
232
351
|
* @example
|
|
233
352
|
* b2a8a925-477a-eswa-b823-d5e22500****
|
|
234
353
|
*/
|
|
235
354
|
groupId?: number;
|
|
236
355
|
/**
|
|
356
|
+
* @remarks
|
|
357
|
+
* The ID of the lane.
|
|
358
|
+
*
|
|
237
359
|
* @example
|
|
238
360
|
* 13857
|
|
239
361
|
*/
|
|
240
362
|
laneId?: number;
|
|
241
363
|
/**
|
|
364
|
+
* @remarks
|
|
365
|
+
* The name of the lane.
|
|
366
|
+
*
|
|
242
367
|
* @example
|
|
243
368
|
* test
|
|
244
369
|
*/
|
|
245
370
|
laneName?: string;
|
|
246
371
|
/**
|
|
372
|
+
* @remarks
|
|
373
|
+
* The tag of the lane.
|
|
374
|
+
*
|
|
247
375
|
* @example
|
|
248
376
|
* {"alicloud.service.tag":"g1"}
|
|
249
377
|
*/
|
|
250
378
|
laneTag?: string;
|
|
379
|
+
/**
|
|
380
|
+
* @remarks
|
|
381
|
+
* The route configuration of the MSE gateway.
|
|
382
|
+
*
|
|
383
|
+
* > If the **EntryAppType** is set to **apig** or **mse-gw**, it is required.
|
|
384
|
+
*/
|
|
251
385
|
mseGatewayEntryRule?: CreateOrUpdateSwimmingLaneRequestMseGatewayEntryRule;
|
|
252
386
|
/**
|
|
387
|
+
* @remarks
|
|
388
|
+
* The namespace ID.
|
|
389
|
+
*
|
|
253
390
|
* @example
|
|
254
391
|
* cn-beijing:test
|
|
255
392
|
*/
|
|
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class CreateOrUpdateSwimmingLaneResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the lane.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 22318
|
|
9
12
|
*/
|
|
@@ -31,28 +34,65 @@ export class CreateOrUpdateSwimmingLaneResponseBodyData extends $dara.Model {
|
|
|
31
34
|
|
|
32
35
|
export class CreateOrUpdateSwimmingLaneResponseBody extends $dara.Model {
|
|
33
36
|
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The HTTP status code or the error code. Valid values:
|
|
39
|
+
*
|
|
40
|
+
* * **2xx**: Success.
|
|
41
|
+
* * **3xx**: Redirection.
|
|
42
|
+
* * **4xx**: Request error.
|
|
43
|
+
* * **5xx**: Server error.
|
|
44
|
+
*
|
|
34
45
|
* @example
|
|
35
46
|
* 200
|
|
36
47
|
*/
|
|
37
48
|
code?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* The returned information.
|
|
52
|
+
*/
|
|
38
53
|
data?: CreateOrUpdateSwimmingLaneResponseBodyData;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The status code. Value values:
|
|
57
|
+
*
|
|
58
|
+
* * If the request was successful, **ErrorCode** is not returned.
|
|
59
|
+
* * If the request failed, **ErrorCode** is returned. For more information, see **Error codes** in this topic.
|
|
60
|
+
*/
|
|
39
61
|
errorCode?: string;
|
|
40
62
|
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The message returned. Value description:
|
|
65
|
+
*
|
|
66
|
+
* * If the request was successful, a success message is returned.
|
|
67
|
+
* * An error code is returned if the request failed.
|
|
68
|
+
*
|
|
41
69
|
* @example
|
|
42
70
|
* success
|
|
43
71
|
*/
|
|
44
72
|
message?: string;
|
|
45
73
|
/**
|
|
74
|
+
* @remarks
|
|
75
|
+
* The ID of the request.
|
|
76
|
+
*
|
|
46
77
|
* @example
|
|
47
78
|
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
48
79
|
*/
|
|
49
80
|
requestId?: string;
|
|
50
81
|
/**
|
|
82
|
+
* @remarks
|
|
83
|
+
* Whether the creation or update was successful. Valid values:
|
|
84
|
+
*
|
|
85
|
+
* * true: created.
|
|
86
|
+
* * false: failed to create.
|
|
87
|
+
*
|
|
51
88
|
* @example
|
|
52
89
|
* true
|
|
53
90
|
*/
|
|
54
91
|
success?: boolean;
|
|
55
92
|
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* The ID of the trace. The ID is used to query the details of a request.
|
|
95
|
+
*
|
|
56
96
|
* @example
|
|
57
97
|
* 0a98a02315955564772843261e****
|
|
58
98
|
*/
|
|
@@ -3,39 +3,78 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateOrUpdateSwimmingLaneShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The route configuration of the gateway.
|
|
9
|
+
*
|
|
10
|
+
* > This parameter is required if the gateway entry of the lane group is Java.
|
|
11
|
+
*/
|
|
6
12
|
appEntryRuleShrink?: string;
|
|
7
13
|
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* Full-link Grayscale Mode:
|
|
16
|
+
*
|
|
17
|
+
* * 0: The request is routed based on the content of the request.
|
|
18
|
+
* * 1: routing based on percentages
|
|
19
|
+
*
|
|
8
20
|
* @example
|
|
9
21
|
* 0
|
|
10
22
|
*/
|
|
11
23
|
canaryModel?: number;
|
|
12
24
|
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* Lane Status
|
|
27
|
+
*
|
|
28
|
+
* * true: enabled
|
|
29
|
+
* * false: disabled
|
|
30
|
+
*
|
|
13
31
|
* @example
|
|
14
32
|
* true
|
|
15
33
|
*/
|
|
16
34
|
enable?: boolean;
|
|
17
35
|
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The ID of the lane group to which the lane belongs.
|
|
38
|
+
*
|
|
18
39
|
* @example
|
|
19
40
|
* b2a8a925-477a-eswa-b823-d5e22500****
|
|
20
41
|
*/
|
|
21
42
|
groupId?: number;
|
|
22
43
|
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The ID of the lane.
|
|
46
|
+
*
|
|
23
47
|
* @example
|
|
24
48
|
* 13857
|
|
25
49
|
*/
|
|
26
50
|
laneId?: number;
|
|
27
51
|
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The name of the lane.
|
|
54
|
+
*
|
|
28
55
|
* @example
|
|
29
56
|
* test
|
|
30
57
|
*/
|
|
31
58
|
laneName?: string;
|
|
32
59
|
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* The tag of the lane.
|
|
62
|
+
*
|
|
33
63
|
* @example
|
|
34
64
|
* {"alicloud.service.tag":"g1"}
|
|
35
65
|
*/
|
|
36
66
|
laneTag?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* The route configuration of the MSE gateway.
|
|
70
|
+
*
|
|
71
|
+
* > If the **EntryAppType** is set to **apig** or **mse-gw**, it is required.
|
|
72
|
+
*/
|
|
37
73
|
mseGatewayEntryRuleShrink?: string;
|
|
38
74
|
/**
|
|
75
|
+
* @remarks
|
|
76
|
+
* The namespace ID.
|
|
77
|
+
*
|
|
39
78
|
* @example
|
|
40
79
|
* cn-beijing:test
|
|
41
80
|
*/
|
|
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DeleteInstancesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* The ID of the application.
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
@@ -13,6 +15,8 @@ export class DeleteInstancesRequest extends $dara.Model {
|
|
|
13
15
|
appId?: string;
|
|
14
16
|
/**
|
|
15
17
|
* @remarks
|
|
18
|
+
* The ID of the instance to be deleted.
|
|
19
|
+
*
|
|
16
20
|
* This parameter is required.
|
|
17
21
|
*
|
|
18
22
|
* @example
|
|
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DeleteInstancesResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the release order.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 01db03d3-3ee9-48b3-b3d0-dfce2d88****
|
|
9
12
|
*/
|
|
@@ -31,28 +34,65 @@ export class DeleteInstancesResponseBodyData extends $dara.Model {
|
|
|
31
34
|
|
|
32
35
|
export class DeleteInstancesResponseBody extends $dara.Model {
|
|
33
36
|
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The HTTP status code or the error code. Valid values:
|
|
39
|
+
*
|
|
40
|
+
* * **2xx**: The request was successful.
|
|
41
|
+
* * **3xx**: The request was redirected.
|
|
42
|
+
* * **4xx**: The request failed.
|
|
43
|
+
* * **5xx**: A server error occurred.
|
|
44
|
+
*
|
|
34
45
|
* @example
|
|
35
46
|
* 200
|
|
36
47
|
*/
|
|
37
48
|
code?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* Responses.
|
|
52
|
+
*/
|
|
38
53
|
data?: DeleteInstancesResponseBodyData;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* Error code. Valid values:
|
|
57
|
+
*
|
|
58
|
+
* * If the request was successful, **ErrorCode** is not returned.
|
|
59
|
+
* * If the request failed, **ErrorCode** is returned. For more information, see **Error codes** in this topic.
|
|
60
|
+
*/
|
|
39
61
|
errorCode?: string;
|
|
40
62
|
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* Additional information about the call result. Valid values:
|
|
65
|
+
*
|
|
66
|
+
* * If the request is normal, success is returned.
|
|
67
|
+
* * If the request is abnormal, the specific exception error code is returned.
|
|
68
|
+
*
|
|
41
69
|
* @example
|
|
42
70
|
* success
|
|
43
71
|
*/
|
|
44
72
|
message?: string;
|
|
45
73
|
/**
|
|
74
|
+
* @remarks
|
|
75
|
+
* The request ID.
|
|
76
|
+
*
|
|
46
77
|
* @example
|
|
47
78
|
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
48
79
|
*/
|
|
49
80
|
requestId?: string;
|
|
50
81
|
/**
|
|
82
|
+
* @remarks
|
|
83
|
+
* Whether the instance is deleted successfully. Valid values:
|
|
84
|
+
*
|
|
85
|
+
* * **true**: The namespace was deleted.
|
|
86
|
+
* * **false**: The namespace failed to be deleted.
|
|
87
|
+
*
|
|
51
88
|
* @example
|
|
52
89
|
* true
|
|
53
90
|
*/
|
|
54
91
|
success?: boolean;
|
|
55
92
|
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* The ID of the trace. This parameter is used to query the exact call information.
|
|
95
|
+
*
|
|
56
96
|
* @example
|
|
57
97
|
* 0a981dd515966966104121683d****
|
|
58
98
|
*/
|