Connection - List Deployments
Get all the deployments under the Azure OpenAI connection.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/deployments?api-version=2025-07-01-preview
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}/deployments?api-version=2025-07-01-preview&proxy-api-version={proxy-api-version}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
connection
|
path | True |
string pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$ |
Friendly name of the workspace connection |
resource
|
path | True |
string minLength: 1maxLength: 90 |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string minLength: 1 |
The ID of the target subscription. |
workspace
|
path | True |
string pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$ |
Azure Machine Learning Workspace Name |
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
proxy-api-version
|
query |
string |
Api version used by proxy call |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Endpoint |
The request was successful; the request was well-formed and received properly. |
Other Status Codes |
Error |
Security
azure_auth
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
List Azure OpenAI Connection Deployments
Sample request
GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/connections/testConnection/deployments?api-version=2025-07-01-preview
Sample response
{
"value": [
{
"systemData": {
"createdBy": "00000000-1111-2222-3333-444444444444",
"createdByType": "Application",
"lastModifiedBy": "00000000-1111-2222-3333-444444444444",
"lastModifiedByType": "Application"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/connections/testConnection/deployments/text-davinci-003",
"name": "text-davinci-003",
"type": "Microsoft.MachineLearningServices/workspaces/connections/deployments",
"properties": {
"type": "Azure.OpenAI",
"model": {
"format": "OpenAI",
"name": "text-davinci-003",
"version": "1",
"source": null
},
"versionUpgradeOption": "OnceNewDefaultVersionAvailable",
"raiPolicyName": "Microsoft.Default",
"provisioningState": "Succeeded"
}
}
]
}
Definitions
Name | Description |
---|---|
Cognitive |
|
Content |
|
created |
The type of identity that created the resource. |
Default |
|
Deployment |
Deployment model version upgrade option. |
Endpoint |
|
Endpoint |
|
Endpoint |
|
Endpoint |
|
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Managed |
|
Open |
|
Speech |
|
system |
Metadata pertaining to creation and last modification of the resource. |
CognitiveServicesSku
Name | Type | Description |
---|---|---|
capacity |
integer (int32) |
|
family |
string |
|
name |
string |
|
size |
string |
|
tier |
string |
ContentSafetyEndpointDeploymentResourceProperties
Name | Type | Description |
---|---|---|
failureReason |
string |
The failure reason if the creation failed. |
model |
Model used for the endpoint deployment. |
|
provisioningState |
Read-only provision state status property. |
|
raiPolicyName |
string |
The name of RAI policy. |
sku | ||
type |
string:
Azure. pattern: [a-zA-Z0-9_] |
Kind of the deployment. |
versionUpgradeOption |
Deployment model version upgrade option. |
createdByType
The type of identity that created the resource.
Value | Description |
---|---|
User | |
Application | |
ManagedIdentity | |
Key |
DefaultResourceProvisioningState
Value | Description |
---|---|
NotStarted | |
Failed | |
Creating | |
Updating | |
Succeeded | |
Deleting | |
Accepted | |
Canceled | |
Scaling | |
Disabled |
DeploymentModelVersionUpgradeOption
Deployment model version upgrade option.
Value | Description |
---|---|
OnceNewDefaultVersionAvailable | |
OnceCurrentVersionExpired | |
NoAutoUpgrade |
EndpointComputeType
Value | Description |
---|---|
Managed | |
Kubernetes | |
AzureMLCompute |
EndpointDeploymentModel
Name | Type | Description |
---|---|---|
format |
string |
Model format |
name |
string |
Model name. |
source |
string |
Optional. Deployment model source ARM resource ID. |
version |
string |
Model version. |
EndpointDeploymentResourcePropertiesBasicResource
Name | Type | Description |
---|---|---|
id |
string |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name |
string |
The name of the resource |
properties | EndpointDeploymentResourceProperties: | |
systemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
|
type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
EndpointDeploymentResourcePropertiesBasicResourceArmPaginatedResult
Name | Type | Description |
---|---|---|
nextLink |
string |
|
value |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
ManagedOnlineEndpointDeploymentResourceProperties
Name | Type | Description |
---|---|---|
endpointComputeType | ||
failureReason |
string |
The failure reason if the creation failed. |
model |
string |
|
provisioningState |
Read-only provision state status property. |
|
type |
string:
managed pattern: [a-zA-Z0-9_] |
Kind of the deployment. |
OpenAIEndpointDeploymentResourceProperties
Name | Type | Description |
---|---|---|
failureReason |
string |
The failure reason if the creation failed. |
model |
Model used for the endpoint deployment. |
|
provisioningState |
Read-only provision state status property. |
|
raiPolicyName |
string |
The name of RAI policy. |
sku | ||
type |
string:
Azure. pattern: [a-zA-Z0-9_] |
Kind of the deployment. |
versionUpgradeOption |
Deployment model version upgrade option. |
SpeechEndpointDeploymentResourceProperties
Name | Type | Description |
---|---|---|
failureReason |
string |
The failure reason if the creation failed. |
model |
Model used for the endpoint deployment. |
|
provisioningState |
Read-only provision state status property. |
|
raiPolicyName |
string |
The name of RAI policy. |
sku | ||
type |
string:
Azure. pattern: [a-zA-Z0-9_] |
Kind of the deployment. |
versionUpgradeOption |
Deployment model version upgrade option. |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string (date-time) |
The timestamp of resource creation (UTC). |
createdBy |
string |
The identity that created the resource. |
createdByType |
The type of identity that created the resource. |
|
lastModifiedAt |
string (date-time) |
The timestamp of resource last modification (UTC) |
lastModifiedBy |
string |
The identity that last modified the resource. |
lastModifiedByType |
The type of identity that last modified the resource. |