Skip to main content

deployments

Creates, updates, deletes, gets or lists a deployments resource.

Overview

Namedeployments
TypeResource
Idazure.ai_evaluation.deployments

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringName of the deployment. Required.
typestringThe type of the deployment. Required. "ModelDeployment"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectname, endpointGet a deployed model.
listselectendpointmodelPublisher, modelName, deploymentTypeList all deployed models in the project.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
namestringName of the deployment. Required.
deploymentTypestringType of deployment to filter list by. "ModelDeployment" Default value is None.
modelNamestringModel name (the publisher specific name) to filter models by. Default value is None.
modelPublisherstringModel publisher to filter models by. Default value is None.

SELECT examples

Get a deployed model.

SELECT
name,
type
FROM azure.ai_evaluation.deployments
WHERE name = '{{ name }}' -- required
AND endpoint = '{{ endpoint }}' -- required
;