Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Foundry manages model deployments on connected Foundry Local on Azure Local clusters as arcDeployments child resources of a Microsoft Foundry account. The standard portal workflow creates these resources for you. You can also create an arcDeployments resource directly through the REST API, including ONNX deployments that don't use a custom deployment template. This article describes the resource path, supported operations, request fields, generated properties, and status behavior.
This contract applies only to model deployments managed through Microsoft Foundry. It's distinct from the cluster-side ModelDeployment custom resource that you manage directly with kubectl or the Foundry Local REST API. For the cluster-side contract, see ModelDeployment and operator configuration reference.
Resource path and API version
Microsoft Foundry manages model deployments as child resources of a Microsoft Foundry account through the dedicated arcDeployments route:
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/arcDeployments/{deploymentName}
Use API version 2026-11-15-preview. Model deployments are available only through the arcDeployments route. The regular deployments route doesn't expose or manage them. Microsoft Foundry integration requires Foundry Local Azure Arc extension version 2610 or later.
Supported operations
| Operation | Method | Purpose |
|---|---|---|
| Create | PUT | Creates a new model deployment. |
| Get | GET | Returns one model deployment. |
| List | GET on the collection | Lists all model deployments under the Microsoft Foundry account. |
| Update | PATCH or PUT | Updates replicas, resources, or nodeSelector. |
| Delete | DELETE | Deletes the model deployment from Microsoft Foundry and the connected cluster. Set the optional force query parameter to true to delete the Microsoft Foundry resource without contacting the cluster. |
Request fields
The following table lists the request fields, whether each is allowed in PUT (create) and PATCH (update) requests, and the constraints that apply.
Specify the model by its full versioned Azure Machine Learning registry asset ID in properties.model.assetId. Microsoft Foundry resolves the model format, name, version, runtime, and compute type from the asset.
| Field | Example | PUT | PATCH | Constraints |
|---|---|---|---|---|
| Deployment name | phi-3-mini-onnx-cpu |
Required | URL only | Kubernetes-style name: 1–63 characters, lowercase, starts with a letter, ends with a letter or number, and contains only letters, numbers, and single hyphens. Valid: phi-3-mini-onnx-cpu. Invalid: Phi-3, 1phi, phi_3, phi--3. |
sku.name |
Arc |
Required | No | Only Arc is accepted. |
sku.capacity |
— | No | No | Must not be sent. Arc scaling uses properties.replicas. |
model.assetId |
azureml://registries/azureml/models/Phi-3-mini-128k-instruct-generic-cpu/versions/3 |
Required | No | Full versioned model asset URI. Must identify an eligible model asset with a configuration compatible with the target cluster. Immutable after creation. |
extensionId |
/subscriptions/.../extensions/inference-operator |
Required | No | Must be the complete Azure Resource Manager ID of a Foundry Local extension under Microsoft.Kubernetes/connectedClusters. Immutable after creation. |
deploymentTemplate |
azureml://registries/myregistry/deploymenttemplates/my-vllm-template/versions/1 |
Optional | No | Supported only when the selected model asset resolves to vllm on GPU compute. Use the complete versioned Azure Machine Learning registry asset ID. The template is resolved during creation and can't be changed later. See Deploy a model by using a custom deployment template. |
replicas |
1 |
Required | Yes | Integer from 1 to 100. On PATCH, it can't be null. |
resources |
{ "requests": { "cpu": "4", "memory": "8Gi" }, "limits": { "cpu": "8", "memory": "16Gi" } } |
Required | Yes | Per-replica Kubernetes resource requests and limits. The fields below describe individual resource settings. |
resources.requests.cpu |
500m or 8 |
Optional | Yes | Valid Kubernetes CPU quantity. Must be non-negative and can't use precision below 1m. |
resources.requests.memory |
2Gi or 512Mi |
Optional | Yes | Valid non-negative Kubernetes memory quantity. |
resources.requests.gpu |
— | No | No | Never supported. Specify GPU count in resources.limits.gpu. |
resources.limits.cpu |
8 |
Optional | Yes | Valid Kubernetes quantity. Can't be lower than the CPU request. |
resources.limits.memory |
16Gi |
Optional | Yes | Valid Kubernetes quantity. Can't be lower than the memory request. |
resources.limits.gpu |
1 |
Required for GPU | Required when patching resources for GPU | For GPU compute, an integer from 1 to 8. For CPU compute, it must not be present. |
nodeSelector |
{ "kubernetes.io/arch": "amd64" } |
Optional | Yes | Keys and values identify Kubernetes node labels. Selected nodes must exist and have sufficient resources. PATCH replaces the entire map. Use {} to clear it. |
deploymentState |
Running |
Optional | No | Model deployments run immediately. Paused isn't supported. ExtensionUnreachable is service-generated and read-only. |
raiPolicyName |
Microsoft.DefaultV2 |
Optional | No | Must reference an existing customer or system responsible AI (RAI) policy. A default policy is selected when omitted. |
For a PUT update, include the required fields and keep the same model.assetId and extensionId. Use PATCH to update only replicas, resources, or nodeSelector without resending the model identity.
Service-resolved response properties
Microsoft Foundry returns the following read-only properties in deployment responses, including PUT, GET, and the resources in LIST responses. The required properties.model.assetId is also returned alongside the resolved model metadata.
| Property | Example | Description |
|---|---|---|
properties.model.format |
ONNX |
Model format resolved from the selected asset. |
properties.model.name |
Phi-3-mini-128k-instruct-generic-cpu |
Model name resolved from the selected asset. |
properties.model.version |
3 |
Model version resolved from the selected asset. |
properties.runtime |
onnx-genai |
Runtime resolved from the selected asset, such as onnx-genai or vllm. |
properties.compute |
cpu |
Compute type resolved from the selected asset: cpu or gpu. |
properties.provisioningState |
Succeeded |
Current provisioning status, such as Creating, Updating, Succeeded, Failed, Deleting, or ExtensionUnreachable. |
properties.provisioningDetails |
{ "message": "...", "lastOperationTimestamp": "..." } |
Additional status or failure details for the latest operation. |
properties.inferenceEndpoint |
https://foundry.contoso.com/phi-3-mini-onnx-cpu |
Public inference endpoint generated after the deployment becomes ready. |
properties.vllmParameters |
{ "maxModelLen": 8192 } |
Effective parameters for vLLM deployments, including overrides from a custom deployment template when supplied. Not applicable to ONNX deployments. |
properties.capabilities |
{ "chatCompletion": "true" } |
Model capabilities projected by Microsoft Foundry. |
The response also contains standard Azure Resource Manager fields—id, name, type, and potentially etag—which aren't part of the PUT body.
Example: Create an ONNX CPU deployment
The following create request selects version 3 of Phi-3-mini-128k-instruct-generic-cpu. Microsoft Foundry resolves this asset to the onnx-genai runtime on CPU compute. Don't include deploymentTemplate, resources.limits.gpu, or vLLM parameters for this deployment. The runtime and compute type are service-resolved, not request fields.
The CPU and memory values are examples. Adjust them for the model's memory requirements, context length, workload, and available cluster capacity. This generative ONNX CPU example targets AMD64 nodes; it isn't an ARM64 deployment. For architecture-specific support, see ARM64 workload support.
PUT https://management.azure.com/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.CognitiveServices/accounts/<account-name>/arcDeployments/phi-3-mini-onnx-cpu?api-version=2026-11-15-preview
{
"sku": {
"name": "Arc"
},
"properties": {
"model": {
"assetId": "azureml://registries/azureml/models/Phi-3-mini-128k-instruct-generic-cpu/versions/3"
},
"extensionId": "/subscriptions/<subscription-id>/resourceGroups/<extension-resource-group>/providers/Microsoft.Kubernetes/connectedClusters/<cluster-name>/providers/Microsoft.KubernetesConfiguration/extensions/inference-operator",
"replicas": 1,
"resources": {
"requests": {
"cpu": "4",
"memory": "8Gi"
},
"limits": {
"cpu": "8",
"memory": "16Gi"
}
},
"nodeSelector": {
"kubernetes.io/arch": "amd64"
}
}
}
For a vLLM GPU deployment that requires explicit runtime settings, see Deploy a model by using a custom deployment template. Custom deployment templates aren't supported for ONNX deployments.
Example: Get a deployment
A GET response returns the asset ID, the resolved model metadata, and the other deployment properties. The following abbreviated example shows the model identity and service-resolved properties for the ready ONNX CPU deployment.
GET https://management.azure.com/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.CognitiveServices/accounts/<account-name>/arcDeployments/phi-3-mini-onnx-cpu?api-version=2026-11-15-preview
{
"id": "/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.CognitiveServices/accounts/<account-name>/arcDeployments/phi-3-mini-onnx-cpu",
"name": "phi-3-mini-onnx-cpu",
"type": "Microsoft.CognitiveServices/accounts/arcDeployments",
"properties": {
"model": {
"assetId": "azureml://registries/azureml/models/Phi-3-mini-128k-instruct-generic-cpu/versions/3",
"format": "ONNX",
"name": "Phi-3-mini-128k-instruct-generic-cpu",
"version": "3"
},
"runtime": "onnx-genai",
"compute": "cpu",
"provisioningState": "Succeeded",
"inferenceEndpoint": "https://foundry.contoso.com/phi-3-mini-onnx-cpu",
"capabilities": {
"chatCompletion": "true"
}
}
}
Example: List deployments
Use GET on the collection to list the account's Arc deployments.
GET https://management.azure.com/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.CognitiveServices/accounts/<account-name>/arcDeployments?api-version=2026-11-15-preview
The response's value array contains deployment resources with the same asset ID and resolved metadata described in the GET example.
Delete a deployment
By default, deletion removes the deployment from Microsoft Foundry and the connected cluster.
az rest \
--method delete \
--url "https://management.azure.com/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.CognitiveServices/accounts/<account-name>/arcDeployments/<deployment-name>?api-version=2026-11-15-preview"
The optional Boolean query parameter force defaults to false. To delete the Microsoft Foundry deployment resource even when its associated extension is disconnected, set force=true in the URL. This parameter isn't a request-body field.
az rest \
--method delete \
--url "https://management.azure.com/subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.CognitiveServices/accounts/<account-name>/arcDeployments/<deployment-name>?api-version=2026-11-15-preview&force=true"
Warning
Force deletion doesn't contact the cluster or delete its workload. The model might continue running and consuming cluster resources. Remove any remaining cluster-side resources manually when you have access to the cluster.
DELETE returns 202 Accepted for an asynchronous operation or 204 No Content when deletion is complete or the resource doesn't exist. Force deletion doesn't change the supported response codes or long-running-operation headers.
ExtensionUnreachable status
ExtensionUnreachable means that Microsoft Foundry can't currently connect to the Foundry Local extension's control-plane API through its configured endpointUrl.
This status doesn't necessarily mean that the model stopped running. The model might still serve requests on the cluster, but Microsoft Foundry can't check its status or perform create, update, or normal delete operations. You can still force-delete the Microsoft Foundry resource without contacting the cluster. Common causes include DNS, TLS certificate, firewall or network security group (NSG), authentication, gateway, extension health, or endpoint availability problems. Microsoft Foundry generates this value, and the customer can't set it.
For diagnostic steps, see Troubleshoot Foundry Local on Azure Local.