@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
|
@@ -38,28 +38,40 @@ exports.UpdateHttpApiRouteRequest = exports.UpdateHttpApiRouteRequestMcpRouteCon
|
|
|
38
38
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
39
|
const HttpRouteMatch_1 = require("./HttpRouteMatch");
|
|
40
40
|
const HttpApiPolicyConfigs_1 = require("./HttpApiPolicyConfigs");
|
|
41
|
+
const HttpDubboTranscoder_1 = require("./HttpDubboTranscoder");
|
|
41
42
|
class UpdateHttpApiRouteRequestBackendConfigServices extends $dara.Model {
|
|
42
43
|
static names() {
|
|
43
44
|
return {
|
|
45
|
+
groupName: 'groupName',
|
|
46
|
+
httpDubboTranscoder: 'httpDubboTranscoder',
|
|
44
47
|
modelName: 'modelName',
|
|
48
|
+
namespace: 'namespace',
|
|
45
49
|
port: 'port',
|
|
46
50
|
protocol: 'protocol',
|
|
47
51
|
serviceId: 'serviceId',
|
|
52
|
+
sourceType: 'sourceType',
|
|
48
53
|
version: 'version',
|
|
49
54
|
weight: 'weight',
|
|
50
55
|
};
|
|
51
56
|
}
|
|
52
57
|
static types() {
|
|
53
58
|
return {
|
|
59
|
+
groupName: 'string',
|
|
60
|
+
httpDubboTranscoder: HttpDubboTranscoder_1.HttpDubboTranscoder,
|
|
54
61
|
modelName: '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":"UpdateHttpApiRouteRequest.js","sourceRoot":"","sources":["../../src/models/UpdateHttpApiRouteRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,qDAAkD;AAClD,iEAA8D;
|
|
1
|
+
{"version":3,"file":"UpdateHttpApiRouteRequest.js","sourceRoot":"","sources":["../../src/models/UpdateHttpApiRouteRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,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,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;AA3HD,wGA2HC;AAED,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IAcrE,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;SAC1F,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;AAtCD,wFAsCC;AAED,MAAa,uCAAwC,SAAQ,KAAK,CAAC,KAAK;IAyBtE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,mBAAmB,EAAE,qBAAqB;YAC1C,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,QAAQ;YACxB,mBAAmB,EAAE,SAAS;YAC9B,QAAQ,EAAE,QAAQ;SACnB,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;AAhDD,0FAgDC;AAED,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IA0CxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,WAAW,EAAE,aAAa;YAC1B,SAAS,EAAE,WAAW;YACtB,aAAa,EAAE,eAAe;YAC9B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,gBAAgB;YAChC,aAAa,EAAE,eAAe;SAC/B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,sCAAsC;YACrD,WAAW,EAAE,QAAQ;YACrB,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACpD,aAAa,EAAE,QAAQ;YACvB,KAAK,EAAE,+BAAc;YACrB,cAAc,EAAE,uCAAuC;YACvD,aAAa,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,2CAAoB,EAAE;SACrE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,aAAa,IAAI,OAAQ,IAAI,CAAC,aAAqB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnF,IAAI,CAAC,aAAqB,CAAC,QAAQ,EAAE,CAAC;QACzC,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;YACjC,KAAK,CAAC,KAAK,CAAC,aAAa,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;AAxFD,8DAwFC"}
|
package/dist/models/model.d.ts
CHANGED
|
@@ -80,8 +80,8 @@ export { HttpApiPublishRevisionInfoServiceConfigs } from './HttpApiPublishRevisi
|
|
|
80
80
|
export { HttpApiPublishRevisionInfoVipConfigs } from './HttpApiPublishRevisionInfo';
|
|
81
81
|
export { HttpApiRequestContractBody } from './HttpApiRequestContract';
|
|
82
82
|
export { HttpApiResponseContractItems } from './HttpApiResponseContract';
|
|
83
|
-
export {
|
|
84
|
-
export {
|
|
83
|
+
export { HttpDubboTranscoderMethodMapListParamMapsList } from './HttpDubboTranscoder';
|
|
84
|
+
export { HttpDubboTranscoderMethodMapList } from './HttpDubboTranscoder';
|
|
85
85
|
export { HttpRouteDomainInfos } from './HttpRoute';
|
|
86
86
|
export { HttpRouteEnvironmentInfoGatewayInfo } from './HttpRoute';
|
|
87
87
|
export { HttpRouteEnvironmentInfoSubDomains } from './HttpRoute';
|
package/dist/models/model.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HiMarketHttpRouteMatchQueryParams = exports.HiMarketHttpRouteMatchPath = exports.HiMarketHttpRouteMatchModelMatches = exports.HiMarketHttpRouteMatchHeaders = exports.HiMarketHmacConfigCredentials = exports.HiMarketApiKeyConfigCredentials = exports.HiMarketAgentConfigAgentAPIConfig = exports.GatewayLogConfigSlsConfig = exports.GatewayInfoVpcInfo = exports.BackendServices = exports.ApiRouteConflictInfoDomainInfo = exports.ApiRouteConflictInfoConflicts = exports.ApiRouteConflictInfoConflictsRouteInfo = exports.ApiRouteConflictInfoConflictsEnvironmentInfo = exports.ApiRouteConflictInfoConflictsDetails = exports.ApiRouteConflictInfoConflictsDetailsDetectedMatch = exports.ApiRouteConflictInfoConflictsDetailsDetectedMatchOperationInfo = exports.ApiRouteConflictInfoConflictsDetailsConflictingMatch = exports.ApiRouteConflictInfoConflictsDetailsConflictingMatchOperationInfo = exports.ApiKeyIdentityConfigCredentials = exports.ApiKeyIdentityConfigApikeySources = exports.ApiKeyIdentityConfigApikeySource = exports.AiToolSelectionConfigToolReranking = exports.AiToolSelectionConfigToolRerankingModelService = exports.AiToolSelectionConfigQueryRewriting = exports.AiToolSelectionConfigQueryRewritingTriggerConditions = exports.AiToolSelectionConfigQueryRewritingPromptConfig = exports.AiToolSelectionConfigQueryRewritingModelService = exports.AiToolSelectionConfigQueryRewritingContextSelection = exports.AiToolSelectionConfigEnableConditions = exports.AiStatisticsConfigPathFieldConfigs = exports.AiServiceConfigVertexServiceConfig = exports.AiServiceConfigPaiEASServiceConfig = exports.AiServiceConfigBedrockServiceConfig = exports.AiSecurityGuardConfigRiskConfig = exports.AiSecurityGuardConfigRiskConfigConsumerRules = exports.AiSecurityGuardConfigConsumerRiskLevel = exports.AiSecurityGuardConfigConsumerResponseCheckService = exports.AiSecurityGuardConfigConsumerRequestCheckService = exports.AiNetworkSearchConfigSearchRewrite = exports.AiFallbackConfigServiceConfigs = exports.AiCacheConfigVectorConfig = exports.AiCacheConfigEmbeddingConfig = exports.AgentServiceConfigDifyConfig = exports.AgentServiceConfigDashScopeConfig = exports.AgentServiceConfigDashScopeConfigAppCredentials = exports.AgentServiceConfigCustomConfig = exports.AgentInfoModelAccess = exports.AgentInfoAgentAccess = exports.AgentAccessConfigAuthorization = void 0;
|
|
4
|
-
exports.ServicePorts = exports.ServiceOutlierDetection = exports.RiskCheckResultsRiskDetails = exports.RiskCheckResultsMetadata = exports.JwtIdentityConfigJwtTokenConfig = exports.JwtIdentityConfigJwtPayloadConfig = exports.JwtIdentityConfigClaimsToHeadersConfigs = exports.HttpRouteMatchQueryParams = exports.HttpRouteMatchPath = exports.HttpRouteMatchHeaders = exports.HttpRouteMcpServerInfo = exports.HttpRouteMcpServerInfoMcpRouteConfig = exports.HttpRouteEnvironmentInfo = exports.HttpRouteEnvironmentInfoSubDomains = exports.HttpRouteEnvironmentInfoGatewayInfo = exports.HttpRouteDomainInfos = exports.
|
|
4
|
+
exports.ServicePorts = exports.ServiceOutlierDetection = exports.RiskCheckResultsRiskDetails = exports.RiskCheckResultsMetadata = exports.JwtIdentityConfigJwtTokenConfig = exports.JwtIdentityConfigJwtPayloadConfig = exports.JwtIdentityConfigClaimsToHeadersConfigs = exports.HttpRouteMatchQueryParams = exports.HttpRouteMatchPath = exports.HttpRouteMatchHeaders = exports.HttpRouteMcpServerInfo = exports.HttpRouteMcpServerInfoMcpRouteConfig = exports.HttpRouteEnvironmentInfo = exports.HttpRouteEnvironmentInfoSubDomains = exports.HttpRouteEnvironmentInfoGatewayInfo = exports.HttpRouteDomainInfos = exports.HttpDubboTranscoderMethodMapList = exports.HttpDubboTranscoderMethodMapListParamMapsList = exports.HttpApiResponseContractItems = exports.HttpApiRequestContractBody = exports.HttpApiPublishRevisionInfoVipConfigs = exports.HttpApiPublishRevisionInfoServiceConfigs = exports.HttpApiPublishRevisionInfoEnvironmentInfo = exports.HttpApiPublishRevisionInfoEnvironmentInfoGatewayInfo = exports.HttpApiPublishRevisionInfoDnsConfigs = exports.HttpApiPublishRevisionInfoCloudProductConfig = exports.HttpApiPublishRevisionInfoCloudProductConfigMseNacosConfigs = exports.HttpApiPublishRevisionInfoCloudProductConfigFunctionConfigs = exports.HttpApiPublishRevisionInfoCloudProductConfigContainerServiceConfigs = exports.HttpApiPolicyConfigsSemanticRouterConfig = exports.HttpApiDeployConfigSubDomains = exports.HttpApiDeployConfigServiceConfigs = exports.HttpApiDeployConfigServiceConfigsObservabilityRouteConfig = exports.HttpApiDeployConfigEnvDomainInfos = exports.HttpApiDeployConfigCustomDomainInfos = exports.HttpApiApiInfoIngressInfo = exports.HttpApiApiInfoIngressInfoK8sClusterInfo = exports.HttpApiApiInfoIngressInfoEnvironmentInfo = exports.HttpApiApiInfoEnvironments = exports.HttpApiApiInfoEnvironmentsSubDomains = exports.HttpApiApiInfoEnvironmentsServiceConfigs = exports.HttpApiApiInfoEnvironmentsGatewayInfo = exports.HiMarketProductRefConfigApigRefConfig = exports.HiMarketPortalDeployConfigSaeConfig = exports.HiMarketOidcConfigIdentityMapping = exports.HiMarketOidcConfigAuthCodeConfig = exports.HiMarketModelConfigModelAPIConfig = exports.HiMarketMcpConfigMeta = exports.HiMarketMcpConfigMcpServerConfig = exports.HiMarketHttpRouteMatch = void 0;
|
|
5
5
|
exports.CreateHttpApiRouteRequestMcpRouteConfig = exports.CreateHttpApiRouteRequestBackendConfig = exports.CreateHttpApiRouteRequestBackendConfigServices = exports.CreateHttpApiOperationResponseBodyData = exports.CreateHttpApiOperationResponseBodyDataOperations = exports.CreateHttpApiResponseBodyData = exports.CreateHttpApiRequestIngressConfig = exports.CreateGatewayResponseBodyData = exports.CreateGatewayRequestZoneConfig = exports.CreateGatewayRequestZoneConfigZones = exports.CreateGatewayRequestTag = exports.CreateGatewayRequestNetworkAccessConfig = exports.CreateGatewayRequestLogConfig = exports.CreateGatewayRequestLogConfigSls = exports.CreateEnvironmentResponseBodyData = exports.CreateDomainResponseBodyData = exports.CreateConsumerGroupResponseBodyData = exports.CreateConsumerAuthorizationRulesResponseBodyData = exports.CreateConsumerAuthorizationRulesRequestAuthorizationRules = exports.CreateConsumerAuthorizationRulesRequestAuthorizationRulesResourceIdentifier = exports.CreateConsumerAuthorizationRuleResponseBodyData = exports.CreateConsumerResponseBodyData = exports.CreateAndAttachPolicyResponseBodyData = exports.CreateAiModelProviderResponseBodyData = exports.CreateAiModelProviderResponseBodyDataModelCards = exports.CreateAiModelProviderResponseBodyDataModelCardsMeta = exports.CreateAiModelProviderResponseBodyDataModelCardsCredit = exports.CreateAiModelProviderResponseBodyDataModelCardsAvailablePaths = exports.CreateAiModelCardResponseBodyData = exports.CreateAiModelCardResponseBodyDataMeta = exports.CreateAiModelCardResponseBodyDataCredit = exports.CreateAiModelCardResponseBodyDataAvailablePaths = exports.CreateAiModelCardRequestMeta = exports.CreateAiModelCardRequestCredit = exports.CreateAiModelCardRequestAvailablePaths = exports.BatchRemoveConsumerGroupConsumersResponseBodyData = exports.BatchImportHttpApisResponseBodyData = exports.BatchImportHttpApisRequestSpecOssConfig = exports.BatchExportHttpApisResponseBodyData = exports.BatchExportHttpApisRequestExtensionConfig = exports.BatchAddConsumerGroupConsumersResponseBodyData = exports.AddGatewayQuotaRuleResponseBodyData = exports.AddGatewayQuotaRuleResponseBodyDataConflictPreview = exports.AddGatewayQuotaRuleResponseBodyDataConflictPreviewItems = exports.TlsCipherSuitesConfigTlsCipherSuite = exports.ServiceInfoVersions = exports.ServiceInfoVersionsLabels = exports.ServiceInfoPorts = exports.ServiceVersions = exports.ServiceVersionsLabels = void 0;
|
|
6
6
|
exports.GetBatchImportTaskResponseBodyDataResultDryRunResultsDryRunInfoSuccessComponents = exports.GetBatchImportTaskResponseBodyDataResultDryRunResultsDryRunInfoFailureRoutes = exports.GetBatchImportTaskResponseBodyDataResultDryRunResultsDryRunInfoFailureOperations = exports.GetBatchImportTaskResponseBodyDataResultDryRunResultsDryRunInfoFailureComponents = exports.GetBatchImportTaskResponseBodyDataResultDryRunResultsDryRunInfoExistHttpApiInfo = exports.GetBatchImportTaskResponseBodyDataResultDryRunResultsDryRunInfoExistHttpApiInfoVersionInfo = exports.GetBatchExportTaskResponseBodyData = exports.GetBatchExportTaskResponseBodyDataResult = exports.GetBatchExportTaskResponseBodyDataResultSuccessItems = exports.GetBatchExportTaskResponseBodyDataResultFailureItems = exports.GetAiModelProviderResponseBodyData = exports.GetAiModelProviderResponseBodyDataModelCards = exports.GetAiModelProviderResponseBodyDataModelCardsMeta = exports.GetAiModelProviderResponseBodyDataModelCardsCredit = exports.GetAiModelProviderResponseBodyDataModelCardsAvailablePaths = exports.GetAiModelCardResponseBodyData = exports.GetAiModelCardResponseBodyDataMeta = exports.GetAiModelCardResponseBodyDataCredit = exports.GetAiModelCardResponseBodyDataAvailablePaths = exports.ExportHttpApiResponseBodyData = exports.ExportHttpApiRequestExtensionConfig = exports.DescribeRegionsResponseBodyData = exports.DeployHttpApiResponseBodyData = exports.DeployHttpApiRequestRestApiConfig = exports.DeployHttpApiRequestRestApiConfigOperationDeployments = exports.DeployHttpApiRequestRestApiConfigEnvironment = exports.DeployHttpApiRequestRestApiConfigEnvironmentServiceConfigs = exports.DeployHttpApiRequestHttpApiConfig = exports.CreateSourceResponseBodyData = exports.CreateSourceRequestNacosSourceConfig = exports.CreateSourceRequestK8sSourceConfig = exports.CreateSourceRequestK8sSourceConfigAuthorizeSecurityGroupRules = exports.CreateServiceVersionRequestLabels = exports.CreateServiceResponseBodyData = exports.CreateServiceRequestServiceConfigs = exports.CreateServiceRequestServiceConfigsValidationOptions = exports.CreateSecretResponseBodyData = exports.CreatePolicyAttachmentResponseBodyData = exports.CreatePolicyResponseBodyData = exports.CreatePluginClassResponseBodyData = exports.CreatePluginAttachmentResponseBodyData = exports.CreateMcpServerResponseBodyData = exports.CreateMcpServerRequestMcpServerConfig = exports.CreateMcpServerRequestGrayMcpServerConfigs = exports.CreateMcpServerRequestGrayMcpServerConfigsBackendConfig = exports.CreateMcpServerRequestGrayMcpServerConfigsBackendConfigServices = exports.CreateMcpServerRequestBackendConfig = exports.CreateMcpServerRequestBackendConfigServices = exports.CreateMcpServerRequestAssembledSources = exports.CreateHttpApiRouteResponseBodyData = void 0;
|
|
7
7
|
exports.GetResourceOverviewResponseBodyData = exports.GetResourceOverviewResponseBodyDataRiskOverview = exports.GetResourceOverviewResponseBodyDataRiskOverviewRiskDetails = exports.GetResourceOverviewResponseBodyDataGateway = exports.GetResourceOverviewResponseBodyDataApi = exports.GetPolicyAttachmentResponseBodyData = exports.GetPluginClassResponseBodyData = exports.GetPluginAttachmentResponseBodyData = exports.GetMcpServerResponseBodyData = exports.GetMcpServerResponseBodyDataNacosMcpSyncInfo = exports.GetMcpServerResponseBodyDataGrayMcpServerConfigs = exports.GetMcpServerResponseBodyDataGrayMcpServerConfigsBackendConfig = exports.GetMcpServerResponseBodyDataGrayMcpServerConfigsBackendConfigServices = exports.GetMcpServerResponseBodyDataDomainInfos = exports.GetMcpServerResponseBodyDataAssembledSources = exports.GetGatewayQuotaRuleSubjectUsageResponseBodyData = exports.GetGatewayQuotaRuleSubjectUsageResponseBodyDataDetails = exports.GetGatewayQuotaRuleSubjectUsageResponseBodyDataDetailsItems = exports.GetGatewayQuotaRuleResponseBodyData = exports.GetGatewayQuotaRuleResponseBodyDataConsumers = exports.GetGatewayResponseBodyData = exports.GetGatewayResponseBodyDataZones = exports.GetGatewayResponseBodyDataZonesVSwitch = exports.GetGatewayResponseBodyDataVpc = exports.GetGatewayResponseBodyDataVSwitch = exports.GetGatewayResponseBodyDataTags = exports.GetGatewayResponseBodyDataSecurityGroup = exports.GetGatewayResponseBodyDataMaintenancePeriod = exports.GetGatewayResponseBodyDataLoadBalancers = exports.GetGatewayResponseBodyDataLoadBalancersPorts = exports.GetGatewayResponseBodyDataEnvironments = exports.GetEnvironmentResponseBodyData = exports.GetEnvironmentResponseBodyDataStatisticsInfo = exports.GetDomainResponseBodyData = exports.GetDomainResponseBodyDataStatisticsInfo = exports.GetDashboardResponseBodyData = exports.GetDashboardRequestFilter = exports.GetConsumerGroupResponseBodyData = exports.GetConsumerResponseBodyData = exports.GetConsumerResponseBodyDataConsumerGroups = exports.GetBatchImportTaskResponseBodyData = exports.GetBatchImportTaskResponseBodyDataResult = exports.GetBatchImportTaskResponseBodyDataResultSuccessItems = exports.GetBatchImportTaskResponseBodyDataResultImportRequest = exports.GetBatchImportTaskResponseBodyDataResultImportRequestSpecOssConfig = exports.GetBatchImportTaskResponseBodyDataResultFailureItems = exports.GetBatchImportTaskResponseBodyDataResultDryRunResults = exports.GetBatchImportTaskResponseBodyDataResultDryRunResultsDryRunInfo = exports.GetBatchImportTaskResponseBodyDataResultDryRunResultsDryRunInfoSuccessRoutes = exports.GetBatchImportTaskResponseBodyDataResultDryRunResultsDryRunInfoSuccessOperations = void 0;
|
|
@@ -183,9 +183,9 @@ Object.defineProperty(exports, "HttpApiRequestContractBody", { enumerable: true,
|
|
|
183
183
|
var HttpApiResponseContract_1 = require("./HttpApiResponseContract");
|
|
184
184
|
Object.defineProperty(exports, "HttpApiResponseContractItems", { enumerable: true, get: function () { return HttpApiResponseContract_1.HttpApiResponseContractItems; } });
|
|
185
185
|
var HttpDubboTranscoder_1 = require("./HttpDubboTranscoder");
|
|
186
|
-
Object.defineProperty(exports, "
|
|
186
|
+
Object.defineProperty(exports, "HttpDubboTranscoderMethodMapListParamMapsList", { enumerable: true, get: function () { return HttpDubboTranscoder_1.HttpDubboTranscoderMethodMapListParamMapsList; } });
|
|
187
187
|
var HttpDubboTranscoder_2 = require("./HttpDubboTranscoder");
|
|
188
|
-
Object.defineProperty(exports, "
|
|
188
|
+
Object.defineProperty(exports, "HttpDubboTranscoderMethodMapList", { enumerable: true, get: function () { return HttpDubboTranscoder_2.HttpDubboTranscoderMethodMapList; } });
|
|
189
189
|
var HttpRoute_1 = require("./HttpRoute");
|
|
190
190
|
Object.defineProperty(exports, "HttpRouteDomainInfos", { enumerable: true, get: function () { return HttpRoute_1.HttpRouteDomainInfos; } });
|
|
191
191
|
var HttpRoute_2 = require("./HttpRoute");
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1026,6 +1026,10 @@ export default class Client extends OpenApi {
|
|
|
1026
1026
|
async createDomainWithOptions(request: $_model.CreateDomainRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateDomainResponse> {
|
|
1027
1027
|
request.validate();
|
|
1028
1028
|
let query : {[key: string ]: any} = { };
|
|
1029
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
1030
|
+
query["clientToken"] = request.clientToken;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1029
1033
|
if (!$dara.isNull(request.dryRun)) {
|
|
1030
1034
|
query["dryRun"] = request.dryRun;
|
|
1031
1035
|
}
|
|
@@ -7851,7 +7855,7 @@ export default class Client extends OpenApi {
|
|
|
7851
7855
|
}
|
|
7852
7856
|
|
|
7853
7857
|
/**
|
|
7854
|
-
* Updates
|
|
7858
|
+
* Updates a route of an HTTP API.
|
|
7855
7859
|
*
|
|
7856
7860
|
* @param request - UpdateHttpApiRouteRequest
|
|
7857
7861
|
* @param headers - map
|
|
@@ -7908,7 +7912,7 @@ export default class Client extends OpenApi {
|
|
|
7908
7912
|
}
|
|
7909
7913
|
|
|
7910
7914
|
/**
|
|
7911
|
-
* Updates
|
|
7915
|
+
* Updates a route of an HTTP API.
|
|
7912
7916
|
*
|
|
7913
7917
|
* @param request - UpdateHttpApiRouteRequest
|
|
7914
7918
|
* @returns UpdateHttpApiRouteResponse
|
package/src/models/Backend.ts
CHANGED
|
@@ -1,11 +1,28 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { HttpDubboTranscoder } from "./HttpDubboTranscoder";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export class BackendServices extends $dara.Model {
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
|
-
* The
|
|
9
|
+
* The service group. Used in HTTP-to-Dubbo conversion scenarios.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* DEFAULT_GROUP
|
|
13
|
+
*/
|
|
14
|
+
groupName?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The HTTP-to-Dubbo protocol conversion configuration. Only supported for SingleService MSE_NACOS DUBBO backends of HTTP APIs.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* {"dubboServiceName":"com.alibaba.nacos.example.dubbo.service.DemoService","dubboServiceVersion":"1.0.0","dubboServiceGroup":"DEV","methodMapList":[{"dubboMethodName":"sayName","httpMethod":"ALL_GET","methodPath":"/dubbo/sayName","passThroughAllHeaders":"PASS_ALL"}]}
|
|
21
|
+
*/
|
|
22
|
+
httpDubboTranscoder?: HttpDubboTranscoder;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* The target model name. This field is shared by multiple existing model backend scenarios. The specific routing or model rewrite semantics are determined by the scene field. This field is required for the SemanticRouter scenario. If not specified in the AiAutoRouter scenario, the default model of the AI service is used.
|
|
9
26
|
*
|
|
10
27
|
* @example
|
|
11
28
|
* qwen-plus
|
|
@@ -19,6 +36,14 @@ export class BackendServices extends $dara.Model {
|
|
|
19
36
|
* item-service
|
|
20
37
|
*/
|
|
21
38
|
name?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The service namespace. Used in HTTP-to-Dubbo conversion scenarios.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* public
|
|
45
|
+
*/
|
|
46
|
+
namespace?: string;
|
|
22
47
|
/**
|
|
23
48
|
* @remarks
|
|
24
49
|
* The service port. Do not specify this parameter for dynamic ports.
|
|
@@ -29,7 +54,7 @@ export class BackendServices extends $dara.Model {
|
|
|
29
54
|
port?: number;
|
|
30
55
|
/**
|
|
31
56
|
* @remarks
|
|
32
|
-
* The service protocol. Valid values: [HTTP, TCP, DUBBO]
|
|
57
|
+
* The service protocol. Valid values: [HTTP, TCP, DUBBO]
|
|
33
58
|
*
|
|
34
59
|
* @example
|
|
35
60
|
* HTTP
|
|
@@ -43,6 +68,14 @@ export class BackendServices extends $dara.Model {
|
|
|
43
68
|
* service-cq2bmmdlhtgj***
|
|
44
69
|
*/
|
|
45
70
|
serviceId?: string;
|
|
71
|
+
/**
|
|
72
|
+
* @remarks
|
|
73
|
+
* The service source type. Set this to MSE_NACOS for HTTP-to-Dubbo conversion scenarios.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* MSE_NACOS
|
|
77
|
+
*/
|
|
78
|
+
sourceType?: string;
|
|
46
79
|
/**
|
|
47
80
|
* @remarks
|
|
48
81
|
* The service version.
|
|
@@ -61,11 +94,15 @@ export class BackendServices extends $dara.Model {
|
|
|
61
94
|
weight?: number;
|
|
62
95
|
static names(): { [key: string]: string } {
|
|
63
96
|
return {
|
|
97
|
+
groupName: 'groupName',
|
|
98
|
+
httpDubboTranscoder: 'httpDubboTranscoder',
|
|
64
99
|
modelName: 'modelName',
|
|
65
100
|
name: 'name',
|
|
101
|
+
namespace: 'namespace',
|
|
66
102
|
port: 'port',
|
|
67
103
|
protocol: 'protocol',
|
|
68
104
|
serviceId: 'serviceId',
|
|
105
|
+
sourceType: 'sourceType',
|
|
69
106
|
version: 'version',
|
|
70
107
|
weight: 'weight',
|
|
71
108
|
};
|
|
@@ -73,17 +110,24 @@ export class BackendServices extends $dara.Model {
|
|
|
73
110
|
|
|
74
111
|
static types(): { [key: string]: any } {
|
|
75
112
|
return {
|
|
113
|
+
groupName: 'string',
|
|
114
|
+
httpDubboTranscoder: HttpDubboTranscoder,
|
|
76
115
|
modelName: 'string',
|
|
77
116
|
name: 'string',
|
|
117
|
+
namespace: 'string',
|
|
78
118
|
port: 'number',
|
|
79
119
|
protocol: 'string',
|
|
80
120
|
serviceId: 'string',
|
|
121
|
+
sourceType: 'string',
|
|
81
122
|
version: 'string',
|
|
82
123
|
weight: 'number',
|
|
83
124
|
};
|
|
84
125
|
}
|
|
85
126
|
|
|
86
127
|
validate() {
|
|
128
|
+
if(this.httpDubboTranscoder && typeof (this.httpDubboTranscoder as any).validate === 'function') {
|
|
129
|
+
(this.httpDubboTranscoder as any).validate();
|
|
130
|
+
}
|
|
87
131
|
super.validate();
|
|
88
132
|
}
|
|
89
133
|
|
|
@@ -103,7 +147,7 @@ export class Backend extends $dara.Model {
|
|
|
103
147
|
enableSystemModels?: boolean;
|
|
104
148
|
/**
|
|
105
149
|
* @remarks
|
|
106
|
-
* The backend service scenario. Valid values: [Single, MultiServiceByRatio, MultiServiceByTag, Mock, Redirect]
|
|
150
|
+
* The backend service scenario. Valid values: [Single, MultiServiceByRatio, MultiServiceByTag, Mock, Redirect]
|
|
107
151
|
*
|
|
108
152
|
* @example
|
|
109
153
|
* Single
|
|
@@ -6,7 +6,7 @@ import { TlsCipherSuitesConfig } from "./TlsCipherSuitesConfig";
|
|
|
6
6
|
export class CreateDomainRequest extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The CA certificate identifier. This parameter is optional for Dedicated
|
|
9
|
+
* 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.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* 1ef1da5f-38ed-69b3-****-037781890265
|
|
@@ -14,7 +14,7 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
14
14
|
caCertIdentifier?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The certificate identifier. This parameter is required for Dedicated
|
|
17
|
+
* 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.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* 1ef1da5f-38ed-69b3-****-037781890265
|
|
@@ -22,7 +22,7 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
22
22
|
certIdentifier?: string;
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The client CA certificate. This parameter is conditionally required for Dedicated
|
|
25
|
+
* 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.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* -----BEGIN CERTIFICATE-----
|
|
@@ -34,12 +34,7 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
34
34
|
clientCACert?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The domain
|
|
38
|
-
*
|
|
39
|
-
* - Dedicated: dedicated gateway domain name.
|
|
40
|
-
* - Serverless: Serverless gateway domain name.
|
|
41
|
-
*
|
|
42
|
-
* Default value: Dedicated.
|
|
37
|
+
* The domain scope. Valid values: Dedicated (dedicated gateway domain name), Serverless (Serverless gateway domain name). Default value: Dedicated.
|
|
43
38
|
*
|
|
44
39
|
* @example
|
|
45
40
|
* Dedicated
|
|
@@ -47,7 +42,7 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
47
42
|
domainScope?: string;
|
|
48
43
|
/**
|
|
49
44
|
* @remarks
|
|
50
|
-
* Specifies whether to enable forced HTTPS redirect
|
|
45
|
+
* 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.
|
|
51
46
|
*
|
|
52
47
|
* @example
|
|
53
48
|
* false
|
|
@@ -63,13 +58,7 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
63
58
|
gatewayType?: string;
|
|
64
59
|
/**
|
|
65
60
|
* @remarks
|
|
66
|
-
* The HTTP/2 setting. Valid values:
|
|
67
|
-
*
|
|
68
|
-
* - GlobalConfig: follows the global configuration.
|
|
69
|
-
* - Open: enabled.
|
|
70
|
-
* - Close: disabled.
|
|
71
|
-
*
|
|
72
|
-
* Default value: GlobalConfig. This setting is supported only for HTTPS domain names in the Dedicated scope.
|
|
61
|
+
* 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.
|
|
73
62
|
*
|
|
74
63
|
* @example
|
|
75
64
|
* Open
|
|
@@ -77,12 +66,12 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
77
66
|
http2Option?: string;
|
|
78
67
|
/**
|
|
79
68
|
* @remarks
|
|
80
|
-
* Specifies whether to enable mTLS mutual authentication. This parameter is optional for Dedicated
|
|
69
|
+
* 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.
|
|
81
70
|
*/
|
|
82
71
|
mTLSEnabled?: boolean;
|
|
83
72
|
/**
|
|
84
73
|
* @remarks
|
|
85
|
-
* The domain name. The name must be 1 to 128 characters in length
|
|
74
|
+
* The domain name. The name must be 1 to 128 characters in length, such as abc.com.
|
|
86
75
|
*
|
|
87
76
|
* This parameter is required.
|
|
88
77
|
*
|
|
@@ -113,7 +102,7 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
113
102
|
tlsCipherSuitesConfig?: TlsCipherSuitesConfig;
|
|
114
103
|
/**
|
|
115
104
|
* @remarks
|
|
116
|
-
* The maximum TLS protocol version. This parameter is optional for Dedicated
|
|
105
|
+
* 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.
|
|
117
106
|
*
|
|
118
107
|
* @example
|
|
119
108
|
* TLS1.3
|
|
@@ -121,7 +110,7 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
121
110
|
tlsMax?: string;
|
|
122
111
|
/**
|
|
123
112
|
* @remarks
|
|
124
|
-
* The minimum TLS protocol version. This parameter is optional for Dedicated
|
|
113
|
+
* 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.
|
|
125
114
|
*
|
|
126
115
|
* @example
|
|
127
116
|
* TLS1.0
|
|
@@ -129,7 +118,15 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
129
118
|
tlsMin?: string;
|
|
130
119
|
/**
|
|
131
120
|
* @remarks
|
|
132
|
-
*
|
|
121
|
+
* 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.
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* 5f7a2c1e-9b3d-4e8f-a1c6-0d2b8e4f7a13
|
|
125
|
+
*/
|
|
126
|
+
clientToken?: string;
|
|
127
|
+
/**
|
|
128
|
+
* @remarks
|
|
129
|
+
* 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.
|
|
133
130
|
*/
|
|
134
131
|
dryRun?: boolean;
|
|
135
132
|
static names(): { [key: string]: string } {
|
|
@@ -148,6 +145,7 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
148
145
|
tlsCipherSuitesConfig: 'tlsCipherSuitesConfig',
|
|
149
146
|
tlsMax: 'tlsMax',
|
|
150
147
|
tlsMin: 'tlsMin',
|
|
148
|
+
clientToken: 'clientToken',
|
|
151
149
|
dryRun: 'dryRun',
|
|
152
150
|
};
|
|
153
151
|
}
|
|
@@ -168,6 +166,7 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
168
166
|
tlsCipherSuitesConfig: TlsCipherSuitesConfig,
|
|
169
167
|
tlsMax: 'string',
|
|
170
168
|
tlsMin: 'string',
|
|
169
|
+
clientToken: 'string',
|
|
171
170
|
dryRun: 'boolean',
|
|
172
171
|
};
|
|
173
172
|
}
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateGatewayRequestLogConfigSls extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to enable log collection.
|
|
8
|
+
* Specifies whether to enable SLS log collection.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* false
|
|
@@ -146,7 +146,7 @@ export class CreateGatewayRequestZoneConfigZones extends $dara.Model {
|
|
|
146
146
|
* The zone ID.
|
|
147
147
|
*
|
|
148
148
|
* @example
|
|
149
|
-
* cn-
|
|
149
|
+
* cn-hangzhou-j
|
|
150
150
|
*/
|
|
151
151
|
zoneId?: string;
|
|
152
152
|
static names(): { [key: string]: string } {
|
|
@@ -191,7 +191,7 @@ export class CreateGatewayRequestZoneConfig extends $dara.Model {
|
|
|
191
191
|
vSwitchId?: string;
|
|
192
192
|
/**
|
|
193
193
|
* @remarks
|
|
194
|
-
* The list of supported zones.
|
|
194
|
+
* The list of supported zones. At least two zones are required.
|
|
195
195
|
*/
|
|
196
196
|
zones?: CreateGatewayRequestZoneConfigZones[];
|
|
197
197
|
static names(): { [key: string]: string } {
|
|
@@ -237,9 +237,9 @@ export class CreateGatewayRequest extends $dara.Model {
|
|
|
237
237
|
*
|
|
238
238
|
* - Professional: standard instance.
|
|
239
239
|
*
|
|
240
|
-
* - Serverless: Serverless
|
|
240
|
+
* - Serverless: Serverless.
|
|
241
241
|
*
|
|
242
|
-
* - MultiTenantServerless: multi-tenant Serverless
|
|
242
|
+
* - MultiTenantServerless: multi-tenant Serverless.
|
|
243
243
|
*
|
|
244
244
|
* - Unknown: unknown.
|
|
245
245
|
*
|
|
@@ -249,7 +249,7 @@ export class CreateGatewayRequest extends $dara.Model {
|
|
|
249
249
|
gatewayEdition?: string;
|
|
250
250
|
/**
|
|
251
251
|
* @remarks
|
|
252
|
-
* The running mode for AI multi-tenant V2. Default value: ENTERPRISE.
|
|
252
|
+
* The running mode for AI multi-tenant V2. Default value: ENTERPRISE. This parameter can be specified only when gatewayType is AI and gatewayEdition is MultiTenantServerless.
|
|
253
253
|
*
|
|
254
254
|
* @example
|
|
255
255
|
* ENTERPRISE
|
|
@@ -294,7 +294,7 @@ export class CreateGatewayRequest extends $dara.Model {
|
|
|
294
294
|
* The node specifications. Required for the Serverless edition.
|
|
295
295
|
*
|
|
296
296
|
* @example
|
|
297
|
-
* apigw.dev.
|
|
297
|
+
* apigw.dev.x1
|
|
298
298
|
*/
|
|
299
299
|
spec?: string;
|
|
300
300
|
/**
|
|
@@ -3,17 +3,42 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
import { HttpApiDeployConfig } from "./HttpApiDeployConfig";
|
|
4
4
|
import { HttpRouteMatch } from "./HttpRouteMatch";
|
|
5
5
|
import { HttpApiPolicyConfigs } from "./HttpApiPolicyConfigs";
|
|
6
|
+
import { HttpDubboTranscoder } from "./HttpDubboTranscoder";
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model {
|
|
9
10
|
/**
|
|
10
11
|
* @remarks
|
|
11
|
-
* The
|
|
12
|
+
* The service group. Used in the HTTP-to-Dubbo conversion scenario.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* DEFAULT_GROUP
|
|
16
|
+
*/
|
|
17
|
+
groupName?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* The HTTP-to-Dubbo protocol conversion configuration. Only supported for SingleService MSE_NACOS DUBBO backends of HTTP APIs.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* {"dubboServiceName":"com.alibaba.nacos.example.dubbo.service.DemoService","dubboServiceVersion":"1.0.0","dubboServiceGroup":"DEV","methodMapList":[{"dubboMethodName":"sayName","httpMethod":"ALL_GET","methodPath":"/dubbo/sayName","passThroughAllHeaders":"PASS_ALL"}]}
|
|
24
|
+
*/
|
|
25
|
+
httpDubboTranscoder?: HttpDubboTranscoder;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The target model name. This field is shared by multiple model backend scenarios. The specific routing or model rewrite semantics are determined by backendConfig.scene. This field is required for the SemanticRouter scenario. If not specified in the AiAutoRouter scenario, the default model of the AI service is used.
|
|
12
29
|
*
|
|
13
30
|
* @example
|
|
14
31
|
* qwen-plus
|
|
15
32
|
*/
|
|
16
33
|
modelName?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* The service namespace. Used in the HTTP-to-Dubbo conversion scenario.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* public
|
|
40
|
+
*/
|
|
41
|
+
namespace?: string;
|
|
17
42
|
/**
|
|
18
43
|
* @remarks
|
|
19
44
|
* The service port. Do not specify this parameter for dynamic ports.
|
|
@@ -25,8 +50,8 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
|
|
|
25
50
|
/**
|
|
26
51
|
* @remarks
|
|
27
52
|
* The service protocol. Valid values:
|
|
28
|
-
* - HTTP
|
|
29
|
-
* - HTTPS
|
|
53
|
+
* - HTTP.
|
|
54
|
+
* - HTTPS.
|
|
30
55
|
*
|
|
31
56
|
* @example
|
|
32
57
|
* HTTP
|
|
@@ -42,7 +67,15 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
|
|
|
42
67
|
serviceId?: string;
|
|
43
68
|
/**
|
|
44
69
|
* @remarks
|
|
45
|
-
* The service
|
|
70
|
+
* The service source type. Used in the HTTP-to-Dubbo conversion scenario.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* MSE_NACOS
|
|
74
|
+
*/
|
|
75
|
+
sourceType?: string;
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The service version. This parameter is valid only in the tag-based scenario.
|
|
46
79
|
*
|
|
47
80
|
* @example
|
|
48
81
|
* v1
|
|
@@ -50,7 +83,7 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
|
|
|
50
83
|
version?: string;
|
|
51
84
|
/**
|
|
52
85
|
* @remarks
|
|
53
|
-
* The percentage value
|
|
86
|
+
* The traffic ratio percentage value.
|
|
54
87
|
*
|
|
55
88
|
* @example
|
|
56
89
|
* 49
|
|
@@ -58,10 +91,14 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
|
|
|
58
91
|
weight?: number;
|
|
59
92
|
static names(): { [key: string]: string } {
|
|
60
93
|
return {
|
|
94
|
+
groupName: 'groupName',
|
|
95
|
+
httpDubboTranscoder: 'httpDubboTranscoder',
|
|
61
96
|
modelName: 'modelName',
|
|
97
|
+
namespace: 'namespace',
|
|
62
98
|
port: 'port',
|
|
63
99
|
protocol: 'protocol',
|
|
64
100
|
serviceId: 'serviceId',
|
|
101
|
+
sourceType: 'sourceType',
|
|
65
102
|
version: 'version',
|
|
66
103
|
weight: 'weight',
|
|
67
104
|
};
|
|
@@ -69,16 +106,23 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
|
|
|
69
106
|
|
|
70
107
|
static types(): { [key: string]: any } {
|
|
71
108
|
return {
|
|
109
|
+
groupName: 'string',
|
|
110
|
+
httpDubboTranscoder: HttpDubboTranscoder,
|
|
72
111
|
modelName: 'string',
|
|
112
|
+
namespace: 'string',
|
|
73
113
|
port: 'number',
|
|
74
114
|
protocol: 'string',
|
|
75
115
|
serviceId: 'string',
|
|
116
|
+
sourceType: 'string',
|
|
76
117
|
version: 'string',
|
|
77
118
|
weight: 'number',
|
|
78
119
|
};
|
|
79
120
|
}
|
|
80
121
|
|
|
81
122
|
validate() {
|
|
123
|
+
if(this.httpDubboTranscoder && typeof (this.httpDubboTranscoder as any).validate === 'function') {
|
|
124
|
+
(this.httpDubboTranscoder as any).validate();
|
|
125
|
+
}
|
|
82
126
|
super.validate();
|
|
83
127
|
}
|
|
84
128
|
|
|
@@ -91,10 +135,10 @@ export class CreateHttpApiRouteRequestBackendConfig extends $dara.Model {
|
|
|
91
135
|
/**
|
|
92
136
|
* @remarks
|
|
93
137
|
* The backend service scenario. Valid values:
|
|
94
|
-
* - SingleService:
|
|
95
|
-
* - MultiServiceByRatio:
|
|
96
|
-
* - Mock:
|
|
97
|
-
* - Redirect:
|
|
138
|
+
* - SingleService: single service.
|
|
139
|
+
* - MultiServiceByRatio: multiple services with ratio-based canary release.
|
|
140
|
+
* - Mock: mock service.
|
|
141
|
+
* - Redirect: redirect service.
|
|
98
142
|
*
|
|
99
143
|
* @example
|
|
100
144
|
* SingleService
|
|
@@ -151,9 +195,9 @@ export class CreateHttpApiRouteRequestMcpRouteConfig extends $dara.Model {
|
|
|
151
195
|
/**
|
|
152
196
|
* @remarks
|
|
153
197
|
* The service protocol. Valid values:
|
|
154
|
-
* - TCP
|
|
155
|
-
* - HTTP
|
|
156
|
-
* - DUBBO
|
|
198
|
+
* - TCP.
|
|
199
|
+
* - HTTP.
|
|
200
|
+
* - DUBBO.
|
|
157
201
|
*
|
|
158
202
|
* @example
|
|
159
203
|
* HTTP,HTTPS
|
|
@@ -192,7 +236,7 @@ export class CreateHttpApiRouteRequest extends $dara.Model {
|
|
|
192
236
|
backendConfig?: CreateHttpApiRouteRequestBackendConfig;
|
|
193
237
|
/**
|
|
194
238
|
* @remarks
|
|
195
|
-
* The API deployment
|
|
239
|
+
* The API deployment configuration.
|
|
196
240
|
*
|
|
197
241
|
* @deprecated
|
|
198
242
|
*/
|
|
@@ -220,7 +264,7 @@ export class CreateHttpApiRouteRequest extends $dara.Model {
|
|
|
220
264
|
environmentId?: string;
|
|
221
265
|
/**
|
|
222
266
|
* @remarks
|
|
223
|
-
* The route match
|
|
267
|
+
* The route match rule.
|
|
224
268
|
*/
|
|
225
269
|
match?: HttpRouteMatch;
|
|
226
270
|
/**
|