@alicloud/apig20240327 11.0.1 → 11.0.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 +2 -2
- package/dist/client.js +2 -2
- package/dist/models/Backend.d.ts +36 -3
- package/dist/models/Backend.js +12 -0
- package/dist/models/Backend.js.map +1 -1
- package/dist/models/CreateGatewayRequest.d.ts +7 -7
- package/dist/models/CreateHttpApiRouteRequest.d.ts +47 -14
- package/dist/models/CreateHttpApiRouteRequest.js +12 -0
- package/dist/models/CreateHttpApiRouteRequest.js.map +1 -1
- package/dist/models/DeployHttpApiRequest.d.ts +3 -3
- package/dist/models/GetDashboardRequest.d.ts +7 -7
- package/dist/models/GetDashboardResponseBody.d.ts +1 -1
- package/dist/models/GetDashboardShrinkRequest.d.ts +7 -7
- package/dist/models/GetGatewayResponseBody.d.ts +33 -6
- package/dist/models/GetGatewayResponseBody.js.map +1 -1
- package/dist/models/HttpApiApiInfo.d.ts +4 -0
- package/dist/models/HttpApiApiInfo.js.map +1 -1
- package/dist/models/HttpDubboTranscoder.d.ts +53 -7
- package/dist/models/HttpDubboTranscoder.js +16 -16
- package/dist/models/HttpDubboTranscoder.js.map +1 -1
- package/dist/models/InstallPluginRequest.d.ts +2 -2
- package/dist/models/ListTagResourcesRequest.d.ts +3 -3
- package/dist/models/ListTagResourcesResponseBody.d.ts +2 -2
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +3 -3
- package/dist/models/UpdateHttpApiRouteRequest.d.ts +34 -1
- package/dist/models/UpdateHttpApiRouteRequest.js +12 -0
- package/dist/models/UpdateHttpApiRouteRequest.js.map +1 -1
- package/dist/models/model.d.ts +2 -2
- package/dist/models/model.js +3 -3
- package/package.json +1 -1
- package/src/client.ts +2 -2
- package/src/models/Backend.ts +47 -3
- package/src/models/CreateGatewayRequest.ts +7 -7
- package/src/models/CreateHttpApiRouteRequest.ts +58 -14
- package/src/models/DeployHttpApiRequest.ts +3 -3
- package/src/models/GetDashboardRequest.ts +7 -7
- package/src/models/GetDashboardResponseBody.ts +1 -1
- package/src/models/GetDashboardShrinkRequest.ts +7 -7
- package/src/models/GetGatewayResponseBody.ts +33 -6
- package/src/models/HttpApiApiInfo.ts +4 -0
- package/src/models/HttpDubboTranscoder.ts +64 -18
- package/src/models/InstallPluginRequest.ts +2 -2
- package/src/models/ListTagResourcesRequest.ts +3 -3
- package/src/models/ListTagResourcesResponseBody.ts +2 -2
- package/src/models/ListTagResourcesShrinkRequest.ts +3 -3
- package/src/models/UpdateHttpApiRouteRequest.ts +45 -1
- package/src/models/model.ts +2 -2
package/src/models/Backend.ts
CHANGED
|
@@ -1,11 +1,28 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { HttpDubboTranscoder } from "./HttpDubboTranscoder";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export class BackendServices extends $dara.Model {
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
|
-
* The
|
|
9
|
+
* The service group. Used in HTTP-to-Dubbo conversion scenarios.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* DEFAULT_GROUP
|
|
13
|
+
*/
|
|
14
|
+
groupName?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The HTTP-to-Dubbo protocol conversion configuration. Only supported for SingleService MSE_NACOS DUBBO backends of HTTP APIs.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* {"dubboServiceName":"com.alibaba.nacos.example.dubbo.service.DemoService","dubboServiceVersion":"1.0.0","dubboServiceGroup":"DEV","methodMapList":[{"dubboMethodName":"sayName","httpMethod":"ALL_GET","methodPath":"/dubbo/sayName","passThroughAllHeaders":"PASS_ALL"}]}
|
|
21
|
+
*/
|
|
22
|
+
httpDubboTranscoder?: HttpDubboTranscoder;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* The target model name. This field is shared by multiple existing model backend scenarios. The specific routing or model rewrite semantics are determined by the scene field. This field is required for the SemanticRouter scenario. If not specified in the AiAutoRouter scenario, the default model of the AI service is used.
|
|
9
26
|
*
|
|
10
27
|
* @example
|
|
11
28
|
* qwen-plus
|
|
@@ -19,6 +36,14 @@ export class BackendServices extends $dara.Model {
|
|
|
19
36
|
* item-service
|
|
20
37
|
*/
|
|
21
38
|
name?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The service namespace. Used in HTTP-to-Dubbo conversion scenarios.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* public
|
|
45
|
+
*/
|
|
46
|
+
namespace?: string;
|
|
22
47
|
/**
|
|
23
48
|
* @remarks
|
|
24
49
|
* The service port. Do not specify this parameter for dynamic ports.
|
|
@@ -29,7 +54,7 @@ export class BackendServices extends $dara.Model {
|
|
|
29
54
|
port?: number;
|
|
30
55
|
/**
|
|
31
56
|
* @remarks
|
|
32
|
-
* The service protocol. Valid values: [HTTP, TCP, DUBBO]
|
|
57
|
+
* The service protocol. Valid values: [HTTP, TCP, DUBBO]
|
|
33
58
|
*
|
|
34
59
|
* @example
|
|
35
60
|
* HTTP
|
|
@@ -43,6 +68,14 @@ export class BackendServices extends $dara.Model {
|
|
|
43
68
|
* service-cq2bmmdlhtgj***
|
|
44
69
|
*/
|
|
45
70
|
serviceId?: string;
|
|
71
|
+
/**
|
|
72
|
+
* @remarks
|
|
73
|
+
* The service source type. Set this to MSE_NACOS for HTTP-to-Dubbo conversion scenarios.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* MSE_NACOS
|
|
77
|
+
*/
|
|
78
|
+
sourceType?: string;
|
|
46
79
|
/**
|
|
47
80
|
* @remarks
|
|
48
81
|
* The service version.
|
|
@@ -61,11 +94,15 @@ export class BackendServices extends $dara.Model {
|
|
|
61
94
|
weight?: number;
|
|
62
95
|
static names(): { [key: string]: string } {
|
|
63
96
|
return {
|
|
97
|
+
groupName: 'groupName',
|
|
98
|
+
httpDubboTranscoder: 'httpDubboTranscoder',
|
|
64
99
|
modelName: 'modelName',
|
|
65
100
|
name: 'name',
|
|
101
|
+
namespace: 'namespace',
|
|
66
102
|
port: 'port',
|
|
67
103
|
protocol: 'protocol',
|
|
68
104
|
serviceId: 'serviceId',
|
|
105
|
+
sourceType: 'sourceType',
|
|
69
106
|
version: 'version',
|
|
70
107
|
weight: 'weight',
|
|
71
108
|
};
|
|
@@ -73,17 +110,24 @@ export class BackendServices extends $dara.Model {
|
|
|
73
110
|
|
|
74
111
|
static types(): { [key: string]: any } {
|
|
75
112
|
return {
|
|
113
|
+
groupName: 'string',
|
|
114
|
+
httpDubboTranscoder: HttpDubboTranscoder,
|
|
76
115
|
modelName: 'string',
|
|
77
116
|
name: 'string',
|
|
117
|
+
namespace: 'string',
|
|
78
118
|
port: 'number',
|
|
79
119
|
protocol: 'string',
|
|
80
120
|
serviceId: 'string',
|
|
121
|
+
sourceType: 'string',
|
|
81
122
|
version: 'string',
|
|
82
123
|
weight: 'number',
|
|
83
124
|
};
|
|
84
125
|
}
|
|
85
126
|
|
|
86
127
|
validate() {
|
|
128
|
+
if(this.httpDubboTranscoder && typeof (this.httpDubboTranscoder as any).validate === 'function') {
|
|
129
|
+
(this.httpDubboTranscoder as any).validate();
|
|
130
|
+
}
|
|
87
131
|
super.validate();
|
|
88
132
|
}
|
|
89
133
|
|
|
@@ -103,7 +147,7 @@ export class Backend extends $dara.Model {
|
|
|
103
147
|
enableSystemModels?: boolean;
|
|
104
148
|
/**
|
|
105
149
|
* @remarks
|
|
106
|
-
* The backend service scenario. Valid values: [Single, MultiServiceByRatio, MultiServiceByTag, Mock, Redirect]
|
|
150
|
+
* The backend service scenario. Valid values: [Single, MultiServiceByRatio, MultiServiceByTag, Mock, Redirect]
|
|
107
151
|
*
|
|
108
152
|
* @example
|
|
109
153
|
* Single
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateGatewayRequestLogConfigSls extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to enable log collection.
|
|
8
|
+
* Specifies whether to enable SLS log collection.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* false
|
|
@@ -146,7 +146,7 @@ export class CreateGatewayRequestZoneConfigZones extends $dara.Model {
|
|
|
146
146
|
* The zone ID.
|
|
147
147
|
*
|
|
148
148
|
* @example
|
|
149
|
-
* cn-
|
|
149
|
+
* cn-hangzhou-j
|
|
150
150
|
*/
|
|
151
151
|
zoneId?: string;
|
|
152
152
|
static names(): { [key: string]: string } {
|
|
@@ -191,7 +191,7 @@ export class CreateGatewayRequestZoneConfig extends $dara.Model {
|
|
|
191
191
|
vSwitchId?: string;
|
|
192
192
|
/**
|
|
193
193
|
* @remarks
|
|
194
|
-
* The list of supported zones.
|
|
194
|
+
* The list of supported zones. At least two zones are required.
|
|
195
195
|
*/
|
|
196
196
|
zones?: CreateGatewayRequestZoneConfigZones[];
|
|
197
197
|
static names(): { [key: string]: string } {
|
|
@@ -237,9 +237,9 @@ export class CreateGatewayRequest extends $dara.Model {
|
|
|
237
237
|
*
|
|
238
238
|
* - Professional: standard instance.
|
|
239
239
|
*
|
|
240
|
-
* - Serverless: Serverless
|
|
240
|
+
* - Serverless: Serverless.
|
|
241
241
|
*
|
|
242
|
-
* - MultiTenantServerless: multi-tenant Serverless
|
|
242
|
+
* - MultiTenantServerless: multi-tenant Serverless.
|
|
243
243
|
*
|
|
244
244
|
* - Unknown: unknown.
|
|
245
245
|
*
|
|
@@ -249,7 +249,7 @@ export class CreateGatewayRequest extends $dara.Model {
|
|
|
249
249
|
gatewayEdition?: string;
|
|
250
250
|
/**
|
|
251
251
|
* @remarks
|
|
252
|
-
* The running mode for AI multi-tenant V2. Default value: ENTERPRISE.
|
|
252
|
+
* The running mode for AI multi-tenant V2. Default value: ENTERPRISE. This parameter can be specified only when gatewayType is AI and gatewayEdition is MultiTenantServerless.
|
|
253
253
|
*
|
|
254
254
|
* @example
|
|
255
255
|
* ENTERPRISE
|
|
@@ -294,7 +294,7 @@ export class CreateGatewayRequest extends $dara.Model {
|
|
|
294
294
|
* The node specifications. Required for the Serverless edition.
|
|
295
295
|
*
|
|
296
296
|
* @example
|
|
297
|
-
* apigw.dev.
|
|
297
|
+
* apigw.dev.x1
|
|
298
298
|
*/
|
|
299
299
|
spec?: string;
|
|
300
300
|
/**
|
|
@@ -3,17 +3,42 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
import { HttpApiDeployConfig } from "./HttpApiDeployConfig";
|
|
4
4
|
import { HttpRouteMatch } from "./HttpRouteMatch";
|
|
5
5
|
import { HttpApiPolicyConfigs } from "./HttpApiPolicyConfigs";
|
|
6
|
+
import { HttpDubboTranscoder } from "./HttpDubboTranscoder";
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model {
|
|
9
10
|
/**
|
|
10
11
|
* @remarks
|
|
11
|
-
* The
|
|
12
|
+
* The service group. Used in the HTTP-to-Dubbo conversion scenario.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* DEFAULT_GROUP
|
|
16
|
+
*/
|
|
17
|
+
groupName?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* The HTTP-to-Dubbo protocol conversion configuration. Only supported for SingleService MSE_NACOS DUBBO backends of HTTP APIs.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* {"dubboServiceName":"com.alibaba.nacos.example.dubbo.service.DemoService","dubboServiceVersion":"1.0.0","dubboServiceGroup":"DEV","methodMapList":[{"dubboMethodName":"sayName","httpMethod":"ALL_GET","methodPath":"/dubbo/sayName","passThroughAllHeaders":"PASS_ALL"}]}
|
|
24
|
+
*/
|
|
25
|
+
httpDubboTranscoder?: HttpDubboTranscoder;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The target model name. This field is shared by multiple model backend scenarios. The specific routing or model rewrite semantics are determined by backendConfig.scene. This field is required for the SemanticRouter scenario. If not specified in the AiAutoRouter scenario, the default model of the AI service is used.
|
|
12
29
|
*
|
|
13
30
|
* @example
|
|
14
31
|
* qwen-plus
|
|
15
32
|
*/
|
|
16
33
|
modelName?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* The service namespace. Used in the HTTP-to-Dubbo conversion scenario.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* public
|
|
40
|
+
*/
|
|
41
|
+
namespace?: string;
|
|
17
42
|
/**
|
|
18
43
|
* @remarks
|
|
19
44
|
* The service port. Do not specify this parameter for dynamic ports.
|
|
@@ -25,8 +50,8 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
|
|
|
25
50
|
/**
|
|
26
51
|
* @remarks
|
|
27
52
|
* The service protocol. Valid values:
|
|
28
|
-
* - HTTP
|
|
29
|
-
* - HTTPS
|
|
53
|
+
* - HTTP.
|
|
54
|
+
* - HTTPS.
|
|
30
55
|
*
|
|
31
56
|
* @example
|
|
32
57
|
* HTTP
|
|
@@ -42,7 +67,15 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
|
|
|
42
67
|
serviceId?: string;
|
|
43
68
|
/**
|
|
44
69
|
* @remarks
|
|
45
|
-
* The service
|
|
70
|
+
* The service source type. Used in the HTTP-to-Dubbo conversion scenario.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* MSE_NACOS
|
|
74
|
+
*/
|
|
75
|
+
sourceType?: string;
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The service version. This parameter is valid only in the tag-based scenario.
|
|
46
79
|
*
|
|
47
80
|
* @example
|
|
48
81
|
* v1
|
|
@@ -50,7 +83,7 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
|
|
|
50
83
|
version?: string;
|
|
51
84
|
/**
|
|
52
85
|
* @remarks
|
|
53
|
-
* The percentage value
|
|
86
|
+
* The traffic ratio percentage value.
|
|
54
87
|
*
|
|
55
88
|
* @example
|
|
56
89
|
* 49
|
|
@@ -58,10 +91,14 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
|
|
|
58
91
|
weight?: number;
|
|
59
92
|
static names(): { [key: string]: string } {
|
|
60
93
|
return {
|
|
94
|
+
groupName: 'groupName',
|
|
95
|
+
httpDubboTranscoder: 'httpDubboTranscoder',
|
|
61
96
|
modelName: 'modelName',
|
|
97
|
+
namespace: 'namespace',
|
|
62
98
|
port: 'port',
|
|
63
99
|
protocol: 'protocol',
|
|
64
100
|
serviceId: 'serviceId',
|
|
101
|
+
sourceType: 'sourceType',
|
|
65
102
|
version: 'version',
|
|
66
103
|
weight: 'weight',
|
|
67
104
|
};
|
|
@@ -69,16 +106,23 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
|
|
|
69
106
|
|
|
70
107
|
static types(): { [key: string]: any } {
|
|
71
108
|
return {
|
|
109
|
+
groupName: 'string',
|
|
110
|
+
httpDubboTranscoder: HttpDubboTranscoder,
|
|
72
111
|
modelName: 'string',
|
|
112
|
+
namespace: 'string',
|
|
73
113
|
port: 'number',
|
|
74
114
|
protocol: 'string',
|
|
75
115
|
serviceId: 'string',
|
|
116
|
+
sourceType: 'string',
|
|
76
117
|
version: 'string',
|
|
77
118
|
weight: 'number',
|
|
78
119
|
};
|
|
79
120
|
}
|
|
80
121
|
|
|
81
122
|
validate() {
|
|
123
|
+
if(this.httpDubboTranscoder && typeof (this.httpDubboTranscoder as any).validate === 'function') {
|
|
124
|
+
(this.httpDubboTranscoder as any).validate();
|
|
125
|
+
}
|
|
82
126
|
super.validate();
|
|
83
127
|
}
|
|
84
128
|
|
|
@@ -91,10 +135,10 @@ export class CreateHttpApiRouteRequestBackendConfig extends $dara.Model {
|
|
|
91
135
|
/**
|
|
92
136
|
* @remarks
|
|
93
137
|
* The backend service scenario. Valid values:
|
|
94
|
-
* - SingleService:
|
|
95
|
-
* - MultiServiceByRatio:
|
|
96
|
-
* - Mock:
|
|
97
|
-
* - Redirect:
|
|
138
|
+
* - SingleService: single service.
|
|
139
|
+
* - MultiServiceByRatio: multiple services with ratio-based canary release.
|
|
140
|
+
* - Mock: mock service.
|
|
141
|
+
* - Redirect: redirect service.
|
|
98
142
|
*
|
|
99
143
|
* @example
|
|
100
144
|
* SingleService
|
|
@@ -151,9 +195,9 @@ export class CreateHttpApiRouteRequestMcpRouteConfig extends $dara.Model {
|
|
|
151
195
|
/**
|
|
152
196
|
* @remarks
|
|
153
197
|
* The service protocol. Valid values:
|
|
154
|
-
* - TCP
|
|
155
|
-
* - HTTP
|
|
156
|
-
* - DUBBO
|
|
198
|
+
* - TCP.
|
|
199
|
+
* - HTTP.
|
|
200
|
+
* - DUBBO.
|
|
157
201
|
*
|
|
158
202
|
* @example
|
|
159
203
|
* HTTP,HTTPS
|
|
@@ -192,7 +236,7 @@ export class CreateHttpApiRouteRequest extends $dara.Model {
|
|
|
192
236
|
backendConfig?: CreateHttpApiRouteRequestBackendConfig;
|
|
193
237
|
/**
|
|
194
238
|
* @remarks
|
|
195
|
-
* The API deployment
|
|
239
|
+
* The API deployment configuration.
|
|
196
240
|
*
|
|
197
241
|
* @deprecated
|
|
198
242
|
*/
|
|
@@ -220,7 +264,7 @@ export class CreateHttpApiRouteRequest extends $dara.Model {
|
|
|
220
264
|
environmentId?: string;
|
|
221
265
|
/**
|
|
222
266
|
* @remarks
|
|
223
|
-
* The route match
|
|
267
|
+
* The route match rule.
|
|
224
268
|
*/
|
|
225
269
|
match?: HttpRouteMatch;
|
|
226
270
|
/**
|
|
@@ -62,7 +62,7 @@ export class DeployHttpApiRequestRestApiConfigEnvironmentServiceConfigs extends
|
|
|
62
62
|
port?: number;
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
* The service protocol:
|
|
65
|
+
* The service protocol. Valid values:
|
|
66
66
|
* - HTTP.
|
|
67
67
|
* - HTTPS.
|
|
68
68
|
*
|
|
@@ -131,7 +131,7 @@ export class DeployHttpApiRequestRestApiConfigEnvironmentServiceConfigs extends
|
|
|
131
131
|
export class DeployHttpApiRequestRestApiConfigEnvironment extends $dara.Model {
|
|
132
132
|
/**
|
|
133
133
|
* @remarks
|
|
134
|
-
* The API publish scenario. Backend configurations cannot be specified during publishing.
|
|
134
|
+
* The API publish scenario. Backend configurations cannot be specified during publishing. Configure them in advance by using UpdateHttpApi or UpdateHttpApiOperation before publishing.
|
|
135
135
|
*
|
|
136
136
|
* @example
|
|
137
137
|
* SingleService
|
|
@@ -156,7 +156,7 @@ export class DeployHttpApiRequestRestApiConfigEnvironment extends $dara.Model {
|
|
|
156
156
|
environmentId?: string;
|
|
157
157
|
/**
|
|
158
158
|
* @remarks
|
|
159
|
-
* The existing service configurations. In the single service scenario, only one entry is allowed. In ratio-based or content-based scenarios, multiple entries are allowed. Backend configurations cannot be specified during publishing.
|
|
159
|
+
* The existing service configurations. In the single service scenario, only one entry is allowed. In ratio-based or content-based scenarios, multiple entries are allowed. Backend configurations cannot be specified during publishing. Configure them in advance by using UpdateHttpApi or UpdateHttpApiOperation before publishing.
|
|
160
160
|
*
|
|
161
161
|
* **if can be null:**
|
|
162
162
|
* true
|
|
@@ -36,8 +36,8 @@ export class GetDashboardRequest extends $dara.Model {
|
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
38
|
* The language. Valid values:
|
|
39
|
-
* - zh: Chinese
|
|
40
|
-
* - en: English
|
|
39
|
+
* - zh: Chinese.
|
|
40
|
+
* - en: English.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* zh
|
|
@@ -59,8 +59,8 @@ export class GetDashboardRequest extends $dara.Model {
|
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
61
|
* The dashboard name. Valid values:
|
|
62
|
-
* - LOG: access log
|
|
63
|
-
* - PLUGIN:
|
|
62
|
+
* - LOG: access log.
|
|
63
|
+
* - PLUGIN: plugin log.
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
66
|
* PLUGIN
|
|
@@ -68,7 +68,7 @@ export class GetDashboardRequest extends $dara.Model {
|
|
|
68
68
|
name?: string;
|
|
69
69
|
/**
|
|
70
70
|
* @remarks
|
|
71
|
-
* The
|
|
71
|
+
* The plugin type ID.
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
74
|
* pls-dn82a9djd8z****
|
|
@@ -76,7 +76,7 @@ export class GetDashboardRequest extends $dara.Model {
|
|
|
76
76
|
pluginClassId?: string;
|
|
77
77
|
/**
|
|
78
78
|
* @remarks
|
|
79
|
-
* The
|
|
79
|
+
* The plugin ID.
|
|
80
80
|
*
|
|
81
81
|
* @example
|
|
82
82
|
* inner-ai-search-cvd3mcum1hks660icn10
|
|
@@ -93,7 +93,7 @@ export class GetDashboardRequest extends $dara.Model {
|
|
|
93
93
|
/**
|
|
94
94
|
* @remarks
|
|
95
95
|
* The dashboard source. Valid values:
|
|
96
|
-
* - SLS: log dashboard
|
|
96
|
+
* - SLS: log dashboard.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* SLS
|
|
@@ -6,8 +6,8 @@ export class GetDashboardShrinkRequest extends $dara.Model {
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* The language. Valid values:
|
|
9
|
-
* - zh: Chinese
|
|
10
|
-
* - en: English
|
|
9
|
+
* - zh: Chinese.
|
|
10
|
+
* - en: English.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* zh
|
|
@@ -29,8 +29,8 @@ export class GetDashboardShrinkRequest extends $dara.Model {
|
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
31
|
* The dashboard name. Valid values:
|
|
32
|
-
* - LOG: access log
|
|
33
|
-
* - PLUGIN:
|
|
32
|
+
* - LOG: access log.
|
|
33
|
+
* - PLUGIN: plugin log.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* PLUGIN
|
|
@@ -38,7 +38,7 @@ export class GetDashboardShrinkRequest extends $dara.Model {
|
|
|
38
38
|
name?: string;
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The
|
|
41
|
+
* The plugin type ID.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* pls-dn82a9djd8z****
|
|
@@ -46,7 +46,7 @@ export class GetDashboardShrinkRequest extends $dara.Model {
|
|
|
46
46
|
pluginClassId?: string;
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The
|
|
49
|
+
* The plugin ID.
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* inner-ai-search-cvd3mcum1hks660icn10
|
|
@@ -63,7 +63,7 @@ export class GetDashboardShrinkRequest extends $dara.Model {
|
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
65
|
* The dashboard source. Valid values:
|
|
66
|
-
* - SLS: log dashboard
|
|
66
|
+
* - SLS: log dashboard.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* SLS
|
|
@@ -64,6 +64,8 @@ export class GetGatewayResponseBodyDataLoadBalancersPorts extends $dara.Model {
|
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
66
|
* The protocol. Valid values:
|
|
67
|
+
* - TCP
|
|
68
|
+
* - UDP
|
|
67
69
|
*
|
|
68
70
|
* @example
|
|
69
71
|
* TCP
|
|
@@ -104,6 +106,8 @@ export class GetGatewayResponseBodyDataLoadBalancers extends $dara.Model {
|
|
|
104
106
|
/**
|
|
105
107
|
* @remarks
|
|
106
108
|
* The protocol version. Valid values:
|
|
109
|
+
* - ipv4: IPv4.
|
|
110
|
+
* - ipv6: IPv6.
|
|
107
111
|
*
|
|
108
112
|
* @example
|
|
109
113
|
* ipv4
|
|
@@ -112,6 +116,8 @@ export class GetGatewayResponseBodyDataLoadBalancers extends $dara.Model {
|
|
|
112
116
|
/**
|
|
113
117
|
* @remarks
|
|
114
118
|
* The load balancing address type. Valid values:
|
|
119
|
+
* - Internet: public network.
|
|
120
|
+
* - Intranet: private network.
|
|
115
121
|
*
|
|
116
122
|
* @example
|
|
117
123
|
* Internet
|
|
@@ -146,6 +152,7 @@ export class GetGatewayResponseBodyDataLoadBalancers extends $dara.Model {
|
|
|
146
152
|
/**
|
|
147
153
|
* @remarks
|
|
148
154
|
* The load balancing mode of the gateway. Valid values:
|
|
155
|
+
* - Managed: managed by Cloud-native API Gateway.
|
|
149
156
|
*
|
|
150
157
|
* @example
|
|
151
158
|
* Managed
|
|
@@ -159,6 +166,8 @@ export class GetGatewayResponseBodyDataLoadBalancers extends $dara.Model {
|
|
|
159
166
|
/**
|
|
160
167
|
* @remarks
|
|
161
168
|
* The status of load balancing. Valid values:
|
|
169
|
+
* - Ready: active.
|
|
170
|
+
* - NotCreate: not associated with an instance.
|
|
162
171
|
*
|
|
163
172
|
* @example
|
|
164
173
|
* Ready
|
|
@@ -166,7 +175,9 @@ export class GetGatewayResponseBodyDataLoadBalancers extends $dara.Model {
|
|
|
166
175
|
status?: string;
|
|
167
176
|
/**
|
|
168
177
|
* @remarks
|
|
169
|
-
* The load balancing type.
|
|
178
|
+
* The load balancing type. Valid values:
|
|
179
|
+
* - NLB: Network Load Balancer (NLB).
|
|
180
|
+
* - CLB: Classic Load Balancer (CLB).
|
|
170
181
|
*
|
|
171
182
|
* @example
|
|
172
183
|
* NLB
|
|
@@ -515,7 +526,9 @@ export class GetGatewayResponseBodyDataZones extends $dara.Model {
|
|
|
515
526
|
export class GetGatewayResponseBodyData extends $dara.Model {
|
|
516
527
|
/**
|
|
517
528
|
* @remarks
|
|
518
|
-
* The billing method.
|
|
529
|
+
* The billing method. Valid values:
|
|
530
|
+
* - POSTPAY: pay-as-you-go.
|
|
531
|
+
* - PREPAY: subscription.
|
|
519
532
|
*
|
|
520
533
|
* @example
|
|
521
534
|
* POSTPAY
|
|
@@ -524,6 +537,7 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
524
537
|
/**
|
|
525
538
|
* @remarks
|
|
526
539
|
* The source from which the gateway was created. Valid values:
|
|
540
|
+
* - Console: the console.
|
|
527
541
|
*
|
|
528
542
|
* @example
|
|
529
543
|
* Console
|
|
@@ -544,7 +558,7 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
544
558
|
environments?: GetGatewayResponseBodyDataEnvironments[];
|
|
545
559
|
/**
|
|
546
560
|
* @remarks
|
|
547
|
-
* The
|
|
561
|
+
* The expiration timestamp for subscription instances. Unit: milliseconds.
|
|
548
562
|
*
|
|
549
563
|
* @example
|
|
550
564
|
* 1719386834548
|
|
@@ -552,10 +566,11 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
552
566
|
expireTimestamp?: number;
|
|
553
567
|
/**
|
|
554
568
|
* @remarks
|
|
555
|
-
* The
|
|
569
|
+
* The gateway instance edition. Valid values:
|
|
556
570
|
*
|
|
557
571
|
* - Professional: standard instance.
|
|
558
|
-
*
|
|
572
|
+
*
|
|
573
|
+
* - Serverless: Serverless instance.
|
|
559
574
|
*
|
|
560
575
|
* @example
|
|
561
576
|
* Serverless
|
|
@@ -571,7 +586,7 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
571
586
|
gatewayId?: string;
|
|
572
587
|
/**
|
|
573
588
|
* @remarks
|
|
574
|
-
* The running mode of AI multi-tenant V2. Default value: ENTERPRISE.
|
|
589
|
+
* The running mode of AI multi-tenant V2. Default value: ENTERPRISE. Only AI + MultiTenantServerless allows this parameter.
|
|
575
590
|
*
|
|
576
591
|
* @example
|
|
577
592
|
* STANDARD
|
|
@@ -580,6 +595,8 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
580
595
|
/**
|
|
581
596
|
* @remarks
|
|
582
597
|
* The gateway type. Valid values:
|
|
598
|
+
* - API: API gateway.
|
|
599
|
+
* - AI: AI gateway.
|
|
583
600
|
*
|
|
584
601
|
* @example
|
|
585
602
|
* API
|
|
@@ -635,6 +652,7 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
635
652
|
/**
|
|
636
653
|
* @remarks
|
|
637
654
|
* The gateway specification. Valid values:
|
|
655
|
+
* - apigw.small.x1: small specification.
|
|
638
656
|
*
|
|
639
657
|
* @example
|
|
640
658
|
* apigw.small.x1
|
|
@@ -643,6 +661,15 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
643
661
|
/**
|
|
644
662
|
* @remarks
|
|
645
663
|
* The gateway status. Valid values:
|
|
664
|
+
* - Running: The gateway is running.
|
|
665
|
+
* - Creating: The gateway is being created.
|
|
666
|
+
* - CreateFailed: The gateway failed to be created.
|
|
667
|
+
* - Upgrading: The gateway is being upgraded.
|
|
668
|
+
* - UpgradeFailed: The gateway failed to be upgraded.
|
|
669
|
+
* - Restarting: The gateway is being restarted.
|
|
670
|
+
* - RestartFailed: The gateway failed to be restarted.
|
|
671
|
+
* - Deleting: The gateway is being released.
|
|
672
|
+
* - DeleteFailed: The gateway failed to be released.
|
|
646
673
|
*
|
|
647
674
|
* @example
|
|
648
675
|
* Running
|