@alicloud/apig20240327 11.0.0 → 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 +5 -2
- package/dist/client.js.map +1 -1
- 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/CreateDomainRequest.d.ts +19 -22
- package/dist/models/CreateDomainRequest.js +2 -0
- package/dist/models/CreateDomainRequest.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/CreateServiceRequest.d.ts +10 -10
- 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 +6 -2
- package/src/models/Backend.ts +47 -3
- package/src/models/CreateDomainRequest.ts +21 -22
- package/src/models/CreateGatewayRequest.ts +7 -7
- package/src/models/CreateHttpApiRouteRequest.ts +58 -14
- package/src/models/CreateServiceRequest.ts +10 -10
- 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/dist/models/Backend.d.ts
CHANGED
|
@@ -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
|
|
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
|
package/dist/models/Backend.js
CHANGED
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"Backend.js","sourceRoot":"","sources":["../../src/models/Backend.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+DAA4D;AAG5D,MAAa,eAAgB,SAAQ,KAAK,CAAC,KAAK;IAyF9C,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,mBAAmB,EAAE,qBAAqB;YAC1C,SAAS,EAAE,WAAW;YACtB,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,mBAAmB,EAAE,yCAAmB;YACxC,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;YACpB,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,mBAAmB,IAAI,OAAQ,IAAI,CAAC,mBAA2B,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC/F,IAAI,CAAC,mBAA2B,CAAC,QAAQ,EAAE,CAAC;QAC/C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnID,0CAmIC;AAED,MAAa,OAAQ,SAAQ,KAAK,CAAC,KAAK;IAsBtC,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,oBAAoB;YACxC,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,SAAS;YAC7B,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE;SAC3D,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YAChC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC3C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,0BAgDC"}
|
|
@@ -3,7 +3,7 @@ import { TlsCipherSuitesConfig } from "./TlsCipherSuitesConfig";
|
|
|
3
3
|
export declare class CreateDomainRequest extends $dara.Model {
|
|
4
4
|
/**
|
|
5
5
|
* @remarks
|
|
6
|
-
* The CA certificate identifier. This parameter is optional for Dedicated
|
|
6
|
+
* The CA certificate identifier. This parameter is optional for Dedicated with HTTPS. This parameter is not allowed for Serverless and is not validated for Dedicated with HTTP.
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* 1ef1da5f-38ed-69b3-****-037781890265
|
|
@@ -11,7 +11,7 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
11
11
|
caCertIdentifier?: string;
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
* The certificate identifier. This parameter is required for Dedicated
|
|
14
|
+
* The certificate identifier. This parameter is required for Dedicated with HTTPS and must pass validation. This parameter is not allowed for Serverless and is not validated for Dedicated with HTTP.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* 1ef1da5f-38ed-69b3-****-037781890265
|
|
@@ -19,7 +19,7 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
19
19
|
certIdentifier?: string;
|
|
20
20
|
/**
|
|
21
21
|
* @remarks
|
|
22
|
-
* The client CA certificate. This parameter is conditionally required for Dedicated
|
|
22
|
+
* The client CA certificate. This parameter is conditionally required for Dedicated with HTTPS (required when MTLSEnabled is set to true). This parameter is not allowed for Serverless and is not validated for Dedicated with HTTP.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* -----BEGIN CERTIFICATE-----
|
|
@@ -31,12 +31,7 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
31
31
|
clientCACert?: string;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The domain
|
|
35
|
-
*
|
|
36
|
-
* - Dedicated: dedicated gateway domain name.
|
|
37
|
-
* - Serverless: Serverless gateway domain name.
|
|
38
|
-
*
|
|
39
|
-
* Default value: Dedicated.
|
|
34
|
+
* The domain scope. Valid values: Dedicated (dedicated gateway domain name), Serverless (Serverless gateway domain name). Default value: Dedicated.
|
|
40
35
|
*
|
|
41
36
|
* @example
|
|
42
37
|
* Dedicated
|
|
@@ -44,7 +39,7 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
44
39
|
domainScope?: string;
|
|
45
40
|
/**
|
|
46
41
|
* @remarks
|
|
47
|
-
* Specifies whether to enable forced HTTPS redirect
|
|
42
|
+
* Specifies whether to enable forced HTTPS redirect when the protocol type is HTTPS. This parameter is required for Serverless and for Dedicated with HTTPS. This parameter is not validated for Dedicated with HTTP.
|
|
48
43
|
*
|
|
49
44
|
* @example
|
|
50
45
|
* false
|
|
@@ -60,13 +55,7 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
60
55
|
gatewayType?: string;
|
|
61
56
|
/**
|
|
62
57
|
* @remarks
|
|
63
|
-
* The HTTP/2 setting. Valid values:
|
|
64
|
-
*
|
|
65
|
-
* - GlobalConfig: follows the global configuration.
|
|
66
|
-
* - Open: enabled.
|
|
67
|
-
* - Close: disabled.
|
|
68
|
-
*
|
|
69
|
-
* Default value: GlobalConfig. This setting is supported only for HTTPS domain names in the Dedicated scope.
|
|
58
|
+
* The HTTP/2 setting. Valid values: GlobalConfig (follows the global configuration), Open (enabled), Close (disabled). Default value: GlobalConfig. This setting is supported only for HTTPS domain names in the Dedicated scope.
|
|
70
59
|
*
|
|
71
60
|
* @example
|
|
72
61
|
* Open
|
|
@@ -74,12 +63,12 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
74
63
|
http2Option?: string;
|
|
75
64
|
/**
|
|
76
65
|
* @remarks
|
|
77
|
-
* Specifies whether to enable mTLS mutual authentication. This parameter is optional for Dedicated
|
|
66
|
+
* Specifies whether to enable mTLS mutual authentication. This parameter is optional for Dedicated with HTTPS. If set to true, ClientCACert is required. This parameter is not allowed for Serverless.
|
|
78
67
|
*/
|
|
79
68
|
mTLSEnabled?: boolean;
|
|
80
69
|
/**
|
|
81
70
|
* @remarks
|
|
82
|
-
* The domain name. The name must be 1 to 128 characters in length
|
|
71
|
+
* The domain name. The name must be 1 to 128 characters in length, such as abc.com.
|
|
83
72
|
*
|
|
84
73
|
* This parameter is required.
|
|
85
74
|
*
|
|
@@ -110,7 +99,7 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
110
99
|
tlsCipherSuitesConfig?: TlsCipherSuitesConfig;
|
|
111
100
|
/**
|
|
112
101
|
* @remarks
|
|
113
|
-
* The maximum TLS protocol version. This parameter is optional for Dedicated
|
|
102
|
+
* The maximum TLS protocol version. This parameter is optional for Dedicated with HTTPS. If not specified, the value is derived from TlsMin. The value must be greater than or equal to TlsMin. This parameter is not allowed for Serverless.
|
|
114
103
|
*
|
|
115
104
|
* @example
|
|
116
105
|
* TLS1.3
|
|
@@ -118,7 +107,7 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
118
107
|
tlsMax?: string;
|
|
119
108
|
/**
|
|
120
109
|
* @remarks
|
|
121
|
-
* The minimum TLS protocol version. This parameter is optional for Dedicated
|
|
110
|
+
* The minimum TLS protocol version. This parameter is optional for Dedicated with HTTPS. If not specified, the default value is TLS 1.0. Valid values range from TLS 1.0 to TLS 1.3, compatible with TLSv1.x. This parameter is not allowed for Serverless.
|
|
122
111
|
*
|
|
123
112
|
* @example
|
|
124
113
|
* TLS1.0
|
|
@@ -126,7 +115,15 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
126
115
|
tlsMin?: string;
|
|
127
116
|
/**
|
|
128
117
|
* @remarks
|
|
129
|
-
*
|
|
118
|
+
* The idempotency token generated by the caller as a globally unique value (UUID recommended). The value must be up to 64 characters in length. Within approximately 24 hours after the first successful request, a duplicate request with the same ClientToken and identical request parameters directly returns the domainId created by the first request without creating a duplicate domain name. If the same ClientToken is used with different request parameters, an IdempotentParameterMismatch error is returned. If the first request is still being processed, an IdempotentProcessing error is returned. If this parameter is not specified, idempotency control is not enabled, and the behavior is consistent with the existing version.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* 5f7a2c1e-9b3d-4e8f-a1c6-0d2b8e4f7a13
|
|
122
|
+
*/
|
|
123
|
+
clientToken?: string;
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* Specifies whether to perform only a dry run. If set to true, all synchronous validations consistent with actual creation are performed (including idempotency checks for existing test domain names), but no domain name is created and no side effects are produced. If not specified or set to false, the behavior is consistent with the existing version.
|
|
130
127
|
*/
|
|
131
128
|
dryRun?: boolean;
|
|
132
129
|
static names(): {
|
|
@@ -54,6 +54,7 @@ class CreateDomainRequest extends $dara.Model {
|
|
|
54
54
|
tlsCipherSuitesConfig: 'tlsCipherSuitesConfig',
|
|
55
55
|
tlsMax: 'tlsMax',
|
|
56
56
|
tlsMin: 'tlsMin',
|
|
57
|
+
clientToken: 'clientToken',
|
|
57
58
|
dryRun: 'dryRun',
|
|
58
59
|
};
|
|
59
60
|
}
|
|
@@ -73,6 +74,7 @@ class CreateDomainRequest extends $dara.Model {
|
|
|
73
74
|
tlsCipherSuitesConfig: TlsCipherSuitesConfig_1.TlsCipherSuitesConfig,
|
|
74
75
|
tlsMax: 'string',
|
|
75
76
|
tlsMin: 'string',
|
|
77
|
+
clientToken: 'string',
|
|
76
78
|
dryRun: 'boolean',
|
|
77
79
|
};
|
|
78
80
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateDomainRequest.js","sourceRoot":"","sources":["../../src/models/CreateDomainRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mEAAgE;AAGhE,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateDomainRequest.js","sourceRoot":"","sources":["../../src/models/CreateDomainRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mEAAgE;AAGhE,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;IA8HlD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,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ara 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-
|
|
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
|
|
163
|
+
* - Serverless: Serverless.
|
|
164
164
|
*
|
|
165
|
-
* - MultiTenantServerless: multi-tenant Serverless
|
|
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.
|
|
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.
|
|
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
|
|
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
|
|
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
|
|
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:
|
|
72
|
-
* - MultiServiceByRatio:
|
|
73
|
-
* - Mock:
|
|
74
|
-
* - Redirect:
|
|
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
|
|
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
|
|
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;
|
|
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;AAC9D,+DAA4D;AAG5D,MAAa,8CAA+C,SAAQ,KAAK,CAAC,KAAK;IAmF7E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,mBAAmB,EAAE,qBAAqB;YAC1C,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,mBAAmB,EAAE,yCAAmB;YACxC,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;YACpB,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,mBAAmB,IAAI,OAAQ,IAAI,CAAC,mBAA2B,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC/F,IA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AAa,CAAC,IAAI,CAAC,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"}
|
|
@@ -26,12 +26,12 @@ export declare class CreateServiceRequestServiceConfigs extends $dara.Model {
|
|
|
26
26
|
addresses?: string[];
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The Agent service configuration.
|
|
29
|
+
* The Agent service configuration. Required when sourceType is AGENT.
|
|
30
30
|
*/
|
|
31
31
|
agentServiceConfig?: AgentServiceConfig;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The AI service configuration.
|
|
34
|
+
* The AI service configuration. Required when sourceType is AI.
|
|
35
35
|
*/
|
|
36
36
|
aiServiceConfig?: AiServiceConfig;
|
|
37
37
|
/**
|
|
@@ -49,7 +49,7 @@ export declare class CreateServiceRequestServiceConfigs extends $dara.Model {
|
|
|
49
49
|
expressType?: string;
|
|
50
50
|
/**
|
|
51
51
|
* @remarks
|
|
52
|
-
* The service group name.
|
|
52
|
+
* The service group name. Required when sourceType is MSE_NACOS.
|
|
53
53
|
*
|
|
54
54
|
* @example
|
|
55
55
|
* DEFAULT_GROUP
|
|
@@ -65,7 +65,7 @@ export declare class CreateServiceRequestServiceConfigs extends $dara.Model {
|
|
|
65
65
|
modelProviderId?: string;
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* The service name.
|
|
68
|
+
* The service name. Required when sourceType is FC3.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* user-service
|
|
@@ -73,12 +73,12 @@ export declare class CreateServiceRequestServiceConfigs extends $dara.Model {
|
|
|
73
73
|
name?: string;
|
|
74
74
|
/**
|
|
75
75
|
* @remarks
|
|
76
|
-
* The namespace of the service
|
|
76
|
+
* The namespace of the service:
|
|
77
77
|
*
|
|
78
|
-
* - If sourceType is
|
|
79
|
-
* - If sourceType is
|
|
78
|
+
* - If sourceType is K8S, this indicates the namespace of the Kubernetes service.
|
|
79
|
+
* - If sourceType is MSE_NACOS, this indicates the namespace in Nacos.
|
|
80
80
|
*
|
|
81
|
-
*
|
|
81
|
+
* Required when sourceType is K8S or MSE_NACOS.
|
|
82
82
|
*
|
|
83
83
|
* @example
|
|
84
84
|
* PUBLIC
|
|
@@ -94,7 +94,7 @@ export declare class CreateServiceRequestServiceConfigs extends $dara.Model {
|
|
|
94
94
|
qualifier?: string;
|
|
95
95
|
/**
|
|
96
96
|
* @remarks
|
|
97
|
-
* The service source ID.
|
|
97
|
+
* The service source ID. Required in multi-Nacos instance scenarios.
|
|
98
98
|
*
|
|
99
99
|
* @example
|
|
100
100
|
* nacos-instance-001
|
|
@@ -140,7 +140,7 @@ export declare class CreateServiceRequest extends $dara.Model {
|
|
|
140
140
|
serviceConfigs?: CreateServiceRequestServiceConfigs[];
|
|
141
141
|
/**
|
|
142
142
|
* @remarks
|
|
143
|
-
* The service source
|
|
143
|
+
* The service source. Valid values:
|
|
144
144
|
* - MSE_NACOS: a service in MSE Nacos.
|
|
145
145
|
* - K8S: a service in a Kubernetes cluster of Container Service.
|
|
146
146
|
* - VIP: a fixed address service.
|
|
@@ -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.
|
|
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.
|
|
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:
|
|
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
|
|
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
|
|
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
|