CLI (v2) YAML schemas

APPLIES TO: Azure CLI ml extension v2 (current)

The Azure Machine Learning CLI (v2), an extension to the Azure CLI, often uses and sometimes requires YAML files with specific schemas. This article lists reference docs and the source schema for YAML files. Examples are included inline in individual articles.

Workspace

Reference URI
Workspace https://azuremlschemas.azureedge.net/latest/workspace.schema.json

Environment

Reference URI
Environment https://azuremlschemas.azureedge.net/latest/environment.schema.json

Data

Reference URI
Dataset https://azuremlschemas.azureedge.net/latest/data.schema.json

Model

Reference URI
Model https://azuremlschemas.azureedge.net/latest/model.schema.json

Schedule

Reference URI
CLI (v2) schedule YAML schema https://azuremlschemas.azureedge.net/latest/schedule.schema.json

Compute

Reference URI
Compute cluster (AmlCompute) https://azuremlschemas.azureedge.net/latest/amlCompute.schema.json
Compute instance https://azuremlschemas.azureedge.net/latest/computeInstance.schema.json
Attached Virtual Machine https://azuremlschemas.azureedge.net/latest/vmCompute.schema.json

Job

Reference URI
Command https://azuremlschemas.azureedge.net/latest/commandJob.schema.json
Sweep https://azuremlschemas.azureedge.net/latest/sweepJob.schema.json
Pipeline https://azuremlschemas.azureedge.net/latest/pipelineJob.schema.json

Datastore

Reference URI
Azure Blob https://azuremlschemas.azureedge.net/latest/azureBlob.schema.json
Azure Files https://azuremlschemas.azureedge.net/latest/azureFile.schema.json
Azure Data Lake Gen2 https://azuremlschemas.azureedge.net/latest/azureDataLakeGen2.schema.json

Endpoint

Reference URI
Managed online (real-time) https://azuremlschemas.azureedge.net/latest/managedOnlineEndpoint.schema.json
Kubernetes online (real-time) https://azuremlschemas.azureedge.net/latest/kubernetesOnlineEndpoint.schema.json
Batch https://azuremlschemas.azureedge.net/latest/batchEndpoint.schema.json

Deployment

Reference URI
Managed online (real-time) https://azuremlschemas.azureedge.net/latest/managedOnlineDeployment.schema.json
Batch https://azuremlschemas.azureedge.net/latest/batchDeployment.schema.json

Component

Reference URI
Command https://azuremlschemas.azureedge.net/latest/commandComponent.schema.json

Next steps