@alicloud/apig20240327 11.1.0 → 11.2.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 +210 -42
- package/dist/client.js +460 -42
- package/dist/client.js.map +1 -1
- package/dist/models/AddGatewayQuotaRuleRequest.d.ts +20 -17
- package/dist/models/AddGatewayQuotaRuleRequest.js +2 -0
- package/dist/models/AddGatewayQuotaRuleRequest.js.map +1 -1
- package/dist/models/AddGatewayQuotaRuleResponseBody.d.ts +30 -6
- package/dist/models/AddGatewayQuotaRuleResponseBody.js +6 -0
- package/dist/models/AddGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/AiPluginStatus.d.ts +1 -1
- package/dist/models/CreateGatewayRequest.d.ts +11 -11
- package/dist/models/CreateGatewayResponseBody.d.ts +1 -1
- package/dist/models/DeployHttpApiRequest.d.ts +10 -10
- package/dist/models/DeployHttpApiResponseBody.d.ts +1 -1
- package/dist/models/GetGatewayQuotaRuleRequest.d.ts +7 -2
- package/dist/models/GetGatewayQuotaRuleRequest.js +2 -0
- package/dist/models/GetGatewayQuotaRuleRequest.js.map +1 -1
- package/dist/models/GetGatewayQuotaRuleResponseBody.d.ts +62 -5
- package/dist/models/GetGatewayQuotaRuleResponseBody.js +33 -1
- package/dist/models/GetGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.d.ts +28 -2
- package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.js +6 -0
- package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.js.map +1 -1
- package/dist/models/HttpApiApiInfo.d.ts +32 -55
- package/dist/models/HttpApiApiInfo.js.map +1 -1
- package/dist/models/HttpApiApiInfoDeployCntMapValue.d.ts +1 -1
- package/dist/models/HttpRoute.d.ts +36 -36
- package/dist/models/ListExternalServicesRequest.d.ts +3 -8
- package/dist/models/ListExternalServicesRequest.js.map +1 -1
- package/dist/models/ListExternalServicesResponseBody.d.ts +1 -1
- package/dist/models/ListHttpApiRoutesRequest.d.ts +5 -5
- package/dist/models/ListPluginWorkspaceRequest.d.ts +18 -0
- package/dist/models/ListPluginWorkspaceRequest.js +58 -0
- package/dist/models/ListPluginWorkspaceRequest.js.map +1 -0
- package/dist/models/ListPluginWorkspaceResponse.d.ts +19 -0
- package/dist/models/ListPluginWorkspaceResponse.js +69 -0
- package/dist/models/ListPluginWorkspaceResponse.js.map +1 -0
- package/dist/models/ListPluginWorkspaceResponseBody.d.ts +64 -0
- package/dist/models/ListPluginWorkspaceResponseBody.js +92 -0
- package/dist/models/ListPluginWorkspaceResponseBody.js.map +1 -0
- package/dist/models/ListRiskCheckResultsRequest.d.ts +33 -0
- package/dist/models/ListRiskCheckResultsRequest.js +64 -0
- package/dist/models/ListRiskCheckResultsRequest.js.map +1 -0
- package/dist/models/ListRiskCheckResultsResponse.d.ts +19 -0
- package/dist/models/ListRiskCheckResultsResponse.js +69 -0
- package/dist/models/ListRiskCheckResultsResponse.js.map +1 -0
- package/dist/models/ListRiskCheckResultsResponseBody.d.ts +71 -0
- package/dist/models/ListRiskCheckResultsResponseBody.js +100 -0
- package/dist/models/ListRiskCheckResultsResponseBody.js.map +1 -0
- package/dist/models/ListSourcesRequest.d.ts +55 -0
- package/dist/models/ListSourcesRequest.js +66 -0
- package/dist/models/ListSourcesRequest.js.map +1 -0
- package/dist/models/ListSourcesResponse.d.ts +19 -0
- package/dist/models/ListSourcesResponse.js +69 -0
- package/dist/models/ListSourcesResponse.js.map +1 -0
- package/dist/models/ListSourcesResponseBody.d.ts +208 -0
- package/dist/models/ListSourcesResponseBody.js +178 -0
- package/dist/models/ListSourcesResponseBody.js.map +1 -0
- package/dist/models/ListSyncMcpserverRequest.d.ts +28 -0
- package/dist/models/ListSyncMcpserverRequest.js +62 -0
- package/dist/models/ListSyncMcpserverRequest.js.map +1 -0
- package/dist/models/ListSyncMcpserverResponse.d.ts +19 -0
- package/dist/models/ListSyncMcpserverResponse.js +69 -0
- package/dist/models/ListSyncMcpserverResponse.js.map +1 -0
- package/dist/models/ListSyncMcpserverResponseBody.d.ts +46 -0
- package/dist/models/ListSyncMcpserverResponseBody.js +94 -0
- package/dist/models/ListSyncMcpserverResponseBody.js.map +1 -0
- package/dist/models/ListTagResourcesRequest.d.ts +4 -4
- package/dist/models/ListTagResourcesResponseBody.d.ts +1 -1
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +4 -4
- package/dist/models/RefreshPluginOauthCodeRequest.d.ts +18 -0
- package/dist/models/RefreshPluginOauthCodeRequest.js +58 -0
- package/dist/models/RefreshPluginOauthCodeRequest.js.map +1 -0
- package/dist/models/RefreshPluginOauthCodeResponse.d.ts +19 -0
- package/dist/models/RefreshPluginOauthCodeResponse.js +69 -0
- package/dist/models/RefreshPluginOauthCodeResponse.js.map +1 -0
- package/dist/models/RefreshPluginOauthCodeResponseBody.d.ts +31 -0
- package/dist/models/RefreshPluginOauthCodeResponseBody.js +62 -0
- package/dist/models/RefreshPluginOauthCodeResponseBody.js.map +1 -0
- package/dist/models/ResetGatewayQuotaRuleRequest.d.ts +10 -9
- package/dist/models/ResetGatewayQuotaRuleRequest.js.map +1 -1
- package/dist/models/ResetGatewayQuotaRuleResponseBody.d.ts +37 -11
- package/dist/models/ResetGatewayQuotaRuleResponseBody.js +6 -0
- package/dist/models/ResetGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/RunPluginPipelineRequest.d.ts +13 -0
- package/dist/models/RunPluginPipelineRequest.js +54 -0
- package/dist/models/RunPluginPipelineRequest.js.map +1 -0
- package/dist/models/RunPluginPipelineResponse.d.ts +19 -0
- package/dist/models/RunPluginPipelineResponse.js +69 -0
- package/dist/models/RunPluginPipelineResponse.js.map +1 -0
- package/dist/models/RunPluginPipelineResponseBody.d.ts +31 -0
- package/dist/models/RunPluginPipelineResponseBody.js +62 -0
- package/dist/models/RunPluginPipelineResponseBody.js.map +1 -0
- package/dist/models/UpdateAuthorizationRuleRequest.d.ts +14 -0
- package/dist/models/UpdateAuthorizationRuleRequest.js +61 -0
- package/dist/models/UpdateAuthorizationRuleRequest.js.map +1 -0
- package/dist/models/UpdateAuthorizationRuleResponse.d.ts +19 -0
- package/dist/models/UpdateAuthorizationRuleResponse.js +69 -0
- package/dist/models/UpdateAuthorizationRuleResponse.js.map +1 -0
- package/dist/models/UpdateAuthorizationRuleResponseBody.d.ts +31 -0
- package/dist/models/UpdateAuthorizationRuleResponseBody.js +62 -0
- package/dist/models/UpdateAuthorizationRuleResponseBody.js.map +1 -0
- package/dist/models/UpdateGatewayElasticPolicyRequest.d.ts +97 -0
- package/dist/models/UpdateGatewayElasticPolicyRequest.js +140 -0
- package/dist/models/UpdateGatewayElasticPolicyRequest.js.map +1 -0
- package/dist/models/UpdateGatewayElasticPolicyResponse.d.ts +19 -0
- package/dist/models/UpdateGatewayElasticPolicyResponse.js +69 -0
- package/dist/models/UpdateGatewayElasticPolicyResponse.js.map +1 -0
- package/dist/models/UpdateGatewayElasticPolicyResponseBody.d.ts +31 -0
- package/dist/models/UpdateGatewayElasticPolicyResponseBody.js +62 -0
- package/dist/models/UpdateGatewayElasticPolicyResponseBody.js.map +1 -0
- package/dist/models/UpdateGatewayLoadBalancerRequest.d.ts +125 -0
- package/dist/models/UpdateGatewayLoadBalancerRequest.js +168 -0
- package/dist/models/UpdateGatewayLoadBalancerRequest.js.map +1 -0
- package/dist/models/UpdateGatewayLoadBalancerResponse.d.ts +19 -0
- package/dist/models/UpdateGatewayLoadBalancerResponse.js +69 -0
- package/dist/models/UpdateGatewayLoadBalancerResponse.js.map +1 -0
- package/dist/models/UpdateGatewayLoadBalancerResponseBody.d.ts +118 -0
- package/dist/models/UpdateGatewayLoadBalancerResponseBody.js +135 -0
- package/dist/models/UpdateGatewayLoadBalancerResponseBody.js.map +1 -0
- package/dist/models/UpdateGatewayQuotaRuleRequest.d.ts +8 -8
- package/dist/models/UpdateGatewayQuotaRuleResponseBody.d.ts +32 -8
- package/dist/models/UpdateGatewayQuotaRuleResponseBody.js +6 -0
- package/dist/models/UpdateGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +44 -0
- package/dist/models/model.js +109 -20
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +499 -42
- package/src/models/AddGatewayQuotaRuleRequest.ts +22 -17
- package/src/models/AddGatewayQuotaRuleResponseBody.ts +36 -6
- package/src/models/AiPluginStatus.ts +1 -1
- package/src/models/CreateGatewayRequest.ts +11 -11
- package/src/models/CreateGatewayResponseBody.ts +1 -1
- package/src/models/DeployHttpApiRequest.ts +10 -10
- package/src/models/DeployHttpApiResponseBody.ts +1 -1
- package/src/models/GetGatewayQuotaRuleRequest.ts +9 -2
- package/src/models/GetGatewayQuotaRuleResponseBody.ts +85 -5
- package/src/models/GetGatewayQuotaRuleSubjectUsageResponseBody.ts +34 -2
- package/src/models/HttpApiApiInfo.ts +32 -55
- package/src/models/HttpApiApiInfoDeployCntMapValue.ts +1 -1
- package/src/models/HttpRoute.ts +36 -36
- package/src/models/ListExternalServicesRequest.ts +3 -8
- package/src/models/ListExternalServicesResponseBody.ts +1 -1
- package/src/models/ListHttpApiRoutesRequest.ts +5 -5
- package/src/models/ListPluginWorkspaceRequest.ts +31 -0
- package/src/models/ListPluginWorkspaceResponse.ts +40 -0
- package/src/models/ListPluginWorkspaceResponseBody.ts +102 -0
- package/src/models/ListRiskCheckResultsRequest.ts +52 -0
- package/src/models/ListRiskCheckResultsResponse.ts +40 -0
- package/src/models/ListRiskCheckResultsResponseBody.ts +116 -0
- package/src/models/ListSourcesRequest.ts +76 -0
- package/src/models/ListSourcesResponse.ts +40 -0
- package/src/models/ListSourcesResponseBody.ts +305 -0
- package/src/models/ListSyncMcpserverRequest.ts +45 -0
- package/src/models/ListSyncMcpserverResponse.ts +40 -0
- package/src/models/ListSyncMcpserverResponseBody.ts +86 -0
- package/src/models/ListTagResourcesRequest.ts +4 -4
- package/src/models/ListTagResourcesResponseBody.ts +1 -1
- package/src/models/ListTagResourcesShrinkRequest.ts +4 -4
- package/src/models/RefreshPluginOauthCodeRequest.ts +31 -0
- package/src/models/RefreshPluginOauthCodeResponse.ts +40 -0
- package/src/models/RefreshPluginOauthCodeResponseBody.ts +48 -0
- package/src/models/ResetGatewayQuotaRuleRequest.ts +10 -9
- package/src/models/ResetGatewayQuotaRuleResponseBody.ts +43 -11
- package/src/models/RunPluginPipelineRequest.ts +24 -0
- package/src/models/RunPluginPipelineResponse.ts +40 -0
- package/src/models/RunPluginPipelineResponseBody.ts +48 -0
- package/src/models/UpdateAuthorizationRuleRequest.ts +30 -0
- package/src/models/UpdateAuthorizationRuleResponse.ts +40 -0
- package/src/models/UpdateAuthorizationRuleResponseBody.ts +48 -0
- package/src/models/UpdateGatewayElasticPolicyRequest.ts +165 -0
- package/src/models/UpdateGatewayElasticPolicyResponse.ts +40 -0
- package/src/models/UpdateGatewayElasticPolicyResponseBody.ts +48 -0
- package/src/models/UpdateGatewayLoadBalancerRequest.ts +212 -0
- package/src/models/UpdateGatewayLoadBalancerResponse.ts +40 -0
- package/src/models/UpdateGatewayLoadBalancerResponseBody.ts +190 -0
- package/src/models/UpdateGatewayQuotaRuleRequest.ts +8 -8
- package/src/models/UpdateGatewayQuotaRuleResponseBody.ts +38 -8
- package/src/models/model.ts +44 -0
package/dist/client.d.ts
CHANGED
|
@@ -12,15 +12,15 @@ export default class Client extends OpenApi {
|
|
|
12
12
|
* Creates a gateway quota throttling rule.
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Creates a consumer-based quota rule for an AI gateway. This operation
|
|
15
|
+
* Creates a consumer-based quota rule for an AI gateway. This operation applies only to AI gateways running version 2.1.19 or later.
|
|
16
16
|
* >
|
|
17
|
-
* > Recommended call
|
|
18
|
-
* > -
|
|
19
|
-
* > - - Set dryRun
|
|
20
|
-
* > - - The response contains a conflict preview with
|
|
21
|
-
* > -
|
|
22
|
-
* > - - No conflicts:
|
|
23
|
-
* > - - Conflicts exist and you confirm
|
|
17
|
+
* > Recommended call logic:
|
|
18
|
+
* > - 1. Perform a dry run to check for rule conflicts.
|
|
19
|
+
* > - - Set dryRun=true.
|
|
20
|
+
* > - - The response contains a conflict preview with conflictHash.
|
|
21
|
+
* > - 2. Submit the request after confirmation.
|
|
22
|
+
* > - - No conflicts: dryRun=false, overwrite=false.
|
|
23
|
+
* > - - Conflicts exist and you confirm overwrite: dryRun=false, overwrite=true, conflictHash=<value returned in the previous step>
|
|
24
24
|
*
|
|
25
25
|
* @param request - AddGatewayQuotaRuleRequest
|
|
26
26
|
* @param headers - map
|
|
@@ -34,15 +34,15 @@ export default class Client extends OpenApi {
|
|
|
34
34
|
* Creates a gateway quota throttling rule.
|
|
35
35
|
*
|
|
36
36
|
* @remarks
|
|
37
|
-
* Creates a consumer-based quota rule for an AI gateway. This operation
|
|
37
|
+
* Creates a consumer-based quota rule for an AI gateway. This operation applies only to AI gateways running version 2.1.19 or later.
|
|
38
38
|
* >
|
|
39
|
-
* > Recommended call
|
|
40
|
-
* > -
|
|
41
|
-
* > - - Set dryRun
|
|
42
|
-
* > - - The response contains a conflict preview with
|
|
43
|
-
* > -
|
|
44
|
-
* > - - No conflicts:
|
|
45
|
-
* > - - Conflicts exist and you confirm
|
|
39
|
+
* > Recommended call logic:
|
|
40
|
+
* > - 1. Perform a dry run to check for rule conflicts.
|
|
41
|
+
* > - - Set dryRun=true.
|
|
42
|
+
* > - - The response contains a conflict preview with conflictHash.
|
|
43
|
+
* > - 2. Submit the request after confirmation.
|
|
44
|
+
* > - - No conflicts: dryRun=false, overwrite=false.
|
|
45
|
+
* > - - Conflicts exist and you confirm overwrite: dryRun=false, overwrite=true, conflictHash=<value returned in the previous step>
|
|
46
46
|
*
|
|
47
47
|
* @param request - AddGatewayQuotaRuleRequest
|
|
48
48
|
* @returns AddGatewayQuotaRuleResponse
|
|
@@ -1106,6 +1106,9 @@ export default class Client extends OpenApi {
|
|
|
1106
1106
|
/**
|
|
1107
1107
|
* Publishes an MCP server.
|
|
1108
1108
|
*
|
|
1109
|
+
* @remarks
|
|
1110
|
+
* Before deployment, the MCP server must have domainIds configured through CreateMcpServer or UpdateMcpServer. Call GetMcpServer to confirm the domain name bindng status.
|
|
1111
|
+
*
|
|
1109
1112
|
* @param headers - map
|
|
1110
1113
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1111
1114
|
* @returns DeployMcpServerResponse
|
|
@@ -1115,6 +1118,9 @@ export default class Client extends OpenApi {
|
|
|
1115
1118
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeployMcpServerResponse>;
|
|
1116
1119
|
/**
|
|
1117
1120
|
* Publishes an MCP server.
|
|
1121
|
+
*
|
|
1122
|
+
* @remarks
|
|
1123
|
+
* Before deployment, the MCP server must have domainIds configured through CreateMcpServer or UpdateMcpServer. Call GetMcpServer to confirm the domain name bindng status.
|
|
1118
1124
|
* @returns DeployMcpServerResponse
|
|
1119
1125
|
*/
|
|
1120
1126
|
deployMcpServer(mcpServerId: string): Promise<$_model.DeployMcpServerResponse>;
|
|
@@ -1411,7 +1417,7 @@ export default class Client extends OpenApi {
|
|
|
1411
1417
|
* Queries the usage details of a subject under a gateway quota throttling rule, including used quota, total quota, whether the limit is exceeded, usage details, and consumption records.
|
|
1412
1418
|
*
|
|
1413
1419
|
* @remarks
|
|
1414
|
-
*
|
|
1420
|
+
* Retrieves the usage details of a specific consumer under a quota rule. This operation applies only to AI gateways with a version later than 2.1.19.
|
|
1415
1421
|
*
|
|
1416
1422
|
* @param request - GetGatewayQuotaRuleSubjectUsageRequest
|
|
1417
1423
|
* @param headers - map
|
|
@@ -1425,7 +1431,7 @@ export default class Client extends OpenApi {
|
|
|
1425
1431
|
* Queries the usage details of a subject under a gateway quota throttling rule, including used quota, total quota, whether the limit is exceeded, usage details, and consumption records.
|
|
1426
1432
|
*
|
|
1427
1433
|
* @remarks
|
|
1428
|
-
*
|
|
1434
|
+
* Retrieves the usage details of a specific consumer under a quota rule. This operation applies only to AI gateways with a version later than 2.1.19.
|
|
1429
1435
|
*
|
|
1430
1436
|
* @param request - GetGatewayQuotaRuleSubjectUsageRequest
|
|
1431
1437
|
* @returns GetGatewayQuotaRuleSubjectUsageResponse
|
|
@@ -1993,7 +1999,7 @@ export default class Client extends OpenApi {
|
|
|
1993
1999
|
*/
|
|
1994
2000
|
listEnvironments(request: $_model.ListEnvironmentsRequest): Promise<$_model.ListEnvironmentsResponse>;
|
|
1995
2001
|
/**
|
|
1996
|
-
* Retrieves
|
|
2002
|
+
* Retrieves external service information for a gateway.
|
|
1997
2003
|
*
|
|
1998
2004
|
* @remarks
|
|
1999
2005
|
* This operation supports creating multiple services.
|
|
@@ -2007,7 +2013,7 @@ export default class Client extends OpenApi {
|
|
|
2007
2013
|
[key: string]: string;
|
|
2008
2014
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListExternalServicesResponse>;
|
|
2009
2015
|
/**
|
|
2010
|
-
* Retrieves
|
|
2016
|
+
* Retrieves external service information for a gateway.
|
|
2011
2017
|
*
|
|
2012
2018
|
* @remarks
|
|
2013
2019
|
* This operation supports creating multiple services.
|
|
@@ -2373,6 +2379,24 @@ export default class Client extends OpenApi {
|
|
|
2373
2379
|
* @returns ListPluginRepositoriesResponse
|
|
2374
2380
|
*/
|
|
2375
2381
|
listPluginRepositories(request: $_model.ListPluginRepositoriesRequest): Promise<$_model.ListPluginRepositoriesResponse>;
|
|
2382
|
+
/**
|
|
2383
|
+
* 获取用户插件webide工作空间列表
|
|
2384
|
+
*
|
|
2385
|
+
* @param request - ListPluginWorkspaceRequest
|
|
2386
|
+
* @param headers - map
|
|
2387
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2388
|
+
* @returns ListPluginWorkspaceResponse
|
|
2389
|
+
*/
|
|
2390
|
+
listPluginWorkspaceWithOptions(request: $_model.ListPluginWorkspaceRequest, headers: {
|
|
2391
|
+
[key: string]: string;
|
|
2392
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListPluginWorkspaceResponse>;
|
|
2393
|
+
/**
|
|
2394
|
+
* 获取用户插件webide工作空间列表
|
|
2395
|
+
*
|
|
2396
|
+
* @param request - ListPluginWorkspaceRequest
|
|
2397
|
+
* @returns ListPluginWorkspaceResponse
|
|
2398
|
+
*/
|
|
2399
|
+
listPluginWorkspace(request: $_model.ListPluginWorkspaceRequest): Promise<$_model.ListPluginWorkspaceResponse>;
|
|
2376
2400
|
/**
|
|
2377
2401
|
* Retrieves a list of plugins.
|
|
2378
2402
|
*
|
|
@@ -2427,6 +2451,24 @@ export default class Client extends OpenApi {
|
|
|
2427
2451
|
* @returns ListPolicyClassesResponse
|
|
2428
2452
|
*/
|
|
2429
2453
|
listPolicyClasses(request: $_model.ListPolicyClassesRequest): Promise<$_model.ListPolicyClassesResponse>;
|
|
2454
|
+
/**
|
|
2455
|
+
* 查询风险检测结果
|
|
2456
|
+
*
|
|
2457
|
+
* @param request - ListRiskCheckResultsRequest
|
|
2458
|
+
* @param headers - map
|
|
2459
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2460
|
+
* @returns ListRiskCheckResultsResponse
|
|
2461
|
+
*/
|
|
2462
|
+
listRiskCheckResultsWithOptions(gatewayId: string, request: $_model.ListRiskCheckResultsRequest, headers: {
|
|
2463
|
+
[key: string]: string;
|
|
2464
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListRiskCheckResultsResponse>;
|
|
2465
|
+
/**
|
|
2466
|
+
* 查询风险检测结果
|
|
2467
|
+
*
|
|
2468
|
+
* @param request - ListRiskCheckResultsRequest
|
|
2469
|
+
* @returns ListRiskCheckResultsResponse
|
|
2470
|
+
*/
|
|
2471
|
+
listRiskCheckResults(gatewayId: string, request: $_model.ListRiskCheckResultsRequest): Promise<$_model.ListRiskCheckResultsResponse>;
|
|
2430
2472
|
/**
|
|
2431
2473
|
* Lists secret references.
|
|
2432
2474
|
*
|
|
@@ -2493,6 +2535,24 @@ export default class Client extends OpenApi {
|
|
|
2493
2535
|
* @returns ListServicesResponse
|
|
2494
2536
|
*/
|
|
2495
2537
|
listServices(request: $_model.ListServicesRequest): Promise<$_model.ListServicesResponse>;
|
|
2538
|
+
/**
|
|
2539
|
+
* Queries sources.
|
|
2540
|
+
*
|
|
2541
|
+
* @param request - ListSourcesRequest
|
|
2542
|
+
* @param headers - map
|
|
2543
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2544
|
+
* @returns ListSourcesResponse
|
|
2545
|
+
*/
|
|
2546
|
+
listSourcesWithOptions(request: $_model.ListSourcesRequest, headers: {
|
|
2547
|
+
[key: string]: string;
|
|
2548
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListSourcesResponse>;
|
|
2549
|
+
/**
|
|
2550
|
+
* Queries sources.
|
|
2551
|
+
*
|
|
2552
|
+
* @param request - ListSourcesRequest
|
|
2553
|
+
* @returns ListSourcesResponse
|
|
2554
|
+
*/
|
|
2555
|
+
listSources(request: $_model.ListSourcesRequest): Promise<$_model.ListSourcesResponse>;
|
|
2496
2556
|
/**
|
|
2497
2557
|
* Retrieves a list of certificates.
|
|
2498
2558
|
*
|
|
@@ -2511,6 +2571,24 @@ export default class Client extends OpenApi {
|
|
|
2511
2571
|
* @returns ListSslCertsResponse
|
|
2512
2572
|
*/
|
|
2513
2573
|
listSslCerts(request: $_model.ListSslCertsRequest): Promise<$_model.ListSslCertsResponse>;
|
|
2574
|
+
/**
|
|
2575
|
+
* 查询已同步的MCP Server列表
|
|
2576
|
+
*
|
|
2577
|
+
* @param request - ListSyncMCPServerRequest
|
|
2578
|
+
* @param headers - map
|
|
2579
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2580
|
+
* @returns ListSyncMCPServerResponse
|
|
2581
|
+
*/
|
|
2582
|
+
listSyncMCPServerWithOptions(request: $_model.ListSyncMCPServerRequest, headers: {
|
|
2583
|
+
[key: string]: string;
|
|
2584
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListSyncMCPServerResponse>;
|
|
2585
|
+
/**
|
|
2586
|
+
* 查询已同步的MCP Server列表
|
|
2587
|
+
*
|
|
2588
|
+
* @param request - ListSyncMCPServerRequest
|
|
2589
|
+
* @returns ListSyncMCPServerResponse
|
|
2590
|
+
*/
|
|
2591
|
+
listSyncMCPServer(request: $_model.ListSyncMCPServerRequest): Promise<$_model.ListSyncMCPServerResponse>;
|
|
2514
2592
|
/**
|
|
2515
2593
|
* Retrieves the list of resource labels.
|
|
2516
2594
|
*
|
|
@@ -2565,6 +2643,24 @@ export default class Client extends OpenApi {
|
|
|
2565
2643
|
* @returns QueryConsumerAuthorizationRulesResponse
|
|
2566
2644
|
*/
|
|
2567
2645
|
queryConsumerAuthorizationRules(request: $_model.QueryConsumerAuthorizationRulesRequest): Promise<$_model.QueryConsumerAuthorizationRulesResponse>;
|
|
2646
|
+
/**
|
|
2647
|
+
* 刷新插件托管仓库的oauth code
|
|
2648
|
+
*
|
|
2649
|
+
* @param request - RefreshPluginOAuthCodeRequest
|
|
2650
|
+
* @param headers - map
|
|
2651
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2652
|
+
* @returns RefreshPluginOAuthCodeResponse
|
|
2653
|
+
*/
|
|
2654
|
+
refreshPluginOAuthCodeWithOptions(request: $_model.RefreshPluginOAuthCodeRequest, headers: {
|
|
2655
|
+
[key: string]: string;
|
|
2656
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.RefreshPluginOAuthCodeResponse>;
|
|
2657
|
+
/**
|
|
2658
|
+
* 刷新插件托管仓库的oauth code
|
|
2659
|
+
*
|
|
2660
|
+
* @param request - RefreshPluginOAuthCodeRequest
|
|
2661
|
+
* @returns RefreshPluginOAuthCodeResponse
|
|
2662
|
+
*/
|
|
2663
|
+
refreshPluginOAuthCode(request: $_model.RefreshPluginOAuthCodeRequest): Promise<$_model.RefreshPluginOAuthCodeResponse>;
|
|
2568
2664
|
/**
|
|
2569
2665
|
* Deletes an API consumer authorization rule.
|
|
2570
2666
|
*
|
|
@@ -2584,15 +2680,15 @@ export default class Client extends OpenApi {
|
|
|
2584
2680
|
* Resets a quota throttling rule on a gateway.
|
|
2585
2681
|
*
|
|
2586
2682
|
* @remarks
|
|
2587
|
-
* Resets a quota throttling rule on a gateway. This operation takes effect
|
|
2683
|
+
* Resets a quota throttling rule on a gateway. This operation only takes effect for AI gateways with versions later than 2.1.19. Resetting clears the historical usage of consumers on the rule.
|
|
2588
2684
|
* >
|
|
2589
|
-
* > Recommended call
|
|
2685
|
+
* > Recommended call logic:
|
|
2590
2686
|
* > - 1. Perform a dry run to check for rule conflicts.
|
|
2591
|
-
* > - - Set dryRun
|
|
2687
|
+
* > - - Set dryRun=true.
|
|
2592
2688
|
* > - - The response contains a conflict preview with conflictHash.
|
|
2593
2689
|
* > - 2. Submit the request after confirmation.
|
|
2594
|
-
* > - - No
|
|
2595
|
-
* > - -
|
|
2690
|
+
* > - - No conflict: dryRun=false, overwrite=false.
|
|
2691
|
+
* > - - Conflict exists and overwrite confirmed: dryRun=false, overwrite=true, conflictHash=<value returned in the previous step>
|
|
2596
2692
|
*
|
|
2597
2693
|
* @param request - ResetGatewayQuotaRuleRequest
|
|
2598
2694
|
* @param headers - map
|
|
@@ -2606,15 +2702,15 @@ export default class Client extends OpenApi {
|
|
|
2606
2702
|
* Resets a quota throttling rule on a gateway.
|
|
2607
2703
|
*
|
|
2608
2704
|
* @remarks
|
|
2609
|
-
* Resets a quota throttling rule on a gateway. This operation takes effect
|
|
2705
|
+
* Resets a quota throttling rule on a gateway. This operation only takes effect for AI gateways with versions later than 2.1.19. Resetting clears the historical usage of consumers on the rule.
|
|
2610
2706
|
* >
|
|
2611
|
-
* > Recommended call
|
|
2707
|
+
* > Recommended call logic:
|
|
2612
2708
|
* > - 1. Perform a dry run to check for rule conflicts.
|
|
2613
|
-
* > - - Set dryRun
|
|
2709
|
+
* > - - Set dryRun=true.
|
|
2614
2710
|
* > - - The response contains a conflict preview with conflictHash.
|
|
2615
2711
|
* > - 2. Submit the request after confirmation.
|
|
2616
|
-
* > - - No
|
|
2617
|
-
* > - -
|
|
2712
|
+
* > - - No conflict: dryRun=false, overwrite=false.
|
|
2713
|
+
* > - - Conflict exists and overwrite confirmed: dryRun=false, overwrite=true, conflictHash=<value returned in the previous step>
|
|
2618
2714
|
*
|
|
2619
2715
|
* @param request - ResetGatewayQuotaRuleRequest
|
|
2620
2716
|
* @returns ResetGatewayQuotaRuleResponse
|
|
@@ -2635,6 +2731,24 @@ export default class Client extends OpenApi {
|
|
|
2635
2731
|
* @returns RestartGatewayResponse
|
|
2636
2732
|
*/
|
|
2637
2733
|
restartGateway(gatewayId: string): Promise<$_model.RestartGatewayResponse>;
|
|
2734
|
+
/**
|
|
2735
|
+
* 插件工作空间运行流水线
|
|
2736
|
+
*
|
|
2737
|
+
* @param request - RunPluginPipelineRequest
|
|
2738
|
+
* @param headers - map
|
|
2739
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2740
|
+
* @returns RunPluginPipelineResponse
|
|
2741
|
+
*/
|
|
2742
|
+
runPluginPipelineWithOptions(workspaceId: string, request: $_model.RunPluginPipelineRequest, headers: {
|
|
2743
|
+
[key: string]: string;
|
|
2744
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.RunPluginPipelineResponse>;
|
|
2745
|
+
/**
|
|
2746
|
+
* 插件工作空间运行流水线
|
|
2747
|
+
*
|
|
2748
|
+
* @param request - RunPluginPipelineRequest
|
|
2749
|
+
* @returns RunPluginPipelineResponse
|
|
2750
|
+
*/
|
|
2751
|
+
runPluginPipeline(workspaceId: string, request: $_model.RunPluginPipelineRequest): Promise<$_model.RunPluginPipelineResponse>;
|
|
2638
2752
|
/**
|
|
2639
2753
|
* Syncs an external MCP server.
|
|
2640
2754
|
*
|
|
@@ -2791,6 +2905,24 @@ export default class Client extends OpenApi {
|
|
|
2791
2905
|
* @returns UpdateAndAttachPolicyResponse
|
|
2792
2906
|
*/
|
|
2793
2907
|
updateAndAttachPolicy(policyId: string, request: $_model.UpdateAndAttachPolicyRequest): Promise<$_model.UpdateAndAttachPolicyResponse>;
|
|
2908
|
+
/**
|
|
2909
|
+
* 更新消费者授权规则
|
|
2910
|
+
*
|
|
2911
|
+
* @param request - UpdateAuthorizationRuleRequest
|
|
2912
|
+
* @param headers - map
|
|
2913
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2914
|
+
* @returns UpdateAuthorizationRuleResponse
|
|
2915
|
+
*/
|
|
2916
|
+
updateAuthorizationRuleWithOptions(consumerAuthorizationRuleId: string, request: $_model.UpdateAuthorizationRuleRequest, headers: {
|
|
2917
|
+
[key: string]: string;
|
|
2918
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateAuthorizationRuleResponse>;
|
|
2919
|
+
/**
|
|
2920
|
+
* 更新消费者授权规则
|
|
2921
|
+
*
|
|
2922
|
+
* @param request - UpdateAuthorizationRuleRequest
|
|
2923
|
+
* @returns UpdateAuthorizationRuleResponse
|
|
2924
|
+
*/
|
|
2925
|
+
updateAuthorizationRule(consumerAuthorizationRuleId: string, request: $_model.UpdateAuthorizationRuleRequest): Promise<$_model.UpdateAuthorizationRuleResponse>;
|
|
2794
2926
|
/**
|
|
2795
2927
|
* Updates a consumer.
|
|
2796
2928
|
*
|
|
@@ -2897,6 +3029,24 @@ export default class Client extends OpenApi {
|
|
|
2897
3029
|
* @returns UpdateEnvironmentResponse
|
|
2898
3030
|
*/
|
|
2899
3031
|
updateEnvironment(environmentId: string, request: $_model.UpdateEnvironmentRequest): Promise<$_model.UpdateEnvironmentResponse>;
|
|
3032
|
+
/**
|
|
3033
|
+
* 更新网关弹性策略
|
|
3034
|
+
*
|
|
3035
|
+
* @param request - UpdateGatewayElasticPolicyRequest
|
|
3036
|
+
* @param headers - map
|
|
3037
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3038
|
+
* @returns UpdateGatewayElasticPolicyResponse
|
|
3039
|
+
*/
|
|
3040
|
+
updateGatewayElasticPolicyWithOptions(gatewayId: string, request: $_model.UpdateGatewayElasticPolicyRequest, headers: {
|
|
3041
|
+
[key: string]: string;
|
|
3042
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateGatewayElasticPolicyResponse>;
|
|
3043
|
+
/**
|
|
3044
|
+
* 更新网关弹性策略
|
|
3045
|
+
*
|
|
3046
|
+
* @param request - UpdateGatewayElasticPolicyRequest
|
|
3047
|
+
* @returns UpdateGatewayElasticPolicyResponse
|
|
3048
|
+
*/
|
|
3049
|
+
updateGatewayElasticPolicy(gatewayId: string, request: $_model.UpdateGatewayElasticPolicyRequest): Promise<$_model.UpdateGatewayElasticPolicyResponse>;
|
|
2900
3050
|
/**
|
|
2901
3051
|
* Updates the attribute parameters of a gateway.
|
|
2902
3052
|
*
|
|
@@ -2915,6 +3065,24 @@ export default class Client extends OpenApi {
|
|
|
2915
3065
|
* @returns UpdateGatewayFeatureResponse
|
|
2916
3066
|
*/
|
|
2917
3067
|
updateGatewayFeature(gatewayId: string, name: string, request: $_model.UpdateGatewayFeatureRequest): Promise<$_model.UpdateGatewayFeatureResponse>;
|
|
3068
|
+
/**
|
|
3069
|
+
* 更新网关负载均衡器
|
|
3070
|
+
*
|
|
3071
|
+
* @param request - UpdateGatewayLoadBalancerRequest
|
|
3072
|
+
* @param headers - map
|
|
3073
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3074
|
+
* @returns UpdateGatewayLoadBalancerResponse
|
|
3075
|
+
*/
|
|
3076
|
+
updateGatewayLoadBalancerWithOptions(gatewayId: string, request: $_model.UpdateGatewayLoadBalancerRequest, headers: {
|
|
3077
|
+
[key: string]: string;
|
|
3078
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateGatewayLoadBalancerResponse>;
|
|
3079
|
+
/**
|
|
3080
|
+
* 更新网关负载均衡器
|
|
3081
|
+
*
|
|
3082
|
+
* @param request - UpdateGatewayLoadBalancerRequest
|
|
3083
|
+
* @returns UpdateGatewayLoadBalancerResponse
|
|
3084
|
+
*/
|
|
3085
|
+
updateGatewayLoadBalancer(gatewayId: string, request: $_model.UpdateGatewayLoadBalancerRequest): Promise<$_model.UpdateGatewayLoadBalancerResponse>;
|
|
2918
3086
|
/**
|
|
2919
3087
|
* 修改网关运维时间
|
|
2920
3088
|
*
|
|
@@ -2956,17 +3124,17 @@ export default class Client extends OpenApi {
|
|
|
2956
3124
|
*/
|
|
2957
3125
|
updateGatewayName(gatewayId: string, request: $_model.UpdateGatewayNameRequest): Promise<$_model.UpdateGatewayNameResponse>;
|
|
2958
3126
|
/**
|
|
2959
|
-
* Edits a quota
|
|
3127
|
+
* Edits a quota rate-limiting rule on a gateway.
|
|
2960
3128
|
*
|
|
2961
3129
|
* @remarks
|
|
2962
|
-
* Edits a quota rule on a gateway. This operation takes effect only
|
|
3130
|
+
* Edits a quota rule on a gateway. This operation takes effect only for AI gateways with a version later than 2.1.19. Editing preserves the historical usage of consumers on the rule.
|
|
2963
3131
|
* > Recommended call logic:
|
|
2964
|
-
* > -
|
|
3132
|
+
* > - 1. Perform a dry run to check for rule conflicts.
|
|
2965
3133
|
* > - - Set dryRun to true.
|
|
2966
3134
|
* > - - The response contains a conflict preview with conflictHash.
|
|
2967
|
-
* > -
|
|
2968
|
-
* > - - No
|
|
2969
|
-
* > - -
|
|
3135
|
+
* > - 2. Submit the request after confirmation.
|
|
3136
|
+
* > - - No conflict: Set dryRun to false and overwrite to false.
|
|
3137
|
+
* > - - Conflict exists and overwrite confirmed: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
|
|
2970
3138
|
*
|
|
2971
3139
|
* @param request - UpdateGatewayQuotaRuleRequest
|
|
2972
3140
|
* @param headers - map
|
|
@@ -2977,17 +3145,17 @@ export default class Client extends OpenApi {
|
|
|
2977
3145
|
[key: string]: string;
|
|
2978
3146
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateGatewayQuotaRuleResponse>;
|
|
2979
3147
|
/**
|
|
2980
|
-
* Edits a quota
|
|
3148
|
+
* Edits a quota rate-limiting rule on a gateway.
|
|
2981
3149
|
*
|
|
2982
3150
|
* @remarks
|
|
2983
|
-
* Edits a quota rule on a gateway. This operation takes effect only
|
|
3151
|
+
* Edits a quota rule on a gateway. This operation takes effect only for AI gateways with a version later than 2.1.19. Editing preserves the historical usage of consumers on the rule.
|
|
2984
3152
|
* > Recommended call logic:
|
|
2985
|
-
* > -
|
|
3153
|
+
* > - 1. Perform a dry run to check for rule conflicts.
|
|
2986
3154
|
* > - - Set dryRun to true.
|
|
2987
3155
|
* > - - The response contains a conflict preview with conflictHash.
|
|
2988
|
-
* > -
|
|
2989
|
-
* > - - No
|
|
2990
|
-
* > - -
|
|
3156
|
+
* > - 2. Submit the request after confirmation.
|
|
3157
|
+
* > - - No conflict: Set dryRun to false and overwrite to false.
|
|
3158
|
+
* > - - Conflict exists and overwrite confirmed: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
|
|
2991
3159
|
*
|
|
2992
3160
|
* @param request - UpdateGatewayQuotaRuleRequest
|
|
2993
3161
|
* @returns UpdateGatewayQuotaRuleResponse
|