deployments
Creates, updates, deletes, gets or lists a deployments resource.
Overview
| Name | deployments |
| Type | Resource |
| Id | azure.ai_language.deployments |
Fields
The following fields are returned by SELECT queries:
- list_deployments
| Name | Datatype | Description |
|---|---|---|
assignedResources | array | Represents the metadata of the assigned Azure resources. Required. |
deploymentExpirationDate | string (date) | Represents deployment expiration date in the runtime. Required. |
deploymentName | string | Represents deployment name. Required. |
lastDeployedDateTime | string (date-time) | Represents deployment last deployed time. Required. |
lastTrainedDateTime | string (date-time) | Represents deployment last trained time. Required. |
modelId | string | Represents deployment modelId. Required. |
modelTrainingConfigVersion | string | Represents model training config version. Required. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_deployments | select | project_name, endpoint | top, skip, maxpagesize | List all deployments of a 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.
| Name | Datatype | Description |
|---|---|---|
endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client Endpoint parameter. (default: ) |
project_name | string | Name of the project. Required. |
maxpagesize | integer | |
skip | integer | An offset into the collection of the first resource to be returned. Default value is None. |
top | integer | The maximum number of resources to return from the collection. Default value is None. |
SELECT examples
- list_deployments
List all deployments of a project.
SELECT
assignedResources,
deploymentExpirationDate,
deploymentName,
lastDeployedDateTime,
lastTrainedDateTime,
modelId,
modelTrainingConfigVersion
FROM azure.ai_language.deployments
WHERE project_name = '{{ project_name }}' -- required
AND endpoint = '{{ endpoint }}' -- required
AND top = '{{ top }}'
AND skip = '{{ skip }}'
AND maxpagesize = '{{ maxpagesize }}'
;