@alicloud/apig20240327 11.9.1 → 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 +50 -44
- package/dist/client.js +83 -44
- 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 +5 -5
- 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/CreateLogicalModelRequest.d.ts +18 -18
- package/dist/models/CreateLogicalModelResponseBody.d.ts +31 -31
- 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/CreateSecretRequest.d.ts +2 -2
- 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 +1 -1
- package/dist/models/DeleteModelGroupResponseBody.d.ts +2 -2
- package/dist/models/GetAiModelSourceEditImpactResponseBody.d.ts +8 -8
- 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/GetDirectSupplyRequest.d.ts +1 -1
- package/dist/models/GetDirectSupplyResponseBody.d.ts +2 -2
- package/dist/models/GetGatewayDfpExtProcServiceResponseBody.d.ts +1 -1
- package/dist/models/GetLogicalModelDeploymentResponseBody.d.ts +2 -2
- package/dist/models/GetLogicalModelResponseBody.d.ts +23 -23
- 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/GetModelGroupResponseBody.d.ts +9 -9
- 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 +2 -2
- package/dist/models/ListAiModelSourceModelsResponseBody.d.ts +8 -8
- package/dist/models/ListAiModelSourcesRequest.d.ts +3 -3
- package/dist/models/ListAiModelSourcesResponseBody.d.ts +7 -7
- 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 +3 -3
- 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/ListLogicalModelsRequest.d.ts +2 -2
- package/dist/models/ListLogicalModelsResponseBody.d.ts +11 -11
- 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 +1 -1
- package/dist/models/ListModelApisResponseBody.d.ts +2 -2
- package/dist/models/ListModelGroupsRequest.d.ts +1 -1
- package/dist/models/ListModelGroupsResponseBody.d.ts +8 -8
- 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 +16 -16
- package/dist/models/PreviewLogicalModelUpdateResponseBody.d.ts +9 -9
- package/dist/models/RetryLogicalModelDeploymentResponseBody.d.ts +5 -5
- package/dist/models/RevealServiceCredentialResponseBody.d.ts +13 -13
- package/dist/models/RevokeConsumerModelCardGrantsRequest.d.ts +6 -4
- package/dist/models/RevokeConsumerModelCardGrantsRequest.js.map +1 -1
- package/dist/models/RevokeConsumerModelCardGrantsResponseBody.d.ts +13 -9
- package/dist/models/RevokeConsumerModelCardGrantsResponseBody.js.map +1 -1
- package/dist/models/UpdateAiModelSourceModelRequest.d.ts +5 -5
- package/dist/models/UpdateAiModelSourceModelResponseBody.d.ts +13 -13
- package/dist/models/UpdateAiModelSourceRequest.d.ts +1 -1
- package/dist/models/UpdateAiModelSourceResponseBody.d.ts +5 -5
- 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/UpdateLogicalModelRequest.d.ts +10 -10
- package/dist/models/UpdateLogicalModelResponseBody.d.ts +26 -26
- 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/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 +94 -44
- 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 +5 -5
- package/src/models/CreateConsumerRequest.ts +15 -5
- package/src/models/CreateLogicalModelRequest.ts +18 -18
- package/src/models/CreateLogicalModelResponseBody.ts +31 -31
- 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/CreateSecretRequest.ts +2 -2
- 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 +1 -1
- package/src/models/DeleteModelGroupResponseBody.ts +2 -2
- package/src/models/GetAiModelSourceEditImpactResponseBody.ts +8 -8
- 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/GetDirectSupplyRequest.ts +1 -1
- package/src/models/GetDirectSupplyResponseBody.ts +2 -2
- package/src/models/GetGatewayDfpExtProcServiceResponseBody.ts +1 -1
- package/src/models/GetLogicalModelDeploymentResponseBody.ts +2 -2
- package/src/models/GetLogicalModelResponseBody.ts +23 -23
- package/src/models/GetMcpServerResponseBody.ts +28 -14
- package/src/models/GetModelGroupResponseBody.ts +9 -9
- 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 +2 -2
- package/src/models/ListAiModelSourceModelsResponseBody.ts +8 -8
- package/src/models/ListAiModelSourcesRequest.ts +3 -3
- package/src/models/ListAiModelSourcesResponseBody.ts +7 -7
- 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 +3 -3
- 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/ListLogicalModelsRequest.ts +2 -2
- package/src/models/ListLogicalModelsResponseBody.ts +11 -11
- package/src/models/ListMcpServersRequest.ts +3 -3
- package/src/models/ListMcpServersResponseBody.ts +27 -17
- package/src/models/ListModelApisRequest.ts +1 -1
- package/src/models/ListModelApisResponseBody.ts +2 -2
- package/src/models/ListModelGroupsRequest.ts +1 -1
- package/src/models/ListModelGroupsResponseBody.ts +8 -8
- 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 +16 -16
- package/src/models/PreviewLogicalModelUpdateResponseBody.ts +9 -9
- package/src/models/RetryLogicalModelDeploymentResponseBody.ts +5 -5
- package/src/models/RevealServiceCredentialResponseBody.ts +13 -13
- package/src/models/RevokeConsumerModelCardGrantsRequest.ts +6 -4
- package/src/models/RevokeConsumerModelCardGrantsResponseBody.ts +13 -9
- package/src/models/UpdateAiModelSourceModelRequest.ts +5 -5
- package/src/models/UpdateAiModelSourceModelResponseBody.ts +13 -13
- package/src/models/UpdateAiModelSourceRequest.ts +1 -1
- package/src/models/UpdateAiModelSourceResponseBody.ts +5 -5
- package/src/models/UpdateConsumerRequest.ts +41 -1
- package/src/models/UpdateConsumerResponseBody.ts +1 -1
- package/src/models/UpdateLogicalModelRequest.ts +10 -10
- package/src/models/UpdateLogicalModelResponseBody.ts +26 -26
- 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/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
|
|
@@ -795,7 +795,7 @@ class Client extends openapi_core_1.default {
|
|
|
795
795
|
return await this.createAiModelProviderWithOptions(request, headers, runtime);
|
|
796
796
|
}
|
|
797
797
|
/**
|
|
798
|
-
* Creates
|
|
798
|
+
* Creates a standalone AI model source.
|
|
799
799
|
*
|
|
800
800
|
* @param request - CreateAiModelSourceRequest
|
|
801
801
|
* @param headers - map
|
|
@@ -840,7 +840,7 @@ class Client extends openapi_core_1.default {
|
|
|
840
840
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAiModelSourceResponse({}));
|
|
841
841
|
}
|
|
842
842
|
/**
|
|
843
|
-
* Creates
|
|
843
|
+
* Creates a standalone AI model source.
|
|
844
844
|
*
|
|
845
845
|
* @param request - CreateAiModelSourceRequest
|
|
846
846
|
* @returns CreateAiModelSourceResponse
|
|
@@ -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
|
}
|
|
@@ -1943,6 +1946,9 @@ class Client extends openapi_core_1.default {
|
|
|
1943
1946
|
/**
|
|
1944
1947
|
* Creates a Model Context Protocol (MCP) server.
|
|
1945
1948
|
*
|
|
1949
|
+
* @remarks
|
|
1950
|
+
* Only sources of the **Container Service** type are allowed to update Ingress listener configurations.
|
|
1951
|
+
*
|
|
1946
1952
|
* @param request - CreateMcpServerRequest
|
|
1947
1953
|
* @param headers - map
|
|
1948
1954
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1975,6 +1981,9 @@ class Client extends openapi_core_1.default {
|
|
|
1975
1981
|
if (!$dara.isNull(request.grayMcpServerConfigs)) {
|
|
1976
1982
|
body["grayMcpServerConfigs"] = request.grayMcpServerConfigs;
|
|
1977
1983
|
}
|
|
1984
|
+
if (!$dara.isNull(request.instructions)) {
|
|
1985
|
+
body["instructions"] = request.instructions;
|
|
1986
|
+
}
|
|
1978
1987
|
if (!$dara.isNull(request.match)) {
|
|
1979
1988
|
body["match"] = request.match;
|
|
1980
1989
|
}
|
|
@@ -2013,6 +2022,9 @@ class Client extends openapi_core_1.default {
|
|
|
2013
2022
|
/**
|
|
2014
2023
|
* Creates a Model Context Protocol (MCP) server.
|
|
2015
2024
|
*
|
|
2025
|
+
* @remarks
|
|
2026
|
+
* Only sources of the **Container Service** type are allowed to update Ingress listener configurations.
|
|
2027
|
+
*
|
|
2016
2028
|
* @param request - CreateMcpServerRequest
|
|
2017
2029
|
* @returns CreateMcpServerResponse
|
|
2018
2030
|
*/
|
|
@@ -2760,8 +2772,8 @@ class Client extends openapi_core_1.default {
|
|
|
2760
2772
|
* @remarks
|
|
2761
2773
|
* ## Before you begin
|
|
2762
2774
|
* Before calling this operation, you must prepare the following resources in Key Management Service (KMS):
|
|
2763
|
-
* - KMS instance: Create an instance in KMS and obtain the instance ID. Pass the instance ID as kmsConfig.kmsInstanceId.
|
|
2764
|
-
* - KMS key: Create a key in the instance and obtain the key ID. Pass the key ID as kmsConfig.kmsKeyId.
|
|
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.
|
|
2765
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.
|
|
2766
2778
|
*
|
|
2767
2779
|
* @param request - CreateSecretRequest
|
|
@@ -2813,8 +2825,8 @@ class Client extends openapi_core_1.default {
|
|
|
2813
2825
|
* @remarks
|
|
2814
2826
|
* ## Before you begin
|
|
2815
2827
|
* Before calling this operation, you must prepare the following resources in Key Management Service (KMS):
|
|
2816
|
-
* - KMS instance: Create an instance in KMS and obtain the instance ID. Pass the instance ID as kmsConfig.kmsInstanceId.
|
|
2817
|
-
* - KMS key: Create a key in the instance and obtain the key ID. Pass the key ID as kmsConfig.kmsKeyId.
|
|
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.
|
|
2818
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.
|
|
2819
2831
|
*
|
|
2820
2832
|
* @param request - CreateSecretRequest
|
|
@@ -3559,7 +3571,7 @@ class Client extends openapi_core_1.default {
|
|
|
3559
3571
|
return await this.deleteHttpApiRouteWithOptions(httpApiId, routeId, headers, runtime);
|
|
3560
3572
|
}
|
|
3561
3573
|
/**
|
|
3562
|
-
* Deletes
|
|
3574
|
+
* Deletes the specified logical model.
|
|
3563
3575
|
*
|
|
3564
3576
|
* @param request - DeleteLogicalModelRequest
|
|
3565
3577
|
* @param headers - map
|
|
@@ -3590,7 +3602,7 @@ class Client extends openapi_core_1.default {
|
|
|
3590
3602
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteLogicalModelResponse({}));
|
|
3591
3603
|
}
|
|
3592
3604
|
/**
|
|
3593
|
-
* Deletes
|
|
3605
|
+
* Deletes the specified logical model.
|
|
3594
3606
|
*
|
|
3595
3607
|
* @param request - DeleteLogicalModelRequest
|
|
3596
3608
|
* @returns DeleteLogicalModelResponse
|
|
@@ -3674,7 +3686,7 @@ class Client extends openapi_core_1.default {
|
|
|
3674
3686
|
* Deletes a model API.
|
|
3675
3687
|
*
|
|
3676
3688
|
* @remarks
|
|
3677
|
-
*
|
|
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.
|
|
3678
3690
|
*
|
|
3679
3691
|
* @param request - DeleteModelApiRequest
|
|
3680
3692
|
* @param headers - map
|
|
@@ -3711,7 +3723,7 @@ class Client extends openapi_core_1.default {
|
|
|
3711
3723
|
* Deletes a model API.
|
|
3712
3724
|
*
|
|
3713
3725
|
* @remarks
|
|
3714
|
-
*
|
|
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.
|
|
3715
3727
|
*
|
|
3716
3728
|
* @param request - DeleteModelApiRequest
|
|
3717
3729
|
* @returns DeleteModelApiResponse
|
|
@@ -4565,7 +4577,7 @@ class Client extends openapi_core_1.default {
|
|
|
4565
4577
|
return await this.getAiModelSourceEditImpactWithOptions(modelSourceId, request, headers, runtime);
|
|
4566
4578
|
}
|
|
4567
4579
|
/**
|
|
4568
|
-
* Queries AI models in a source.
|
|
4580
|
+
* Queries AI models in a model source.
|
|
4569
4581
|
*
|
|
4570
4582
|
* @param request - GetAiModelSourceModelRequest
|
|
4571
4583
|
* @param headers - map
|
|
@@ -4591,7 +4603,7 @@ class Client extends openapi_core_1.default {
|
|
|
4591
4603
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAiModelSourceModelResponse({}));
|
|
4592
4604
|
}
|
|
4593
4605
|
/**
|
|
4594
|
-
* Queries AI models in a source.
|
|
4606
|
+
* Queries AI models in a model source.
|
|
4595
4607
|
*
|
|
4596
4608
|
* @param request - GetAiModelSourceModelRequest
|
|
4597
4609
|
* @returns GetAiModelSourceModelResponse
|
|
@@ -4796,7 +4808,7 @@ class Client extends openapi_core_1.default {
|
|
|
4796
4808
|
return await this.getConsumerWithOptions(consumerId, headers, runtime);
|
|
4797
4809
|
}
|
|
4798
4810
|
/**
|
|
4799
|
-
* Queries the access overview
|
|
4811
|
+
* Queries the access overview of a consumer.
|
|
4800
4812
|
*
|
|
4801
4813
|
* @param request - GetConsumerAccessOverviewRequest
|
|
4802
4814
|
* @param headers - map
|
|
@@ -4827,7 +4839,7 @@ class Client extends openapi_core_1.default {
|
|
|
4827
4839
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetConsumerAccessOverviewResponse({}));
|
|
4828
4840
|
}
|
|
4829
4841
|
/**
|
|
4830
|
-
* Queries the access overview
|
|
4842
|
+
* Queries the access overview of a consumer.
|
|
4831
4843
|
*
|
|
4832
4844
|
* @param request - GetConsumerAccessOverviewRequest
|
|
4833
4845
|
* @returns GetConsumerAccessOverviewResponse
|
|
@@ -5730,7 +5742,7 @@ class Client extends openapi_core_1.default {
|
|
|
5730
5742
|
return await this.getLogicalModelWithOptions(logicalModelId, request, headers, runtime);
|
|
5731
5743
|
}
|
|
5732
5744
|
/**
|
|
5733
|
-
* Queries the delivery of logical model
|
|
5745
|
+
* Queries the configuration delivery of a logical model.
|
|
5734
5746
|
*
|
|
5735
5747
|
* @param request - GetLogicalModelDeploymentRequest
|
|
5736
5748
|
* @param headers - map
|
|
@@ -5756,7 +5768,7 @@ class Client extends openapi_core_1.default {
|
|
|
5756
5768
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLogicalModelDeploymentResponse({}));
|
|
5757
5769
|
}
|
|
5758
5770
|
/**
|
|
5759
|
-
* Queries the delivery of logical model
|
|
5771
|
+
* Queries the configuration delivery of a logical model.
|
|
5760
5772
|
*
|
|
5761
5773
|
* @param request - GetLogicalModelDeploymentRequest
|
|
5762
5774
|
* @returns GetLogicalModelDeploymentResponse
|
|
@@ -5883,7 +5895,7 @@ class Client extends openapi_core_1.default {
|
|
|
5883
5895
|
* Queries the details of a model API.
|
|
5884
5896
|
*
|
|
5885
5897
|
* @remarks
|
|
5886
|
-
* 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
|
|
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.
|
|
5887
5899
|
*
|
|
5888
5900
|
* @param request - GetModelApiRequest
|
|
5889
5901
|
* @param headers - map
|
|
@@ -5912,7 +5924,7 @@ class Client extends openapi_core_1.default {
|
|
|
5912
5924
|
* Queries the details of a model API.
|
|
5913
5925
|
*
|
|
5914
5926
|
* @remarks
|
|
5915
|
-
* 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
|
|
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.
|
|
5916
5928
|
*
|
|
5917
5929
|
* @param request - GetModelApiRequest
|
|
5918
5930
|
* @returns GetModelApiResponse
|
|
@@ -7472,7 +7484,7 @@ class Client extends openapi_core_1.default {
|
|
|
7472
7484
|
return await this.listConsumerGroupQuotaRulesWithOptions(consumerGroupId, request, headers, runtime);
|
|
7473
7485
|
}
|
|
7474
7486
|
/**
|
|
7475
|
-
* Queries
|
|
7487
|
+
* Queries consumer groups.
|
|
7476
7488
|
*
|
|
7477
7489
|
* @param request - ListConsumerGroupsRequest
|
|
7478
7490
|
* @param headers - map
|
|
@@ -7512,7 +7524,7 @@ class Client extends openapi_core_1.default {
|
|
|
7512
7524
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConsumerGroupsResponse({}));
|
|
7513
7525
|
}
|
|
7514
7526
|
/**
|
|
7515
|
-
* Queries
|
|
7527
|
+
* Queries consumer groups.
|
|
7516
7528
|
*
|
|
7517
7529
|
* @param request - ListConsumerGroupsRequest
|
|
7518
7530
|
* @returns ListConsumerGroupsResponse
|
|
@@ -7523,7 +7535,7 @@ class Client extends openapi_core_1.default {
|
|
|
7523
7535
|
return await this.listConsumerGroupsWithOptions(request, headers, runtime);
|
|
7524
7536
|
}
|
|
7525
7537
|
/**
|
|
7526
|
-
* Queries the model card entitlements for consumers.
|
|
7538
|
+
* Queries the list of model card entitlements for consumers.
|
|
7527
7539
|
*
|
|
7528
7540
|
* @param request - ListConsumerModelCardGrantsRequest
|
|
7529
7541
|
* @param headers - map
|
|
@@ -7566,7 +7578,7 @@ class Client extends openapi_core_1.default {
|
|
|
7566
7578
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConsumerModelCardGrantsResponse({}));
|
|
7567
7579
|
}
|
|
7568
7580
|
/**
|
|
7569
|
-
* Queries the model card entitlements for consumers.
|
|
7581
|
+
* Queries the list of model card entitlements for consumers.
|
|
7570
7582
|
*
|
|
7571
7583
|
* @param request - ListConsumerModelCardGrantsRequest
|
|
7572
7584
|
* @returns ListConsumerModelCardGrantsResponse
|
|
@@ -7641,9 +7653,15 @@ class Client extends openapi_core_1.default {
|
|
|
7641
7653
|
async listConsumersWithOptions(request, headers, runtime) {
|
|
7642
7654
|
request.validate();
|
|
7643
7655
|
let query = {};
|
|
7656
|
+
if (!$dara.isNull(request.expireStatus)) {
|
|
7657
|
+
query["expireStatus"] = request.expireStatus;
|
|
7658
|
+
}
|
|
7644
7659
|
if (!$dara.isNull(request.gatewayType)) {
|
|
7645
7660
|
query["gatewayType"] = request.gatewayType;
|
|
7646
7661
|
}
|
|
7662
|
+
if (!$dara.isNull(request.includeExpirationSummary)) {
|
|
7663
|
+
query["includeExpirationSummary"] = request.includeExpirationSummary;
|
|
7664
|
+
}
|
|
7647
7665
|
if (!$dara.isNull(request.nameLike)) {
|
|
7648
7666
|
query["nameLike"] = request.nameLike;
|
|
7649
7667
|
}
|
|
@@ -7653,6 +7671,9 @@ class Client extends openapi_core_1.default {
|
|
|
7653
7671
|
if (!$dara.isNull(request.pageSize)) {
|
|
7654
7672
|
query["pageSize"] = request.pageSize;
|
|
7655
7673
|
}
|
|
7674
|
+
if (!$dara.isNull(request.status)) {
|
|
7675
|
+
query["status"] = request.status;
|
|
7676
|
+
}
|
|
7656
7677
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7657
7678
|
headers: headers,
|
|
7658
7679
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
@@ -9131,7 +9152,7 @@ class Client extends openapi_core_1.default {
|
|
|
9131
9152
|
return await this.listModelCardsWithOptions(request, headers, runtime);
|
|
9132
9153
|
}
|
|
9133
9154
|
/**
|
|
9134
|
-
* Queries model groups.
|
|
9155
|
+
* Queries a list of model groups.
|
|
9135
9156
|
*
|
|
9136
9157
|
* @param request - ListModelGroupsRequest
|
|
9137
9158
|
* @param headers - map
|
|
@@ -9171,7 +9192,7 @@ class Client extends openapi_core_1.default {
|
|
|
9171
9192
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListModelGroupsResponse({}));
|
|
9172
9193
|
}
|
|
9173
9194
|
/**
|
|
9174
|
-
* Queries model groups.
|
|
9195
|
+
* Queries a list of model groups.
|
|
9175
9196
|
*
|
|
9176
9197
|
* @param request - ListModelGroupsRequest
|
|
9177
9198
|
* @returns ListModelGroupsResponse
|
|
@@ -9736,10 +9757,10 @@ class Client extends openapi_core_1.default {
|
|
|
9736
9757
|
return await this.listPortalsWithOptions(request, headers, runtime);
|
|
9737
9758
|
}
|
|
9738
9759
|
/**
|
|
9739
|
-
* Queries the
|
|
9760
|
+
* Queries the unmanaged security groups available for private endpoints.
|
|
9740
9761
|
*
|
|
9741
9762
|
* @remarks
|
|
9742
|
-
*
|
|
9763
|
+
* The API supports creating multiple services.
|
|
9743
9764
|
*
|
|
9744
9765
|
* @param request - ListPrivateLinkSecurityGroupsRequest
|
|
9745
9766
|
* @param headers - map
|
|
@@ -9776,10 +9797,10 @@ class Client extends openapi_core_1.default {
|
|
|
9776
9797
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPrivateLinkSecurityGroupsResponse({}));
|
|
9777
9798
|
}
|
|
9778
9799
|
/**
|
|
9779
|
-
* Queries the
|
|
9800
|
+
* Queries the unmanaged security groups available for private endpoints.
|
|
9780
9801
|
*
|
|
9781
9802
|
* @remarks
|
|
9782
|
-
*
|
|
9803
|
+
* The API supports creating multiple services.
|
|
9783
9804
|
*
|
|
9784
9805
|
* @param request - ListPrivateLinkSecurityGroupsRequest
|
|
9785
9806
|
* @returns ListPrivateLinkSecurityGroupsResponse
|
|
@@ -10606,7 +10627,7 @@ class Client extends openapi_core_1.default {
|
|
|
10606
10627
|
return await this.logoutDeveloperWithOptions(request, headers, runtime);
|
|
10607
10628
|
}
|
|
10608
10629
|
/**
|
|
10609
|
-
* Simulates the impact of
|
|
10630
|
+
* Simulates the impact of logical model modifications.
|
|
10610
10631
|
*
|
|
10611
10632
|
* @param request - PreviewLogicalModelUpdateRequest
|
|
10612
10633
|
* @param headers - map
|
|
@@ -10655,7 +10676,7 @@ class Client extends openapi_core_1.default {
|
|
|
10655
10676
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PreviewLogicalModelUpdateResponse({}));
|
|
10656
10677
|
}
|
|
10657
10678
|
/**
|
|
10658
|
-
* Simulates the impact of
|
|
10679
|
+
* Simulates the impact of logical model modifications.
|
|
10659
10680
|
*
|
|
10660
10681
|
* @param request - PreviewLogicalModelUpdateRequest
|
|
10661
10682
|
* @returns PreviewLogicalModelUpdateResponse
|
|
@@ -10982,7 +11003,7 @@ class Client extends openapi_core_1.default {
|
|
|
10982
11003
|
return await this.restartGatewayWithOptions(gatewayId, headers, runtime);
|
|
10983
11004
|
}
|
|
10984
11005
|
/**
|
|
10985
|
-
* Retries the delivery of
|
|
11006
|
+
* Retries the delivery of logical model configurations.
|
|
10986
11007
|
*
|
|
10987
11008
|
* @param request - RetryLogicalModelDeploymentRequest
|
|
10988
11009
|
* @param headers - map
|
|
@@ -11016,7 +11037,7 @@ class Client extends openapi_core_1.default {
|
|
|
11016
11037
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RetryLogicalModelDeploymentResponse({}));
|
|
11017
11038
|
}
|
|
11018
11039
|
/**
|
|
11019
|
-
* Retries the delivery of
|
|
11040
|
+
* Retries the delivery of logical model configurations.
|
|
11020
11041
|
*
|
|
11021
11042
|
* @param request - RetryLogicalModelDeploymentRequest
|
|
11022
11043
|
* @returns RetryLogicalModelDeploymentResponse
|
|
@@ -11070,7 +11091,7 @@ class Client extends openapi_core_1.default {
|
|
|
11070
11091
|
return await this.revealServiceCredentialWithOptions(serviceId, request, headers, runtime);
|
|
11071
11092
|
}
|
|
11072
11093
|
/**
|
|
11073
|
-
* Revokes model card entitlements for a consumer.
|
|
11094
|
+
* Revokes the model card entitlements for a consumer.
|
|
11074
11095
|
*
|
|
11075
11096
|
* @param request - RevokeConsumerModelCardGrantsRequest
|
|
11076
11097
|
* @param headers - map
|
|
@@ -11110,7 +11131,7 @@ class Client extends openapi_core_1.default {
|
|
|
11110
11131
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RevokeConsumerModelCardGrantsResponse({}));
|
|
11111
11132
|
}
|
|
11112
11133
|
/**
|
|
11113
|
-
* Revokes model card entitlements for a consumer.
|
|
11134
|
+
* Revokes the model card entitlements for a consumer.
|
|
11114
11135
|
*
|
|
11115
11136
|
* @param request - RevokeConsumerModelCardGrantsRequest
|
|
11116
11137
|
* @returns RevokeConsumerModelCardGrantsResponse
|
|
@@ -11684,7 +11705,7 @@ class Client extends openapi_core_1.default {
|
|
|
11684
11705
|
return await this.updateAiModelSourceWithOptions(modelSourceId, request, headers, runtime);
|
|
11685
11706
|
}
|
|
11686
11707
|
/**
|
|
11687
|
-
* Updates an AI model in a
|
|
11708
|
+
* Updates an AI model in a source.
|
|
11688
11709
|
*
|
|
11689
11710
|
* @param request - UpdateAiModelSourceModelRequest
|
|
11690
11711
|
* @param headers - map
|
|
@@ -11730,7 +11751,7 @@ class Client extends openapi_core_1.default {
|
|
|
11730
11751
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAiModelSourceModelResponse({}));
|
|
11731
11752
|
}
|
|
11732
11753
|
/**
|
|
11733
|
-
* Updates an AI model in a
|
|
11754
|
+
* Updates an AI model in a source.
|
|
11734
11755
|
*
|
|
11735
11756
|
* @param request - UpdateAiModelSourceModelRequest
|
|
11736
11757
|
* @returns UpdateAiModelSourceModelResponse
|
|
@@ -11904,15 +11925,27 @@ class Client extends openapi_core_1.default {
|
|
|
11904
11925
|
if (!$dara.isNull(request.apikeyIdentityConfig)) {
|
|
11905
11926
|
body["apikeyIdentityConfig"] = request.apikeyIdentityConfig;
|
|
11906
11927
|
}
|
|
11928
|
+
if (!$dara.isNull(request.clearExpireAt)) {
|
|
11929
|
+
body["clearExpireAt"] = request.clearExpireAt;
|
|
11930
|
+
}
|
|
11907
11931
|
if (!$dara.isNull(request.description)) {
|
|
11908
11932
|
body["description"] = request.description;
|
|
11909
11933
|
}
|
|
11910
11934
|
if (!$dara.isNull(request.enable)) {
|
|
11911
11935
|
body["enable"] = request.enable;
|
|
11912
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
|
+
}
|
|
11913
11943
|
if (!$dara.isNull(request.jwtIdentityConfig)) {
|
|
11914
11944
|
body["jwtIdentityConfig"] = request.jwtIdentityConfig;
|
|
11915
11945
|
}
|
|
11946
|
+
if (!$dara.isNull(request.renew)) {
|
|
11947
|
+
body["renew"] = request.renew;
|
|
11948
|
+
}
|
|
11916
11949
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11917
11950
|
headers: headers,
|
|
11918
11951
|
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
@@ -12845,7 +12878,7 @@ class Client extends openapi_core_1.default {
|
|
|
12845
12878
|
* Updates an MCP server.
|
|
12846
12879
|
*
|
|
12847
12880
|
* @remarks
|
|
12848
|
-
* 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.
|
|
12849
12882
|
*
|
|
12850
12883
|
* @param request - UpdateMcpServerRequest
|
|
12851
12884
|
* @param headers - map
|
|
@@ -12876,6 +12909,9 @@ class Client extends openapi_core_1.default {
|
|
|
12876
12909
|
if (!$dara.isNull(request.grayMcpServerConfigs)) {
|
|
12877
12910
|
body["grayMcpServerConfigs"] = request.grayMcpServerConfigs;
|
|
12878
12911
|
}
|
|
12912
|
+
if (!$dara.isNull(request.instructions)) {
|
|
12913
|
+
body["instructions"] = request.instructions;
|
|
12914
|
+
}
|
|
12879
12915
|
if (!$dara.isNull(request.match)) {
|
|
12880
12916
|
body["match"] = request.match;
|
|
12881
12917
|
}
|
|
@@ -12912,7 +12948,7 @@ class Client extends openapi_core_1.default {
|
|
|
12912
12948
|
* Updates an MCP server.
|
|
12913
12949
|
*
|
|
12914
12950
|
* @remarks
|
|
12915
|
-
* 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.
|
|
12916
12952
|
*
|
|
12917
12953
|
* @param request - UpdateMcpServerRequest
|
|
12918
12954
|
* @returns UpdateMcpServerResponse
|
|
@@ -13017,6 +13053,9 @@ class Client extends openapi_core_1.default {
|
|
|
13017
13053
|
if (!$dara.isNull(request.modelSelection)) {
|
|
13018
13054
|
body["modelSelection"] = request.modelSelection;
|
|
13019
13055
|
}
|
|
13056
|
+
if (!$dara.isNull(request.modelSelectionDelta)) {
|
|
13057
|
+
body["modelSelectionDelta"] = request.modelSelectionDelta;
|
|
13058
|
+
}
|
|
13020
13059
|
if (!$dara.isNull(request.name)) {
|
|
13021
13060
|
body["name"] = request.name;
|
|
13022
13061
|
}
|
|
@@ -13458,7 +13497,7 @@ class Client extends openapi_core_1.default {
|
|
|
13458
13497
|
* Updates a secret.
|
|
13459
13498
|
*
|
|
13460
13499
|
* @remarks
|
|
13461
|
-
* Only sources of the **
|
|
13500
|
+
* Updates a secret. Only sources of the **Container Service** type are allowed to update Ingress listener configurations.
|
|
13462
13501
|
*
|
|
13463
13502
|
* @param request - UpdateSecretRequest
|
|
13464
13503
|
* @param headers - map
|
|
@@ -13492,7 +13531,7 @@ class Client extends openapi_core_1.default {
|
|
|
13492
13531
|
* Updates a secret.
|
|
13493
13532
|
*
|
|
13494
13533
|
* @remarks
|
|
13495
|
-
* Only sources of the **
|
|
13534
|
+
* Updates a secret. Only sources of the **Container Service** type are allowed to update Ingress listener configurations.
|
|
13496
13535
|
*
|
|
13497
13536
|
* @param request - UpdateSecretRequest
|
|
13498
13537
|
* @returns UpdateSecretResponse
|