CustomAIModelsOperations interface
Interface representing a CustomAIModels operations.
Properties
| calculate |
Returns a ranked list of GPU SKU pricing plans for deploying this custom model in the target region, each annotated with feasibility and per-replica hourly cost. Feasibility is determined by region availability, GPU quota, and model architecture fit (verified at registration time). |
| create |
Create or update a |
| delete | Delete a CustomAIModel |
| get | Get a CustomAIModel |
| list | List CustomAIModel resources by AIManager |
Property Details
calculateCost
Returns a ranked list of GPU SKU pricing plans for deploying this custom model in the target region, each annotated with feasibility and per-replica hourly cost. Feasibility is determined by region availability, GPU quota, and model architecture fit (verified at registration time). servingPerformanceEstimation is omitted for custom models. No Azure or Kubernetes resources are provisioned.
calculateCost: (resourceGroupName: string, aiManagerName: string, customAIModelName: string, options?: CustomAIModelsCalculateCostOptionalParams) => Promise<CalculateCostResponse>
Property Value
(resourceGroupName: string, aiManagerName: string, customAIModelName: string, options?: CustomAIModelsCalculateCostOptionalParams) => Promise<CalculateCostResponse>
createOrUpdate
Create or update a CustomAIModel. This is a full-replace operation: any optional property omitted from the request body is reset to its default value, or cleared if it has no default. To safely modify a subset of fields (e.g. description), perform a GET, modify the returned resource, and PUT it back using the returned ETag via the If-Match header. A PUT that changes the immutable modelId or modelSourceResourceId is rejected.
createOrUpdate: (resourceGroupName: string, aiManagerName: string, customAIModelName: string, resource: CustomAIModel, options?: CustomAIModelsCreateOrUpdateOptionalParams) => PollerLike<OperationState<CustomAIModel>, CustomAIModel>
Property Value
(resourceGroupName: string, aiManagerName: string, customAIModelName: string, resource: CustomAIModel, options?: CustomAIModelsCreateOrUpdateOptionalParams) => PollerLike<OperationState<CustomAIModel>, CustomAIModel>
delete
Delete a CustomAIModel
delete: (resourceGroupName: string, aiManagerName: string, customAIModelName: string, options?: CustomAIModelsDeleteOptionalParams) => PollerLike<OperationState<void>, void>
Property Value
(resourceGroupName: string, aiManagerName: string, customAIModelName: string, options?: CustomAIModelsDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
Get a CustomAIModel
get: (resourceGroupName: string, aiManagerName: string, customAIModelName: string, options?: CustomAIModelsGetOptionalParams) => Promise<CustomAIModel>
Property Value
(resourceGroupName: string, aiManagerName: string, customAIModelName: string, options?: CustomAIModelsGetOptionalParams) => Promise<CustomAIModel>
list
List CustomAIModel resources by AIManager
list: (resourceGroupName: string, aiManagerName: string, options?: CustomAIModelsListOptionalParams) => PagedAsyncIterableIterator<CustomAIModel, CustomAIModel[], PageSettings>
Property Value
(resourceGroupName: string, aiManagerName: string, options?: CustomAIModelsListOptionalParams) => PagedAsyncIterableIterator<CustomAIModel, CustomAIModel[], PageSettings>