@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.
Files changed (47) hide show
  1. package/dist/client.d.ts +2 -2
  2. package/dist/client.js +2 -2
  3. package/dist/models/Backend.d.ts +36 -3
  4. package/dist/models/Backend.js +12 -0
  5. package/dist/models/Backend.js.map +1 -1
  6. package/dist/models/CreateGatewayRequest.d.ts +7 -7
  7. package/dist/models/CreateHttpApiRouteRequest.d.ts +47 -14
  8. package/dist/models/CreateHttpApiRouteRequest.js +12 -0
  9. package/dist/models/CreateHttpApiRouteRequest.js.map +1 -1
  10. package/dist/models/DeployHttpApiRequest.d.ts +3 -3
  11. package/dist/models/GetDashboardRequest.d.ts +7 -7
  12. package/dist/models/GetDashboardResponseBody.d.ts +1 -1
  13. package/dist/models/GetDashboardShrinkRequest.d.ts +7 -7
  14. package/dist/models/GetGatewayResponseBody.d.ts +33 -6
  15. package/dist/models/GetGatewayResponseBody.js.map +1 -1
  16. package/dist/models/HttpApiApiInfo.d.ts +4 -0
  17. package/dist/models/HttpApiApiInfo.js.map +1 -1
  18. package/dist/models/HttpDubboTranscoder.d.ts +53 -7
  19. package/dist/models/HttpDubboTranscoder.js +16 -16
  20. package/dist/models/HttpDubboTranscoder.js.map +1 -1
  21. package/dist/models/InstallPluginRequest.d.ts +2 -2
  22. package/dist/models/ListTagResourcesRequest.d.ts +3 -3
  23. package/dist/models/ListTagResourcesResponseBody.d.ts +2 -2
  24. package/dist/models/ListTagResourcesShrinkRequest.d.ts +3 -3
  25. package/dist/models/UpdateHttpApiRouteRequest.d.ts +34 -1
  26. package/dist/models/UpdateHttpApiRouteRequest.js +12 -0
  27. package/dist/models/UpdateHttpApiRouteRequest.js.map +1 -1
  28. package/dist/models/model.d.ts +2 -2
  29. package/dist/models/model.js +3 -3
  30. package/package.json +1 -1
  31. package/src/client.ts +2 -2
  32. package/src/models/Backend.ts +47 -3
  33. package/src/models/CreateGatewayRequest.ts +7 -7
  34. package/src/models/CreateHttpApiRouteRequest.ts +58 -14
  35. package/src/models/DeployHttpApiRequest.ts +3 -3
  36. package/src/models/GetDashboardRequest.ts +7 -7
  37. package/src/models/GetDashboardResponseBody.ts +1 -1
  38. package/src/models/GetDashboardShrinkRequest.ts +7 -7
  39. package/src/models/GetGatewayResponseBody.ts +33 -6
  40. package/src/models/HttpApiApiInfo.ts +4 -0
  41. package/src/models/HttpDubboTranscoder.ts +64 -18
  42. package/src/models/InstallPluginRequest.ts +2 -2
  43. package/src/models/ListTagResourcesRequest.ts +3 -3
  44. package/src/models/ListTagResourcesResponseBody.ts +2 -2
  45. package/src/models/ListTagResourcesShrinkRequest.ts +3 -3
  46. package/src/models/UpdateHttpApiRouteRequest.ts +45 -1
  47. package/src/models/model.ts +2 -2
