@alicloud/apig20240327 11.1.0 → 11.3.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 +228 -36
- package/dist/client.js +511 -36
- package/dist/client.js.map +1 -1
- package/dist/models/AddGatewayQuotaRuleRequest.d.ts +26 -17
- package/dist/models/AddGatewayQuotaRuleRequest.js +2 -0
- package/dist/models/AddGatewayQuotaRuleRequest.js.map +1 -1
- package/dist/models/AddGatewayQuotaRuleResponseBody.d.ts +36 -7
- 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/GetDashboardRequest.d.ts +5 -5
- package/dist/models/GetDashboardResponseBody.d.ts +2 -2
- package/dist/models/GetDashboardShrinkRequest.d.ts +5 -5
- package/dist/models/GetGatewayQuotaRuleRequest.d.ts +8 -3
- package/dist/models/GetGatewayQuotaRuleRequest.js +2 -0
- package/dist/models/GetGatewayQuotaRuleRequest.js.map +1 -1
- package/dist/models/GetGatewayQuotaRuleResponseBody.d.ts +63 -6
- package/dist/models/GetGatewayQuotaRuleResponseBody.js +33 -1
- package/dist/models/GetGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.d.ts +3 -3
- package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.d.ts +27 -1
- 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 +39 -36
- package/dist/models/HttpRoute.js.map +1 -1
- package/dist/models/ListConsumerGroupQuotaRulesRequest.d.ts +33 -0
- package/dist/models/ListConsumerGroupQuotaRulesRequest.js +64 -0
- package/dist/models/ListConsumerGroupQuotaRulesRequest.js.map +1 -0
- package/dist/models/ListConsumerGroupQuotaRulesResponse.d.ts +19 -0
- package/dist/models/ListConsumerGroupQuotaRulesResponse.js +69 -0
- package/dist/models/ListConsumerGroupQuotaRulesResponse.js.map +1 -0
- package/dist/models/ListConsumerGroupQuotaRulesResponseBody.d.ts +132 -0
- package/dist/models/ListConsumerGroupQuotaRulesResponseBody.js +134 -0
- package/dist/models/ListConsumerGroupQuotaRulesResponseBody.js.map +1 -0
- 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 +6 -6
- package/dist/models/ResetGatewayQuotaRuleResponseBody.d.ts +40 -14
- 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 +7 -7
- package/dist/models/UpdateGatewayQuotaRuleResponseBody.d.ts +35 -11
- package/dist/models/UpdateGatewayQuotaRuleResponseBody.js +6 -0
- package/dist/models/UpdateGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +49 -0
- package/dist/models/model.js +119 -20
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +556 -36
- package/src/models/AddGatewayQuotaRuleRequest.ts +28 -17
- package/src/models/AddGatewayQuotaRuleResponseBody.ts +42 -7
- 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/GetDashboardRequest.ts +5 -5
- package/src/models/GetDashboardResponseBody.ts +2 -2
- package/src/models/GetDashboardShrinkRequest.ts +5 -5
- package/src/models/GetGatewayQuotaRuleRequest.ts +10 -3
- package/src/models/GetGatewayQuotaRuleResponseBody.ts +86 -6
- package/src/models/GetGatewayQuotaRuleSubjectUsageRequest.ts +3 -3
- package/src/models/GetGatewayQuotaRuleSubjectUsageResponseBody.ts +33 -1
- package/src/models/HttpApiApiInfo.ts +32 -55
- package/src/models/HttpApiApiInfoDeployCntMapValue.ts +1 -1
- package/src/models/HttpRoute.ts +39 -36
- package/src/models/ListConsumerGroupQuotaRulesRequest.ts +52 -0
- package/src/models/ListConsumerGroupQuotaRulesResponse.ts +40 -0
- package/src/models/ListConsumerGroupQuotaRulesResponseBody.ts +203 -0
- 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 +6 -6
- package/src/models/ResetGatewayQuotaRuleResponseBody.ts +46 -14
- 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 +7 -7
- package/src/models/UpdateGatewayQuotaRuleResponseBody.ts +41 -11
- package/src/models/model.ts +49 -0
package/dist/client.d.ts
CHANGED
|
@@ -12,12 +12,12 @@ 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 takes effect only on AI gateways of version 2.1.
|
|
15
|
+
* Creates a consumer-based or consumer group-based quota rule for an AI gateway. This operation takes effect only on AI gateways of version 2.1.21 or later.
|
|
16
16
|
* >
|
|
17
17
|
* > Recommended call sequence:
|
|
18
18
|
* > - Step 1: Perform a dry run to check for rule conflicts.
|
|
19
19
|
* > - - Set dryRun to true.
|
|
20
|
-
* > - - The response
|
|
20
|
+
* > - - The response returns a conflict preview that contains the conflictHash value.
|
|
21
21
|
* > - Step 2: Submit the request after confirmation.
|
|
22
22
|
* > - - No conflicts: Set dryRun to false and overwrite to false.
|
|
23
23
|
* > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
|
|
@@ -34,12 +34,12 @@ 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 takes effect only on AI gateways of version 2.1.
|
|
37
|
+
* Creates a consumer-based or consumer group-based quota rule for an AI gateway. This operation takes effect only on AI gateways of version 2.1.21 or later.
|
|
38
38
|
* >
|
|
39
39
|
* > Recommended call sequence:
|
|
40
40
|
* > - Step 1: Perform a dry run to check for rule conflicts.
|
|
41
41
|
* > - - Set dryRun to true.
|
|
42
|
-
* > - - The response
|
|
42
|
+
* > - - The response returns a conflict preview that contains the conflictHash value.
|
|
43
43
|
* > - Step 2: Submit the request after confirmation.
|
|
44
44
|
* > - - No conflicts: Set dryRun to false and overwrite to false.
|
|
45
45
|
* > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
|
|
@@ -837,7 +837,7 @@ export default class Client extends OpenApi {
|
|
|
837
837
|
* Deletes a quota throttling rule from a gateway.
|
|
838
838
|
*
|
|
839
839
|
* @remarks
|
|
840
|
-
*
|
|
840
|
+
* This operation deletes a consumer-based or consumer group-based quota rule from an AI gateway. This operation takes effect only on AI gateways of version 2.1.19 or later.
|
|
841
841
|
*
|
|
842
842
|
* @param request - DeleteGatewayQuotaRuleRequest
|
|
843
843
|
* @param headers - map
|
|
@@ -851,7 +851,7 @@ export default class Client extends OpenApi {
|
|
|
851
851
|
* Deletes a quota throttling rule from a gateway.
|
|
852
852
|
*
|
|
853
853
|
* @remarks
|
|
854
|
-
*
|
|
854
|
+
* This operation deletes a consumer-based or consumer group-based quota rule from an AI gateway. This operation takes effect only on AI gateways of version 2.1.19 or later.
|
|
855
855
|
*
|
|
856
856
|
* @param request - DeleteGatewayQuotaRuleRequest
|
|
857
857
|
* @returns DeleteGatewayQuotaRuleResponse
|
|
@@ -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>;
|
|
@@ -1384,10 +1390,10 @@ export default class Client extends OpenApi {
|
|
|
1384
1390
|
*/
|
|
1385
1391
|
getGatewayElasticPolicy(gatewayId: string, request: $_model.GetGatewayElasticPolicyRequest): Promise<$_model.GetGatewayElasticPolicyResponse>;
|
|
1386
1392
|
/**
|
|
1387
|
-
* Queries the details of a gateway quota
|
|
1393
|
+
* Queries the details of a gateway quota throttling rule.
|
|
1388
1394
|
*
|
|
1389
1395
|
* @remarks
|
|
1390
|
-
* Queries
|
|
1396
|
+
* Queries a specific API consumer quota rule on an AI gateway.
|
|
1391
1397
|
*
|
|
1392
1398
|
* @param request - GetGatewayQuotaRuleRequest
|
|
1393
1399
|
* @param headers - map
|
|
@@ -1398,10 +1404,10 @@ export default class Client extends OpenApi {
|
|
|
1398
1404
|
[key: string]: string;
|
|
1399
1405
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetGatewayQuotaRuleResponse>;
|
|
1400
1406
|
/**
|
|
1401
|
-
* Queries the details of a gateway quota
|
|
1407
|
+
* Queries the details of a gateway quota throttling rule.
|
|
1402
1408
|
*
|
|
1403
1409
|
* @remarks
|
|
1404
|
-
* Queries
|
|
1410
|
+
* Queries a specific API consumer quota rule on an AI gateway.
|
|
1405
1411
|
*
|
|
1406
1412
|
* @param request - GetGatewayQuotaRuleRequest
|
|
1407
1413
|
* @returns GetGatewayQuotaRuleResponse
|
|
@@ -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
|
+
* Queries the usage details of a specific subject 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
|
+
* Queries the usage details of a specific subject 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
|
|
@@ -1898,6 +1904,30 @@ export default class Client extends OpenApi {
|
|
|
1898
1904
|
* @returns ListConsumerGroupConsumersResponse
|
|
1899
1905
|
*/
|
|
1900
1906
|
listConsumerGroupConsumers(consumerGroupId: string, request: $_model.ListConsumerGroupConsumersRequest): Promise<$_model.ListConsumerGroupConsumersResponse>;
|
|
1907
|
+
/**
|
|
1908
|
+
* 查询消费者组配额限流规则列表
|
|
1909
|
+
*
|
|
1910
|
+
* @remarks
|
|
1911
|
+
* 查询指定消费者组直接绑定的配额规则,不展开组内消费者个人绑定的规则;无直接绑定关系时返回空列表。
|
|
1912
|
+
*
|
|
1913
|
+
* @param request - ListConsumerGroupQuotaRulesRequest
|
|
1914
|
+
* @param headers - map
|
|
1915
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1916
|
+
* @returns ListConsumerGroupQuotaRulesResponse
|
|
1917
|
+
*/
|
|
1918
|
+
listConsumerGroupQuotaRulesWithOptions(consumerGroupId: string, request: $_model.ListConsumerGroupQuotaRulesRequest, headers: {
|
|
1919
|
+
[key: string]: string;
|
|
1920
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListConsumerGroupQuotaRulesResponse>;
|
|
1921
|
+
/**
|
|
1922
|
+
* 查询消费者组配额限流规则列表
|
|
1923
|
+
*
|
|
1924
|
+
* @remarks
|
|
1925
|
+
* 查询指定消费者组直接绑定的配额规则,不展开组内消费者个人绑定的规则;无直接绑定关系时返回空列表。
|
|
1926
|
+
*
|
|
1927
|
+
* @param request - ListConsumerGroupQuotaRulesRequest
|
|
1928
|
+
* @returns ListConsumerGroupQuotaRulesResponse
|
|
1929
|
+
*/
|
|
1930
|
+
listConsumerGroupQuotaRules(consumerGroupId: string, request: $_model.ListConsumerGroupQuotaRulesRequest): Promise<$_model.ListConsumerGroupQuotaRulesResponse>;
|
|
1901
1931
|
/**
|
|
1902
1932
|
* Queries the list of consumer groups.
|
|
1903
1933
|
*
|
|
@@ -1993,7 +2023,7 @@ export default class Client extends OpenApi {
|
|
|
1993
2023
|
*/
|
|
1994
2024
|
listEnvironments(request: $_model.ListEnvironmentsRequest): Promise<$_model.ListEnvironmentsResponse>;
|
|
1995
2025
|
/**
|
|
1996
|
-
* Retrieves
|
|
2026
|
+
* Retrieves external service information for a gateway.
|
|
1997
2027
|
*
|
|
1998
2028
|
* @remarks
|
|
1999
2029
|
* This operation supports creating multiple services.
|
|
@@ -2007,7 +2037,7 @@ export default class Client extends OpenApi {
|
|
|
2007
2037
|
[key: string]: string;
|
|
2008
2038
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListExternalServicesResponse>;
|
|
2009
2039
|
/**
|
|
2010
|
-
* Retrieves
|
|
2040
|
+
* Retrieves external service information for a gateway.
|
|
2011
2041
|
*
|
|
2012
2042
|
* @remarks
|
|
2013
2043
|
* This operation supports creating multiple services.
|
|
@@ -2104,10 +2134,10 @@ export default class Client extends OpenApi {
|
|
|
2104
2134
|
*/
|
|
2105
2135
|
listGatewayLoadBalancers(gatewayId: string, request: $_model.ListGatewayLoadBalancersRequest): Promise<$_model.ListGatewayLoadBalancersResponse>;
|
|
2106
2136
|
/**
|
|
2107
|
-
* Queries the list of
|
|
2137
|
+
* Queries the list of FinOps quota rules bound to a gateway.
|
|
2108
2138
|
*
|
|
2109
2139
|
* @remarks
|
|
2110
|
-
* Queries the list of
|
|
2140
|
+
* Queries the list of FinOps quota rules bound to a gateway.
|
|
2111
2141
|
*
|
|
2112
2142
|
* @param request - ListGatewayQuotaRulesRequest
|
|
2113
2143
|
* @param headers - map
|
|
@@ -2118,10 +2148,10 @@ export default class Client extends OpenApi {
|
|
|
2118
2148
|
[key: string]: string;
|
|
2119
2149
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListGatewayQuotaRulesResponse>;
|
|
2120
2150
|
/**
|
|
2121
|
-
* Queries the list of
|
|
2151
|
+
* Queries the list of FinOps quota rules bound to a gateway.
|
|
2122
2152
|
*
|
|
2123
2153
|
* @remarks
|
|
2124
|
-
* Queries the list of
|
|
2154
|
+
* Queries the list of FinOps quota rules bound to a gateway.
|
|
2125
2155
|
*
|
|
2126
2156
|
* @param request - ListGatewayQuotaRulesRequest
|
|
2127
2157
|
* @returns ListGatewayQuotaRulesResponse
|
|
@@ -2373,6 +2403,24 @@ export default class Client extends OpenApi {
|
|
|
2373
2403
|
* @returns ListPluginRepositoriesResponse
|
|
2374
2404
|
*/
|
|
2375
2405
|
listPluginRepositories(request: $_model.ListPluginRepositoriesRequest): Promise<$_model.ListPluginRepositoriesResponse>;
|
|
2406
|
+
/**
|
|
2407
|
+
* 获取用户插件webide工作空间列表
|
|
2408
|
+
*
|
|
2409
|
+
* @param request - ListPluginWorkspaceRequest
|
|
2410
|
+
* @param headers - map
|
|
2411
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2412
|
+
* @returns ListPluginWorkspaceResponse
|
|
2413
|
+
*/
|
|
2414
|
+
listPluginWorkspaceWithOptions(request: $_model.ListPluginWorkspaceRequest, headers: {
|
|
2415
|
+
[key: string]: string;
|
|
2416
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListPluginWorkspaceResponse>;
|
|
2417
|
+
/**
|
|
2418
|
+
* 获取用户插件webide工作空间列表
|
|
2419
|
+
*
|
|
2420
|
+
* @param request - ListPluginWorkspaceRequest
|
|
2421
|
+
* @returns ListPluginWorkspaceResponse
|
|
2422
|
+
*/
|
|
2423
|
+
listPluginWorkspace(request: $_model.ListPluginWorkspaceRequest): Promise<$_model.ListPluginWorkspaceResponse>;
|
|
2376
2424
|
/**
|
|
2377
2425
|
* Retrieves a list of plugins.
|
|
2378
2426
|
*
|
|
@@ -2427,6 +2475,24 @@ export default class Client extends OpenApi {
|
|
|
2427
2475
|
* @returns ListPolicyClassesResponse
|
|
2428
2476
|
*/
|
|
2429
2477
|
listPolicyClasses(request: $_model.ListPolicyClassesRequest): Promise<$_model.ListPolicyClassesResponse>;
|
|
2478
|
+
/**
|
|
2479
|
+
* 查询风险检测结果
|
|
2480
|
+
*
|
|
2481
|
+
* @param request - ListRiskCheckResultsRequest
|
|
2482
|
+
* @param headers - map
|
|
2483
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2484
|
+
* @returns ListRiskCheckResultsResponse
|
|
2485
|
+
*/
|
|
2486
|
+
listRiskCheckResultsWithOptions(gatewayId: string, request: $_model.ListRiskCheckResultsRequest, headers: {
|
|
2487
|
+
[key: string]: string;
|
|
2488
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListRiskCheckResultsResponse>;
|
|
2489
|
+
/**
|
|
2490
|
+
* 查询风险检测结果
|
|
2491
|
+
*
|
|
2492
|
+
* @param request - ListRiskCheckResultsRequest
|
|
2493
|
+
* @returns ListRiskCheckResultsResponse
|
|
2494
|
+
*/
|
|
2495
|
+
listRiskCheckResults(gatewayId: string, request: $_model.ListRiskCheckResultsRequest): Promise<$_model.ListRiskCheckResultsResponse>;
|
|
2430
2496
|
/**
|
|
2431
2497
|
* Lists secret references.
|
|
2432
2498
|
*
|
|
@@ -2493,6 +2559,24 @@ export default class Client extends OpenApi {
|
|
|
2493
2559
|
* @returns ListServicesResponse
|
|
2494
2560
|
*/
|
|
2495
2561
|
listServices(request: $_model.ListServicesRequest): Promise<$_model.ListServicesResponse>;
|
|
2562
|
+
/**
|
|
2563
|
+
* Queries sources.
|
|
2564
|
+
*
|
|
2565
|
+
* @param request - ListSourcesRequest
|
|
2566
|
+
* @param headers - map
|
|
2567
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2568
|
+
* @returns ListSourcesResponse
|
|
2569
|
+
*/
|
|
2570
|
+
listSourcesWithOptions(request: $_model.ListSourcesRequest, headers: {
|
|
2571
|
+
[key: string]: string;
|
|
2572
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListSourcesResponse>;
|
|
2573
|
+
/**
|
|
2574
|
+
* Queries sources.
|
|
2575
|
+
*
|
|
2576
|
+
* @param request - ListSourcesRequest
|
|
2577
|
+
* @returns ListSourcesResponse
|
|
2578
|
+
*/
|
|
2579
|
+
listSources(request: $_model.ListSourcesRequest): Promise<$_model.ListSourcesResponse>;
|
|
2496
2580
|
/**
|
|
2497
2581
|
* Retrieves a list of certificates.
|
|
2498
2582
|
*
|
|
@@ -2511,6 +2595,24 @@ export default class Client extends OpenApi {
|
|
|
2511
2595
|
* @returns ListSslCertsResponse
|
|
2512
2596
|
*/
|
|
2513
2597
|
listSslCerts(request: $_model.ListSslCertsRequest): Promise<$_model.ListSslCertsResponse>;
|
|
2598
|
+
/**
|
|
2599
|
+
* 查询已同步的MCP Server列表
|
|
2600
|
+
*
|
|
2601
|
+
* @param request - ListSyncMCPServerRequest
|
|
2602
|
+
* @param headers - map
|
|
2603
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2604
|
+
* @returns ListSyncMCPServerResponse
|
|
2605
|
+
*/
|
|
2606
|
+
listSyncMCPServerWithOptions(request: $_model.ListSyncMCPServerRequest, headers: {
|
|
2607
|
+
[key: string]: string;
|
|
2608
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListSyncMCPServerResponse>;
|
|
2609
|
+
/**
|
|
2610
|
+
* 查询已同步的MCP Server列表
|
|
2611
|
+
*
|
|
2612
|
+
* @param request - ListSyncMCPServerRequest
|
|
2613
|
+
* @returns ListSyncMCPServerResponse
|
|
2614
|
+
*/
|
|
2615
|
+
listSyncMCPServer(request: $_model.ListSyncMCPServerRequest): Promise<$_model.ListSyncMCPServerResponse>;
|
|
2514
2616
|
/**
|
|
2515
2617
|
* Retrieves the list of resource labels.
|
|
2516
2618
|
*
|
|
@@ -2565,6 +2667,24 @@ export default class Client extends OpenApi {
|
|
|
2565
2667
|
* @returns QueryConsumerAuthorizationRulesResponse
|
|
2566
2668
|
*/
|
|
2567
2669
|
queryConsumerAuthorizationRules(request: $_model.QueryConsumerAuthorizationRulesRequest): Promise<$_model.QueryConsumerAuthorizationRulesResponse>;
|
|
2670
|
+
/**
|
|
2671
|
+
* 刷新插件托管仓库的oauth code
|
|
2672
|
+
*
|
|
2673
|
+
* @param request - RefreshPluginOAuthCodeRequest
|
|
2674
|
+
* @param headers - map
|
|
2675
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2676
|
+
* @returns RefreshPluginOAuthCodeResponse
|
|
2677
|
+
*/
|
|
2678
|
+
refreshPluginOAuthCodeWithOptions(request: $_model.RefreshPluginOAuthCodeRequest, headers: {
|
|
2679
|
+
[key: string]: string;
|
|
2680
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.RefreshPluginOAuthCodeResponse>;
|
|
2681
|
+
/**
|
|
2682
|
+
* 刷新插件托管仓库的oauth code
|
|
2683
|
+
*
|
|
2684
|
+
* @param request - RefreshPluginOAuthCodeRequest
|
|
2685
|
+
* @returns RefreshPluginOAuthCodeResponse
|
|
2686
|
+
*/
|
|
2687
|
+
refreshPluginOAuthCode(request: $_model.RefreshPluginOAuthCodeRequest): Promise<$_model.RefreshPluginOAuthCodeResponse>;
|
|
2568
2688
|
/**
|
|
2569
2689
|
* Deletes an API consumer authorization rule.
|
|
2570
2690
|
*
|
|
@@ -2584,13 +2704,13 @@ export default class Client extends OpenApi {
|
|
|
2584
2704
|
* Resets a quota throttling rule on a gateway.
|
|
2585
2705
|
*
|
|
2586
2706
|
* @remarks
|
|
2587
|
-
* Resets a quota throttling rule on a gateway. This operation takes effect only on AI gateways
|
|
2707
|
+
* Resets a quota throttling rule on a gateway. This operation takes effect only on AI gateways of version 2.1.21 or later. Resetting clears the historical usage of consumption subjects on the rule.
|
|
2588
2708
|
* >
|
|
2589
|
-
* > Recommended call
|
|
2709
|
+
* > Recommended call logic:
|
|
2590
2710
|
* > - 1. Perform a dry run to check for rule conflicts.
|
|
2591
2711
|
* > - - Set dryRun to true.
|
|
2592
|
-
* > - - The response contains a conflict preview with conflictHash.
|
|
2593
|
-
* > - 2.
|
|
2712
|
+
* > - - The response contains a conflict preview with a conflictHash value.
|
|
2713
|
+
* > - 2. Confirm and submit the request.
|
|
2594
2714
|
* > - - No conflicts: Set dryRun to false and overwrite to false.
|
|
2595
2715
|
* > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
|
|
2596
2716
|
*
|
|
@@ -2606,13 +2726,13 @@ export default class Client extends OpenApi {
|
|
|
2606
2726
|
* Resets a quota throttling rule on a gateway.
|
|
2607
2727
|
*
|
|
2608
2728
|
* @remarks
|
|
2609
|
-
* Resets a quota throttling rule on a gateway. This operation takes effect only on AI gateways
|
|
2729
|
+
* Resets a quota throttling rule on a gateway. This operation takes effect only on AI gateways of version 2.1.21 or later. Resetting clears the historical usage of consumption subjects on the rule.
|
|
2610
2730
|
* >
|
|
2611
|
-
* > Recommended call
|
|
2731
|
+
* > Recommended call logic:
|
|
2612
2732
|
* > - 1. Perform a dry run to check for rule conflicts.
|
|
2613
2733
|
* > - - Set dryRun to true.
|
|
2614
|
-
* > - - The response contains a conflict preview with conflictHash.
|
|
2615
|
-
* > - 2.
|
|
2734
|
+
* > - - The response contains a conflict preview with a conflictHash value.
|
|
2735
|
+
* > - 2. Confirm and submit the request.
|
|
2616
2736
|
* > - - No conflicts: Set dryRun to false and overwrite to false.
|
|
2617
2737
|
* > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
|
|
2618
2738
|
*
|
|
@@ -2635,6 +2755,24 @@ export default class Client extends OpenApi {
|
|
|
2635
2755
|
* @returns RestartGatewayResponse
|
|
2636
2756
|
*/
|
|
2637
2757
|
restartGateway(gatewayId: string): Promise<$_model.RestartGatewayResponse>;
|
|
2758
|
+
/**
|
|
2759
|
+
* 插件工作空间运行流水线
|
|
2760
|
+
*
|
|
2761
|
+
* @param request - RunPluginPipelineRequest
|
|
2762
|
+
* @param headers - map
|
|
2763
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2764
|
+
* @returns RunPluginPipelineResponse
|
|
2765
|
+
*/
|
|
2766
|
+
runPluginPipelineWithOptions(workspaceId: string, request: $_model.RunPluginPipelineRequest, headers: {
|
|
2767
|
+
[key: string]: string;
|
|
2768
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.RunPluginPipelineResponse>;
|
|
2769
|
+
/**
|
|
2770
|
+
* 插件工作空间运行流水线
|
|
2771
|
+
*
|
|
2772
|
+
* @param request - RunPluginPipelineRequest
|
|
2773
|
+
* @returns RunPluginPipelineResponse
|
|
2774
|
+
*/
|
|
2775
|
+
runPluginPipeline(workspaceId: string, request: $_model.RunPluginPipelineRequest): Promise<$_model.RunPluginPipelineResponse>;
|
|
2638
2776
|
/**
|
|
2639
2777
|
* Syncs an external MCP server.
|
|
2640
2778
|
*
|
|
@@ -2791,6 +2929,24 @@ export default class Client extends OpenApi {
|
|
|
2791
2929
|
* @returns UpdateAndAttachPolicyResponse
|
|
2792
2930
|
*/
|
|
2793
2931
|
updateAndAttachPolicy(policyId: string, request: $_model.UpdateAndAttachPolicyRequest): Promise<$_model.UpdateAndAttachPolicyResponse>;
|
|
2932
|
+
/**
|
|
2933
|
+
* 更新消费者授权规则
|
|
2934
|
+
*
|
|
2935
|
+
* @param request - UpdateAuthorizationRuleRequest
|
|
2936
|
+
* @param headers - map
|
|
2937
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2938
|
+
* @returns UpdateAuthorizationRuleResponse
|
|
2939
|
+
*/
|
|
2940
|
+
updateAuthorizationRuleWithOptions(consumerAuthorizationRuleId: string, request: $_model.UpdateAuthorizationRuleRequest, headers: {
|
|
2941
|
+
[key: string]: string;
|
|
2942
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateAuthorizationRuleResponse>;
|
|
2943
|
+
/**
|
|
2944
|
+
* 更新消费者授权规则
|
|
2945
|
+
*
|
|
2946
|
+
* @param request - UpdateAuthorizationRuleRequest
|
|
2947
|
+
* @returns UpdateAuthorizationRuleResponse
|
|
2948
|
+
*/
|
|
2949
|
+
updateAuthorizationRule(consumerAuthorizationRuleId: string, request: $_model.UpdateAuthorizationRuleRequest): Promise<$_model.UpdateAuthorizationRuleResponse>;
|
|
2794
2950
|
/**
|
|
2795
2951
|
* Updates a consumer.
|
|
2796
2952
|
*
|
|
@@ -2897,6 +3053,24 @@ export default class Client extends OpenApi {
|
|
|
2897
3053
|
* @returns UpdateEnvironmentResponse
|
|
2898
3054
|
*/
|
|
2899
3055
|
updateEnvironment(environmentId: string, request: $_model.UpdateEnvironmentRequest): Promise<$_model.UpdateEnvironmentResponse>;
|
|
3056
|
+
/**
|
|
3057
|
+
* 更新网关弹性策略
|
|
3058
|
+
*
|
|
3059
|
+
* @param request - UpdateGatewayElasticPolicyRequest
|
|
3060
|
+
* @param headers - map
|
|
3061
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3062
|
+
* @returns UpdateGatewayElasticPolicyResponse
|
|
3063
|
+
*/
|
|
3064
|
+
updateGatewayElasticPolicyWithOptions(gatewayId: string, request: $_model.UpdateGatewayElasticPolicyRequest, headers: {
|
|
3065
|
+
[key: string]: string;
|
|
3066
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateGatewayElasticPolicyResponse>;
|
|
3067
|
+
/**
|
|
3068
|
+
* 更新网关弹性策略
|
|
3069
|
+
*
|
|
3070
|
+
* @param request - UpdateGatewayElasticPolicyRequest
|
|
3071
|
+
* @returns UpdateGatewayElasticPolicyResponse
|
|
3072
|
+
*/
|
|
3073
|
+
updateGatewayElasticPolicy(gatewayId: string, request: $_model.UpdateGatewayElasticPolicyRequest): Promise<$_model.UpdateGatewayElasticPolicyResponse>;
|
|
2900
3074
|
/**
|
|
2901
3075
|
* Updates the attribute parameters of a gateway.
|
|
2902
3076
|
*
|
|
@@ -2915,6 +3089,24 @@ export default class Client extends OpenApi {
|
|
|
2915
3089
|
* @returns UpdateGatewayFeatureResponse
|
|
2916
3090
|
*/
|
|
2917
3091
|
updateGatewayFeature(gatewayId: string, name: string, request: $_model.UpdateGatewayFeatureRequest): Promise<$_model.UpdateGatewayFeatureResponse>;
|
|
3092
|
+
/**
|
|
3093
|
+
* 更新网关负载均衡器
|
|
3094
|
+
*
|
|
3095
|
+
* @param request - UpdateGatewayLoadBalancerRequest
|
|
3096
|
+
* @param headers - map
|
|
3097
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3098
|
+
* @returns UpdateGatewayLoadBalancerResponse
|
|
3099
|
+
*/
|
|
3100
|
+
updateGatewayLoadBalancerWithOptions(gatewayId: string, request: $_model.UpdateGatewayLoadBalancerRequest, headers: {
|
|
3101
|
+
[key: string]: string;
|
|
3102
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateGatewayLoadBalancerResponse>;
|
|
3103
|
+
/**
|
|
3104
|
+
* 更新网关负载均衡器
|
|
3105
|
+
*
|
|
3106
|
+
* @param request - UpdateGatewayLoadBalancerRequest
|
|
3107
|
+
* @returns UpdateGatewayLoadBalancerResponse
|
|
3108
|
+
*/
|
|
3109
|
+
updateGatewayLoadBalancer(gatewayId: string, request: $_model.UpdateGatewayLoadBalancerRequest): Promise<$_model.UpdateGatewayLoadBalancerResponse>;
|
|
2918
3110
|
/**
|
|
2919
3111
|
* 修改网关运维时间
|
|
2920
3112
|
*
|
|
@@ -2959,12 +3151,12 @@ export default class Client extends OpenApi {
|
|
|
2959
3151
|
* Edits a quota throttling rule on a gateway.
|
|
2960
3152
|
*
|
|
2961
3153
|
* @remarks
|
|
2962
|
-
* Edits a quota rule on a gateway. This operation takes effect only on AI gateways with a version later than 2.1.
|
|
2963
|
-
* > Recommended call
|
|
3154
|
+
* Edits a quota rule on a gateway. This operation takes effect only on AI gateways with a version later than 2.1.21. Editing a rule preserves the historical usage of consumer principals bound to the rule.
|
|
3155
|
+
* > Recommended call sequence:
|
|
2964
3156
|
* > - Step 1: Perform a dry run to check for rule conflicts.
|
|
2965
3157
|
* > - - Set dryRun to true.
|
|
2966
|
-
* > - - The response
|
|
2967
|
-
* > - Step 2:
|
|
3158
|
+
* > - - The response returns a conflict preview that contains conflictHash.
|
|
3159
|
+
* > - Step 2: Confirm and submit the request.
|
|
2968
3160
|
* > - - No conflicts: Set dryRun to false and overwrite to false.
|
|
2969
3161
|
* > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
|
|
2970
3162
|
*
|
|
@@ -2980,12 +3172,12 @@ export default class Client extends OpenApi {
|
|
|
2980
3172
|
* Edits a quota throttling rule on a gateway.
|
|
2981
3173
|
*
|
|
2982
3174
|
* @remarks
|
|
2983
|
-
* Edits a quota rule on a gateway. This operation takes effect only on AI gateways with a version later than 2.1.
|
|
2984
|
-
* > Recommended call
|
|
3175
|
+
* Edits a quota rule on a gateway. This operation takes effect only on AI gateways with a version later than 2.1.21. Editing a rule preserves the historical usage of consumer principals bound to the rule.
|
|
3176
|
+
* > Recommended call sequence:
|
|
2985
3177
|
* > - Step 1: Perform a dry run to check for rule conflicts.
|
|
2986
3178
|
* > - - Set dryRun to true.
|
|
2987
|
-
* > - - The response
|
|
2988
|
-
* > - Step 2:
|
|
3179
|
+
* > - - The response returns a conflict preview that contains conflictHash.
|
|
3180
|
+
* > - Step 2: Confirm and submit the request.
|
|
2989
3181
|
* > - - No conflicts: Set dryRun to false and overwrite to false.
|
|
2990
3182
|
* > - - Conflicts exist and you confirm the overwrite: Set dryRun to false, overwrite to true, and conflictHash to the value returned in the previous step.
|
|
2991
3183
|
*
|
|
@@ -2997,7 +3189,7 @@ export default class Client extends OpenApi {
|
|
|
2997
3189
|
* Enables or disables a quota throttling rule for a gateway.
|
|
2998
3190
|
*
|
|
2999
3191
|
* @remarks
|
|
3000
|
-
* Enables or disables a quota rule on a gateway. This operation takes effect only
|
|
3192
|
+
* Enables or disables a quota rule on a gateway. This operation takes effect only on AI gateways with a version later than 2.1.21.
|
|
3001
3193
|
*
|
|
3002
3194
|
* @param request - UpdateGatewayQuotaRuleStatusRequest
|
|
3003
3195
|
* @param headers - map
|
|
@@ -3011,7 +3203,7 @@ export default class Client extends OpenApi {
|
|
|
3011
3203
|
* Enables or disables a quota throttling rule for a gateway.
|
|
3012
3204
|
*
|
|
3013
3205
|
* @remarks
|
|
3014
|
-
* Enables or disables a quota rule on a gateway. This operation takes effect only
|
|
3206
|
+
* Enables or disables a quota rule on a gateway. This operation takes effect only on AI gateways with a version later than 2.1.21.
|
|
3015
3207
|
*
|
|
3016
3208
|
* @param request - UpdateGatewayQuotaRuleStatusRequest
|
|
3017
3209
|
* @returns UpdateGatewayQuotaRuleStatusResponse
|