@alicloud/apig20240327 11.9.0 → 11.9.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 +148 -94
- package/dist/client.js +187 -94
- package/dist/client.js.map +1 -1
- package/dist/models/AiStatisticsConfig.d.ts +8 -8
- package/dist/models/AuthorizeConsumerModelCardGrantsRequest.d.ts +3 -3
- package/dist/models/AuthorizeConsumerModelCardGrantsResponseBody.d.ts +7 -7
- package/dist/models/CreateAiModelSourceModelRequest.d.ts +11 -11
- package/dist/models/CreateAiModelSourceModelResponseBody.d.ts +19 -19
- package/dist/models/CreateAiModelSourceResponseBody.d.ts +2 -2
- package/dist/models/CreateConsumerGroupRequest.d.ts +2 -2
- package/dist/models/CreateConsumerGroupResponseBody.d.ts +1 -1
- package/dist/models/CreateConsumerRequest.d.ts +13 -5
- package/dist/models/CreateConsumerRequest.js +2 -0
- package/dist/models/CreateConsumerRequest.js.map +1 -1
- package/dist/models/CreateGatewayQuotaRuleSubjectUsageExportTaskRequest.d.ts +12 -12
- package/dist/models/CreateGatewayQuotaRuleSubjectUsageExportTaskResponseBody.d.ts +4 -4
- package/dist/models/CreateHttpApiRouteRequest.d.ts +27 -17
- package/dist/models/CreateHttpApiRouteRequest.js +2 -0
- package/dist/models/CreateHttpApiRouteRequest.js.map +1 -1
- package/dist/models/CreateHttpApiRouteResponseBody.d.ts +2 -2
- package/dist/models/CreateLogicalModelRequest.d.ts +10 -10
- package/dist/models/CreateLogicalModelResponseBody.d.ts +24 -24
- package/dist/models/CreateMcpServerRequest.d.ts +24 -17
- package/dist/models/CreateMcpServerRequest.js +2 -0
- package/dist/models/CreateMcpServerRequest.js.map +1 -1
- package/dist/models/CreateModelApiRequest.d.ts +10 -10
- package/dist/models/CreateModelApiResponseBody.d.ts +2 -2
- package/dist/models/CreateModelGroupRequest.d.ts +3 -3
- package/dist/models/CreateModelGroupResponseBody.d.ts +7 -7
- package/dist/models/CreatePolicyAttachmentRequest.d.ts +1 -1
- package/dist/models/CreateSecretRequest.d.ts +4 -4
- package/dist/models/CreateSecretResponseBody.d.ts +1 -1
- package/dist/models/DeleteAiModelSourceModelResponseBody.d.ts +1 -1
- package/dist/models/DeleteAiModelSourceResponseBody.d.ts +2 -2
- package/dist/models/DeleteLogicalModelRequest.d.ts +1 -1
- package/dist/models/DeleteModelApiRequest.d.ts +2 -2
- package/dist/models/DeleteModelGroupRequest.d.ts +2 -0
- package/dist/models/DeleteModelGroupRequest.js.map +1 -1
- package/dist/models/DeleteModelGroupResponseBody.d.ts +9 -0
- package/dist/models/DeleteModelGroupResponseBody.js.map +1 -1
- package/dist/models/GetAiModelSourceEditImpactResponseBody.d.ts +51 -0
- package/dist/models/GetAiModelSourceEditImpactResponseBody.js.map +1 -1
- package/dist/models/GetAiModelSourceModelResponseBody.d.ts +20 -20
- package/dist/models/GetAiModelSourceResponseBody.d.ts +6 -6
- package/dist/models/GetConsumerAccessOverviewResponseBody.d.ts +34 -34
- package/dist/models/GetConsumerResponseBody.d.ts +26 -10
- package/dist/models/GetConsumerResponseBody.js +4 -0
- package/dist/models/GetConsumerResponseBody.js.map +1 -1
- package/dist/models/GetDeveloperResponseBody.d.ts +3 -3
- package/dist/models/GetDirectSupplyRequest.d.ts +1 -1
- package/dist/models/GetDirectSupplyResponseBody.d.ts +2 -2
- package/dist/models/GetGatewayDfpExtProcServiceResponseBody.d.ts +1 -1
- package/dist/models/GetGatewayQuotaRuleSubjectUsageExportTaskResponseBody.d.ts +23 -24
- package/dist/models/GetGatewayQuotaRuleSubjectUsageExportTaskResponseBody.js.map +1 -1
- package/dist/models/GetLogicalModelDeploymentResponseBody.d.ts +48 -1
- package/dist/models/GetLogicalModelDeploymentResponseBody.js.map +1 -1
- package/dist/models/GetLogicalModelResponseBody.d.ts +118 -0
- package/dist/models/GetLogicalModelResponseBody.js.map +1 -1
- package/dist/models/GetMcpServerResponseBody.d.ts +26 -14
- package/dist/models/GetMcpServerResponseBody.js +2 -0
- package/dist/models/GetMcpServerResponseBody.js.map +1 -1
- package/dist/models/GetModelApiResponseBody.d.ts +13 -0
- package/dist/models/GetModelApiResponseBody.js.map +1 -1
- package/dist/models/GetModelGroupResponseBody.d.ts +66 -2
- package/dist/models/GetModelGroupResponseBody.js.map +1 -1
- package/dist/models/HttpApiApiInfo.d.ts +14 -14
- package/dist/models/HttpApiApiInfoDeployCntMapValue.d.ts +1 -1
- package/dist/models/HttpRoute.d.ts +6 -6
- package/dist/models/ListAiModelSourceModelsRequest.d.ts +13 -0
- package/dist/models/ListAiModelSourceModelsRequest.js.map +1 -1
- package/dist/models/ListAiModelSourceModelsResponseBody.d.ts +113 -1
- package/dist/models/ListAiModelSourceModelsResponseBody.js.map +1 -1
- package/dist/models/ListAiModelSourcesRequest.d.ts +3 -3
- package/dist/models/ListAiModelSourcesResponseBody.d.ts +5 -5
- package/dist/models/ListConsumerConsoleSummariesRequest.d.ts +5 -5
- package/dist/models/ListConsumerConsoleSummariesResponseBody.d.ts +14 -14
- package/dist/models/ListConsumerGroupsRequest.d.ts +1 -1
- package/dist/models/ListConsumerGroupsResponseBody.d.ts +4 -4
- package/dist/models/ListConsumerModelCardGrantsRequest.d.ts +3 -3
- package/dist/models/ListConsumerModelCardGrantsResponseBody.d.ts +4 -4
- package/dist/models/ListConsumersRequest.d.ts +26 -2
- package/dist/models/ListConsumersRequest.js +6 -0
- package/dist/models/ListConsumersRequest.js.map +1 -1
- package/dist/models/ListConsumersResponseBody.d.ts +51 -2
- package/dist/models/ListConsumersResponseBody.js +31 -1
- package/dist/models/ListConsumersResponseBody.js.map +1 -1
- package/dist/models/ListHttpApiRoutesRequest.d.ts +14 -12
- package/dist/models/ListHttpApiRoutesRequest.js.map +1 -1
- package/dist/models/ListHttpApiRoutesResponseBody.d.ts +1 -1
- package/dist/models/ListLogicalModelsRequest.d.ts +3 -3
- package/dist/models/ListLogicalModelsResponseBody.d.ts +21 -21
- package/dist/models/ListMcpServersRequest.d.ts +3 -3
- package/dist/models/ListMcpServersResponseBody.d.ts +25 -17
- package/dist/models/ListMcpServersResponseBody.js +2 -0
- package/dist/models/ListMcpServersResponseBody.js.map +1 -1
- package/dist/models/ListModelApisRequest.d.ts +2 -2
- package/dist/models/ListModelApisResponseBody.d.ts +2 -2
- package/dist/models/ListModelGroupsRequest.d.ts +10 -0
- package/dist/models/ListModelGroupsRequest.js.map +1 -1
- package/dist/models/ListModelGroupsResponseBody.d.ts +79 -2
- package/dist/models/ListModelGroupsResponseBody.js.map +1 -1
- package/dist/models/ListPrivateLinkSecurityGroupsRequest.d.ts +3 -3
- package/dist/models/ListPrivateLinkSecurityGroupsResponseBody.d.ts +4 -5
- package/dist/models/ListPrivateLinkSecurityGroupsResponseBody.js.map +1 -1
- package/dist/models/ModelSelectionDelta.d.ts +23 -0
- package/dist/models/ModelSelectionDelta.js +66 -0
- package/dist/models/ModelSelectionDelta.js.map +1 -0
- package/dist/models/PreviewLogicalModelUpdateRequest.d.ts +35 -0
- package/dist/models/PreviewLogicalModelUpdateRequest.js.map +1 -1
- package/dist/models/PreviewLogicalModelUpdateResponseBody.d.ts +42 -0
- package/dist/models/PreviewLogicalModelUpdateResponseBody.js.map +1 -1
- package/dist/models/RetryLogicalModelDeploymentResponseBody.d.ts +5 -5
- package/dist/models/RevealServiceCredentialResponseBody.d.ts +16 -16
- package/dist/models/RevokeConsumerModelCardGrantsRequest.d.ts +6 -4
- package/dist/models/RevokeConsumerModelCardGrantsRequest.js.map +1 -1
- package/dist/models/RevokeConsumerModelCardGrantsResponseBody.d.ts +14 -10
- package/dist/models/RevokeConsumerModelCardGrantsResponseBody.js.map +1 -1
- package/dist/models/RiskCheckResults.d.ts +14 -22
- package/dist/models/RiskCheckResults.js.map +1 -1
- package/dist/models/SyncMcpserversRequest.d.ts +8 -8
- package/dist/models/SyncMcpserversResponseBody.d.ts +5 -5
- package/dist/models/UpdateAiModelSourceModelRequest.d.ts +4 -4
- package/dist/models/UpdateAiModelSourceModelResponseBody.d.ts +11 -11
- package/dist/models/UpdateAiModelSourceRequest.d.ts +1 -1
- package/dist/models/UpdateAiModelSourceResponseBody.d.ts +3 -3
- package/dist/models/UpdateConsumerAuthorizationRuleRequest.d.ts +1 -1
- package/dist/models/UpdateConsumerRequest.d.ts +33 -1
- package/dist/models/UpdateConsumerRequest.js +8 -0
- package/dist/models/UpdateConsumerRequest.js.map +1 -1
- package/dist/models/UpdateConsumerResponseBody.d.ts +1 -1
- package/dist/models/UpdateHttpApiRouteRequest.d.ts +18 -8
- package/dist/models/UpdateHttpApiRouteRequest.js +2 -0
- package/dist/models/UpdateHttpApiRouteRequest.js.map +1 -1
- package/dist/models/UpdateLogicalModelRequest.d.ts +40 -0
- package/dist/models/UpdateLogicalModelRequest.js.map +1 -1
- package/dist/models/UpdateLogicalModelResponseBody.d.ts +118 -0
- package/dist/models/UpdateLogicalModelResponseBody.js.map +1 -1
- package/dist/models/UpdateMcpServerRequest.d.ts +22 -15
- package/dist/models/UpdateMcpServerRequest.js +2 -0
- package/dist/models/UpdateMcpServerRequest.js.map +1 -1
- package/dist/models/UpdateModelApiRequest.d.ts +18 -9
- package/dist/models/UpdateModelApiRequest.js +6 -0
- package/dist/models/UpdateModelApiRequest.js.map +1 -1
- package/dist/models/UpdateModelApiResponseBody.d.ts +1 -1
- package/dist/models/UpdateModelGroupRequest.d.ts +4 -4
- package/dist/models/UpdateModelGroupResponseBody.d.ts +15 -15
- package/dist/models/UpdateSecretResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +31 -27
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +200 -94
- package/src/models/AiStatisticsConfig.ts +8 -8
- package/src/models/AuthorizeConsumerModelCardGrantsRequest.ts +3 -3
- package/src/models/AuthorizeConsumerModelCardGrantsResponseBody.ts +7 -7
- package/src/models/CreateAiModelSourceModelRequest.ts +11 -11
- package/src/models/CreateAiModelSourceModelResponseBody.ts +19 -19
- package/src/models/CreateAiModelSourceResponseBody.ts +2 -2
- package/src/models/CreateConsumerGroupRequest.ts +2 -2
- package/src/models/CreateConsumerGroupResponseBody.ts +1 -1
- package/src/models/CreateConsumerRequest.ts +15 -5
- package/src/models/CreateGatewayQuotaRuleSubjectUsageExportTaskRequest.ts +12 -12
- package/src/models/CreateGatewayQuotaRuleSubjectUsageExportTaskResponseBody.ts +4 -4
- package/src/models/CreateHttpApiRouteRequest.ts +29 -17
- package/src/models/CreateHttpApiRouteResponseBody.ts +2 -2
- package/src/models/CreateLogicalModelRequest.ts +10 -10
- package/src/models/CreateLogicalModelResponseBody.ts +24 -24
- package/src/models/CreateMcpServerRequest.ts +26 -17
- package/src/models/CreateModelApiRequest.ts +10 -10
- package/src/models/CreateModelApiResponseBody.ts +2 -2
- package/src/models/CreateModelGroupRequest.ts +3 -3
- package/src/models/CreateModelGroupResponseBody.ts +7 -7
- package/src/models/CreatePolicyAttachmentRequest.ts +1 -1
- package/src/models/CreateSecretRequest.ts +4 -4
- package/src/models/CreateSecretResponseBody.ts +1 -1
- package/src/models/DeleteAiModelSourceModelResponseBody.ts +1 -1
- package/src/models/DeleteAiModelSourceResponseBody.ts +2 -2
- package/src/models/DeleteLogicalModelRequest.ts +1 -1
- package/src/models/DeleteModelApiRequest.ts +2 -2
- package/src/models/DeleteModelGroupRequest.ts +2 -0
- package/src/models/DeleteModelGroupResponseBody.ts +9 -0
- package/src/models/GetAiModelSourceEditImpactResponseBody.ts +51 -0
- package/src/models/GetAiModelSourceModelResponseBody.ts +20 -20
- package/src/models/GetAiModelSourceResponseBody.ts +6 -6
- package/src/models/GetConsumerAccessOverviewResponseBody.ts +34 -34
- package/src/models/GetConsumerResponseBody.ts +30 -10
- package/src/models/GetDeveloperResponseBody.ts +3 -3
- package/src/models/GetDirectSupplyRequest.ts +1 -1
- package/src/models/GetDirectSupplyResponseBody.ts +2 -2
- package/src/models/GetGatewayDfpExtProcServiceResponseBody.ts +1 -1
- package/src/models/GetGatewayQuotaRuleSubjectUsageExportTaskResponseBody.ts +23 -24
- package/src/models/GetLogicalModelDeploymentResponseBody.ts +48 -1
- package/src/models/GetLogicalModelResponseBody.ts +118 -0
- package/src/models/GetMcpServerResponseBody.ts +28 -14
- package/src/models/GetModelApiResponseBody.ts +13 -0
- package/src/models/GetModelGroupResponseBody.ts +66 -2
- package/src/models/HttpApiApiInfo.ts +14 -14
- package/src/models/HttpApiApiInfoDeployCntMapValue.ts +1 -1
- package/src/models/HttpRoute.ts +6 -6
- package/src/models/ListAiModelSourceModelsRequest.ts +13 -0
- package/src/models/ListAiModelSourceModelsResponseBody.ts +113 -1
- package/src/models/ListAiModelSourcesRequest.ts +3 -3
- package/src/models/ListAiModelSourcesResponseBody.ts +5 -5
- package/src/models/ListConsumerConsoleSummariesRequest.ts +5 -5
- package/src/models/ListConsumerConsoleSummariesResponseBody.ts +14 -14
- package/src/models/ListConsumerGroupsRequest.ts +1 -1
- package/src/models/ListConsumerGroupsResponseBody.ts +4 -4
- package/src/models/ListConsumerModelCardGrantsRequest.ts +3 -3
- package/src/models/ListConsumerModelCardGrantsResponseBody.ts +4 -4
- package/src/models/ListConsumersRequest.ts +32 -2
- package/src/models/ListConsumersResponseBody.ts +72 -2
- package/src/models/ListHttpApiRoutesRequest.ts +14 -12
- package/src/models/ListHttpApiRoutesResponseBody.ts +1 -1
- package/src/models/ListLogicalModelsRequest.ts +3 -3
- package/src/models/ListLogicalModelsResponseBody.ts +21 -21
- package/src/models/ListMcpServersRequest.ts +3 -3
- package/src/models/ListMcpServersResponseBody.ts +27 -17
- package/src/models/ListModelApisRequest.ts +2 -2
- package/src/models/ListModelApisResponseBody.ts +2 -2
- package/src/models/ListModelGroupsRequest.ts +10 -0
- package/src/models/ListModelGroupsResponseBody.ts +79 -2
- package/src/models/ListPrivateLinkSecurityGroupsRequest.ts +3 -3
- package/src/models/ListPrivateLinkSecurityGroupsResponseBody.ts +4 -5
- package/src/models/ModelSelectionDelta.ts +44 -0
- package/src/models/PreviewLogicalModelUpdateRequest.ts +35 -0
- package/src/models/PreviewLogicalModelUpdateResponseBody.ts +42 -0
- package/src/models/RetryLogicalModelDeploymentResponseBody.ts +5 -5
- package/src/models/RevealServiceCredentialResponseBody.ts +16 -16
- package/src/models/RevokeConsumerModelCardGrantsRequest.ts +6 -4
- package/src/models/RevokeConsumerModelCardGrantsResponseBody.ts +14 -10
- package/src/models/RiskCheckResults.ts +14 -22
- package/src/models/SyncMcpserversRequest.ts +8 -8
- package/src/models/SyncMcpserversResponseBody.ts +5 -5
- package/src/models/UpdateAiModelSourceModelRequest.ts +4 -4
- package/src/models/UpdateAiModelSourceModelResponseBody.ts +11 -11
- package/src/models/UpdateAiModelSourceRequest.ts +1 -1
- package/src/models/UpdateAiModelSourceResponseBody.ts +3 -3
- package/src/models/UpdateConsumerAuthorizationRuleRequest.ts +1 -1
- package/src/models/UpdateConsumerRequest.ts +41 -1
- package/src/models/UpdateConsumerResponseBody.ts +1 -1
- package/src/models/UpdateHttpApiRouteRequest.ts +20 -8
- package/src/models/UpdateLogicalModelRequest.ts +40 -0
- package/src/models/UpdateLogicalModelResponseBody.ts +118 -0
- package/src/models/UpdateMcpServerRequest.ts +24 -15
- package/src/models/UpdateModelApiRequest.ts +23 -9
- package/src/models/UpdateModelApiResponseBody.ts +1 -1
- package/src/models/UpdateModelGroupRequest.ts +4 -4
- package/src/models/UpdateModelGroupResponseBody.ts +15 -15
- package/src/models/UpdateSecretResponseBody.ts +1 -1
- package/src/models/model.ts +2 -0
package/dist/client.d.ts
CHANGED
|
@@ -67,7 +67,7 @@ export default class Client extends OpenApi {
|
|
|
67
67
|
*/
|
|
68
68
|
addGatewaySecurityGroupRule(gatewayId: string, request: $_model.AddGatewaySecurityGroupRuleRequest): Promise<$_model.AddGatewaySecurityGroupRuleResponse>;
|
|
69
69
|
/**
|
|
70
|
-
* Grants model card
|
|
70
|
+
* Grants model card licenses to a consumer.
|
|
71
71
|
*
|
|
72
72
|
* @param request - AuthorizeConsumerModelCardGrantsRequest
|
|
73
73
|
* @param headers - map
|
|
@@ -78,7 +78,7 @@ export default class Client extends OpenApi {
|
|
|
78
78
|
[key: string]: string;
|
|
79
79
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.AuthorizeConsumerModelCardGrantsResponse>;
|
|
80
80
|
/**
|
|
81
|
-
* Grants model card
|
|
81
|
+
* Grants model card licenses to a consumer.
|
|
82
82
|
*
|
|
83
83
|
* @param request - AuthorizeConsumerModelCardGrantsRequest
|
|
84
84
|
* @returns AuthorizeConsumerModelCardGrantsResponse
|
|
@@ -289,7 +289,7 @@ export default class Client extends OpenApi {
|
|
|
289
289
|
*/
|
|
290
290
|
createAiModelSource(request: $_model.CreateAiModelSourceRequest): Promise<$_model.CreateAiModelSourceResponse>;
|
|
291
291
|
/**
|
|
292
|
-
* Creates an
|
|
292
|
+
* Creates an in-source AI model.
|
|
293
293
|
*
|
|
294
294
|
* @param request - CreateAiModelSourceModelRequest
|
|
295
295
|
* @param headers - map
|
|
@@ -300,7 +300,7 @@ export default class Client extends OpenApi {
|
|
|
300
300
|
[key: string]: string;
|
|
301
301
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAiModelSourceModelResponse>;
|
|
302
302
|
/**
|
|
303
|
-
* Creates an
|
|
303
|
+
* Creates an in-source AI model.
|
|
304
304
|
*
|
|
305
305
|
* @param request - CreateAiModelSourceModelRequest
|
|
306
306
|
* @returns CreateAiModelSourceModelResponse
|
|
@@ -514,18 +514,18 @@ export default class Client extends OpenApi {
|
|
|
514
514
|
* Creates an asynchronous export task for the consumption details of a single consumer or consumer group under a gateway quota rule.
|
|
515
515
|
*
|
|
516
516
|
* @remarks
|
|
517
|
-
* ##
|
|
518
|
-
* This operation creates an export task for the consumption details of a consumer or consumer group under a specified gateway quota rule. The exported content is
|
|
519
|
-
* 1. Call this operation to obtain the taskId. A new task returns Pending,
|
|
520
|
-
* 2.
|
|
517
|
+
* ## Call procedure
|
|
518
|
+
* This operation creates an export task for the consumption details of a consumer or consumer group under a specified gateway quota rule. The exported content is derived from gateway access logs.
|
|
519
|
+
* 1. Call this operation to obtain the taskId. A new task returns Pending, indicating that the task is submitted and the file is not yet generated.
|
|
520
|
+
* 2. Use the same gatewayId, ruleId, subjectId, and the returned taskId to call GetGatewayQuotaRuleSubjectUsageExportTask and poll the task status.
|
|
521
521
|
* 3. When the polled status is Success and the file has not expired, download the csv.gz file by using GetGatewayQuotaRuleSubjectUsageExportTask. If the status is Failed, troubleshoot the issue based on the errorMessage and recreate the task.
|
|
522
522
|
* ## Prerequisites and limits
|
|
523
523
|
* - When you create a task, the quota rule must exist, and the target subject must be bound to the rule. Use the consumer ID for consumer rules and the consumer group ID for consumer group rules.
|
|
524
524
|
* - The details within the valid export time range depend on the delivery of gateway access logs. Enable log delivery first and ensure that the logs for the required time period are queryable.
|
|
525
|
-
* - The time span for a single export cannot exceed one rule period. A single export can contain up to 100,000 details. If the background statistics exceed
|
|
526
|
-
* - If the same user already has a Pending or Running task for the same gateway, rule, and subject in the current region within the last 10 minutes, repeated creation is rejected. Creation is also rejected if the total number of export tasks created within the last 10 minutes that are still Pending or Running reaches
|
|
527
|
-
* - The processing timeout for a task is 10 minutes from creation. After
|
|
528
|
-
* - The export time range, metering dimension, and subject name are determined at creation
|
|
525
|
+
* - The time span for a single export cannot exceed one rule period. A single export can contain up to 100,000 details. If the background statistics exceed the limit, the task fails. Narrow the time range and try again.
|
|
526
|
+
* - If the same user already has a Pending or Running task for the same gateway, rule, and subject in the current region within the last 10 minutes, repeated creation is rejected. Creation is also rejected if the total number of export tasks created within the last 10 minutes that are still Pending or Running reaches 3. Wait for the existing tasks to complete. Idempotent retries with the same clientToken and identical parameters can reuse existing tasks.
|
|
527
|
+
* - The processing timeout for a task is 10 minutes from the time of creation. After the timeout, the task is processed as Failed. This is not a guarantee that the task will definitely complete successfully within this time limit.
|
|
528
|
+
* - The export time range, metering dimension, and subject name are determined at creation time, and subsequent queries do not recalculate these conditions. After the file is successfully generated, the download link can be obtained within 24 hours. The signed link generated for each query is valid for 10 minutes, subject to the actual query result.
|
|
529
529
|
*
|
|
530
530
|
* @param request - CreateGatewayQuotaRuleSubjectUsageExportTaskRequest
|
|
531
531
|
* @param headers - map
|
|
@@ -539,18 +539,18 @@ export default class Client extends OpenApi {
|
|
|
539
539
|
* Creates an asynchronous export task for the consumption details of a single consumer or consumer group under a gateway quota rule.
|
|
540
540
|
*
|
|
541
541
|
* @remarks
|
|
542
|
-
* ##
|
|
543
|
-
* This operation creates an export task for the consumption details of a consumer or consumer group under a specified gateway quota rule. The exported content is
|
|
544
|
-
* 1. Call this operation to obtain the taskId. A new task returns Pending,
|
|
545
|
-
* 2.
|
|
542
|
+
* ## Call procedure
|
|
543
|
+
* This operation creates an export task for the consumption details of a consumer or consumer group under a specified gateway quota rule. The exported content is derived from gateway access logs.
|
|
544
|
+
* 1. Call this operation to obtain the taskId. A new task returns Pending, indicating that the task is submitted and the file is not yet generated.
|
|
545
|
+
* 2. Use the same gatewayId, ruleId, subjectId, and the returned taskId to call GetGatewayQuotaRuleSubjectUsageExportTask and poll the task status.
|
|
546
546
|
* 3. When the polled status is Success and the file has not expired, download the csv.gz file by using GetGatewayQuotaRuleSubjectUsageExportTask. If the status is Failed, troubleshoot the issue based on the errorMessage and recreate the task.
|
|
547
547
|
* ## Prerequisites and limits
|
|
548
548
|
* - When you create a task, the quota rule must exist, and the target subject must be bound to the rule. Use the consumer ID for consumer rules and the consumer group ID for consumer group rules.
|
|
549
549
|
* - The details within the valid export time range depend on the delivery of gateway access logs. Enable log delivery first and ensure that the logs for the required time period are queryable.
|
|
550
|
-
* - The time span for a single export cannot exceed one rule period. A single export can contain up to 100,000 details. If the background statistics exceed
|
|
551
|
-
* - If the same user already has a Pending or Running task for the same gateway, rule, and subject in the current region within the last 10 minutes, repeated creation is rejected. Creation is also rejected if the total number of export tasks created within the last 10 minutes that are still Pending or Running reaches
|
|
552
|
-
* - The processing timeout for a task is 10 minutes from creation. After
|
|
553
|
-
* - The export time range, metering dimension, and subject name are determined at creation
|
|
550
|
+
* - The time span for a single export cannot exceed one rule period. A single export can contain up to 100,000 details. If the background statistics exceed the limit, the task fails. Narrow the time range and try again.
|
|
551
|
+
* - If the same user already has a Pending or Running task for the same gateway, rule, and subject in the current region within the last 10 minutes, repeated creation is rejected. Creation is also rejected if the total number of export tasks created within the last 10 minutes that are still Pending or Running reaches 3. Wait for the existing tasks to complete. Idempotent retries with the same clientToken and identical parameters can reuse existing tasks.
|
|
552
|
+
* - The processing timeout for a task is 10 minutes from the time of creation. After the timeout, the task is processed as Failed. This is not a guarantee that the task will definitely complete successfully within this time limit.
|
|
553
|
+
* - The export time range, metering dimension, and subject name are determined at creation time, and subsequent queries do not recalculate these conditions. After the file is successfully generated, the download link can be obtained within 24 hours. The signed link generated for each query is valid for 10 minutes, subject to the actual query result.
|
|
554
554
|
*
|
|
555
555
|
* @param request - CreateGatewayQuotaRuleSubjectUsageExportTaskRequest
|
|
556
556
|
* @returns CreateGatewayQuotaRuleSubjectUsageExportTaskResponse
|
|
@@ -655,6 +655,9 @@ export default class Client extends OpenApi {
|
|
|
655
655
|
/**
|
|
656
656
|
* Creates a Model Context Protocol (MCP) server.
|
|
657
657
|
*
|
|
658
|
+
* @remarks
|
|
659
|
+
* Only sources of the **Container Service** type are allowed to update Ingress listener configurations.
|
|
660
|
+
*
|
|
658
661
|
* @param request - CreateMcpServerRequest
|
|
659
662
|
* @param headers - map
|
|
660
663
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -666,6 +669,9 @@ export default class Client extends OpenApi {
|
|
|
666
669
|
/**
|
|
667
670
|
* Creates a Model Context Protocol (MCP) server.
|
|
668
671
|
*
|
|
672
|
+
* @remarks
|
|
673
|
+
* Only sources of the **Container Service** type are allowed to update Ingress listener configurations.
|
|
674
|
+
*
|
|
669
675
|
* @param request - CreateMcpServerRequest
|
|
670
676
|
* @returns CreateMcpServerResponse
|
|
671
677
|
*/
|
|
@@ -913,6 +919,13 @@ export default class Client extends OpenApi {
|
|
|
913
919
|
/**
|
|
914
920
|
* Generates a secret.
|
|
915
921
|
*
|
|
922
|
+
* @remarks
|
|
923
|
+
* ## Before you begin
|
|
924
|
+
* Before calling this operation, you must prepare the following resources in Key Management Service (KMS):
|
|
925
|
+
* - KMS instance: Create an instance in KMS and obtain the instance ID. Pass the instance ID as the kmsConfig.kmsInstanceId parameter.
|
|
926
|
+
* - KMS key: Create a key in the instance and obtain the key ID. Pass the key ID as the kmsConfig.kmsKeyId parameter.
|
|
927
|
+
* When calling this operation, you must set secretSource to KMS and pass the preceding two identifiers in kmsConfig. After the secret is created, you can call ListSecrets to query the list of secrets under your account.
|
|
928
|
+
*
|
|
916
929
|
* @param request - CreateSecretRequest
|
|
917
930
|
* @param headers - map
|
|
918
931
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -924,6 +937,13 @@ export default class Client extends OpenApi {
|
|
|
924
937
|
/**
|
|
925
938
|
* Generates a secret.
|
|
926
939
|
*
|
|
940
|
+
* @remarks
|
|
941
|
+
* ## Before you begin
|
|
942
|
+
* Before calling this operation, you must prepare the following resources in Key Management Service (KMS):
|
|
943
|
+
* - KMS instance: Create an instance in KMS and obtain the instance ID. Pass the instance ID as the kmsConfig.kmsInstanceId parameter.
|
|
944
|
+
* - KMS key: Create a key in the instance and obtain the key ID. Pass the key ID as the kmsConfig.kmsKeyId parameter.
|
|
945
|
+
* When calling this operation, you must set secretSource to KMS and pass the preceding two identifiers in kmsConfig. After the secret is created, you can call ListSecrets to query the list of secrets under your account.
|
|
946
|
+
*
|
|
927
947
|
* @param request - CreateSecretRequest
|
|
928
948
|
* @returns CreateSecretResponse
|
|
929
949
|
*/
|
|
@@ -1258,7 +1278,7 @@ export default class Client extends OpenApi {
|
|
|
1258
1278
|
*/
|
|
1259
1279
|
deleteHttpApiRoute(httpApiId: string, routeId: string): Promise<$_model.DeleteHttpApiRouteResponse>;
|
|
1260
1280
|
/**
|
|
1261
|
-
* Deletes
|
|
1281
|
+
* Deletes the specified logical model.
|
|
1262
1282
|
*
|
|
1263
1283
|
* @param request - DeleteLogicalModelRequest
|
|
1264
1284
|
* @param headers - map
|
|
@@ -1269,7 +1289,7 @@ export default class Client extends OpenApi {
|
|
|
1269
1289
|
[key: string]: string;
|
|
1270
1290
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteLogicalModelResponse>;
|
|
1271
1291
|
/**
|
|
1272
|
-
* Deletes
|
|
1292
|
+
* Deletes the specified logical model.
|
|
1273
1293
|
*
|
|
1274
1294
|
* @param request - DeleteLogicalModelRequest
|
|
1275
1295
|
* @returns DeleteLogicalModelResponse
|
|
@@ -1312,7 +1332,7 @@ export default class Client extends OpenApi {
|
|
|
1312
1332
|
* Deletes a model API.
|
|
1313
1333
|
*
|
|
1314
1334
|
* @remarks
|
|
1315
|
-
*
|
|
1335
|
+
* Automatically stops the service and cleans up the resources owned by the API when a published new-version model API is deleted. A successful response indicates that the request is accepted or is an idempotent replay of a completed deletion, but does not indicate that all background steps are complete. Monitor the progress by checking the deleteStatus parameter of GetModelApi. Only a NotFound.ModelApi error explicitly indicates that the deletion is fully complete. The object is retained during deletion or upon failure. Shared model sources, model groups, models, services, consumers, and keys are not deleted.
|
|
1316
1336
|
*
|
|
1317
1337
|
* @param request - DeleteModelApiRequest
|
|
1318
1338
|
* @param headers - map
|
|
@@ -1326,14 +1346,14 @@ export default class Client extends OpenApi {
|
|
|
1326
1346
|
* Deletes a model API.
|
|
1327
1347
|
*
|
|
1328
1348
|
* @remarks
|
|
1329
|
-
*
|
|
1349
|
+
* Automatically stops the service and cleans up the resources owned by the API when a published new-version model API is deleted. A successful response indicates that the request is accepted or is an idempotent replay of a completed deletion, but does not indicate that all background steps are complete. Monitor the progress by checking the deleteStatus parameter of GetModelApi. Only a NotFound.ModelApi error explicitly indicates that the deletion is fully complete. The object is retained during deletion or upon failure. Shared model sources, model groups, models, services, consumers, and keys are not deleted.
|
|
1330
1350
|
*
|
|
1331
1351
|
* @param request - DeleteModelApiRequest
|
|
1332
1352
|
* @returns DeleteModelApiResponse
|
|
1333
1353
|
*/
|
|
1334
1354
|
deleteModelApi(httpApiId: string, request: $_model.DeleteModelApiRequest): Promise<$_model.DeleteModelApiResponse>;
|
|
1335
1355
|
/**
|
|
1336
|
-
*
|
|
1356
|
+
* Deletes a model group.
|
|
1337
1357
|
*
|
|
1338
1358
|
* @param request - DeleteModelGroupRequest
|
|
1339
1359
|
* @param headers - map
|
|
@@ -1344,7 +1364,7 @@ export default class Client extends OpenApi {
|
|
|
1344
1364
|
[key: string]: string;
|
|
1345
1365
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteModelGroupResponse>;
|
|
1346
1366
|
/**
|
|
1347
|
-
*
|
|
1367
|
+
* Deletes a model group.
|
|
1348
1368
|
*
|
|
1349
1369
|
* @param request - DeleteModelGroupRequest
|
|
1350
1370
|
* @returns DeleteModelGroupResponse
|
|
@@ -1711,7 +1731,7 @@ export default class Client extends OpenApi {
|
|
|
1711
1731
|
*/
|
|
1712
1732
|
getAiModelSource(modelSourceId: string, request: $_model.GetAiModelSourceRequest): Promise<$_model.GetAiModelSourceResponse>;
|
|
1713
1733
|
/**
|
|
1714
|
-
*
|
|
1734
|
+
* Queries the impact of editing an AI model source.
|
|
1715
1735
|
*
|
|
1716
1736
|
* @param request - GetAiModelSourceEditImpactRequest
|
|
1717
1737
|
* @param headers - map
|
|
@@ -1722,14 +1742,14 @@ export default class Client extends OpenApi {
|
|
|
1722
1742
|
[key: string]: string;
|
|
1723
1743
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetAiModelSourceEditImpactResponse>;
|
|
1724
1744
|
/**
|
|
1725
|
-
*
|
|
1745
|
+
* Queries the impact of editing an AI model source.
|
|
1726
1746
|
*
|
|
1727
1747
|
* @param request - GetAiModelSourceEditImpactRequest
|
|
1728
1748
|
* @returns GetAiModelSourceEditImpactResponse
|
|
1729
1749
|
*/
|
|
1730
1750
|
getAiModelSourceEditImpact(modelSourceId: string, request: $_model.GetAiModelSourceEditImpactRequest): Promise<$_model.GetAiModelSourceEditImpactResponse>;
|
|
1731
1751
|
/**
|
|
1732
|
-
* Queries AI models in a source.
|
|
1752
|
+
* Queries AI models in a model source.
|
|
1733
1753
|
*
|
|
1734
1754
|
* @param request - GetAiModelSourceModelRequest
|
|
1735
1755
|
* @param headers - map
|
|
@@ -1740,7 +1760,7 @@ export default class Client extends OpenApi {
|
|
|
1740
1760
|
[key: string]: string;
|
|
1741
1761
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetAiModelSourceModelResponse>;
|
|
1742
1762
|
/**
|
|
1743
|
-
* Queries AI models in a source.
|
|
1763
|
+
* Queries AI models in a model source.
|
|
1744
1764
|
*
|
|
1745
1765
|
* @param request - GetAiModelSourceModelRequest
|
|
1746
1766
|
* @returns GetAiModelSourceModelResponse
|
|
@@ -1834,7 +1854,7 @@ export default class Client extends OpenApi {
|
|
|
1834
1854
|
*/
|
|
1835
1855
|
getConsumer(consumerId: string): Promise<$_model.GetConsumerResponse>;
|
|
1836
1856
|
/**
|
|
1837
|
-
* Queries the access overview
|
|
1857
|
+
* Queries the access overview of a consumer.
|
|
1838
1858
|
*
|
|
1839
1859
|
* @param request - GetConsumerAccessOverviewRequest
|
|
1840
1860
|
* @param headers - map
|
|
@@ -1845,7 +1865,7 @@ export default class Client extends OpenApi {
|
|
|
1845
1865
|
[key: string]: string;
|
|
1846
1866
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetConsumerAccessOverviewResponse>;
|
|
1847
1867
|
/**
|
|
1848
|
-
* Queries the access overview
|
|
1868
|
+
* Queries the access overview of a consumer.
|
|
1849
1869
|
*
|
|
1850
1870
|
* @param request - GetConsumerAccessOverviewRequest
|
|
1851
1871
|
* @returns GetConsumerAccessOverviewResponse
|
|
@@ -1909,6 +1929,15 @@ export default class Client extends OpenApi {
|
|
|
1909
1929
|
/**
|
|
1910
1930
|
* Queries the account information of the currently logged-on developer and returns the developer ID, portal ID, username, and status.
|
|
1911
1931
|
*
|
|
1932
|
+
* @remarks
|
|
1933
|
+
* ## Before you begin and call sequence
|
|
1934
|
+
* This operation queries the account information of the currently logged-on developer. You must complete the following steps in order:
|
|
1935
|
+
* 1. Call CreatePortal to create a developer portal and obtain the portalId.
|
|
1936
|
+
* 2. Call CreateDeveloper to register a developer account under the portal.
|
|
1937
|
+
* 3. Call LoginDeveloper to log on to the developer account and obtain the accessToken.
|
|
1938
|
+
* 4. Call this operation with the accessToken obtained in the previous step.
|
|
1939
|
+
* Related operations: CreatePortal, CreateDeveloper, and LoginDeveloper.
|
|
1940
|
+
*
|
|
1912
1941
|
* @param request - GetDeveloperRequest
|
|
1913
1942
|
* @param headers - map
|
|
1914
1943
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1920,6 +1949,15 @@ export default class Client extends OpenApi {
|
|
|
1920
1949
|
/**
|
|
1921
1950
|
* Queries the account information of the currently logged-on developer and returns the developer ID, portal ID, username, and status.
|
|
1922
1951
|
*
|
|
1952
|
+
* @remarks
|
|
1953
|
+
* ## Before you begin and call sequence
|
|
1954
|
+
* This operation queries the account information of the currently logged-on developer. You must complete the following steps in order:
|
|
1955
|
+
* 1. Call CreatePortal to create a developer portal and obtain the portalId.
|
|
1956
|
+
* 2. Call CreateDeveloper to register a developer account under the portal.
|
|
1957
|
+
* 3. Call LoginDeveloper to log on to the developer account and obtain the accessToken.
|
|
1958
|
+
* 4. Call this operation with the accessToken obtained in the previous step.
|
|
1959
|
+
* Related operations: CreatePortal, CreateDeveloper, and LoginDeveloper.
|
|
1960
|
+
*
|
|
1923
1961
|
* @param request - GetDeveloperRequest
|
|
1924
1962
|
* @returns GetDeveloperResponse
|
|
1925
1963
|
*/
|
|
@@ -2090,20 +2128,20 @@ export default class Client extends OpenApi {
|
|
|
2090
2128
|
*/
|
|
2091
2129
|
getGatewayQuotaRuleSubjectUsage(gatewayId: string, ruleId: string, subjectId: string, request: $_model.GetGatewayQuotaRuleSubjectUsageRequest): Promise<$_model.GetGatewayQuotaRuleSubjectUsageResponse>;
|
|
2092
2130
|
/**
|
|
2093
|
-
* Queries the status, processing progress, failure cause, and file download information of an export task for
|
|
2131
|
+
* Queries the status, processing progress, failure cause, and file download information of an export task for quota rule subject consumption details.
|
|
2094
2132
|
*
|
|
2095
2133
|
* @remarks
|
|
2096
|
-
* ##
|
|
2134
|
+
* ## Call flow
|
|
2097
2135
|
* First, call CreateGatewayQuotaRuleSubjectUsageExportTask to create a task. Then, use the returned taskId along with the same gatewayId, ruleId, and subjectId to call this operation in the same region.
|
|
2098
|
-
* - Pending or Running: The task is not completed. You can query again after a period of time.
|
|
2136
|
+
* - Pending or Running: The task is not completed. You can query the task again after a period of time.
|
|
2099
2137
|
* - Success: Check result.fileExpired and result.downloadUrl. If the file is not expired and a link is returned, you can download the file.
|
|
2100
|
-
* - Failed: Troubleshoot the issue based on errorMessage. To export again, call the create operation with a new clientToken.
|
|
2101
|
-
* ## Download
|
|
2102
|
-
* For each successful query where the file is not expired, a signed link with a validity period of 10 minutes is generated. Download the file promptly based on downloadUrlExpiredAt. If the link expires but
|
|
2103
|
-
* After
|
|
2138
|
+
* - Failed: Troubleshoot the issue based on errorMessage. To export the data again, call the create operation with a new clientToken.
|
|
2139
|
+
* ## Download link and file validity period
|
|
2140
|
+
* For each successful query where the file is not expired, a signed link with a validity period of 10 minutes is generated. Download the file promptly based on downloadUrlExpiredAt. If the link expires but the file has not reached fileExpiredAt, you can query the task again to obtain a new link. Querying the task again does not regenerate the file or extend the 24-hour validity period of the file.
|
|
2141
|
+
* After the file reaches fileExpiredAt, this operation no longer issues new links. It returns fileExpired=true and omits downloadUrl and downloadUrlExpiredAt. The task status remains Success. To export the data again, create a new task.
|
|
2104
2142
|
* ## Query scope and task progress
|
|
2105
|
-
* This operation returns only the export tasks of the current user in the current region that match the gateway, rule, and subject paths. If the paths do not match or the task does not exist, a not found error is returned. Existing tasks are queried based on the information recorded at creation.
|
|
2106
|
-
* If a task remains in the Pending or Running state for more than 10 minutes after creation, the query treats it as a timeout failure. Determine whether the task is completed based on status, not
|
|
2143
|
+
* This operation returns only the export tasks of the current user in the current region that match the gateway, rule, and subject paths. If the paths do not match or the task does not exist, a not found error is returned. Existing tasks are queried based on the information recorded at creation. The export conditions are not recalculated due to subsequent rule resets or subject name changes.
|
|
2144
|
+
* If a task remains in the Pending or Running state for more than 10 minutes after creation, the query treats it as a timeout failure. Determine whether the task is completed based on the status, not only on totalCount or processedCount.
|
|
2107
2145
|
*
|
|
2108
2146
|
* @param request - GetGatewayQuotaRuleSubjectUsageExportTaskRequest
|
|
2109
2147
|
* @param headers - map
|
|
@@ -2114,20 +2152,20 @@ export default class Client extends OpenApi {
|
|
|
2114
2152
|
[key: string]: string;
|
|
2115
2153
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetGatewayQuotaRuleSubjectUsageExportTaskResponse>;
|
|
2116
2154
|
/**
|
|
2117
|
-
* Queries the status, processing progress, failure cause, and file download information of an export task for
|
|
2155
|
+
* Queries the status, processing progress, failure cause, and file download information of an export task for quota rule subject consumption details.
|
|
2118
2156
|
*
|
|
2119
2157
|
* @remarks
|
|
2120
|
-
* ##
|
|
2158
|
+
* ## Call flow
|
|
2121
2159
|
* First, call CreateGatewayQuotaRuleSubjectUsageExportTask to create a task. Then, use the returned taskId along with the same gatewayId, ruleId, and subjectId to call this operation in the same region.
|
|
2122
|
-
* - Pending or Running: The task is not completed. You can query again after a period of time.
|
|
2160
|
+
* - Pending or Running: The task is not completed. You can query the task again after a period of time.
|
|
2123
2161
|
* - Success: Check result.fileExpired and result.downloadUrl. If the file is not expired and a link is returned, you can download the file.
|
|
2124
|
-
* - Failed: Troubleshoot the issue based on errorMessage. To export again, call the create operation with a new clientToken.
|
|
2125
|
-
* ## Download
|
|
2126
|
-
* For each successful query where the file is not expired, a signed link with a validity period of 10 minutes is generated. Download the file promptly based on downloadUrlExpiredAt. If the link expires but
|
|
2127
|
-
* After
|
|
2162
|
+
* - Failed: Troubleshoot the issue based on errorMessage. To export the data again, call the create operation with a new clientToken.
|
|
2163
|
+
* ## Download link and file validity period
|
|
2164
|
+
* For each successful query where the file is not expired, a signed link with a validity period of 10 minutes is generated. Download the file promptly based on downloadUrlExpiredAt. If the link expires but the file has not reached fileExpiredAt, you can query the task again to obtain a new link. Querying the task again does not regenerate the file or extend the 24-hour validity period of the file.
|
|
2165
|
+
* After the file reaches fileExpiredAt, this operation no longer issues new links. It returns fileExpired=true and omits downloadUrl and downloadUrlExpiredAt. The task status remains Success. To export the data again, create a new task.
|
|
2128
2166
|
* ## Query scope and task progress
|
|
2129
|
-
* This operation returns only the export tasks of the current user in the current region that match the gateway, rule, and subject paths. If the paths do not match or the task does not exist, a not found error is returned. Existing tasks are queried based on the information recorded at creation.
|
|
2130
|
-
* If a task remains in the Pending or Running state for more than 10 minutes after creation, the query treats it as a timeout failure. Determine whether the task is completed based on status, not
|
|
2167
|
+
* This operation returns only the export tasks of the current user in the current region that match the gateway, rule, and subject paths. If the paths do not match or the task does not exist, a not found error is returned. Existing tasks are queried based on the information recorded at creation. The export conditions are not recalculated due to subsequent rule resets or subject name changes.
|
|
2168
|
+
* If a task remains in the Pending or Running state for more than 10 minutes after creation, the query treats it as a timeout failure. Determine whether the task is completed based on the status, not only on totalCount or processedCount.
|
|
2131
2169
|
*
|
|
2132
2170
|
* @param request - GetGatewayQuotaRuleSubjectUsageExportTaskRequest
|
|
2133
2171
|
* @returns GetGatewayQuotaRuleSubjectUsageExportTaskResponse
|
|
@@ -2242,7 +2280,7 @@ export default class Client extends OpenApi {
|
|
|
2242
2280
|
*/
|
|
2243
2281
|
getHttpApiRoute(httpApiId: string, routeId: string): Promise<$_model.GetHttpApiRouteResponse>;
|
|
2244
2282
|
/**
|
|
2245
|
-
*
|
|
2283
|
+
* Queries the details of a logical model.
|
|
2246
2284
|
*
|
|
2247
2285
|
* @param request - GetLogicalModelRequest
|
|
2248
2286
|
* @param headers - map
|
|
@@ -2253,14 +2291,14 @@ export default class Client extends OpenApi {
|
|
|
2253
2291
|
[key: string]: string;
|
|
2254
2292
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetLogicalModelResponse>;
|
|
2255
2293
|
/**
|
|
2256
|
-
*
|
|
2294
|
+
* Queries the details of a logical model.
|
|
2257
2295
|
*
|
|
2258
2296
|
* @param request - GetLogicalModelRequest
|
|
2259
2297
|
* @returns GetLogicalModelResponse
|
|
2260
2298
|
*/
|
|
2261
2299
|
getLogicalModel(logicalModelId: string, request: $_model.GetLogicalModelRequest): Promise<$_model.GetLogicalModelResponse>;
|
|
2262
2300
|
/**
|
|
2263
|
-
*
|
|
2301
|
+
* Queries the configuration delivery of a logical model.
|
|
2264
2302
|
*
|
|
2265
2303
|
* @param request - GetLogicalModelDeploymentRequest
|
|
2266
2304
|
* @param headers - map
|
|
@@ -2271,7 +2309,7 @@ export default class Client extends OpenApi {
|
|
|
2271
2309
|
[key: string]: string;
|
|
2272
2310
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetLogicalModelDeploymentResponse>;
|
|
2273
2311
|
/**
|
|
2274
|
-
*
|
|
2312
|
+
* Queries the configuration delivery of a logical model.
|
|
2275
2313
|
*
|
|
2276
2314
|
* @param request - GetLogicalModelDeploymentRequest
|
|
2277
2315
|
* @returns GetLogicalModelDeploymentResponse
|
|
@@ -2335,10 +2373,10 @@ export default class Client extends OpenApi {
|
|
|
2335
2373
|
*/
|
|
2336
2374
|
getMigrationTask(taskId: string, request: $_model.GetMigrationTaskRequest): Promise<$_model.GetMigrationTaskResponse>;
|
|
2337
2375
|
/**
|
|
2338
|
-
*
|
|
2376
|
+
* Queries the details of a model API.
|
|
2339
2377
|
*
|
|
2340
2378
|
* @remarks
|
|
2341
|
-
*
|
|
2379
|
+
* During deletion, check deleteStatus for Deleting or DeleteFailed, and review deployErrorMessage. The NotFound.ModelApi error is returned only after the target model API is completely deleted. Missing dependencies, permission issues, or storage errors do not indicate that the deletion is complete.
|
|
2342
2380
|
*
|
|
2343
2381
|
* @param request - GetModelApiRequest
|
|
2344
2382
|
* @param headers - map
|
|
@@ -2349,17 +2387,17 @@ export default class Client extends OpenApi {
|
|
|
2349
2387
|
[key: string]: string;
|
|
2350
2388
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetModelApiResponse>;
|
|
2351
2389
|
/**
|
|
2352
|
-
*
|
|
2390
|
+
* Queries the details of a model API.
|
|
2353
2391
|
*
|
|
2354
2392
|
* @remarks
|
|
2355
|
-
*
|
|
2393
|
+
* During deletion, check deleteStatus for Deleting or DeleteFailed, and review deployErrorMessage. The NotFound.ModelApi error is returned only after the target model API is completely deleted. Missing dependencies, permission issues, or storage errors do not indicate that the deletion is complete.
|
|
2356
2394
|
*
|
|
2357
2395
|
* @param request - GetModelApiRequest
|
|
2358
2396
|
* @returns GetModelApiResponse
|
|
2359
2397
|
*/
|
|
2360
2398
|
getModelApi(httpApiId: string, request: $_model.GetModelApiRequest): Promise<$_model.GetModelApiResponse>;
|
|
2361
2399
|
/**
|
|
2362
|
-
*
|
|
2400
|
+
* Queries the configuration, entitlement status, and the summary of the latest configuration deployment for a specified model group.
|
|
2363
2401
|
*
|
|
2364
2402
|
* @param request - GetModelGroupRequest
|
|
2365
2403
|
* @param headers - map
|
|
@@ -2370,7 +2408,7 @@ export default class Client extends OpenApi {
|
|
|
2370
2408
|
[key: string]: string;
|
|
2371
2409
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetModelGroupResponse>;
|
|
2372
2410
|
/**
|
|
2373
|
-
*
|
|
2411
|
+
* Queries the configuration, entitlement status, and the summary of the latest configuration deployment for a specified model group.
|
|
2374
2412
|
*
|
|
2375
2413
|
* @param request - GetModelGroupRequest
|
|
2376
2414
|
* @returns GetModelGroupResponse
|
|
@@ -2793,7 +2831,7 @@ export default class Client extends OpenApi {
|
|
|
2793
2831
|
*/
|
|
2794
2832
|
listAiModelProviders(request: $_model.ListAiModelProvidersRequest): Promise<$_model.ListAiModelProvidersResponse>;
|
|
2795
2833
|
/**
|
|
2796
|
-
*
|
|
2834
|
+
* Queries the AI models in a model source.
|
|
2797
2835
|
*
|
|
2798
2836
|
* @param request - ListAiModelSourceModelsRequest
|
|
2799
2837
|
* @param headers - map
|
|
@@ -2804,7 +2842,7 @@ export default class Client extends OpenApi {
|
|
|
2804
2842
|
[key: string]: string;
|
|
2805
2843
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListAiModelSourceModelsResponse>;
|
|
2806
2844
|
/**
|
|
2807
|
-
*
|
|
2845
|
+
* Queries the AI models in a model source.
|
|
2808
2846
|
*
|
|
2809
2847
|
* @param request - ListAiModelSourceModelsRequest
|
|
2810
2848
|
* @returns ListAiModelSourceModelsResponse
|
|
@@ -2965,7 +3003,7 @@ export default class Client extends OpenApi {
|
|
|
2965
3003
|
*/
|
|
2966
3004
|
listConsumerGroupQuotaRules(consumerGroupId: string, request: $_model.ListConsumerGroupQuotaRulesRequest): Promise<$_model.ListConsumerGroupQuotaRulesResponse>;
|
|
2967
3005
|
/**
|
|
2968
|
-
* Queries
|
|
3006
|
+
* Queries consumer groups.
|
|
2969
3007
|
*
|
|
2970
3008
|
* @param request - ListConsumerGroupsRequest
|
|
2971
3009
|
* @param headers - map
|
|
@@ -2976,14 +3014,14 @@ export default class Client extends OpenApi {
|
|
|
2976
3014
|
[key: string]: string;
|
|
2977
3015
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListConsumerGroupsResponse>;
|
|
2978
3016
|
/**
|
|
2979
|
-
* Queries
|
|
3017
|
+
* Queries consumer groups.
|
|
2980
3018
|
*
|
|
2981
3019
|
* @param request - ListConsumerGroupsRequest
|
|
2982
3020
|
* @returns ListConsumerGroupsResponse
|
|
2983
3021
|
*/
|
|
2984
3022
|
listConsumerGroups(request: $_model.ListConsumerGroupsRequest): Promise<$_model.ListConsumerGroupsResponse>;
|
|
2985
3023
|
/**
|
|
2986
|
-
* Queries the model card entitlements for consumers.
|
|
3024
|
+
* Queries the list of model card entitlements for consumers.
|
|
2987
3025
|
*
|
|
2988
3026
|
* @param request - ListConsumerModelCardGrantsRequest
|
|
2989
3027
|
* @param headers - map
|
|
@@ -2994,7 +3032,7 @@ export default class Client extends OpenApi {
|
|
|
2994
3032
|
[key: string]: string;
|
|
2995
3033
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListConsumerModelCardGrantsResponse>;
|
|
2996
3034
|
/**
|
|
2997
|
-
* Queries the model card entitlements for consumers.
|
|
3035
|
+
* Queries the list of model card entitlements for consumers.
|
|
2998
3036
|
*
|
|
2999
3037
|
* @param request - ListConsumerModelCardGrantsRequest
|
|
3000
3038
|
* @returns ListConsumerModelCardGrantsResponse
|
|
@@ -3320,7 +3358,7 @@ export default class Client extends OpenApi {
|
|
|
3320
3358
|
*/
|
|
3321
3359
|
listHttpApiOperations(httpApiId: string, request: $_model.ListHttpApiOperationsRequest): Promise<$_model.ListHttpApiOperationsResponse>;
|
|
3322
3360
|
/**
|
|
3323
|
-
* Queries the
|
|
3361
|
+
* Queries the routes of an HTTP API.
|
|
3324
3362
|
*
|
|
3325
3363
|
* @param request - ListHttpApiRoutesRequest
|
|
3326
3364
|
* @param headers - map
|
|
@@ -3331,7 +3369,7 @@ export default class Client extends OpenApi {
|
|
|
3331
3369
|
[key: string]: string;
|
|
3332
3370
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListHttpApiRoutesResponse>;
|
|
3333
3371
|
/**
|
|
3334
|
-
* Queries the
|
|
3372
|
+
* Queries the routes of an HTTP API.
|
|
3335
3373
|
*
|
|
3336
3374
|
* @param request - ListHttpApiRoutesRequest
|
|
3337
3375
|
* @returns ListHttpApiRoutesResponse
|
|
@@ -3506,7 +3544,7 @@ export default class Client extends OpenApi {
|
|
|
3506
3544
|
*/
|
|
3507
3545
|
listModelCards(request: $_model.ListModelCardsRequest): Promise<$_model.ListModelCardsResponse>;
|
|
3508
3546
|
/**
|
|
3509
|
-
*
|
|
3547
|
+
* Queries a list of model groups.
|
|
3510
3548
|
*
|
|
3511
3549
|
* @param request - ListModelGroupsRequest
|
|
3512
3550
|
* @param headers - map
|
|
@@ -3517,7 +3555,7 @@ export default class Client extends OpenApi {
|
|
|
3517
3555
|
[key: string]: string;
|
|
3518
3556
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListModelGroupsResponse>;
|
|
3519
3557
|
/**
|
|
3520
|
-
*
|
|
3558
|
+
* Queries a list of model groups.
|
|
3521
3559
|
*
|
|
3522
3560
|
* @param request - ListModelGroupsRequest
|
|
3523
3561
|
* @returns ListModelGroupsResponse
|
|
@@ -3710,10 +3748,10 @@ export default class Client extends OpenApi {
|
|
|
3710
3748
|
*/
|
|
3711
3749
|
listPortals(request: $_model.ListPortalsRequest): Promise<$_model.ListPortalsResponse>;
|
|
3712
3750
|
/**
|
|
3713
|
-
* Queries the
|
|
3751
|
+
* Queries the unmanaged security groups available for private endpoints.
|
|
3714
3752
|
*
|
|
3715
3753
|
* @remarks
|
|
3716
|
-
*
|
|
3754
|
+
* The API supports creating multiple services.
|
|
3717
3755
|
*
|
|
3718
3756
|
* @param request - ListPrivateLinkSecurityGroupsRequest
|
|
3719
3757
|
* @param headers - map
|
|
@@ -3724,10 +3762,10 @@ export default class Client extends OpenApi {
|
|
|
3724
3762
|
[key: string]: string;
|
|
3725
3763
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListPrivateLinkSecurityGroupsResponse>;
|
|
3726
3764
|
/**
|
|
3727
|
-
* Queries the
|
|
3765
|
+
* Queries the unmanaged security groups available for private endpoints.
|
|
3728
3766
|
*
|
|
3729
3767
|
* @remarks
|
|
3730
|
-
*
|
|
3768
|
+
* The API supports creating multiple services.
|
|
3731
3769
|
*
|
|
3732
3770
|
* @param request - ListPrivateLinkSecurityGroupsRequest
|
|
3733
3771
|
* @returns ListPrivateLinkSecurityGroupsResponse
|
|
@@ -4034,7 +4072,7 @@ export default class Client extends OpenApi {
|
|
|
4034
4072
|
*/
|
|
4035
4073
|
logoutDeveloper(request: $_model.LogoutDeveloperRequest): Promise<$_model.LogoutDeveloperResponse>;
|
|
4036
4074
|
/**
|
|
4037
|
-
*
|
|
4075
|
+
* Simulates the impact of logical model modifications.
|
|
4038
4076
|
*
|
|
4039
4077
|
* @param request - PreviewLogicalModelUpdateRequest
|
|
4040
4078
|
* @param headers - map
|
|
@@ -4045,7 +4083,7 @@ export default class Client extends OpenApi {
|
|
|
4045
4083
|
[key: string]: string;
|
|
4046
4084
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.PreviewLogicalModelUpdateResponse>;
|
|
4047
4085
|
/**
|
|
4048
|
-
*
|
|
4086
|
+
* Simulates the impact of logical model modifications.
|
|
4049
4087
|
*
|
|
4050
4088
|
* @param request - PreviewLogicalModelUpdateRequest
|
|
4051
4089
|
* @returns PreviewLogicalModelUpdateResponse
|
|
@@ -4176,7 +4214,7 @@ export default class Client extends OpenApi {
|
|
|
4176
4214
|
*/
|
|
4177
4215
|
restartGateway(gatewayId: string): Promise<$_model.RestartGatewayResponse>;
|
|
4178
4216
|
/**
|
|
4179
|
-
* Retries the delivery of
|
|
4217
|
+
* Retries the delivery of logical model configurations.
|
|
4180
4218
|
*
|
|
4181
4219
|
* @param request - RetryLogicalModelDeploymentRequest
|
|
4182
4220
|
* @param headers - map
|
|
@@ -4187,17 +4225,17 @@ export default class Client extends OpenApi {
|
|
|
4187
4225
|
[key: string]: string;
|
|
4188
4226
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.RetryLogicalModelDeploymentResponse>;
|
|
4189
4227
|
/**
|
|
4190
|
-
* Retries the delivery of
|
|
4228
|
+
* Retries the delivery of logical model configurations.
|
|
4191
4229
|
*
|
|
4192
4230
|
* @param request - RetryLogicalModelDeploymentRequest
|
|
4193
4231
|
* @returns RetryLogicalModelDeploymentResponse
|
|
4194
4232
|
*/
|
|
4195
4233
|
retryLogicalModelDeployment(operationId: string, request: $_model.RetryLogicalModelDeploymentRequest): Promise<$_model.RetryLogicalModelDeploymentResponse>;
|
|
4196
4234
|
/**
|
|
4197
|
-
* Queries the currently active credentials for
|
|
4235
|
+
* Queries the currently active credentials for an AI service.
|
|
4198
4236
|
*
|
|
4199
4237
|
* @remarks
|
|
4200
|
-
* Queries the currently active credentials for
|
|
4238
|
+
* Queries the currently active credentials for an AI service.
|
|
4201
4239
|
*
|
|
4202
4240
|
* @param request - RevealServiceCredentialRequest
|
|
4203
4241
|
* @param headers - map
|
|
@@ -4208,17 +4246,17 @@ export default class Client extends OpenApi {
|
|
|
4208
4246
|
[key: string]: string;
|
|
4209
4247
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.RevealServiceCredentialResponse>;
|
|
4210
4248
|
/**
|
|
4211
|
-
* Queries the currently active credentials for
|
|
4249
|
+
* Queries the currently active credentials for an AI service.
|
|
4212
4250
|
*
|
|
4213
4251
|
* @remarks
|
|
4214
|
-
* Queries the currently active credentials for
|
|
4252
|
+
* Queries the currently active credentials for an AI service.
|
|
4215
4253
|
*
|
|
4216
4254
|
* @param request - RevealServiceCredentialRequest
|
|
4217
4255
|
* @returns RevealServiceCredentialResponse
|
|
4218
4256
|
*/
|
|
4219
4257
|
revealServiceCredential(serviceId: string, request: $_model.RevealServiceCredentialRequest): Promise<$_model.RevealServiceCredentialResponse>;
|
|
4220
4258
|
/**
|
|
4221
|
-
* Revokes model card
|
|
4259
|
+
* Revokes the model card entitlements for a consumer.
|
|
4222
4260
|
*
|
|
4223
4261
|
* @param request - RevokeConsumerModelCardGrantsRequest
|
|
4224
4262
|
* @param headers - map
|
|
@@ -4229,7 +4267,7 @@ export default class Client extends OpenApi {
|
|
|
4229
4267
|
[key: string]: string;
|
|
4230
4268
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeConsumerModelCardGrantsResponse>;
|
|
4231
4269
|
/**
|
|
4232
|
-
* Revokes model card
|
|
4270
|
+
* Revokes the model card entitlements for a consumer.
|
|
4233
4271
|
*
|
|
4234
4272
|
* @param request - RevokeConsumerModelCardGrantsRequest
|
|
4235
4273
|
* @returns RevokeConsumerModelCardGrantsResponse
|
|
@@ -4272,7 +4310,15 @@ export default class Client extends OpenApi {
|
|
|
4272
4310
|
*/
|
|
4273
4311
|
subscribeProduct(consumerId: string, request: $_model.SubscribeProductRequest): Promise<$_model.SubscribeProductResponse>;
|
|
4274
4312
|
/**
|
|
4275
|
-
*
|
|
4313
|
+
* Syncs MCP servers from an external Nacos registry to a gateway.
|
|
4314
|
+
*
|
|
4315
|
+
* @remarks
|
|
4316
|
+
* ## Before you begin
|
|
4317
|
+
* Before you call this operation, complete the following preparations:
|
|
4318
|
+
* 1. Create a Nacos instance in Microservices Engine (MSE) and register an MCP server in the instance.
|
|
4319
|
+
* 2. Call CreateSource to register a service source for the target gateway. Set the type parameter to MSE_NACOS and point it to the Nacos instance.
|
|
4320
|
+
* 3. Call ListGateways to obtain the system default domain name ID (subDomainInfos[].domainId) of the gateway for the domainIds parameter.
|
|
4321
|
+
* After you complete the preceding steps, pass the gatewayId, domainIds, and namespace parameters to call this operation. This syncs the MCP servers in the specified namespace to the gateway.
|
|
4276
4322
|
*
|
|
4277
4323
|
* @param request - SyncMCPServersRequest
|
|
4278
4324
|
* @param headers - map
|
|
@@ -4283,7 +4329,15 @@ export default class Client extends OpenApi {
|
|
|
4283
4329
|
[key: string]: string;
|
|
4284
4330
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.SyncMCPServersResponse>;
|
|
4285
4331
|
/**
|
|
4286
|
-
*
|
|
4332
|
+
* Syncs MCP servers from an external Nacos registry to a gateway.
|
|
4333
|
+
*
|
|
4334
|
+
* @remarks
|
|
4335
|
+
* ## Before you begin
|
|
4336
|
+
* Before you call this operation, complete the following preparations:
|
|
4337
|
+
* 1. Create a Nacos instance in Microservices Engine (MSE) and register an MCP server in the instance.
|
|
4338
|
+
* 2. Call CreateSource to register a service source for the target gateway. Set the type parameter to MSE_NACOS and point it to the Nacos instance.
|
|
4339
|
+
* 3. Call ListGateways to obtain the system default domain name ID (subDomainInfos[].domainId) of the gateway for the domainIds parameter.
|
|
4340
|
+
* After you complete the preceding steps, pass the gatewayId, domainIds, and namespace parameters to call this operation. This syncs the MCP servers in the specified namespace to the gateway.
|
|
4287
4341
|
*
|
|
4288
4342
|
* @param request - SyncMCPServersRequest
|
|
4289
4343
|
* @returns SyncMCPServersResponse
|
|
@@ -4446,7 +4500,7 @@ export default class Client extends OpenApi {
|
|
|
4446
4500
|
*/
|
|
4447
4501
|
updateAiModelSource(modelSourceId: string, request: $_model.UpdateAiModelSourceRequest): Promise<$_model.UpdateAiModelSourceResponse>;
|
|
4448
4502
|
/**
|
|
4449
|
-
* Updates an AI model in a
|
|
4503
|
+
* Updates an AI model in a source.
|
|
4450
4504
|
*
|
|
4451
4505
|
* @param request - UpdateAiModelSourceModelRequest
|
|
4452
4506
|
* @param headers - map
|
|
@@ -4457,7 +4511,7 @@ export default class Client extends OpenApi {
|
|
|
4457
4511
|
[key: string]: string;
|
|
4458
4512
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateAiModelSourceModelResponse>;
|
|
4459
4513
|
/**
|
|
4460
|
-
* Updates an AI model in a
|
|
4514
|
+
* Updates an AI model in a source.
|
|
4461
4515
|
*
|
|
4462
4516
|
* @param request - UpdateAiModelSourceModelRequest
|
|
4463
4517
|
* @returns UpdateAiModelSourceModelResponse
|
|
@@ -4862,7 +4916,7 @@ export default class Client extends OpenApi {
|
|
|
4862
4916
|
*/
|
|
4863
4917
|
updateHttpApiRoute(httpApiId: string, routeId: string, request: $_model.UpdateHttpApiRouteRequest): Promise<$_model.UpdateHttpApiRouteResponse>;
|
|
4864
4918
|
/**
|
|
4865
|
-
*
|
|
4919
|
+
* Modifies a logical model.
|
|
4866
4920
|
*
|
|
4867
4921
|
* @param request - UpdateLogicalModelRequest
|
|
4868
4922
|
* @param headers - map
|
|
@@ -4873,7 +4927,7 @@ export default class Client extends OpenApi {
|
|
|
4873
4927
|
[key: string]: string;
|
|
4874
4928
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateLogicalModelResponse>;
|
|
4875
4929
|
/**
|
|
4876
|
-
*
|
|
4930
|
+
* Modifies a logical model.
|
|
4877
4931
|
*
|
|
4878
4932
|
* @param request - UpdateLogicalModelRequest
|
|
4879
4933
|
* @returns UpdateLogicalModelResponse
|
|
@@ -4883,7 +4937,7 @@ export default class Client extends OpenApi {
|
|
|
4883
4937
|
* Updates an MCP server.
|
|
4884
4938
|
*
|
|
4885
4939
|
* @remarks
|
|
4886
|
-
* Only sources of the **Container Service** type are allowed to update the
|
|
4940
|
+
* Only sources of the **Container Service** type are allowed to update the configurations of listening Ingresses.
|
|
4887
4941
|
*
|
|
4888
4942
|
* @param request - UpdateMcpServerRequest
|
|
4889
4943
|
* @param headers - map
|
|
@@ -4897,7 +4951,7 @@ export default class Client extends OpenApi {
|
|
|
4897
4951
|
* Updates an MCP server.
|
|
4898
4952
|
*
|
|
4899
4953
|
* @remarks
|
|
4900
|
-
* Only sources of the **Container Service** type are allowed to update the
|
|
4954
|
+
* Only sources of the **Container Service** type are allowed to update the configurations of listening Ingresses.
|
|
4901
4955
|
*
|
|
4902
4956
|
* @param request - UpdateMcpServerRequest
|
|
4903
4957
|
* @returns UpdateMcpServerResponse
|
|
@@ -5087,7 +5141,7 @@ export default class Client extends OpenApi {
|
|
|
5087
5141
|
* Updates a secret.
|
|
5088
5142
|
*
|
|
5089
5143
|
* @remarks
|
|
5090
|
-
* Only sources of the **
|
|
5144
|
+
* Updates a secret. Only sources of the **Container Service** type are allowed to update Ingress listener configurations.
|
|
5091
5145
|
*
|
|
5092
5146
|
* @param request - UpdateSecretRequest
|
|
5093
5147
|
* @param headers - map
|
|
@@ -5101,7 +5155,7 @@ export default class Client extends OpenApi {
|
|
|
5101
5155
|
* Updates a secret.
|
|
5102
5156
|
*
|
|
5103
5157
|
* @remarks
|
|
5104
|
-
* Only sources of the **
|
|
5158
|
+
* Updates a secret. Only sources of the **Container Service** type are allowed to update Ingress listener configurations.
|
|
5105
5159
|
*
|
|
5106
5160
|
* @param request - UpdateSecretRequest
|
|
5107
5161
|
* @returns UpdateSecretResponse
|