@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.js
CHANGED
|
@@ -234,7 +234,7 @@ class Client extends openapi_core_1.default {
|
|
|
234
234
|
return await this.addGatewaySecurityGroupRuleWithOptions(gatewayId, request, headers, runtime);
|
|
235
235
|
}
|
|
236
236
|
/**
|
|
237
|
-
* Grants model card
|
|
237
|
+
* Grants model card licenses to a consumer.
|
|
238
238
|
*
|
|
239
239
|
* @param request - AuthorizeConsumerModelCardGrantsRequest
|
|
240
240
|
* @param headers - map
|
|
@@ -274,7 +274,7 @@ class Client extends openapi_core_1.default {
|
|
|
274
274
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AuthorizeConsumerModelCardGrantsResponse({}));
|
|
275
275
|
}
|
|
276
276
|
/**
|
|
277
|
-
* Grants model card
|
|
277
|
+
* Grants model card licenses to a consumer.
|
|
278
278
|
*
|
|
279
279
|
* @param request - AuthorizeConsumerModelCardGrantsRequest
|
|
280
280
|
* @returns AuthorizeConsumerModelCardGrantsResponse
|
|
@@ -851,7 +851,7 @@ class Client extends openapi_core_1.default {
|
|
|
851
851
|
return await this.createAiModelSourceWithOptions(request, headers, runtime);
|
|
852
852
|
}
|
|
853
853
|
/**
|
|
854
|
-
* Creates an
|
|
854
|
+
* Creates an in-source AI model.
|
|
855
855
|
*
|
|
856
856
|
* @param request - CreateAiModelSourceModelRequest
|
|
857
857
|
* @param headers - map
|
|
@@ -902,7 +902,7 @@ class Client extends openapi_core_1.default {
|
|
|
902
902
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAiModelSourceModelResponse({}));
|
|
903
903
|
}
|
|
904
904
|
/**
|
|
905
|
-
* Creates an
|
|
905
|
+
* Creates an in-source AI model.
|
|
906
906
|
*
|
|
907
907
|
* @param request - CreateAiModelSourceModelRequest
|
|
908
908
|
* @returns CreateAiModelSourceModelResponse
|
|
@@ -1053,6 +1053,9 @@ class Client extends openapi_core_1.default {
|
|
|
1053
1053
|
if (!$dara.isNull(request.enable)) {
|
|
1054
1054
|
body["enable"] = request.enable;
|
|
1055
1055
|
}
|
|
1056
|
+
if (!$dara.isNull(request.expireAt)) {
|
|
1057
|
+
body["expireAt"] = request.expireAt;
|
|
1058
|
+
}
|
|
1056
1059
|
if (!$dara.isNull(request.gatewayType)) {
|
|
1057
1060
|
body["gatewayType"] = request.gatewayType;
|
|
1058
1061
|
}
|
|
@@ -1531,18 +1534,18 @@ class Client extends openapi_core_1.default {
|
|
|
1531
1534
|
* Creates an asynchronous export task for the consumption details of a single consumer or consumer group under a gateway quota rule.
|
|
1532
1535
|
*
|
|
1533
1536
|
* @remarks
|
|
1534
|
-
* ##
|
|
1535
|
-
* 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
|
|
1536
|
-
* 1. Call this operation to obtain the taskId. A new task returns Pending,
|
|
1537
|
-
* 2.
|
|
1537
|
+
* ## Call procedure
|
|
1538
|
+
* 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.
|
|
1539
|
+
* 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.
|
|
1540
|
+
* 2. Use the same gatewayId, ruleId, subjectId, and the returned taskId to call GetGatewayQuotaRuleSubjectUsageExportTask and poll the task status.
|
|
1538
1541
|
* 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.
|
|
1539
1542
|
* ## Prerequisites and limits
|
|
1540
1543
|
* - 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.
|
|
1541
1544
|
* - 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.
|
|
1542
|
-
* - 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
|
|
1543
|
-
* - 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
|
|
1544
|
-
* - The processing timeout for a task is 10 minutes from creation. After
|
|
1545
|
-
* - The export time range, metering dimension, and subject name are determined at creation
|
|
1545
|
+
* - 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.
|
|
1546
|
+
* - 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.
|
|
1547
|
+
* - 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.
|
|
1548
|
+
* - 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.
|
|
1546
1549
|
*
|
|
1547
1550
|
* @param request - CreateGatewayQuotaRuleSubjectUsageExportTaskRequest
|
|
1548
1551
|
* @param headers - map
|
|
@@ -1588,18 +1591,18 @@ class Client extends openapi_core_1.default {
|
|
|
1588
1591
|
* Creates an asynchronous export task for the consumption details of a single consumer or consumer group under a gateway quota rule.
|
|
1589
1592
|
*
|
|
1590
1593
|
* @remarks
|
|
1591
|
-
* ##
|
|
1592
|
-
* 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
|
|
1593
|
-
* 1. Call this operation to obtain the taskId. A new task returns Pending,
|
|
1594
|
-
* 2.
|
|
1594
|
+
* ## Call procedure
|
|
1595
|
+
* 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.
|
|
1596
|
+
* 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.
|
|
1597
|
+
* 2. Use the same gatewayId, ruleId, subjectId, and the returned taskId to call GetGatewayQuotaRuleSubjectUsageExportTask and poll the task status.
|
|
1595
1598
|
* 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.
|
|
1596
1599
|
* ## Prerequisites and limits
|
|
1597
1600
|
* - 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.
|
|
1598
1601
|
* - 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.
|
|
1599
|
-
* - 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
|
|
1600
|
-
* - 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
|
|
1601
|
-
* - The processing timeout for a task is 10 minutes from creation. After
|
|
1602
|
-
* - The export time range, metering dimension, and subject name are determined at creation
|
|
1602
|
+
* - 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.
|
|
1603
|
+
* - 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.
|
|
1604
|
+
* - 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.
|
|
1605
|
+
* - 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.
|
|
1603
1606
|
*
|
|
1604
1607
|
* @param request - CreateGatewayQuotaRuleSubjectUsageExportTaskRequest
|
|
1605
1608
|
* @returns CreateGatewayQuotaRuleSubjectUsageExportTaskResponse
|
|
@@ -1781,6 +1784,9 @@ class Client extends openapi_core_1.default {
|
|
|
1781
1784
|
if (!$dara.isNull(request.environmentId)) {
|
|
1782
1785
|
body["environmentId"] = request.environmentId;
|
|
1783
1786
|
}
|
|
1787
|
+
if (!$dara.isNull(request.gatewayId)) {
|
|
1788
|
+
body["gatewayId"] = request.gatewayId;
|
|
1789
|
+
}
|
|
1784
1790
|
if (!$dara.isNull(request.match)) {
|
|
1785
1791
|
body["match"] = request.match;
|
|
1786
1792
|
}
|
|
@@ -1940,6 +1946,9 @@ class Client extends openapi_core_1.default {
|
|
|
1940
1946
|
/**
|
|
1941
1947
|
* Creates a Model Context Protocol (MCP) server.
|
|
1942
1948
|
*
|
|
1949
|
+
* @remarks
|
|
1950
|
+
* Only sources of the **Container Service** type are allowed to update Ingress listener configurations.
|
|
1951
|
+
*
|
|
1943
1952
|
* @param request - CreateMcpServerRequest
|
|
1944
1953
|
* @param headers - map
|
|
1945
1954
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1972,6 +1981,9 @@ class Client extends openapi_core_1.default {
|
|
|
1972
1981
|
if (!$dara.isNull(request.grayMcpServerConfigs)) {
|
|
1973
1982
|
body["grayMcpServerConfigs"] = request.grayMcpServerConfigs;
|
|
1974
1983
|
}
|
|
1984
|
+
if (!$dara.isNull(request.instructions)) {
|
|
1985
|
+
body["instructions"] = request.instructions;
|
|
1986
|
+
}
|
|
1975
1987
|
if (!$dara.isNull(request.match)) {
|
|
1976
1988
|
body["match"] = request.match;
|
|
1977
1989
|
}
|
|
@@ -2010,6 +2022,9 @@ class Client extends openapi_core_1.default {
|
|
|
2010
2022
|
/**
|
|
2011
2023
|
* Creates a Model Context Protocol (MCP) server.
|
|
2012
2024
|
*
|
|
2025
|
+
* @remarks
|
|
2026
|
+
* Only sources of the **Container Service** type are allowed to update Ingress listener configurations.
|
|
2027
|
+
*
|
|
2013
2028
|
* @param request - CreateMcpServerRequest
|
|
2014
2029
|
* @returns CreateMcpServerResponse
|
|
2015
2030
|
*/
|
|
@@ -2754,6 +2769,13 @@ class Client extends openapi_core_1.default {
|
|
|
2754
2769
|
/**
|
|
2755
2770
|
* Generates a secret.
|
|
2756
2771
|
*
|
|
2772
|
+
* @remarks
|
|
2773
|
+
* ## Before you begin
|
|
2774
|
+
* Before calling this operation, you must prepare the following resources in Key Management Service (KMS):
|
|
2775
|
+
* - KMS instance: Create an instance in KMS and obtain the instance ID. Pass the instance ID as the kmsConfig.kmsInstanceId parameter.
|
|
2776
|
+
* - KMS key: Create a key in the instance and obtain the key ID. Pass the key ID as the kmsConfig.kmsKeyId parameter.
|
|
2777
|
+
* 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.
|
|
2778
|
+
*
|
|
2757
2779
|
* @param request - CreateSecretRequest
|
|
2758
2780
|
* @param headers - map
|
|
2759
2781
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2800,6 +2822,13 @@ class Client extends openapi_core_1.default {
|
|
|
2800
2822
|
/**
|
|
2801
2823
|
* Generates a secret.
|
|
2802
2824
|
*
|
|
2825
|
+
* @remarks
|
|
2826
|
+
* ## Before you begin
|
|
2827
|
+
* Before calling this operation, you must prepare the following resources in Key Management Service (KMS):
|
|
2828
|
+
* - KMS instance: Create an instance in KMS and obtain the instance ID. Pass the instance ID as the kmsConfig.kmsInstanceId parameter.
|
|
2829
|
+
* - KMS key: Create a key in the instance and obtain the key ID. Pass the key ID as the kmsConfig.kmsKeyId parameter.
|
|
2830
|
+
* 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.
|
|
2831
|
+
*
|
|
2803
2832
|
* @param request - CreateSecretRequest
|
|
2804
2833
|
* @returns CreateSecretResponse
|
|
2805
2834
|
*/
|
|
@@ -3542,7 +3571,7 @@ class Client extends openapi_core_1.default {
|
|
|
3542
3571
|
return await this.deleteHttpApiRouteWithOptions(httpApiId, routeId, headers, runtime);
|
|
3543
3572
|
}
|
|
3544
3573
|
/**
|
|
3545
|
-
* Deletes
|
|
3574
|
+
* Deletes the specified logical model.
|
|
3546
3575
|
*
|
|
3547
3576
|
* @param request - DeleteLogicalModelRequest
|
|
3548
3577
|
* @param headers - map
|
|
@@ -3573,7 +3602,7 @@ class Client extends openapi_core_1.default {
|
|
|
3573
3602
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteLogicalModelResponse({}));
|
|
3574
3603
|
}
|
|
3575
3604
|
/**
|
|
3576
|
-
* Deletes
|
|
3605
|
+
* Deletes the specified logical model.
|
|
3577
3606
|
*
|
|
3578
3607
|
* @param request - DeleteLogicalModelRequest
|
|
3579
3608
|
* @returns DeleteLogicalModelResponse
|
|
@@ -3657,7 +3686,7 @@ class Client extends openapi_core_1.default {
|
|
|
3657
3686
|
* Deletes a model API.
|
|
3658
3687
|
*
|
|
3659
3688
|
* @remarks
|
|
3660
|
-
*
|
|
3689
|
+
* 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.
|
|
3661
3690
|
*
|
|
3662
3691
|
* @param request - DeleteModelApiRequest
|
|
3663
3692
|
* @param headers - map
|
|
@@ -3694,7 +3723,7 @@ class Client extends openapi_core_1.default {
|
|
|
3694
3723
|
* Deletes a model API.
|
|
3695
3724
|
*
|
|
3696
3725
|
* @remarks
|
|
3697
|
-
*
|
|
3726
|
+
* 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.
|
|
3698
3727
|
*
|
|
3699
3728
|
* @param request - DeleteModelApiRequest
|
|
3700
3729
|
* @returns DeleteModelApiResponse
|
|
@@ -3705,7 +3734,7 @@ class Client extends openapi_core_1.default {
|
|
|
3705
3734
|
return await this.deleteModelApiWithOptions(httpApiId, request, headers, runtime);
|
|
3706
3735
|
}
|
|
3707
3736
|
/**
|
|
3708
|
-
*
|
|
3737
|
+
* Deletes a model group.
|
|
3709
3738
|
*
|
|
3710
3739
|
* @param request - DeleteModelGroupRequest
|
|
3711
3740
|
* @param headers - map
|
|
@@ -3736,7 +3765,7 @@ class Client extends openapi_core_1.default {
|
|
|
3736
3765
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteModelGroupResponse({}));
|
|
3737
3766
|
}
|
|
3738
3767
|
/**
|
|
3739
|
-
*
|
|
3768
|
+
* Deletes a model group.
|
|
3740
3769
|
*
|
|
3741
3770
|
* @param request - DeleteModelGroupRequest
|
|
3742
3771
|
* @returns DeleteModelGroupResponse
|
|
@@ -4511,7 +4540,7 @@ class Client extends openapi_core_1.default {
|
|
|
4511
4540
|
return await this.getAiModelSourceWithOptions(modelSourceId, request, headers, runtime);
|
|
4512
4541
|
}
|
|
4513
4542
|
/**
|
|
4514
|
-
*
|
|
4543
|
+
* Queries the impact of editing an AI model source.
|
|
4515
4544
|
*
|
|
4516
4545
|
* @param request - GetAiModelSourceEditImpactRequest
|
|
4517
4546
|
* @param headers - map
|
|
@@ -4537,7 +4566,7 @@ class Client extends openapi_core_1.default {
|
|
|
4537
4566
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAiModelSourceEditImpactResponse({}));
|
|
4538
4567
|
}
|
|
4539
4568
|
/**
|
|
4540
|
-
*
|
|
4569
|
+
* Queries the impact of editing an AI model source.
|
|
4541
4570
|
*
|
|
4542
4571
|
* @param request - GetAiModelSourceEditImpactRequest
|
|
4543
4572
|
* @returns GetAiModelSourceEditImpactResponse
|
|
@@ -4548,7 +4577,7 @@ class Client extends openapi_core_1.default {
|
|
|
4548
4577
|
return await this.getAiModelSourceEditImpactWithOptions(modelSourceId, request, headers, runtime);
|
|
4549
4578
|
}
|
|
4550
4579
|
/**
|
|
4551
|
-
* Queries AI models in a source.
|
|
4580
|
+
* Queries AI models in a model source.
|
|
4552
4581
|
*
|
|
4553
4582
|
* @param request - GetAiModelSourceModelRequest
|
|
4554
4583
|
* @param headers - map
|
|
@@ -4574,7 +4603,7 @@ class Client extends openapi_core_1.default {
|
|
|
4574
4603
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAiModelSourceModelResponse({}));
|
|
4575
4604
|
}
|
|
4576
4605
|
/**
|
|
4577
|
-
* Queries AI models in a source.
|
|
4606
|
+
* Queries AI models in a model source.
|
|
4578
4607
|
*
|
|
4579
4608
|
* @param request - GetAiModelSourceModelRequest
|
|
4580
4609
|
* @returns GetAiModelSourceModelResponse
|
|
@@ -4779,7 +4808,7 @@ class Client extends openapi_core_1.default {
|
|
|
4779
4808
|
return await this.getConsumerWithOptions(consumerId, headers, runtime);
|
|
4780
4809
|
}
|
|
4781
4810
|
/**
|
|
4782
|
-
* Queries the access overview
|
|
4811
|
+
* Queries the access overview of a consumer.
|
|
4783
4812
|
*
|
|
4784
4813
|
* @param request - GetConsumerAccessOverviewRequest
|
|
4785
4814
|
* @param headers - map
|
|
@@ -4810,7 +4839,7 @@ class Client extends openapi_core_1.default {
|
|
|
4810
4839
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetConsumerAccessOverviewResponse({}));
|
|
4811
4840
|
}
|
|
4812
4841
|
/**
|
|
4813
|
-
* Queries the access overview
|
|
4842
|
+
* Queries the access overview of a consumer.
|
|
4814
4843
|
*
|
|
4815
4844
|
* @param request - GetConsumerAccessOverviewRequest
|
|
4816
4845
|
* @returns GetConsumerAccessOverviewResponse
|
|
@@ -4969,6 +4998,15 @@ class Client extends openapi_core_1.default {
|
|
|
4969
4998
|
/**
|
|
4970
4999
|
* Queries the account information of the currently logged-on developer and returns the developer ID, portal ID, username, and status.
|
|
4971
5000
|
*
|
|
5001
|
+
* @remarks
|
|
5002
|
+
* ## Before you begin and call sequence
|
|
5003
|
+
* This operation queries the account information of the currently logged-on developer. You must complete the following steps in order:
|
|
5004
|
+
* 1. Call CreatePortal to create a developer portal and obtain the portalId.
|
|
5005
|
+
* 2. Call CreateDeveloper to register a developer account under the portal.
|
|
5006
|
+
* 3. Call LoginDeveloper to log on to the developer account and obtain the accessToken.
|
|
5007
|
+
* 4. Call this operation with the accessToken obtained in the previous step.
|
|
5008
|
+
* Related operations: CreatePortal, CreateDeveloper, and LoginDeveloper.
|
|
5009
|
+
*
|
|
4972
5010
|
* @param request - GetDeveloperRequest
|
|
4973
5011
|
* @param headers - map
|
|
4974
5012
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4995,6 +5033,15 @@ class Client extends openapi_core_1.default {
|
|
|
4995
5033
|
/**
|
|
4996
5034
|
* Queries the account information of the currently logged-on developer and returns the developer ID, portal ID, username, and status.
|
|
4997
5035
|
*
|
|
5036
|
+
* @remarks
|
|
5037
|
+
* ## Before you begin and call sequence
|
|
5038
|
+
* This operation queries the account information of the currently logged-on developer. You must complete the following steps in order:
|
|
5039
|
+
* 1. Call CreatePortal to create a developer portal and obtain the portalId.
|
|
5040
|
+
* 2. Call CreateDeveloper to register a developer account under the portal.
|
|
5041
|
+
* 3. Call LoginDeveloper to log on to the developer account and obtain the accessToken.
|
|
5042
|
+
* 4. Call this operation with the accessToken obtained in the previous step.
|
|
5043
|
+
* Related operations: CreatePortal, CreateDeveloper, and LoginDeveloper.
|
|
5044
|
+
*
|
|
4998
5045
|
* @param request - GetDeveloperRequest
|
|
4999
5046
|
* @returns GetDeveloperResponse
|
|
5000
5047
|
*/
|
|
@@ -5370,20 +5417,20 @@ class Client extends openapi_core_1.default {
|
|
|
5370
5417
|
return await this.getGatewayQuotaRuleSubjectUsageWithOptions(gatewayId, ruleId, subjectId, request, headers, runtime);
|
|
5371
5418
|
}
|
|
5372
5419
|
/**
|
|
5373
|
-
* Queries the status, processing progress, failure cause, and file download information of an export task for
|
|
5420
|
+
* Queries the status, processing progress, failure cause, and file download information of an export task for quota rule subject consumption details.
|
|
5374
5421
|
*
|
|
5375
5422
|
* @remarks
|
|
5376
|
-
* ##
|
|
5423
|
+
* ## Call flow
|
|
5377
5424
|
* 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.
|
|
5378
|
-
* - Pending or Running: The task is not completed. You can query again after a period of time.
|
|
5425
|
+
* - Pending or Running: The task is not completed. You can query the task again after a period of time.
|
|
5379
5426
|
* - Success: Check result.fileExpired and result.downloadUrl. If the file is not expired and a link is returned, you can download the file.
|
|
5380
|
-
* - Failed: Troubleshoot the issue based on errorMessage. To export again, call the create operation with a new clientToken.
|
|
5381
|
-
* ## Download
|
|
5382
|
-
* 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
|
|
5383
|
-
* After
|
|
5427
|
+
* - Failed: Troubleshoot the issue based on errorMessage. To export the data again, call the create operation with a new clientToken.
|
|
5428
|
+
* ## Download link and file validity period
|
|
5429
|
+
* 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.
|
|
5430
|
+
* 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.
|
|
5384
5431
|
* ## Query scope and task progress
|
|
5385
|
-
* 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.
|
|
5386
|
-
* 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
|
|
5432
|
+
* 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.
|
|
5433
|
+
* 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.
|
|
5387
5434
|
*
|
|
5388
5435
|
* @param request - GetGatewayQuotaRuleSubjectUsageExportTaskRequest
|
|
5389
5436
|
* @param headers - map
|
|
@@ -5409,20 +5456,20 @@ class Client extends openapi_core_1.default {
|
|
|
5409
5456
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGatewayQuotaRuleSubjectUsageExportTaskResponse({}));
|
|
5410
5457
|
}
|
|
5411
5458
|
/**
|
|
5412
|
-
* Queries the status, processing progress, failure cause, and file download information of an export task for
|
|
5459
|
+
* Queries the status, processing progress, failure cause, and file download information of an export task for quota rule subject consumption details.
|
|
5413
5460
|
*
|
|
5414
5461
|
* @remarks
|
|
5415
|
-
* ##
|
|
5462
|
+
* ## Call flow
|
|
5416
5463
|
* 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.
|
|
5417
|
-
* - Pending or Running: The task is not completed. You can query again after a period of time.
|
|
5464
|
+
* - Pending or Running: The task is not completed. You can query the task again after a period of time.
|
|
5418
5465
|
* - Success: Check result.fileExpired and result.downloadUrl. If the file is not expired and a link is returned, you can download the file.
|
|
5419
|
-
* - Failed: Troubleshoot the issue based on errorMessage. To export again, call the create operation with a new clientToken.
|
|
5420
|
-
* ## Download
|
|
5421
|
-
* 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
|
|
5422
|
-
* After
|
|
5466
|
+
* - Failed: Troubleshoot the issue based on errorMessage. To export the data again, call the create operation with a new clientToken.
|
|
5467
|
+
* ## Download link and file validity period
|
|
5468
|
+
* 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.
|
|
5469
|
+
* 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.
|
|
5423
5470
|
* ## Query scope and task progress
|
|
5424
|
-
* 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.
|
|
5425
|
-
* 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
|
|
5471
|
+
* 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.
|
|
5472
|
+
* 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.
|
|
5426
5473
|
*
|
|
5427
5474
|
* @param request - GetGatewayQuotaRuleSubjectUsageExportTaskRequest
|
|
5428
5475
|
* @returns GetGatewayQuotaRuleSubjectUsageExportTaskResponse
|
|
@@ -5658,7 +5705,7 @@ class Client extends openapi_core_1.default {
|
|
|
5658
5705
|
return await this.getHttpApiRouteWithOptions(httpApiId, routeId, headers, runtime);
|
|
5659
5706
|
}
|
|
5660
5707
|
/**
|
|
5661
|
-
*
|
|
5708
|
+
* Queries the details of a logical model.
|
|
5662
5709
|
*
|
|
5663
5710
|
* @param request - GetLogicalModelRequest
|
|
5664
5711
|
* @param headers - map
|
|
@@ -5684,7 +5731,7 @@ class Client extends openapi_core_1.default {
|
|
|
5684
5731
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLogicalModelResponse({}));
|
|
5685
5732
|
}
|
|
5686
5733
|
/**
|
|
5687
|
-
*
|
|
5734
|
+
* Queries the details of a logical model.
|
|
5688
5735
|
*
|
|
5689
5736
|
* @param request - GetLogicalModelRequest
|
|
5690
5737
|
* @returns GetLogicalModelResponse
|
|
@@ -5695,7 +5742,7 @@ class Client extends openapi_core_1.default {
|
|
|
5695
5742
|
return await this.getLogicalModelWithOptions(logicalModelId, request, headers, runtime);
|
|
5696
5743
|
}
|
|
5697
5744
|
/**
|
|
5698
|
-
*
|
|
5745
|
+
* Queries the configuration delivery of a logical model.
|
|
5699
5746
|
*
|
|
5700
5747
|
* @param request - GetLogicalModelDeploymentRequest
|
|
5701
5748
|
* @param headers - map
|
|
@@ -5721,7 +5768,7 @@ class Client extends openapi_core_1.default {
|
|
|
5721
5768
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLogicalModelDeploymentResponse({}));
|
|
5722
5769
|
}
|
|
5723
5770
|
/**
|
|
5724
|
-
*
|
|
5771
|
+
* Queries the configuration delivery of a logical model.
|
|
5725
5772
|
*
|
|
5726
5773
|
* @param request - GetLogicalModelDeploymentRequest
|
|
5727
5774
|
* @returns GetLogicalModelDeploymentResponse
|
|
@@ -5845,10 +5892,10 @@ class Client extends openapi_core_1.default {
|
|
|
5845
5892
|
return await this.getMigrationTaskWithOptions(taskId, request, headers, runtime);
|
|
5846
5893
|
}
|
|
5847
5894
|
/**
|
|
5848
|
-
*
|
|
5895
|
+
* Queries the details of a model API.
|
|
5849
5896
|
*
|
|
5850
5897
|
* @remarks
|
|
5851
|
-
*
|
|
5898
|
+
* 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.
|
|
5852
5899
|
*
|
|
5853
5900
|
* @param request - GetModelApiRequest
|
|
5854
5901
|
* @param headers - map
|
|
@@ -5874,10 +5921,10 @@ class Client extends openapi_core_1.default {
|
|
|
5874
5921
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetModelApiResponse({}));
|
|
5875
5922
|
}
|
|
5876
5923
|
/**
|
|
5877
|
-
*
|
|
5924
|
+
* Queries the details of a model API.
|
|
5878
5925
|
*
|
|
5879
5926
|
* @remarks
|
|
5880
|
-
*
|
|
5927
|
+
* 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.
|
|
5881
5928
|
*
|
|
5882
5929
|
* @param request - GetModelApiRequest
|
|
5883
5930
|
* @returns GetModelApiResponse
|
|
@@ -5888,7 +5935,7 @@ class Client extends openapi_core_1.default {
|
|
|
5888
5935
|
return await this.getModelApiWithOptions(httpApiId, request, headers, runtime);
|
|
5889
5936
|
}
|
|
5890
5937
|
/**
|
|
5891
|
-
*
|
|
5938
|
+
* Queries the configuration, entitlement status, and the summary of the latest configuration deployment for a specified model group.
|
|
5892
5939
|
*
|
|
5893
5940
|
* @param request - GetModelGroupRequest
|
|
5894
5941
|
* @param headers - map
|
|
@@ -5914,7 +5961,7 @@ class Client extends openapi_core_1.default {
|
|
|
5914
5961
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetModelGroupResponse({}));
|
|
5915
5962
|
}
|
|
5916
5963
|
/**
|
|
5917
|
-
*
|
|
5964
|
+
* Queries the configuration, entitlement status, and the summary of the latest configuration deployment for a specified model group.
|
|
5918
5965
|
*
|
|
5919
5966
|
* @param request - GetModelGroupRequest
|
|
5920
5967
|
* @returns GetModelGroupResponse
|
|
@@ -6955,7 +7002,7 @@ class Client extends openapi_core_1.default {
|
|
|
6955
7002
|
return await this.listAiModelProvidersWithOptions(request, headers, runtime);
|
|
6956
7003
|
}
|
|
6957
7004
|
/**
|
|
6958
|
-
*
|
|
7005
|
+
* Queries the AI models in a model source.
|
|
6959
7006
|
*
|
|
6960
7007
|
* @param request - ListAiModelSourceModelsRequest
|
|
6961
7008
|
* @param headers - map
|
|
@@ -6998,7 +7045,7 @@ class Client extends openapi_core_1.default {
|
|
|
6998
7045
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAiModelSourceModelsResponse({}));
|
|
6999
7046
|
}
|
|
7000
7047
|
/**
|
|
7001
|
-
*
|
|
7048
|
+
* Queries the AI models in a model source.
|
|
7002
7049
|
*
|
|
7003
7050
|
* @param request - ListAiModelSourceModelsRequest
|
|
7004
7051
|
* @returns ListAiModelSourceModelsResponse
|
|
@@ -7437,7 +7484,7 @@ class Client extends openapi_core_1.default {
|
|
|
7437
7484
|
return await this.listConsumerGroupQuotaRulesWithOptions(consumerGroupId, request, headers, runtime);
|
|
7438
7485
|
}
|
|
7439
7486
|
/**
|
|
7440
|
-
* Queries
|
|
7487
|
+
* Queries consumer groups.
|
|
7441
7488
|
*
|
|
7442
7489
|
* @param request - ListConsumerGroupsRequest
|
|
7443
7490
|
* @param headers - map
|
|
@@ -7477,7 +7524,7 @@ class Client extends openapi_core_1.default {
|
|
|
7477
7524
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConsumerGroupsResponse({}));
|
|
7478
7525
|
}
|
|
7479
7526
|
/**
|
|
7480
|
-
* Queries
|
|
7527
|
+
* Queries consumer groups.
|
|
7481
7528
|
*
|
|
7482
7529
|
* @param request - ListConsumerGroupsRequest
|
|
7483
7530
|
* @returns ListConsumerGroupsResponse
|
|
@@ -7488,7 +7535,7 @@ class Client extends openapi_core_1.default {
|
|
|
7488
7535
|
return await this.listConsumerGroupsWithOptions(request, headers, runtime);
|
|
7489
7536
|
}
|
|
7490
7537
|
/**
|
|
7491
|
-
* Queries the model card entitlements for consumers.
|
|
7538
|
+
* Queries the list of model card entitlements for consumers.
|
|
7492
7539
|
*
|
|
7493
7540
|
* @param request - ListConsumerModelCardGrantsRequest
|
|
7494
7541
|
* @param headers - map
|
|
@@ -7531,7 +7578,7 @@ class Client extends openapi_core_1.default {
|
|
|
7531
7578
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConsumerModelCardGrantsResponse({}));
|
|
7532
7579
|
}
|
|
7533
7580
|
/**
|
|
7534
|
-
* Queries the model card entitlements for consumers.
|
|
7581
|
+
* Queries the list of model card entitlements for consumers.
|
|
7535
7582
|
*
|
|
7536
7583
|
* @param request - ListConsumerModelCardGrantsRequest
|
|
7537
7584
|
* @returns ListConsumerModelCardGrantsResponse
|
|
@@ -7606,9 +7653,15 @@ class Client extends openapi_core_1.default {
|
|
|
7606
7653
|
async listConsumersWithOptions(request, headers, runtime) {
|
|
7607
7654
|
request.validate();
|
|
7608
7655
|
let query = {};
|
|
7656
|
+
if (!$dara.isNull(request.expireStatus)) {
|
|
7657
|
+
query["expireStatus"] = request.expireStatus;
|
|
7658
|
+
}
|
|
7609
7659
|
if (!$dara.isNull(request.gatewayType)) {
|
|
7610
7660
|
query["gatewayType"] = request.gatewayType;
|
|
7611
7661
|
}
|
|
7662
|
+
if (!$dara.isNull(request.includeExpirationSummary)) {
|
|
7663
|
+
query["includeExpirationSummary"] = request.includeExpirationSummary;
|
|
7664
|
+
}
|
|
7612
7665
|
if (!$dara.isNull(request.nameLike)) {
|
|
7613
7666
|
query["nameLike"] = request.nameLike;
|
|
7614
7667
|
}
|
|
@@ -7618,6 +7671,9 @@ class Client extends openapi_core_1.default {
|
|
|
7618
7671
|
if (!$dara.isNull(request.pageSize)) {
|
|
7619
7672
|
query["pageSize"] = request.pageSize;
|
|
7620
7673
|
}
|
|
7674
|
+
if (!$dara.isNull(request.status)) {
|
|
7675
|
+
query["status"] = request.status;
|
|
7676
|
+
}
|
|
7621
7677
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7622
7678
|
headers: headers,
|
|
7623
7679
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
@@ -8531,7 +8587,7 @@ class Client extends openapi_core_1.default {
|
|
|
8531
8587
|
return await this.listHttpApiOperationsWithOptions(httpApiId, request, headers, runtime);
|
|
8532
8588
|
}
|
|
8533
8589
|
/**
|
|
8534
|
-
* Queries the
|
|
8590
|
+
* Queries the routes of an HTTP API.
|
|
8535
8591
|
*
|
|
8536
8592
|
* @param request - ListHttpApiRoutesRequest
|
|
8537
8593
|
* @param headers - map
|
|
@@ -8604,7 +8660,7 @@ class Client extends openapi_core_1.default {
|
|
|
8604
8660
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListHttpApiRoutesResponse({}));
|
|
8605
8661
|
}
|
|
8606
8662
|
/**
|
|
8607
|
-
* Queries the
|
|
8663
|
+
* Queries the routes of an HTTP API.
|
|
8608
8664
|
*
|
|
8609
8665
|
* @param request - ListHttpApiRoutesRequest
|
|
8610
8666
|
* @returns ListHttpApiRoutesResponse
|
|
@@ -9096,7 +9152,7 @@ class Client extends openapi_core_1.default {
|
|
|
9096
9152
|
return await this.listModelCardsWithOptions(request, headers, runtime);
|
|
9097
9153
|
}
|
|
9098
9154
|
/**
|
|
9099
|
-
*
|
|
9155
|
+
* Queries a list of model groups.
|
|
9100
9156
|
*
|
|
9101
9157
|
* @param request - ListModelGroupsRequest
|
|
9102
9158
|
* @param headers - map
|
|
@@ -9136,7 +9192,7 @@ class Client extends openapi_core_1.default {
|
|
|
9136
9192
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListModelGroupsResponse({}));
|
|
9137
9193
|
}
|
|
9138
9194
|
/**
|
|
9139
|
-
*
|
|
9195
|
+
* Queries a list of model groups.
|
|
9140
9196
|
*
|
|
9141
9197
|
* @param request - ListModelGroupsRequest
|
|
9142
9198
|
* @returns ListModelGroupsResponse
|
|
@@ -9701,10 +9757,10 @@ class Client extends openapi_core_1.default {
|
|
|
9701
9757
|
return await this.listPortalsWithOptions(request, headers, runtime);
|
|
9702
9758
|
}
|
|
9703
9759
|
/**
|
|
9704
|
-
* Queries the
|
|
9760
|
+
* Queries the unmanaged security groups available for private endpoints.
|
|
9705
9761
|
*
|
|
9706
9762
|
* @remarks
|
|
9707
|
-
*
|
|
9763
|
+
* The API supports creating multiple services.
|
|
9708
9764
|
*
|
|
9709
9765
|
* @param request - ListPrivateLinkSecurityGroupsRequest
|
|
9710
9766
|
* @param headers - map
|
|
@@ -9741,10 +9797,10 @@ class Client extends openapi_core_1.default {
|
|
|
9741
9797
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPrivateLinkSecurityGroupsResponse({}));
|
|
9742
9798
|
}
|
|
9743
9799
|
/**
|
|
9744
|
-
* Queries the
|
|
9800
|
+
* Queries the unmanaged security groups available for private endpoints.
|
|
9745
9801
|
*
|
|
9746
9802
|
* @remarks
|
|
9747
|
-
*
|
|
9803
|
+
* The API supports creating multiple services.
|
|
9748
9804
|
*
|
|
9749
9805
|
* @param request - ListPrivateLinkSecurityGroupsRequest
|
|
9750
9806
|
* @returns ListPrivateLinkSecurityGroupsResponse
|
|
@@ -10571,7 +10627,7 @@ class Client extends openapi_core_1.default {
|
|
|
10571
10627
|
return await this.logoutDeveloperWithOptions(request, headers, runtime);
|
|
10572
10628
|
}
|
|
10573
10629
|
/**
|
|
10574
|
-
*
|
|
10630
|
+
* Simulates the impact of logical model modifications.
|
|
10575
10631
|
*
|
|
10576
10632
|
* @param request - PreviewLogicalModelUpdateRequest
|
|
10577
10633
|
* @param headers - map
|
|
@@ -10620,7 +10676,7 @@ class Client extends openapi_core_1.default {
|
|
|
10620
10676
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PreviewLogicalModelUpdateResponse({}));
|
|
10621
10677
|
}
|
|
10622
10678
|
/**
|
|
10623
|
-
*
|
|
10679
|
+
* Simulates the impact of logical model modifications.
|
|
10624
10680
|
*
|
|
10625
10681
|
* @param request - PreviewLogicalModelUpdateRequest
|
|
10626
10682
|
* @returns PreviewLogicalModelUpdateResponse
|
|
@@ -10947,7 +11003,7 @@ class Client extends openapi_core_1.default {
|
|
|
10947
11003
|
return await this.restartGatewayWithOptions(gatewayId, headers, runtime);
|
|
10948
11004
|
}
|
|
10949
11005
|
/**
|
|
10950
|
-
* Retries the delivery of
|
|
11006
|
+
* Retries the delivery of logical model configurations.
|
|
10951
11007
|
*
|
|
10952
11008
|
* @param request - RetryLogicalModelDeploymentRequest
|
|
10953
11009
|
* @param headers - map
|
|
@@ -10981,7 +11037,7 @@ class Client extends openapi_core_1.default {
|
|
|
10981
11037
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RetryLogicalModelDeploymentResponse({}));
|
|
10982
11038
|
}
|
|
10983
11039
|
/**
|
|
10984
|
-
* Retries the delivery of
|
|
11040
|
+
* Retries the delivery of logical model configurations.
|
|
10985
11041
|
*
|
|
10986
11042
|
* @param request - RetryLogicalModelDeploymentRequest
|
|
10987
11043
|
* @returns RetryLogicalModelDeploymentResponse
|
|
@@ -10992,10 +11048,10 @@ class Client extends openapi_core_1.default {
|
|
|
10992
11048
|
return await this.retryLogicalModelDeploymentWithOptions(operationId, request, headers, runtime);
|
|
10993
11049
|
}
|
|
10994
11050
|
/**
|
|
10995
|
-
* Queries the currently active credentials for
|
|
11051
|
+
* Queries the currently active credentials for an AI service.
|
|
10996
11052
|
*
|
|
10997
11053
|
* @remarks
|
|
10998
|
-
* Queries the currently active credentials for
|
|
11054
|
+
* Queries the currently active credentials for an AI service.
|
|
10999
11055
|
*
|
|
11000
11056
|
* @param request - RevealServiceCredentialRequest
|
|
11001
11057
|
* @param headers - map
|
|
@@ -11021,10 +11077,10 @@ class Client extends openapi_core_1.default {
|
|
|
11021
11077
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RevealServiceCredentialResponse({}));
|
|
11022
11078
|
}
|
|
11023
11079
|
/**
|
|
11024
|
-
* Queries the currently active credentials for
|
|
11080
|
+
* Queries the currently active credentials for an AI service.
|
|
11025
11081
|
*
|
|
11026
11082
|
* @remarks
|
|
11027
|
-
* Queries the currently active credentials for
|
|
11083
|
+
* Queries the currently active credentials for an AI service.
|
|
11028
11084
|
*
|
|
11029
11085
|
* @param request - RevealServiceCredentialRequest
|
|
11030
11086
|
* @returns RevealServiceCredentialResponse
|
|
@@ -11035,7 +11091,7 @@ class Client extends openapi_core_1.default {
|
|
|
11035
11091
|
return await this.revealServiceCredentialWithOptions(serviceId, request, headers, runtime);
|
|
11036
11092
|
}
|
|
11037
11093
|
/**
|
|
11038
|
-
* Revokes model card
|
|
11094
|
+
* Revokes the model card entitlements for a consumer.
|
|
11039
11095
|
*
|
|
11040
11096
|
* @param request - RevokeConsumerModelCardGrantsRequest
|
|
11041
11097
|
* @param headers - map
|
|
@@ -11075,7 +11131,7 @@ class Client extends openapi_core_1.default {
|
|
|
11075
11131
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RevokeConsumerModelCardGrantsResponse({}));
|
|
11076
11132
|
}
|
|
11077
11133
|
/**
|
|
11078
|
-
* Revokes model card
|
|
11134
|
+
* Revokes the model card entitlements for a consumer.
|
|
11079
11135
|
*
|
|
11080
11136
|
* @param request - RevokeConsumerModelCardGrantsRequest
|
|
11081
11137
|
* @returns RevokeConsumerModelCardGrantsResponse
|
|
@@ -11165,7 +11221,15 @@ class Client extends openapi_core_1.default {
|
|
|
11165
11221
|
return await this.subscribeProductWithOptions(consumerId, request, headers, runtime);
|
|
11166
11222
|
}
|
|
11167
11223
|
/**
|
|
11168
|
-
*
|
|
11224
|
+
* Syncs MCP servers from an external Nacos registry to a gateway.
|
|
11225
|
+
*
|
|
11226
|
+
* @remarks
|
|
11227
|
+
* ## Before you begin
|
|
11228
|
+
* Before you call this operation, complete the following preparations:
|
|
11229
|
+
* 1. Create a Nacos instance in Microservices Engine (MSE) and register an MCP server in the instance.
|
|
11230
|
+
* 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.
|
|
11231
|
+
* 3. Call ListGateways to obtain the system default domain name ID (subDomainInfos[].domainId) of the gateway for the domainIds parameter.
|
|
11232
|
+
* 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.
|
|
11169
11233
|
*
|
|
11170
11234
|
* @param request - SyncMCPServersRequest
|
|
11171
11235
|
* @param headers - map
|
|
@@ -11208,7 +11272,15 @@ class Client extends openapi_core_1.default {
|
|
|
11208
11272
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncMCPServersResponse({}));
|
|
11209
11273
|
}
|
|
11210
11274
|
/**
|
|
11211
|
-
*
|
|
11275
|
+
* Syncs MCP servers from an external Nacos registry to a gateway.
|
|
11276
|
+
*
|
|
11277
|
+
* @remarks
|
|
11278
|
+
* ## Before you begin
|
|
11279
|
+
* Before you call this operation, complete the following preparations:
|
|
11280
|
+
* 1. Create a Nacos instance in Microservices Engine (MSE) and register an MCP server in the instance.
|
|
11281
|
+
* 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.
|
|
11282
|
+
* 3. Call ListGateways to obtain the system default domain name ID (subDomainInfos[].domainId) of the gateway for the domainIds parameter.
|
|
11283
|
+
* 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.
|
|
11212
11284
|
*
|
|
11213
11285
|
* @param request - SyncMCPServersRequest
|
|
11214
11286
|
* @returns SyncMCPServersResponse
|
|
@@ -11633,7 +11705,7 @@ class Client extends openapi_core_1.default {
|
|
|
11633
11705
|
return await this.updateAiModelSourceWithOptions(modelSourceId, request, headers, runtime);
|
|
11634
11706
|
}
|
|
11635
11707
|
/**
|
|
11636
|
-
* Updates an AI model in a
|
|
11708
|
+
* Updates an AI model in a source.
|
|
11637
11709
|
*
|
|
11638
11710
|
* @param request - UpdateAiModelSourceModelRequest
|
|
11639
11711
|
* @param headers - map
|
|
@@ -11679,7 +11751,7 @@ class Client extends openapi_core_1.default {
|
|
|
11679
11751
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAiModelSourceModelResponse({}));
|
|
11680
11752
|
}
|
|
11681
11753
|
/**
|
|
11682
|
-
* Updates an AI model in a
|
|
11754
|
+
* Updates an AI model in a source.
|
|
11683
11755
|
*
|
|
11684
11756
|
* @param request - UpdateAiModelSourceModelRequest
|
|
11685
11757
|
* @returns UpdateAiModelSourceModelResponse
|
|
@@ -11853,15 +11925,27 @@ class Client extends openapi_core_1.default {
|
|
|
11853
11925
|
if (!$dara.isNull(request.apikeyIdentityConfig)) {
|
|
11854
11926
|
body["apikeyIdentityConfig"] = request.apikeyIdentityConfig;
|
|
11855
11927
|
}
|
|
11928
|
+
if (!$dara.isNull(request.clearExpireAt)) {
|
|
11929
|
+
body["clearExpireAt"] = request.clearExpireAt;
|
|
11930
|
+
}
|
|
11856
11931
|
if (!$dara.isNull(request.description)) {
|
|
11857
11932
|
body["description"] = request.description;
|
|
11858
11933
|
}
|
|
11859
11934
|
if (!$dara.isNull(request.enable)) {
|
|
11860
11935
|
body["enable"] = request.enable;
|
|
11861
11936
|
}
|
|
11937
|
+
if (!$dara.isNull(request.enableAfterRenewal)) {
|
|
11938
|
+
body["enableAfterRenewal"] = request.enableAfterRenewal;
|
|
11939
|
+
}
|
|
11940
|
+
if (!$dara.isNull(request.expireAt)) {
|
|
11941
|
+
body["expireAt"] = request.expireAt;
|
|
11942
|
+
}
|
|
11862
11943
|
if (!$dara.isNull(request.jwtIdentityConfig)) {
|
|
11863
11944
|
body["jwtIdentityConfig"] = request.jwtIdentityConfig;
|
|
11864
11945
|
}
|
|
11946
|
+
if (!$dara.isNull(request.renew)) {
|
|
11947
|
+
body["renew"] = request.renew;
|
|
11948
|
+
}
|
|
11865
11949
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11866
11950
|
headers: headers,
|
|
11867
11951
|
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
@@ -12682,6 +12766,9 @@ class Client extends openapi_core_1.default {
|
|
|
12682
12766
|
if (!$dara.isNull(request.environmentId)) {
|
|
12683
12767
|
body["environmentId"] = request.environmentId;
|
|
12684
12768
|
}
|
|
12769
|
+
if (!$dara.isNull(request.gatewayId)) {
|
|
12770
|
+
body["gatewayId"] = request.gatewayId;
|
|
12771
|
+
}
|
|
12685
12772
|
if (!$dara.isNull(request.match)) {
|
|
12686
12773
|
body["match"] = request.match;
|
|
12687
12774
|
}
|
|
@@ -12720,7 +12807,7 @@ class Client extends openapi_core_1.default {
|
|
|
12720
12807
|
return await this.updateHttpApiRouteWithOptions(httpApiId, routeId, request, headers, runtime);
|
|
12721
12808
|
}
|
|
12722
12809
|
/**
|
|
12723
|
-
*
|
|
12810
|
+
* Modifies a logical model.
|
|
12724
12811
|
*
|
|
12725
12812
|
* @param request - UpdateLogicalModelRequest
|
|
12726
12813
|
* @param headers - map
|
|
@@ -12777,7 +12864,7 @@ class Client extends openapi_core_1.default {
|
|
|
12777
12864
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateLogicalModelResponse({}));
|
|
12778
12865
|
}
|
|
12779
12866
|
/**
|
|
12780
|
-
*
|
|
12867
|
+
* Modifies a logical model.
|
|
12781
12868
|
*
|
|
12782
12869
|
* @param request - UpdateLogicalModelRequest
|
|
12783
12870
|
* @returns UpdateLogicalModelResponse
|
|
@@ -12791,7 +12878,7 @@ class Client extends openapi_core_1.default {
|
|
|
12791
12878
|
* Updates an MCP server.
|
|
12792
12879
|
*
|
|
12793
12880
|
* @remarks
|
|
12794
|
-
* Only sources of the **Container Service** type are allowed to update the
|
|
12881
|
+
* Only sources of the **Container Service** type are allowed to update the configurations of listening Ingresses.
|
|
12795
12882
|
*
|
|
12796
12883
|
* @param request - UpdateMcpServerRequest
|
|
12797
12884
|
* @param headers - map
|
|
@@ -12822,6 +12909,9 @@ class Client extends openapi_core_1.default {
|
|
|
12822
12909
|
if (!$dara.isNull(request.grayMcpServerConfigs)) {
|
|
12823
12910
|
body["grayMcpServerConfigs"] = request.grayMcpServerConfigs;
|
|
12824
12911
|
}
|
|
12912
|
+
if (!$dara.isNull(request.instructions)) {
|
|
12913
|
+
body["instructions"] = request.instructions;
|
|
12914
|
+
}
|
|
12825
12915
|
if (!$dara.isNull(request.match)) {
|
|
12826
12916
|
body["match"] = request.match;
|
|
12827
12917
|
}
|
|
@@ -12858,7 +12948,7 @@ class Client extends openapi_core_1.default {
|
|
|
12858
12948
|
* Updates an MCP server.
|
|
12859
12949
|
*
|
|
12860
12950
|
* @remarks
|
|
12861
|
-
* Only sources of the **Container Service** type are allowed to update the
|
|
12951
|
+
* Only sources of the **Container Service** type are allowed to update the configurations of listening Ingresses.
|
|
12862
12952
|
*
|
|
12863
12953
|
* @param request - UpdateMcpServerRequest
|
|
12864
12954
|
* @returns UpdateMcpServerResponse
|
|
@@ -12963,6 +13053,9 @@ class Client extends openapi_core_1.default {
|
|
|
12963
13053
|
if (!$dara.isNull(request.modelSelection)) {
|
|
12964
13054
|
body["modelSelection"] = request.modelSelection;
|
|
12965
13055
|
}
|
|
13056
|
+
if (!$dara.isNull(request.modelSelectionDelta)) {
|
|
13057
|
+
body["modelSelectionDelta"] = request.modelSelectionDelta;
|
|
13058
|
+
}
|
|
12966
13059
|
if (!$dara.isNull(request.name)) {
|
|
12967
13060
|
body["name"] = request.name;
|
|
12968
13061
|
}
|
|
@@ -13404,7 +13497,7 @@ class Client extends openapi_core_1.default {
|
|
|
13404
13497
|
* Updates a secret.
|
|
13405
13498
|
*
|
|
13406
13499
|
* @remarks
|
|
13407
|
-
* Only sources of the **
|
|
13500
|
+
* Updates a secret. Only sources of the **Container Service** type are allowed to update Ingress listener configurations.
|
|
13408
13501
|
*
|
|
13409
13502
|
* @param request - UpdateSecretRequest
|
|
13410
13503
|
* @param headers - map
|
|
@@ -13438,7 +13531,7 @@ class Client extends openapi_core_1.default {
|
|
|
13438
13531
|
* Updates a secret.
|
|
13439
13532
|
*
|
|
13440
13533
|
* @remarks
|
|
13441
|
-
* Only sources of the **
|
|
13534
|
+
* Updates a secret. Only sources of the **Container Service** type are allowed to update Ingress listener configurations.
|
|
13442
13535
|
*
|
|
13443
13536
|
* @param request - UpdateSecretRequest
|
|
13444
13537
|
* @returns UpdateSecretResponse
|