package/dist/client.d.ts CHANGED
@@ -2599,7 +2599,7 @@ export default class Client extends OpenApi {
2599
2599
  */
2600
2600
  updateHttpApiOperation(httpApiId: string, operationId: string, request: $_model.UpdateHttpApiOperationRequest): Promise<$_model.UpdateHttpApiOperationResponse>;
2601
2601
  /**
2602
- * Updates the route of an HTTP API.
2602
+ * Updates a route of an HTTP API.
2603
2603
  *
2604
2604
  * @param request - UpdateHttpApiRouteRequest
2605
2605
  * @param headers - map
@@ -2610,7 +2610,7 @@ export default class Client extends OpenApi {
2610
2610
  [key: string]: string;
2611
2611
  }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateHttpApiRouteResponse>;
2612
2612
  /**
2613
- * Updates the route of an HTTP API.
2613
+ * Updates a route of an HTTP API.
2614
2614
  *
2615
2615
  * @param request - UpdateHttpApiRouteRequest
2616
2616
  * @returns UpdateHttpApiRouteResponse
package/dist/client.js CHANGED
@@ -7077,7 +7077,7 @@ class Client extends openapi_core_1.default {
7077
7077
  return await this.updateHttpApiOperationWithOptions(httpApiId, operationId, request, headers, runtime);
7078
7078
  }
7079
7079
  /**
7080
- * Updates the route of an HTTP API.
7080
+ * Updates a route of an HTTP API.
7081
7081
  *
7082
7082
  * @param request - UpdateHttpApiRouteRequest
7083
7083
  * @param headers - map
@@ -7126,7 +7126,7 @@ class Client extends openapi_core_1.default {
7126
7126
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateHttpApiRouteResponse({}));
7127
7127
  }
7128
7128
  /**
7129
- * Updates the route of an HTTP API.
7129
+ * Updates a route of an HTTP API.
7130
7130
  *
7131
7131
  * @param request - UpdateHttpApiRouteRequest
7132
7132
  * @returns UpdateHttpApiRouteResponse
@@ -1,8 +1,25 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
+ import { HttpDubboTranscoder } from "./HttpDubboTranscoder";
2
3
  export declare class BackendServices extends $dara.Model {
3
4
  /**
4
5
  * @remarks
5
- * The target model name. This field is shared by multiple existing model backend scenarios. The specific routing or model rewrite semantics are determined by scene. This field is required in the SemanticRouter scenario. In the AiAutoRouter scenario, the default model of the AI service is used if this field is not configured.
6
+ * The service group. Used in HTTP-to-Dubbo conversion scenarios.
7
+ *
8
+ * @example
9
+ * DEFAULT_GROUP
10
+ */
11
+ groupName?: string;
12
+ /**
13
+ * @remarks
14
+ * The HTTP-to-Dubbo protocol conversion configuration. Only supported for SingleService MSE_NACOS DUBBO backends of HTTP APIs.
15
+ *
16
+ * @example
17
+ * {"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"}]}
18
+ */
19
+ httpDubboTranscoder?: HttpDubboTranscoder;
20
+ /**
21
+ * @remarks
22
+ * 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.
6
23
  *
7
24
  * @example
8
25
  * qwen-plus
@@ -16,6 +33,14 @@ export declare class BackendServices extends $dara.Model {
16
33
  * item-service
17
34
  */
18
35
  name?: string;
36
+ /**
37
+ * @remarks
38
+ * The service namespace. Used in HTTP-to-Dubbo conversion scenarios.
39
+ *
40
+ * @example
41
+ * public
42
+ */
43
+ namespace?: string;
19
44
  /**
20
45
  * @remarks
21
46
  * The service port. Do not specify this parameter for dynamic ports.
@@ -26,7 +51,7 @@ export declare class BackendServices extends $dara.Model {
26
51
  port?: number;
27
52
  /**
28
53
  * @remarks
29
- * The service protocol. Valid values: [HTTP, TCP, DUBBO].
54
+ * The service protocol. Valid values: [HTTP, TCP, DUBBO]
30
55
  *
31
56
  * @example
32
57
  * HTTP
@@ -40,6 +65,14 @@ export declare class BackendServices extends $dara.Model {
40
65
  * service-cq2bmmdlhtgj***
41
66
  */
42
67
  serviceId?: string;
68
+ /**
69
+ * @remarks
70
+ * The service source type. Set this to MSE_NACOS for HTTP-to-Dubbo conversion scenarios.
71
+ *
72
+ * @example
73
+ * MSE_NACOS
74
+ */
75
+ sourceType?: string;
43
76
  /**
44
77
  * @remarks
45
78
  * The service version.
@@ -78,7 +111,7 @@ export declare class Backend extends $dara.Model {
78
111
  enableSystemModels?: boolean;
79
112
  /**
80
113
  * @remarks
81
- * The backend service scenario. Valid values: [Single, MultiServiceByRatio, MultiServiceByTag, Mock, Redirect].
114
+ * The backend service scenario. Valid values: [Single, MultiServiceByRatio, MultiServiceByTag, Mock, Redirect]
82
115
  *
83
116
  * @example
84
117
  * Single
@@ -36,30 +36,42 @@ Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.Backend = exports.BackendServices = void 0;
37
37
  // This file is auto-generated, don't edit it
38
38
  const $dara = __importStar(require("@darabonba/typescript"));
39
+ const HttpDubboTranscoder_1 = require("./HttpDubboTranscoder");
39
40
  class BackendServices extends $dara.Model {
40
41
  static names() {
41
42
  return {
43
+ groupName: 'groupName',
44
+ httpDubboTranscoder: 'httpDubboTranscoder',
42
45
  modelName: 'modelName',
43
46
  name: 'name',
47
+ namespace: 'namespace',
44
48
  port: 'port',
45
49
  protocol: 'protocol',
46
50
  serviceId: 'serviceId',
51
+ sourceType: 'sourceType',
47
52
  version: 'version',
48
53
  weight: 'weight',
49
54
  };
50
55
  }
51
56
  static types() {
52
57
  return {
58
+ groupName: 'string',
59
+ httpDubboTranscoder: HttpDubboTranscoder_1.HttpDubboTranscoder,
53
60
  modelName: 'string',
54
61
  name: 'string',
62
+ namespace: 'string',
55
63
  port: 'number',
56
64
  protocol: 'string',
57
65
  serviceId: 'string',
66
+ sourceType: 'string',
58
67
  version: 'string',
59
68
  weight: 'number',
60
69
  };
61
70
  }
62
71
  validate() {
72
+ if (this.httpDubboTranscoder && typeof this.httpDubboTranscoder.validate === 'function') {
73
+ this.httpDubboTranscoder.validate();
74
+ }
63
75
  super.validate();
64
76
  }
65
77
  constructor(map) {
@@ -1 +1 @@
1
- {"version":3,"file":"Backend.js","sourceRoot":"","sources":["../../src/models/Backend.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,eAAgB,SAAQ,KAAK,CAAC,KAAK;IAyD9C,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAA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AC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,0BAgDC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class CreateGatewayRequestLogConfigSls extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * Specifies whether to enable log collection.
5
+ * Specifies whether to enable SLS log collection.
6
6
  *
7
7
  * @example
8
8
  * false
@@ -98,7 +98,7 @@ export declare class CreateGatewayRequestZoneConfigZones extends $dara.Model {
98
98
  * The zone ID.
99
99
  *
100
100
  * @example
101
- * cn-wulanchabu-a
101
+ * cn-hangzhou-j
102
102
  */
103
103
  zoneId?: string;
104
104
  static names(): {
@@ -131,7 +131,7 @@ export declare class CreateGatewayRequestZoneConfig extends $dara.Model {
131
131
  vSwitchId?: string;
132
132
  /**
133
133
  * @remarks
134
- * The list of supported zones.
134
+ * The list of supported zones. At least two zones are required.
135
135
  */
136
136
  zones?: CreateGatewayRequestZoneConfigZones[];
137
137
  static names(): {
@@ -160,9 +160,9 @@ export declare class CreateGatewayRequest extends $dara.Model {
160
160
  *
161
161
  * - Professional: standard instance.
162
162
  *
163
- * - Serverless: Serverless instance.
163
+ * - Serverless: Serverless.
164
164
  *
165
- * - MultiTenantServerless: multi-tenant Serverless instance.
165
+ * - MultiTenantServerless: multi-tenant Serverless.
166
166
  *
167
167
  * - Unknown: unknown.
168
168
  *
@@ -172,7 +172,7 @@ export declare class CreateGatewayRequest extends $dara.Model {
172
172
  gatewayEdition?: string;
173
173
  /**
174
174
  * @remarks
175
- * The running mode for AI multi-tenant V2. Default value: ENTERPRISE. Only allowed when the gateway type is AI and the edition is MultiTenantServerless.
175
+ * 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.
176
176
  *
177
177
  * @example
178
178
  * ENTERPRISE
@@ -217,7 +217,7 @@ export declare class CreateGatewayRequest extends $dara.Model {
217
217
  * The node specifications. Required for the Serverless edition.
218
218
  *
219
219
  * @example
220
- * apigw.dev.x2
220
+ * apigw.dev.x1
221
221
  */
222
222
  spec?: string;
223
223
  /**
@@ -2,15 +2,40 @@ import * as $dara from '@darabonba/typescript';
2
2
  import { HttpApiDeployConfig } from "./HttpApiDeployConfig";
3
3
  import { HttpRouteMatch } from "./HttpRouteMatch";
4
4
  import { HttpApiPolicyConfigs } from "./HttpApiPolicyConfigs";
5
+ import { HttpDubboTranscoder } from "./HttpDubboTranscoder";
5
6
  export declare class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model {
6
7
  /**
7
8
  * @remarks
8
- * The target model name. This field is shared by multiple existing 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.
9
+ * The service group. Used in the HTTP-to-Dubbo conversion scenario.
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 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.
9
26
  *
10
27
  * @example
11
28
  * qwen-plus
12
29
  */
13
30
  modelName?: string;
31
+ /**
32
+ * @remarks
33
+ * The service namespace. Used in the HTTP-to-Dubbo conversion scenario.
34
+ *
35
+ * @example
36
+ * public
37
+ */
38
+ namespace?: string;
14
39
  /**
15
40
  * @remarks
16
41
  * The service port. Do not specify this parameter for dynamic ports.
@@ -22,8 +47,8 @@ export declare class CreateHttpApiRouteRequestBackendConfigServices extends $dar
22
47
  /**
23
48
  * @remarks
24
49
  * The service protocol. Valid values:
25
- * - HTTP
26
- * - HTTPS
50
+ * - HTTP.
51
+ * - HTTPS.
27
52
  *
28
53
  * @example
29
54
  * HTTP
@@ -39,7 +64,15 @@ export declare class CreateHttpApiRouteRequestBackendConfigServices extends $dar
39
64
  serviceId?: string;
40
65
  /**
41
66
  * @remarks
42
- * The service version. This parameter is valid only in the by-tag scenario.
67
+ * The service source type. Used in the HTTP-to-Dubbo conversion scenario.
68
+ *
69
+ * @example
70
+ * MSE_NACOS
71
+ */
72
+ sourceType?: string;
73
+ /**
74
+ * @remarks
75
+ * The service version. This parameter is valid only in the tag-based scenario.
43
76
  *
44
77
  * @example
45
78
  * v1
@@ -47,7 +80,7 @@ export declare class CreateHttpApiRouteRequestBackendConfigServices extends $dar
47
80
  version?: string;
48
81
  /**
49
82
  * @remarks
50
- * The percentage value of the traffic ratio.
83
+ * The traffic ratio percentage value.
51
84
  *
52
85
  * @example
53
86
  * 49
@@ -68,10 +101,10 @@ export declare class CreateHttpApiRouteRequestBackendConfig extends $dara.Model
68
101
  /**
69
102
  * @remarks
70
103
  * The backend service scenario. Valid values:
71
- * - SingleService: Single service.
72
- * - MultiServiceByRatio: Multiple services with ratio-based canary release.
73
- * - Mock: Mock service.
74
- * - Redirect: Redirect service.
104
+ * - SingleService: single service.
105
+ * - MultiServiceByRatio: multiple services with ratio-based canary release.
106
+ * - Mock: mock service.
107
+ * - Redirect: redirect service.
75
108
  *
76
109
  * @example
77
110
  * SingleService
@@ -113,9 +146,9 @@ export declare class CreateHttpApiRouteRequestMcpRouteConfig extends $dara.Model
113
146
  /**
114
147
  * @remarks
115
148
  * The service protocol. Valid values:
116
- * - TCP
117
- * - HTTP
118
- * - DUBBO
149
+ * - TCP.
150
+ * - HTTP.
151
+ * - DUBBO.
119
152
  *
120
153
  * @example
121
154
  * HTTP,HTTPS
@@ -140,7 +173,7 @@ export declare class CreateHttpApiRouteRequest extends $dara.Model {
140
173
  backendConfig?: CreateHttpApiRouteRequestBackendConfig;
141
174
  /**
142
175
  * @remarks
143
- * The API deployment configurations.
176
+ * The API deployment configuration.
144
177
  *
145
178
  * @deprecated
146
179
  */
@@ -168,7 +201,7 @@ export declare class CreateHttpApiRouteRequest extends $dara.Model {
168
201
  environmentId?: string;
169
202
  /**
170
203
  * @remarks
171
- * The route match rules.
204
+ * The route match rule.
172
205
  */
173
206
  match?: HttpRouteMatch;
174
207
  /**
@@ -39,28 +39,40 @@ const $dara = __importStar(require("@darabonba/typescript"));
39
39
  const HttpApiDeployConfig_1 = require("./HttpApiDeployConfig");
40
40
  const HttpRouteMatch_1 = require("./HttpRouteMatch");
41
41
  const HttpApiPolicyConfigs_1 = require("./HttpApiPolicyConfigs");
42
+ const HttpDubboTranscoder_1 = require("./HttpDubboTranscoder");
42
43
  class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model {
43
44
  static names() {
44
45
  return {
46
+ groupName: 'groupName',
47
+ httpDubboTranscoder: 'httpDubboTranscoder',
45
48
  modelName: 'modelName',
49
+ namespace: 'namespace',
46
50
  port: 'port',
47
51
  protocol: 'protocol',
48
52
  serviceId: 'serviceId',
53
+ sourceType: 'sourceType',
49
54
  version: 'version',
50
55
  weight: 'weight',
51
56
  };
52
57
  }
53
58
  static types() {
54
59
  return {
60
+ groupName: 'string',
61
+ httpDubboTranscoder: HttpDubboTranscoder_1.HttpDubboTranscoder,
55
62
  modelName: 'string',
63
+ namespace: 'string',
56
64
  port: 'number',
57
65
  protocol: 'string',
58
66
  serviceId: 'string',
67
+ sourceType: 'string',
59
68
  version: 'string',
60
69
  weight: 'number',
61
70
  };
62
71
  }
63
72
  validate() {
73
+ if (this.httpDubboTranscoder && typeof this.httpDubboTranscoder.validate === 'function') {
74
+ this.httpDubboTranscoder.validate();
75
+ }
64
76
  super.validate();
65
77
  }
66
78
  constructor(map) {
@@ -1 +1 @@
1
- {"version":3,"file":"CreateHttpApiRouteRequest.js","sourceRoot":"","sources":["../../src/models/CreateHttpApiRouteRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+DAA4D;AAC5D,qDAAkD;AAClD,iEAA8D;AAG9D,MAAa,8CAA+C,SAAQ,KAAK,CAAC,KAAK;IAmD7E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhFD,wGAgFC;AAED,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IAkBrE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,8CAA8C,EAAE;SAC1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SAAS,CAAC,CAAC;QAC5C,CAAC;QACD,IAAG,IAAI,CAAC,KAAK,IAAI,OAAQ,IAAI,CAAC,KAAa,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnE,IAAI,CAAC,KAAa,CAAC,QAAQ,EAAE,CAAC;QACjC,CAAC;QACD,IAAG,IAAI,CAAC,cAAc,IAAI,OAAQ,IAAI,CAAC,cAAsB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACrF,IAAI,CAAC,cAAsB,CAAC,QAAQ,EAAE,CAAC;QAC1C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC;YACrC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAChD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9GD,8DA8GC"}
@@ -44,7 +44,7 @@ export declare class DeployHttpApiRequestRestApiConfigEnvironmentServiceConfigs
44
44
  port?: number;
45
45
  /**
46
46
  * @remarks
47
- * The service protocol:
47
+ * The service protocol. Valid values:
48
48
  * - HTTP.
49
49
  * - HTTPS.
50
50
  *
@@ -90,7 +90,7 @@ export declare class DeployHttpApiRequestRestApiConfigEnvironmentServiceConfigs
90
90
  export declare class DeployHttpApiRequestRestApiConfigEnvironment extends $dara.Model {
91
91
  /**
92
92
  * @remarks
93
- * The API publish scenario. Backend configurations cannot be specified during publishing. Use UpdateHttpApi or UpdateHttpApiOperation to configure the backend before publishing.
93
+ * The API publish scenario. Backend configurations cannot be specified during publishing. Configure them in advance by using UpdateHttpApi or UpdateHttpApiOperation before publishing.
94
94
  *
95
95
  * @example
96
96
  * SingleService
@@ -115,7 +115,7 @@ export declare class DeployHttpApiRequestRestApiConfigEnvironment extends $dara.
115
115
  environmentId?: string;
116
116
  /**
117
117
  * @remarks
118
- * 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. Use UpdateHttpApi or UpdateHttpApiOperation to configure the backend before publishing.
118
+ * 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.
119
119
  *
120
120
  * **if can be null:**
121
121
  * true
@@ -23,8 +23,8 @@ export declare class GetDashboardRequest extends $dara.Model {
23
23
  /**
24
24
  * @remarks
25
25
  * The language. Valid values:
26
- * - zh: Chinese
27
- * - en: English
26
+ * - zh: Chinese.
27
+ * - en: English.
28
28
  *
29
29
  * @example
30
30
  * zh
@@ -46,8 +46,8 @@ export declare class GetDashboardRequest extends $dara.Model {
46
46
  /**
47
47
  * @remarks
48
48
  * The dashboard name. Valid values:
49
- * - LOG: access log
50
- * - PLUGIN: plug-in log
49
+ * - LOG: access log.
50
+ * - PLUGIN: plugin log.
51
51
  *
52
52
  * @example
53
53
  * PLUGIN
@@ -55,7 +55,7 @@ export declare class GetDashboardRequest extends $dara.Model {
55
55
  name?: string;
56
56
  /**
57
57
  * @remarks
58
- * The plug-in type ID.
58
+ * The plugin type ID.
59
59
  *
60
60
  * @example
61
61
  * pls-dn82a9djd8z****
@@ -63,7 +63,7 @@ export declare class GetDashboardRequest extends $dara.Model {
63
63
  pluginClassId?: string;
64
64
  /**
65
65
  * @remarks
66
- * The plug-in ID.
66
+ * The plugin ID.
67
67
  *
68
68
  * @example
69
69
  * inner-ai-search-cvd3mcum1hks660icn10
@@ -80,7 +80,7 @@ export declare class GetDashboardRequest extends $dara.Model {
80
80
  /**
81
81
  * @remarks
82
82
  * The dashboard source. Valid values:
83
- * - SLS: log dashboard
83
+ * - SLS: log dashboard.
84
84
  *
85
85
  * @example
86
86
  * SLS
@@ -26,7 +26,7 @@ export declare class GetDashboardResponseBodyData extends $dara.Model {
26
26
  title?: string;
27
27
  /**
28
28
  * @remarks
29
- * The dashboard URL.
29
+ * The URL of the dashboard.
30
30
  *
31
31
  * @example
32
32
  * https://sls.console.aliyun.com/lognext/project/xxxxx
@@ -3,8 +3,8 @@ export declare class GetDashboardShrinkRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
5
  * The language. Valid values:
6
- * - zh: Chinese
7
- * - en: English
6
+ * - zh: Chinese.
7
+ * - en: English.
8
8
  *
9
9
  * @example
10
10
  * zh
@@ -26,8 +26,8 @@ export declare class GetDashboardShrinkRequest extends $dara.Model {
26
26
  /**
27
27
  * @remarks
28
28
  * The dashboard name. Valid values:
29
- * - LOG: access log
30
- * - PLUGIN: plug-in log
29
+ * - LOG: access log.
30
+ * - PLUGIN: plugin log.
31
31
  *
32
32
  * @example
33
33
  * PLUGIN
@@ -35,7 +35,7 @@ export declare class GetDashboardShrinkRequest extends $dara.Model {
35
35
  name?: string;
36
36
  /**
37
37
  * @remarks
38
- * The plug-in type ID.
38
+ * The plugin type ID.
39
39
  *
40
40
  * @example
41
41
  * pls-dn82a9djd8z****
@@ -43,7 +43,7 @@ export declare class GetDashboardShrinkRequest extends $dara.Model {
43
43
  pluginClassId?: string;
44
44
  /**
45
45
  * @remarks
46
- * The plug-in ID.
46
+ * The plugin ID.
47
47
  *
48
48
  * @example
49
49
  * inner-ai-search-cvd3mcum1hks660icn10
@@ -60,7 +60,7 @@ export declare class GetDashboardShrinkRequest extends $dara.Model {
60
60
  /**
61
61
  * @remarks
62
62
  * The dashboard source. Valid values:
63
- * - SLS: log dashboard
63
+ * - SLS: log dashboard.
64
64
  *
65
65
  * @example
66
66
  * SLS
@@ -47,6 +47,8 @@ export declare class GetGatewayResponseBodyDataLoadBalancersPorts extends $dara.
47
47
  /**
48
48
  * @remarks
49
49
  * The protocol. Valid values:
50
+ * - TCP
51
+ * - UDP
50
52
  *
51
53
  * @example
52
54
  * TCP
@@ -75,6 +77,8 @@ export declare class GetGatewayResponseBodyDataLoadBalancers extends $dara.Model
75
77
  /**
76
78
  * @remarks
77
79
  * The protocol version. Valid values:
80
+ * - ipv4: IPv4.
81
+ * - ipv6: IPv6.
78
82
  *
79
83
  * @example
80
84
  * ipv4
@@ -83,6 +87,8 @@ export declare class GetGatewayResponseBodyDataLoadBalancers extends $dara.Model
83
87
  /**
84
88
  * @remarks
85
89
  * The load balancing address type. Valid values:
90
+ * - Internet: public network.
91
+ * - Intranet: private network.
86
92
  *
87
93
  * @example
88
94
  * Internet
@@ -117,6 +123,7 @@ export declare class GetGatewayResponseBodyDataLoadBalancers extends $dara.Model
117
123
  /**
118
124
  * @remarks
119
125
  * The load balancing mode of the gateway. Valid values:
126
+ * - Managed: managed by Cloud-native API Gateway.
120
127
  *
121
128
  * @example
122
129
  * Managed
@@ -130,6 +137,8 @@ export declare class GetGatewayResponseBodyDataLoadBalancers extends $dara.Model
130
137
  /**
131
138
  * @remarks
132
139
  * The status of load balancing. Valid values:
140
+ * - Ready: active.
141
+ * - NotCreate: not associated with an instance.
133
142
  *
134
143
  * @example
135
144
  * Ready
@@ -137,7 +146,9 @@ export declare class GetGatewayResponseBodyDataLoadBalancers extends $dara.Model
137
146
  status?: string;
138
147
  /**
139
148
  * @remarks
140
- * The load balancing type.
149
+ * The load balancing type. Valid values:
150
+ * - NLB: Network Load Balancer (NLB).
151
+ * - CLB: Classic Load Balancer (CLB).
141
152
  *
142
153
  * @example
143
154
  * NLB
@@ -358,7 +369,9 @@ export declare class GetGatewayResponseBodyDataZones extends $dara.Model {
358
369
  export declare class GetGatewayResponseBodyData extends $dara.Model {
359
370
  /**
360
371
  * @remarks
361
- * The billing method.
372
+ * The billing method. Valid values:
373
+ * - POSTPAY: pay-as-you-go.
374
+ * - PREPAY: subscription.
362
375
  *
363
376
  * @example
364
377
  * POSTPAY
@@ -367,6 +380,7 @@ export declare class GetGatewayResponseBodyData extends $dara.Model {
367
380
  /**
368
381
  * @remarks
369
382
  * The source from which the gateway was created. Valid values:
383
+ * - Console: the console.
370
384
  *
371
385
  * @example
372
386
  * Console
@@ -387,7 +401,7 @@ export declare class GetGatewayResponseBodyData extends $dara.Model {
387
401
  environments?: GetGatewayResponseBodyDataEnvironments[];
388
402
  /**
389
403
  * @remarks
390
- * The subscription expiration timestamp. Unit: milliseconds.
404
+ * The expiration timestamp for subscription instances. Unit: milliseconds.
391
405
  *
392
406
  * @example
393
407
  * 1719386834548
@@ -395,10 +409,11 @@ export declare class GetGatewayResponseBodyData extends $dara.Model {
395
409
  expireTimestamp?: number;
396
410
  /**
397
411
  * @remarks
398
- * The edition of the gateway instance. Valid values:
412
+ * The gateway instance edition. Valid values:
399
413
  *
400
414
  * - Professional: standard instance.
401
- * - Serverless: Serverless.
415
+ *
416
+ * - Serverless: Serverless instance.
402
417
  *
403
418
  * @example
404
419
  * Serverless
@@ -414,7 +429,7 @@ export declare class GetGatewayResponseBodyData extends $dara.Model {
414
429
  gatewayId?: string;
415
430
  /**
416
431
  * @remarks
417
- * The running mode of AI multi-tenant V2. Default value: ENTERPRISE. This parameter can be specified only when AI + MultiTenantServerless is used.
432
+ * The running mode of AI multi-tenant V2. Default value: ENTERPRISE. Only AI + MultiTenantServerless allows this parameter.
418
433
  *
419
434
  * @example
420
435
  * STANDARD
@@ -423,6 +438,8 @@ export declare class GetGatewayResponseBodyData extends $dara.Model {
423
438
  /**
424
439
  * @remarks
425
440
  * The gateway type. Valid values:
441
+ * - API: API gateway.
442
+ * - AI: AI gateway.
426
443
  *
427
444
  * @example
428
445
  * API
@@ -478,6 +495,7 @@ export declare class GetGatewayResponseBodyData extends $dara.Model {
478
495
  /**
479
496
  * @remarks
480
497
  * The gateway specification. Valid values:
498
+ * - apigw.small.x1: small specification.
481
499
  *
482
500
  * @example
483
501
  * apigw.small.x1
@@ -486,6 +504,15 @@ export declare class GetGatewayResponseBodyData extends $dara.Model {
486
504
  /**
487
505
  * @remarks
488
506
  * The gateway status. Valid values:
507
+ * - Running: The gateway is running.
508
+ * - Creating: The gateway is being created.
509
+ * - CreateFailed: The gateway failed to be created.
510
+ * - Upgrading: The gateway is being upgraded.
511
+ * - UpgradeFailed: The gateway failed to be upgraded.
512
+ * - Restarting: The gateway is being restarted.
513
+ * - RestartFailed: The gateway failed to be restarted.
514
+ * - Deleting: The gateway is being released.
515
+ * - DeleteFailed: The gateway failed to be released.
489
516
  *
490
517
  * @example
491
518
  * Running