Share via


Endpoint Deployment - Get

Get deployments under endpoint resource by name

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/endpoints/{endpointName}/deployments/{deploymentName}?api-version=2025-07-01-preview

URI Parameters

Name In Required Type Description
deploymentName
path True

string

pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$

Name of the deployment resource

endpointName
path True

string

pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]{2,32}$

Name of the endpoint resource.

resourceGroupName
path True

string

minLength: 1
maxLength: 90

The name of the resource group. The name is case insensitive.

subscriptionId
path True

string

minLength: 1

The ID of the target subscription.

workspaceName
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.

Responses

Name Type Description
200 OK

EndpointDeploymentResourcePropertiesBasicResource

The request was successful; the request was well-formed and received properly.

Other Status Codes

ErrorResponse

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

Get Endpoint Deployment

Sample request

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/endpoints/Azure.OpenAI/deployments/text-davinci-003?api-version=2025-07-01-preview

Sample response

{
  "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/endpoints/Azure.OpenAI/deployments/text-davinci-003",
  "name": "text-davinci-003",
  "type": "Microsoft.MachineLearningServices/workspaces/endpoints/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
CognitiveServicesSku
ContentSafetyEndpointDeploymentResourceProperties
createdByType

The type of identity that created the resource.

DefaultResourceProvisioningState
DeploymentModelVersionUpgradeOption

Deployment model version upgrade option.

EndpointComputeType
EndpointDeploymentModel
EndpointDeploymentResourcePropertiesBasicResource
ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

ManagedOnlineEndpointDeploymentResourceProperties
OpenAIEndpointDeploymentResourceProperties
SpeechEndpointDeploymentResourceProperties
systemData

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

EndpointDeploymentModel

Model used for the endpoint deployment.

provisioningState

DefaultResourceProvisioningState

Read-only provision state status property.

raiPolicyName

string

The name of RAI policy.

sku

CognitiveServicesSku

type string:

Azure.ContentSafety

minLength: 1
pattern: [a-zA-Z0-9_]

Kind of the deployment.

versionUpgradeOption

DeploymentModelVersionUpgradeOption

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

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"

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

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.

ManagedOnlineEndpointDeploymentResourceProperties

Name Type Description
endpointComputeType

EndpointComputeType

failureReason

string

The failure reason if the creation failed.

model

string

provisioningState

DefaultResourceProvisioningState

Read-only provision state status property.

type string:

managedOnlineEndpoint

minLength: 1
pattern: [a-zA-Z0-9_]

Kind of the deployment.

OpenAIEndpointDeploymentResourceProperties

Name Type Description
failureReason

string

The failure reason if the creation failed.

model

EndpointDeploymentModel

Model used for the endpoint deployment.

provisioningState

DefaultResourceProvisioningState

Read-only provision state status property.

raiPolicyName

string

The name of RAI policy.

sku

CognitiveServicesSku

type string:

Azure.OpenAI

minLength: 1
pattern: [a-zA-Z0-9_]

Kind of the deployment.

versionUpgradeOption

DeploymentModelVersionUpgradeOption

Deployment model version upgrade option.

SpeechEndpointDeploymentResourceProperties

Name Type Description
failureReason

string

The failure reason if the creation failed.

model

EndpointDeploymentModel

Model used for the endpoint deployment.

provisioningState

DefaultResourceProvisioningState

Read-only provision state status property.

raiPolicyName

string

The name of RAI policy.

sku

CognitiveServicesSku

type string:

Azure.Speech

minLength: 1
pattern: [a-zA-Z0-9_]

Kind of the deployment.

versionUpgradeOption

DeploymentModelVersionUpgradeOption

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

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

createdByType

The type of identity that last modified the resource.