@alicloud/apig20240327 10.2.0 → 11.0.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 +28 -22
- package/dist/client.js +55 -24
- package/dist/client.js.map +1 -1
- package/dist/models/AddGatewaySecurityGroupRuleRequest.d.ts +2 -2
- package/dist/models/AgentAccessConfig.d.ts +41 -0
- package/dist/models/AgentAccessConfig.js.map +1 -1
- package/dist/models/AgentAuthorizationPrincipal.d.ts +13 -0
- package/dist/models/AgentAuthorizationPrincipal.js.map +1 -1
- package/dist/models/AgentInfo.d.ts +91 -0
- package/dist/models/AgentInfo.js.map +1 -1
- package/dist/models/AgentModelAccessConfig.d.ts +7 -0
- package/dist/models/AgentModelAccessConfig.js.map +1 -1
- package/dist/models/AiServiceConfig.d.ts +10 -30
- package/dist/models/AiServiceConfig.js.map +1 -1
- package/dist/models/ApiKeyIdentityConfig.d.ts +7 -1
- package/dist/models/ApiKeyIdentityConfig.js.map +1 -1
- package/dist/models/Backend.d.ts +18 -2
- package/dist/models/Backend.js +4 -0
- package/dist/models/Backend.js.map +1 -1
- package/dist/models/BatchImportHttpApisRequest.d.ts +9 -0
- package/dist/models/BatchImportHttpApisRequest.js +2 -0
- package/dist/models/BatchImportHttpApisRequest.js.map +1 -1
- package/dist/models/CreateDomainRequest.d.ts +14 -9
- package/dist/models/CreateDomainRequest.js +2 -0
- package/dist/models/CreateDomainRequest.js.map +1 -1
- package/dist/models/CreateGatewayRequest.d.ts +15 -8
- package/dist/models/CreateGatewayRequest.js.map +1 -1
- package/dist/models/CreateHttpApiRouteRequest.d.ts +22 -12
- package/dist/models/CreateHttpApiRouteRequest.js +2 -0
- package/dist/models/CreateHttpApiRouteRequest.js.map +1 -1
- package/dist/models/CreateMcpServerRequest.d.ts +11 -11
- package/dist/models/CreatePluginClassRequest.d.ts +4 -4
- package/dist/models/DeleteHttpApiRequest.d.ts +18 -0
- package/dist/models/DeleteHttpApiRequest.js +58 -0
- package/dist/models/DeleteHttpApiRequest.js.map +1 -0
- package/dist/models/DeployHttpApiRequest.d.ts +16 -8
- package/dist/models/DeployHttpApiRequest.js +2 -0
- package/dist/models/DeployHttpApiRequest.js.map +1 -1
- package/dist/models/DomainInfo.d.ts +16 -2
- package/dist/models/DomainInfo.js.map +1 -1
- package/dist/models/EnvironmentInfo.d.ts +2 -2
- package/dist/models/GatewayInfo.d.ts +1 -1
- package/dist/models/GetConsumerAuthorizationRuleResponseBody.d.ts +2 -1
- package/dist/models/GetConsumerAuthorizationRuleResponseBody.js.map +1 -1
- package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.d.ts +7 -0
- package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.js.map +1 -1
- package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.d.ts +1 -1
- package/dist/models/GetGatewayResponseBody.d.ts +18 -1
- package/dist/models/GetGatewayResponseBody.js.map +1 -1
- package/dist/models/GetHttpApiRequest.d.ts +18 -0
- package/dist/models/GetHttpApiRequest.js +58 -0
- package/dist/models/GetHttpApiRequest.js.map +1 -0
- package/dist/models/GetMcpServerResponseBody.d.ts +3 -3
- package/dist/models/HttpApiApiInfo.d.ts +1 -1
- package/dist/models/HttpApiApiInfoDeployCntMapValue.d.ts +4 -0
- package/dist/models/HttpApiApiInfoDeployCntMapValue.js.map +1 -1
- package/dist/models/HttpApiDeployConfig.d.ts +23 -7
- package/dist/models/HttpApiDeployConfig.js +4 -0
- package/dist/models/HttpApiDeployConfig.js.map +1 -1
- package/dist/models/HttpApiInfoByName.d.ts +0 -3
- package/dist/models/HttpApiInfoByName.js.map +1 -1
- package/dist/models/HttpApiMockContract.d.ts +1 -1
- package/dist/models/HttpApiOperation.d.ts +1 -1
- package/dist/models/HttpApiOperationInfo.d.ts +1 -1
- package/dist/models/HttpApiParameter.d.ts +1 -1
- package/dist/models/HttpApiPolicyConfigs.d.ts +22 -11
- package/dist/models/HttpApiPolicyConfigs.js +6 -0
- package/dist/models/HttpApiPolicyConfigs.js.map +1 -1
- package/dist/models/HttpApiPolicyReference.d.ts +29 -0
- package/dist/models/HttpApiPolicyReference.js +60 -0
- package/dist/models/HttpApiPolicyReference.js.map +1 -0
- package/dist/models/HttpApiPublishRevisionInfo.d.ts +2 -2
- package/dist/models/HttpApiRequestContract.d.ts +12 -12
- package/dist/models/HttpApiResponseContract.d.ts +2 -2
- package/dist/models/HttpRoute.d.ts +2 -2
- package/dist/models/HttpRouteMatch.d.ts +17 -20
- package/dist/models/HttpRouteMatch.js.map +1 -1
- package/dist/models/ImportHttpApiRequest.d.ts +7 -13
- package/dist/models/ImportHttpApiRequest.js.map +1 -1
- package/dist/models/ImportHttpApiResponseBody.d.ts +9 -15
- package/dist/models/ImportHttpApiResponseBody.js.map +1 -1
- package/dist/models/ListGatewayFeaturesResponseBody.d.ts +34 -9
- package/dist/models/ListGatewayFeaturesResponseBody.js +25 -1
- package/dist/models/ListGatewayFeaturesResponseBody.js.map +1 -1
- package/dist/models/ListGatewaysRequest.d.ts +1 -1
- package/dist/models/ListGatewaysResponseBody.d.ts +9 -2
- package/dist/models/ListGatewaysResponseBody.js.map +1 -1
- package/dist/models/ListGatewaysShrinkRequest.d.ts +1 -1
- package/dist/models/ListHttpApiOperationsRequest.d.ts +12 -12
- package/dist/models/ListHttpApiOperationsResponseBody.d.ts +2 -2
- package/dist/models/ListHttpApiRoutesRequest.d.ts +6 -6
- package/dist/models/ListMcpServersRequest.d.ts +1 -1
- package/dist/models/ListMcpServersResponseBody.d.ts +9 -9
- package/dist/models/ListPluginAttachmentsRequest.d.ts +3 -3
- package/dist/models/ListPluginAttachmentsResponseBody.d.ts +8 -8
- package/dist/models/PolicyClassInfo.d.ts +2 -2
- package/dist/models/QueryConsumerAuthorizationRulesRequest.d.ts +6 -3
- package/dist/models/QueryConsumerAuthorizationRulesRequest.js.map +1 -1
- package/dist/models/QueryConsumerAuthorizationRulesResponseBody.d.ts +3 -3
- package/dist/models/RiskCheckResults.d.ts +4 -4
- package/dist/models/Service.d.ts +61 -2
- package/dist/models/Service.js.map +1 -1
- package/dist/models/TransportCertificateInfo.d.ts +71 -0
- package/dist/models/TransportCertificateInfo.js.map +1 -1
- package/dist/models/TransportEncryptionInfo.d.ts +32 -0
- package/dist/models/TransportEncryptionInfo.js.map +1 -1
- package/dist/models/UpdateHttpApiRequest.d.ts +10 -5
- package/dist/models/UpdateHttpApiRequest.js +2 -0
- package/dist/models/UpdateHttpApiRequest.js.map +1 -1
- package/dist/models/UpdateHttpApiRouteRequest.d.ts +9 -1
- package/dist/models/UpdateHttpApiRouteRequest.js +2 -0
- package/dist/models/UpdateHttpApiRouteRequest.js.map +1 -1
- package/dist/models/UpdateMcpServerRequest.d.ts +5 -5
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +27 -19
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +60 -24
- package/src/models/AddGatewaySecurityGroupRuleRequest.ts +2 -2
- package/src/models/AgentAccessConfig.ts +41 -0
- package/src/models/AgentAuthorizationPrincipal.ts +13 -0
- package/src/models/AgentInfo.ts +91 -0
- package/src/models/AgentModelAccessConfig.ts +7 -0
- package/src/models/AiServiceConfig.ts +10 -30
- package/src/models/ApiKeyIdentityConfig.ts +7 -1
- package/src/models/Backend.ts +22 -2
- package/src/models/BatchImportHttpApisRequest.ts +11 -0
- package/src/models/CreateDomainRequest.ts +16 -9
- package/src/models/CreateGatewayRequest.ts +15 -8
- package/src/models/CreateHttpApiRouteRequest.ts +24 -12
- package/src/models/CreateMcpServerRequest.ts +11 -11
- package/src/models/CreatePluginClassRequest.ts +4 -4
- package/src/models/DeleteHttpApiRequest.ts +31 -0
- package/src/models/DeployHttpApiRequest.ts +18 -8
- package/src/models/DomainInfo.ts +16 -2
- package/src/models/EnvironmentInfo.ts +2 -2
- package/src/models/GatewayInfo.ts +1 -1
- package/src/models/GetConsumerAuthorizationRuleResponseBody.ts +2 -1
- package/src/models/GetGatewayQuotaRuleSubjectUsageRequest.ts +7 -0
- package/src/models/GetGatewayQuotaRuleSubjectUsageResponseBody.ts +1 -1
- package/src/models/GetGatewayResponseBody.ts +18 -1
- package/src/models/GetHttpApiRequest.ts +31 -0
- package/src/models/GetMcpServerResponseBody.ts +3 -3
- package/src/models/HttpApiApiInfo.ts +1 -1
- package/src/models/HttpApiApiInfoDeployCntMapValue.ts +4 -0
- package/src/models/HttpApiDeployConfig.ts +27 -7
- package/src/models/HttpApiInfoByName.ts +0 -3
- package/src/models/HttpApiMockContract.ts +1 -1
- package/src/models/HttpApiOperation.ts +1 -1
- package/src/models/HttpApiOperationInfo.ts +1 -1
- package/src/models/HttpApiParameter.ts +1 -1
- package/src/models/HttpApiPolicyConfigs.ts +27 -11
- package/src/models/HttpApiPolicyReference.ts +44 -0
- package/src/models/HttpApiPublishRevisionInfo.ts +2 -2
- package/src/models/HttpApiRequestContract.ts +12 -12
- package/src/models/HttpApiResponseContract.ts +2 -2
- package/src/models/HttpRoute.ts +2 -2
- package/src/models/HttpRouteMatch.ts +17 -20
- package/src/models/ImportHttpApiRequest.ts +7 -13
- package/src/models/ImportHttpApiResponseBody.ts +9 -15
- package/src/models/ListGatewayFeaturesResponseBody.ts +49 -9
- package/src/models/ListGatewaysRequest.ts +1 -1
- package/src/models/ListGatewaysResponseBody.ts +9 -2
- package/src/models/ListGatewaysShrinkRequest.ts +1 -1
- package/src/models/ListHttpApiOperationsRequest.ts +12 -12
- package/src/models/ListHttpApiOperationsResponseBody.ts +2 -2
- package/src/models/ListHttpApiRoutesRequest.ts +6 -6
- package/src/models/ListMcpServersRequest.ts +1 -1
- package/src/models/ListMcpServersResponseBody.ts +9 -9
- package/src/models/ListPluginAttachmentsRequest.ts +3 -3
- package/src/models/ListPluginAttachmentsResponseBody.ts +8 -8
- package/src/models/PolicyClassInfo.ts +2 -2
- package/src/models/QueryConsumerAuthorizationRulesRequest.ts +6 -3
- package/src/models/QueryConsumerAuthorizationRulesResponseBody.ts +3 -3
- package/src/models/RiskCheckResults.ts +4 -4
- package/src/models/Service.ts +61 -2
- package/src/models/TransportCertificateInfo.ts +71 -0
- package/src/models/TransportEncryptionInfo.ts +32 -0
- package/src/models/UpdateHttpApiRequest.ts +12 -5
- package/src/models/UpdateHttpApiRouteRequest.ts +11 -1
- package/src/models/UpdateMcpServerRequest.ts +5 -5
- package/src/models/model.ts +4 -0
|
@@ -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 with HTTPS.
|
|
6
|
+
* The CA certificate identifier. This parameter is optional for Dedicated scope with HTTPS. It is not allowed for Serverless scope and is not validated for Dedicated scope 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 with HTTPS and must pass validation.
|
|
14
|
+
* The certificate identifier. This parameter is required for Dedicated scope with HTTPS and must pass validation. It is not allowed for Serverless scope and is not validated for Dedicated scope 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 with HTTPS (when MTLSEnabled is set to true).
|
|
22
|
+
* The client CA certificate. This parameter is conditionally required for Dedicated scope with HTTPS (required when MTLSEnabled is set to true). It is not allowed for Serverless scope and is not validated for Dedicated scope with HTTP.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* -----BEGIN CERTIFICATE-----
|
|
@@ -44,7 +44,7 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
44
44
|
domainScope?: string;
|
|
45
45
|
/**
|
|
46
46
|
* @remarks
|
|
47
|
-
* Specifies whether to enable forced HTTPS redirect for the HTTPS protocol type. This parameter is required for Serverless and for Dedicated with HTTPS.
|
|
47
|
+
* Specifies whether to enable forced HTTPS redirect for the HTTPS protocol type. This parameter is required for Serverless scope and for Dedicated scope with HTTPS. It is not validated for Dedicated scope with HTTP.
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
50
50
|
* false
|
|
@@ -74,12 +74,12 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
74
74
|
http2Option?: string;
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
* Specifies whether to enable mTLS mutual authentication. This parameter is optional for Dedicated with HTTPS. When set to true, ClientCACert is required. This parameter is not allowed for Serverless.
|
|
77
|
+
* Specifies whether to enable mTLS mutual authentication. This parameter is optional for Dedicated scope with HTTPS. When set to true, ClientCACert is required. This parameter is not allowed for Serverless scope.
|
|
78
78
|
*/
|
|
79
79
|
mTLSEnabled?: boolean;
|
|
80
80
|
/**
|
|
81
81
|
* @remarks
|
|
82
|
-
* The domain name. The name must be 1 to 128 characters in length
|
|
82
|
+
* The domain name. The name must be 1 to 128 characters in length. Example: abc.com.
|
|
83
83
|
*
|
|
84
84
|
* This parameter is required.
|
|
85
85
|
*
|
|
@@ -89,7 +89,7 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
89
89
|
name?: string;
|
|
90
90
|
/**
|
|
91
91
|
* @remarks
|
|
92
|
-
* The protocol type used by the domain name. Valid values: HTTP
|
|
92
|
+
* The protocol type used by the domain name. Valid values: HTTP, HTTPS. This parameter is required for the Dedicated scope and is not allowed for the Serverless scope.
|
|
93
93
|
*
|
|
94
94
|
* @example
|
|
95
95
|
* HTTP
|
|
@@ -110,7 +110,7 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
110
110
|
tlsCipherSuitesConfig?: TlsCipherSuitesConfig;
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
* 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.
|
|
113
|
+
* The maximum TLS protocol version. This parameter is optional for Dedicated scope 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 scope.
|
|
114
114
|
*
|
|
115
115
|
* @example
|
|
116
116
|
* TLS1.3
|
|
@@ -118,12 +118,17 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
118
118
|
tlsMax?: string;
|
|
119
119
|
/**
|
|
120
120
|
* @remarks
|
|
121
|
-
* 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: TLS 1.0 to TLS 1.3
|
|
121
|
+
* The minimum TLS protocol version. This parameter is optional for Dedicated scope with HTTPS. If not specified, the default value is TLS 1.0. Valid values: TLS 1.0 to TLS 1.3 (compatible with TLSv1.x). This parameter is not allowed for Serverless scope.
|
|
122
122
|
*
|
|
123
123
|
* @example
|
|
124
124
|
* TLS1.0
|
|
125
125
|
*/
|
|
126
126
|
tlsMin?: string;
|
|
127
|
+
/**
|
|
128
|
+
* @remarks
|
|
129
|
+
* Specifies whether to perform only a dry run validation. If set to true, all synchronous validations identical to an 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 the same as the existing version.
|
|
130
|
+
*/
|
|
131
|
+
dryRun?: boolean;
|
|
127
132
|
static names(): {
|
|
128
133
|
[key: string]: string;
|
|
129
134
|
};
|
|
@@ -54,6 +54,7 @@ class CreateDomainRequest extends $dara.Model {
|
|
|
54
54
|
tlsCipherSuitesConfig: 'tlsCipherSuitesConfig',
|
|
55
55
|
tlsMax: 'tlsMax',
|
|
56
56
|
tlsMin: 'tlsMin',
|
|
57
|
+
dryRun: 'dryRun',
|
|
57
58
|
};
|
|
58
59
|
}
|
|
59
60
|
static types() {
|
|
@@ -72,6 +73,7 @@ class CreateDomainRequest extends $dara.Model {
|
|
|
72
73
|
tlsCipherSuitesConfig: TlsCipherSuitesConfig_1.TlsCipherSuitesConfig,
|
|
73
74
|
tlsMax: 'string',
|
|
74
75
|
tlsMin: 'string',
|
|
76
|
+
dryRun: 'boolean',
|
|
75
77
|
};
|
|
76
78
|
}
|
|
77
79
|
validate() {
|
|
@@ -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;IAiIlD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,kBAAkB;YACpC,cAAc,EAAE,gBAAgB;YAChC,YAAY,EAAE,cAAc;YAC5B,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;YAClC,qBAAqB,EAAE,uBAAuB;YAC9C,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,QAAQ;YAC1B,cAAc,EAAE,QAAQ;YACxB,YAAY,EAAE,QAAQ;YACtB,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,SAAS;YACrB,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,qBAAqB,EAAE,6CAAqB;YAC5C,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,SAAS;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,qBAAqB,IAAI,OAAQ,IAAI,CAAC,qBAA6B,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnG,IAAI,CAAC,qBAA6B,CAAC,QAAQ,EAAE,CAAC;QACjD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnLD,kDAmLC"}
|
|
@@ -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
|
|
5
|
+
* Specifies whether to enable log collection.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* false
|
|
@@ -22,7 +22,7 @@ export declare class CreateGatewayRequestLogConfigSls extends $dara.Model {
|
|
|
22
22
|
export declare class CreateGatewayRequestLogConfig extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The Simple Log Service (SLS) configuration
|
|
25
|
+
* The Simple Log Service (SLS) configuration that controls gateway log collection.
|
|
26
26
|
*/
|
|
27
27
|
sls?: CreateGatewayRequestLogConfigSls;
|
|
28
28
|
static names(): {
|
|
@@ -148,7 +148,7 @@ export declare class CreateGatewayRequestZoneConfig extends $dara.Model {
|
|
|
148
148
|
export declare class CreateGatewayRequest extends $dara.Model {
|
|
149
149
|
/**
|
|
150
150
|
* @remarks
|
|
151
|
-
* The billing method.
|
|
151
|
+
* The billing method. Required for the Serverless edition and must be set to POSTPAY.
|
|
152
152
|
*
|
|
153
153
|
* @example
|
|
154
154
|
* POSTPAY
|
|
@@ -170,10 +170,17 @@ export declare class CreateGatewayRequest extends $dara.Model {
|
|
|
170
170
|
* Professional
|
|
171
171
|
*/
|
|
172
172
|
gatewayEdition?: string;
|
|
173
|
+
/**
|
|
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.
|
|
176
|
+
*
|
|
177
|
+
* @example
|
|
178
|
+
* ENTERPRISE
|
|
179
|
+
*/
|
|
173
180
|
gatewayMode?: string;
|
|
174
181
|
/**
|
|
175
182
|
* @remarks
|
|
176
|
-
* The gateway type.
|
|
183
|
+
* The gateway type. Must be explicitly set to AI for AI Serverless or multi-tenant editions.
|
|
177
184
|
*
|
|
178
185
|
* @example
|
|
179
186
|
* API
|
|
@@ -186,7 +193,7 @@ export declare class CreateGatewayRequest extends $dara.Model {
|
|
|
186
193
|
logConfig?: CreateGatewayRequestLogConfig;
|
|
187
194
|
/**
|
|
188
195
|
* @remarks
|
|
189
|
-
* The gateway name.
|
|
196
|
+
* The gateway name. Required for all editions.
|
|
190
197
|
*
|
|
191
198
|
* @example
|
|
192
199
|
* test-ceshi
|
|
@@ -207,7 +214,7 @@ export declare class CreateGatewayRequest extends $dara.Model {
|
|
|
207
214
|
resourceGroupId?: string;
|
|
208
215
|
/**
|
|
209
216
|
* @remarks
|
|
210
|
-
* The node specifications.
|
|
217
|
+
* The node specifications. Required for the Serverless edition.
|
|
211
218
|
*
|
|
212
219
|
* @example
|
|
213
220
|
* apigw.dev.x2
|
|
@@ -220,7 +227,7 @@ export declare class CreateGatewayRequest extends $dara.Model {
|
|
|
220
227
|
tag?: CreateGatewayRequestTag[];
|
|
221
228
|
/**
|
|
222
229
|
* @remarks
|
|
223
|
-
* The VPC ID.
|
|
230
|
+
* The VPC ID. Required for all editions.
|
|
224
231
|
*
|
|
225
232
|
* @example
|
|
226
233
|
* vpc-zm0x16tomfiat1mk9f6rs
|
|
@@ -228,7 +235,7 @@ export declare class CreateGatewayRequest extends $dara.Model {
|
|
|
228
235
|
vpcId?: string;
|
|
229
236
|
/**
|
|
230
237
|
* @remarks
|
|
231
|
-
* The zone configuration.
|
|
238
|
+
* The zone configuration. Required for all editions.
|
|
232
239
|
*/
|
|
233
240
|
zoneConfig?: CreateGatewayRequestZoneConfig;
|
|
234
241
|
static names(): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateGatewayRequest.js","sourceRoot":"","sources":["../../src/models/CreateGatewayRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAS/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,SAAS;SAClB,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;AA5BD,4EA4BC;AAED,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAM5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,KAAK;SACX,C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IAAI,OAAQ,IAAI,CAAC,mBAA2B,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC/F,IAAI,CAAC,mBAA2B,CAAC,QAAQ,EAAE,CAAC;QAC/C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACtC,CAAC;QACD,IAAG,IAAI,CAAC,UAAU,IAAI,OAAQ,IAAI,CAAC,UAAkB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC7E,IAAI,CAAC,UAAkB,CAAC,QAAQ,EAAE,CAAC;QACtC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlJD,oDAkJC"}
|
|
@@ -3,6 +3,14 @@ import { HttpApiDeployConfig } from "./HttpApiDeployConfig";
|
|
|
3
3
|
import { HttpRouteMatch } from "./HttpRouteMatch";
|
|
4
4
|
import { HttpApiPolicyConfigs } from "./HttpApiPolicyConfigs";
|
|
5
5
|
export declare class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @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
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* qwen-plus
|
|
12
|
+
*/
|
|
13
|
+
modelName?: string;
|
|
6
14
|
/**
|
|
7
15
|
* @remarks
|
|
8
16
|
* The service port. Do not specify this parameter for dynamic ports.
|
|
@@ -14,8 +22,8 @@ export declare class CreateHttpApiRouteRequestBackendConfigServices extends $dar
|
|
|
14
22
|
/**
|
|
15
23
|
* @remarks
|
|
16
24
|
* The service protocol. Valid values:
|
|
17
|
-
* - HTTP
|
|
18
|
-
* - HTTPS
|
|
25
|
+
* - HTTP
|
|
26
|
+
* - HTTPS
|
|
19
27
|
*
|
|
20
28
|
* @example
|
|
21
29
|
* HTTP
|
|
@@ -31,7 +39,7 @@ export declare class CreateHttpApiRouteRequestBackendConfigServices extends $dar
|
|
|
31
39
|
serviceId?: string;
|
|
32
40
|
/**
|
|
33
41
|
* @remarks
|
|
34
|
-
* The service version. This parameter is valid only in the tag
|
|
42
|
+
* The service version. This parameter is valid only in the by-tag scenario.
|
|
35
43
|
*
|
|
36
44
|
* @example
|
|
37
45
|
* v1
|
|
@@ -60,10 +68,10 @@ export declare class CreateHttpApiRouteRequestBackendConfig extends $dara.Model
|
|
|
60
68
|
/**
|
|
61
69
|
* @remarks
|
|
62
70
|
* The backend service scenario. Valid values:
|
|
63
|
-
* - SingleService:
|
|
64
|
-
* - MultiServiceByRatio:
|
|
65
|
-
* - Mock:
|
|
66
|
-
* - Redirect:
|
|
71
|
+
* - SingleService: Single service.
|
|
72
|
+
* - MultiServiceByRatio: Multiple services with ratio-based canary release.
|
|
73
|
+
* - Mock: Mock service.
|
|
74
|
+
* - Redirect: Redirect service.
|
|
67
75
|
*
|
|
68
76
|
* @example
|
|
69
77
|
* SingleService
|
|
@@ -105,9 +113,9 @@ export declare class CreateHttpApiRouteRequestMcpRouteConfig extends $dara.Model
|
|
|
105
113
|
/**
|
|
106
114
|
* @remarks
|
|
107
115
|
* The service protocol. Valid values:
|
|
108
|
-
* - TCP
|
|
109
|
-
* - HTTP
|
|
110
|
-
* - DUBBO
|
|
116
|
+
* - TCP
|
|
117
|
+
* - HTTP
|
|
118
|
+
* - DUBBO
|
|
111
119
|
*
|
|
112
120
|
* @example
|
|
113
121
|
* HTTP,HTTPS
|
|
@@ -133,6 +141,8 @@ export declare class CreateHttpApiRouteRequest extends $dara.Model {
|
|
|
133
141
|
/**
|
|
134
142
|
* @remarks
|
|
135
143
|
* The API deployment configurations.
|
|
144
|
+
*
|
|
145
|
+
* @deprecated
|
|
136
146
|
*/
|
|
137
147
|
deployConfigs?: HttpApiDeployConfig[];
|
|
138
148
|
/**
|
|
@@ -140,7 +150,7 @@ export declare class CreateHttpApiRouteRequest extends $dara.Model {
|
|
|
140
150
|
* The route description.
|
|
141
151
|
*
|
|
142
152
|
* @example
|
|
143
|
-
*
|
|
153
|
+
* User login route
|
|
144
154
|
*/
|
|
145
155
|
description?: string;
|
|
146
156
|
/**
|
|
@@ -158,7 +168,7 @@ export declare class CreateHttpApiRouteRequest extends $dara.Model {
|
|
|
158
168
|
environmentId?: string;
|
|
159
169
|
/**
|
|
160
170
|
* @remarks
|
|
161
|
-
* The route match
|
|
171
|
+
* The route match rules.
|
|
162
172
|
*/
|
|
163
173
|
match?: HttpRouteMatch;
|
|
164
174
|
/**
|
|
@@ -42,6 +42,7 @@ const HttpApiPolicyConfigs_1 = require("./HttpApiPolicyConfigs");
|
|
|
42
42
|
class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model {
|
|
43
43
|
static names() {
|
|
44
44
|
return {
|
|
45
|
+
modelName: 'modelName',
|
|
45
46
|
port: 'port',
|
|
46
47
|
protocol: 'protocol',
|
|
47
48
|
serviceId: 'serviceId',
|
|
@@ -51,6 +52,7 @@ class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model {
|
|
|
51
52
|
}
|
|
52
53
|
static types() {
|
|
53
54
|
return {
|
|
55
|
+
modelName: 'string',
|
|
54
56
|
port: 'number',
|
|
55
57
|
protocol: 'string',
|
|
56
58
|
serviceId: 'string',
|
|
@@ -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,iEAA8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AAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9GD,8DA8GC"}
|
|
@@ -54,7 +54,7 @@ export declare class CreateMcpServerRequestBackendConfigServices extends $dara.M
|
|
|
54
54
|
protocol?: string;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The service ID.
|
|
57
|
+
* The service ID. The serviceId is the ID of a backend service registered under the gateway. You can call the ListServices operation (with gatewayId specified) to query available service IDs.
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* svc-crbgq0dlhtgr***
|
|
@@ -197,7 +197,7 @@ export declare class CreateMcpServerRequestGrayMcpServerConfigs extends $dara.Mo
|
|
|
197
197
|
backendConfig?: CreateMcpServerRequestGrayMcpServerConfigsBackendConfig;
|
|
198
198
|
/**
|
|
199
199
|
* @remarks
|
|
200
|
-
* The route
|
|
200
|
+
* The route matching rule.
|
|
201
201
|
*/
|
|
202
202
|
match?: HttpRouteMatch;
|
|
203
203
|
/**
|
|
@@ -255,18 +255,18 @@ export declare class CreateMcpServerRequest extends $dara.Model {
|
|
|
255
255
|
assembledSources?: CreateMcpServerRequestAssembledSources[];
|
|
256
256
|
/**
|
|
257
257
|
* @remarks
|
|
258
|
-
* The backend service configuration
|
|
258
|
+
* The backend service configuration for the route. This parameter is required. You must provide the backend service configuration (including scene and services). If this parameter is omitted, the API returns InvalidParameter.WithValue(400).
|
|
259
259
|
*/
|
|
260
260
|
backendConfig?: CreateMcpServerRequestBackendConfig;
|
|
261
261
|
/**
|
|
262
262
|
* @remarks
|
|
263
263
|
* The creation source type. Valid values:
|
|
264
264
|
*
|
|
265
|
-
* - ApiGatewayHttpToMCP: gateway-managed HTTP-to-MCP conversion
|
|
266
|
-
* - ApiGatewayProxyMcpHosting: gateway-managed direct
|
|
267
|
-
* - ApiGatewayAssembly: gateway MCP assembly
|
|
268
|
-
* - NacosHttpToMCP: gateway-managed Nacos-synced HTTP-to-MCP conversion
|
|
269
|
-
* - NacosMcpHosting: gateway-managed Nacos-synced direct
|
|
265
|
+
* - ApiGatewayHttpToMCP: gateway-managed HTTP-to-MCP conversion.
|
|
266
|
+
* - ApiGatewayProxyMcpHosting: gateway-managed MCP direct proxy.
|
|
267
|
+
* - ApiGatewayAssembly: gateway MCP assembly.
|
|
268
|
+
* - NacosHttpToMCP: gateway-managed Nacos-synced HTTP-to-MCP conversion.
|
|
269
|
+
* - NacosMcpHosting: gateway-managed Nacos-synced MCP direct proxy.
|
|
270
270
|
*
|
|
271
271
|
* @example
|
|
272
272
|
* ApiGatewayMcpHosting
|
|
@@ -310,7 +310,7 @@ export declare class CreateMcpServerRequest extends $dara.Model {
|
|
|
310
310
|
grayMcpServerConfigs?: CreateMcpServerRequestGrayMcpServerConfigs[];
|
|
311
311
|
/**
|
|
312
312
|
* @remarks
|
|
313
|
-
* The route match rule.
|
|
313
|
+
* The route match rule. When type is set to RealMCP, the match parameter is required and you must provide a route matching rule.
|
|
314
314
|
*/
|
|
315
315
|
match?: HttpRouteMatch;
|
|
316
316
|
/**
|
|
@@ -338,7 +338,7 @@ export declare class CreateMcpServerRequest extends $dara.Model {
|
|
|
338
338
|
name?: string;
|
|
339
339
|
/**
|
|
340
340
|
* @remarks
|
|
341
|
-
* The protocol type.
|
|
341
|
+
* The protocol type. This parameter is required. You must explicitly specify the protocol type (HTTP/HTTPS/SSE/StreamableHTTP). If this parameter is omitted, the API returns InvalidParameter.WithValue(400).
|
|
342
342
|
*
|
|
343
343
|
* @example
|
|
344
344
|
* HTTP
|
|
@@ -348,7 +348,7 @@ export declare class CreateMcpServerRequest extends $dara.Model {
|
|
|
348
348
|
* @remarks
|
|
349
349
|
* The type. Valid values:
|
|
350
350
|
*
|
|
351
|
-
* - RealMCP: standard MCP service
|
|
351
|
+
* - RealMCP: standard MCP service.
|
|
352
352
|
*
|
|
353
353
|
* This parameter is required.
|
|
354
354
|
*
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreatePluginClassRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The alias of the plugin.
|
|
5
|
+
* The alias of the plugin class. This parameter is required. If this parameter is not specified, the service returns InvalidParameter.WithValue.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* My Wasm Plugin
|
|
@@ -20,7 +20,7 @@ export declare class CreatePluginClassRequest extends $dara.Model {
|
|
|
20
20
|
description?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The execution priority of the plugin.
|
|
23
|
+
* The execution priority of the plugin. This parameter is required when executeStage is specified. The default value 0 is invalid. Set this parameter to 200.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* 100
|
|
@@ -48,7 +48,7 @@ export declare class CreatePluginClassRequest extends $dara.Model {
|
|
|
48
48
|
name?: string;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The minimum gateway version
|
|
51
|
+
* The minimum gateway version supported by the plugin.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* 2.0.0
|
|
@@ -76,7 +76,7 @@ export declare class CreatePluginClassRequest extends $dara.Model {
|
|
|
76
76
|
versionDescription?: string;
|
|
77
77
|
/**
|
|
78
78
|
* @remarks
|
|
79
|
-
* The
|
|
79
|
+
* The development language of the WASM plugin. Valid values: TinyGo.
|
|
80
80
|
*
|
|
81
81
|
* This parameter is required.
|
|
82
82
|
*
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DeleteHttpApiRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* Specifies whether to perform only a dry run. If set to true, all synchronous validations identical to an actual deletion are executed (including admission checks such as whether a published API cannot be deleted), but the API is not deleted, no associated configurations are cleaned up, and no side effects are produced. If this parameter is not specified or is set to false, the behavior is the same as the existing version.
|
|
6
|
+
*/
|
|
7
|
+
dryRun?: boolean;
|
|
8
|
+
static names(): {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
static types(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
validate(): void;
|
|
15
|
+
constructor(map?: {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
});
|
|
18
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DeleteHttpApiRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class DeleteHttpApiRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
dryRun: 'dryRun',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
static types() {
|
|
46
|
+
return {
|
|
47
|
+
dryRun: 'boolean',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
constructor(map) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.DeleteHttpApiRequest = DeleteHttpApiRequest;
|
|
58
|
+
//# sourceMappingURL=DeleteHttpApiRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteHttpApiRequest.js","sourceRoot":"","sources":["../../src/models/DeleteHttpApiRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IAMnD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,SAAS;SAClB,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;AAzBD,oDAyBC"}
|
|
@@ -28,7 +28,7 @@ export declare class DeployHttpApiRequestHttpApiConfig extends $dara.Model {
|
|
|
28
28
|
export declare class DeployHttpApiRequestRestApiConfigEnvironmentServiceConfigs extends $dara.Model {
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The match condition configuration
|
|
31
|
+
* The match condition configuration for API publishing.
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* {\\"change_order_revision\\":\\"3.657.33_fc-hz-yunqi.1662568293908382_faas-eerouter\\"}
|
|
@@ -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:
|
|
48
48
|
* - HTTP.
|
|
49
49
|
* - HTTPS.
|
|
50
50
|
*
|
|
@@ -70,7 +70,7 @@ export declare class DeployHttpApiRequestRestApiConfigEnvironmentServiceConfigs
|
|
|
70
70
|
version?: string;
|
|
71
71
|
/**
|
|
72
72
|
* @remarks
|
|
73
|
-
* The weight. Valid values: 1 to 100. This parameter takes effect only in
|
|
73
|
+
* The weight. Valid values: 1 to 100. This parameter takes effect only in ratio-based scenarios.
|
|
74
74
|
*
|
|
75
75
|
* @example
|
|
76
76
|
* 49
|
|
@@ -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.
|
|
93
|
+
* The API publish scenario. Backend configurations cannot be specified during publishing. Use UpdateHttpApi or UpdateHttpApiOperation to configure the backend 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
|
|
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.
|
|
119
119
|
*
|
|
120
120
|
* **if can be null:**
|
|
121
121
|
* true
|
|
@@ -137,7 +137,7 @@ export declare class DeployHttpApiRequestRestApiConfigEnvironment extends $dara.
|
|
|
137
137
|
export declare class DeployHttpApiRequestRestApiConfigOperationDeployments extends $dara.Model {
|
|
138
138
|
/**
|
|
139
139
|
* @remarks
|
|
140
|
-
* The
|
|
140
|
+
* The action type.
|
|
141
141
|
*
|
|
142
142
|
* @example
|
|
143
143
|
* Publish
|
|
@@ -171,6 +171,14 @@ export declare class DeployHttpApiRequestRestApiConfig extends $dara.Model {
|
|
|
171
171
|
* User service API publish
|
|
172
172
|
*/
|
|
173
173
|
description?: string;
|
|
174
|
+
/**
|
|
175
|
+
* @remarks
|
|
176
|
+
* Specifies whether to enable REST API route compression. If omitted or set to false, operations are published individually. If set to true, the API is published as a single prefix route. This parameter is ignored for historical version publishing, which uses the routing mode saved in the historical version.
|
|
177
|
+
*
|
|
178
|
+
* @example
|
|
179
|
+
* true
|
|
180
|
+
*/
|
|
181
|
+
enableRouteCompression?: boolean;
|
|
174
182
|
/**
|
|
175
183
|
* @remarks
|
|
176
184
|
* The publish environment configuration.
|
|
@@ -198,7 +206,7 @@ export declare class DeployHttpApiRequestRestApiConfig extends $dara.Model {
|
|
|
198
206
|
operationIds?: string[];
|
|
199
207
|
/**
|
|
200
208
|
* @remarks
|
|
201
|
-
* The historical version number. If
|
|
209
|
+
* The historical version number. If specified, the publish uses the information from this historical version.
|
|
202
210
|
*
|
|
203
211
|
* @example
|
|
204
212
|
* apr-xxx
|
|
@@ -225,7 +233,7 @@ export declare class DeployHttpApiRequest extends $dara.Model {
|
|
|
225
233
|
httpApiConfig?: DeployHttpApiRequestHttpApiConfig;
|
|
226
234
|
/**
|
|
227
235
|
* @remarks
|
|
228
|
-
* The REST API deployment configuration. Required when the HTTP API being published is a REST API.
|
|
236
|
+
* The REST API deployment configuration. Required when the HTTP API being published is a REST API. At least one of revisionId, environment, or gatewayId must be provided to identify the publish target.
|
|
229
237
|
*/
|
|
230
238
|
restApiConfig?: DeployHttpApiRequestRestApiConfig;
|
|
231
239
|
/**
|
|
@@ -149,6 +149,7 @@ class DeployHttpApiRequestRestApiConfig extends $dara.Model {
|
|
|
149
149
|
static names() {
|
|
150
150
|
return {
|
|
151
151
|
description: 'description',
|
|
152
|
+
enableRouteCompression: 'enableRouteCompression',
|
|
152
153
|
environment: 'environment',
|
|
153
154
|
gatewayId: 'gatewayId',
|
|
154
155
|
operationDeployments: 'operationDeployments',
|
|
@@ -159,6 +160,7 @@ class DeployHttpApiRequestRestApiConfig extends $dara.Model {
|
|
|
159
160
|
static types() {
|
|
160
161
|
return {
|
|
161
162
|
description: 'string',
|
|
163
|
+
enableRouteCompression: 'boolean',
|
|
162
164
|
environment: DeployHttpApiRequestRestApiConfigEnvironment,
|
|
163
165
|
gatewayId: 'string',
|
|
164
166
|
operationDeployments: { 'type': 'array', 'itemType': DeployHttpApiRequestRestApiConfigOperationDeployments },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeployHttpApiRequest.js","sourceRoot":"","sources":["../../src/models/DeployHttpApiRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mFAAgF;AAGhF,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAchE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;S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