az ml

Note

This reference is part of the ml extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az ml command. Learn more about extensions.

Manage Azure Machine Learning resources with the Azure CLI ML extension v2.

Install Azure CLI ML extension v2 https://docs.microsoft.com/azure/machine-learning/how-to-configure-cli.

Commands

az ml batch-deployment

Manage Azure ML batch deployments.

az ml batch-deployment create

Create a deployment. If the deployment already exists, it will be over-written with the new settings.

az ml batch-deployment delete

Delete a deployment.

az ml batch-deployment list

List deployments.

az ml batch-deployment list-jobs

List the batch scoring jobs for a batch deployment.

az ml batch-deployment show

Show a deployment.

az ml batch-deployment update

Update a deployment.

az ml batch-endpoint

Manage Azure ML batch endpoints.

az ml batch-endpoint create

Create an endpoint.

az ml batch-endpoint delete

Delete an endpoint.

az ml batch-endpoint invoke

Invoke an endpoint.

az ml batch-endpoint list

List endpoints in a workspace.

az ml batch-endpoint list-jobs

List the batch scoring jobs for a batch endpoint.

az ml batch-endpoint show

Show details for an endpoint.

az ml batch-endpoint update

Update an endpoint.

az ml component

Manage Azure ML components.

az ml component archive

Archive a component.

az ml component create

Create a component.

az ml component list

List components in a workspace.

az ml component restore

Restore an archived component.

az ml component show

Show details for a component.

az ml component update

Update a component. Currently only a few fields(description, display_name) support update.

az ml compute

Manage Azure ML compute resources.

az ml compute attach

Attach an existing compute resource to a workspace.

az ml compute create

Create a compute target.

az ml compute delete

Delete a compute target.

az ml compute detach

Detach a previously attached compute resource from a workspace.

az ml compute list

List the compute targets in a workspace.

az ml compute list-nodes

List node details for a compute target. The only supported compute type for this command is AML compute.

az ml compute list-sizes

List the VM sizes available by location.

az ml compute list-usage

List the available usage resources for VMs.

az ml compute restart

Restart a ComputeInstance target.

az ml compute show

Show details for a compute target.

az ml compute start

Start a ComputeInstance target.

az ml compute stop

Stop a ComputeInstance target.

az ml compute update

Update a compute target.

az ml connection

Manage Azure ML workspace connection.

az ml connection create

Create a workspace connection.

az ml connection delete

Delete a workspace connection.

az ml connection list

List all the workspaces connection.

az ml connection show

Show details of a workspace connection.

az ml connection update

Update a workspace connection.

az ml data

Manage Azure ML data assets.

az ml data archive

Archive a data asset.

az ml data create

Create a data asset.

az ml data list

List data assets in a workspace.

az ml data restore

Restore an archived data asset.

az ml data show

Shows details for a data asset.

az ml data update

Update a data asset.

az ml datastore

Manage Azure ML datastores.

az ml datastore create

Create a datastore.

az ml datastore delete

Delete a datastore.

az ml datastore list

List datastores in a workspace.

az ml datastore show

Show details for a datastore.

az ml datastore update

Update a datastore.

az ml environment

Manage Azure ML environments.

az ml environment archive

Archive an environment.

az ml environment create

Create an environment.

az ml environment list

List environments in a workspace.

az ml environment restore

Restore an archived environment.

az ml environment show

Show details for an environment.

az ml environment update

Update an environment.

az ml job

Manage Azure ML jobs.

az ml job archive

Archive a job.

az ml job cancel

Cancel a job.

az ml job connect-ssh

Set up ssh connection and sends the request to the SSH service running inside user's container through Tundra.

az ml job create

Create a job.

az ml job download

Download all job-related files.

az ml job list

List jobs in a workspace.

az ml job restore

Restore an archived job.

az ml job show

Show details for a job.

az ml job show-services

Show services of a job per node.

az ml job stream

Stream job logs to the console.

az ml job update

Update a job.

az ml model

Manage Azure ML models.

az ml model archive

Archive a model.

az ml model create

Create a model.

az ml model download

Download all model-related files.

az ml model list

List models in a workspace.

az ml model restore

Restore an archived model.

az ml model show

Show details for a model.

az ml model update

Update a model.

az ml online-deployment

Manage Azure ML online deployments.

az ml online-deployment create

Create a deployment. If the deployment already exists, it will fail. If you want to update existing deployment, use az ml online-deployment update.

az ml online-deployment delete

Delete a deployment.

az ml online-deployment get-logs

Get the container logs for an online deployment.

az ml online-deployment list

List deployments.

az ml online-deployment show

Show a deployment.

az ml online-deployment update

Update a deployment.

az ml online-endpoint

Manage Azure ML online endpoints.

az ml online-endpoint create

Create an endpoint.

az ml online-endpoint delete

Delete an endpoint.

az ml online-endpoint get-credentials

List the token/keys for an online endpoint.

az ml online-endpoint invoke

Invoke an endpoint.

az ml online-endpoint list

List endpoints in a workspace.

az ml online-endpoint regenerate-keys

Regenerate the keys for an online endpoint.

az ml online-endpoint show

Show details for an endpoint.

az ml online-endpoint update

Update an endpoint.

az ml registry

Manage Azure ML registries.

az ml registry create

Create a registry.

az ml registry delete

Delete a given registry.

az ml registry list

List all the registries in a subscription and resource group.

az ml registry show

Show details for a registry.

az ml schedule

Manage Azure ML schedule resources.

az ml schedule create

Create a schedule.

az ml schedule delete

Delete a schedule. The previous triggered jobs will NOT be deleted.

az ml schedule disable

Disable a schedule so that it will stop triggering jobs.

az ml schedule enable

Enable a schedule so that it will continue triggering jobs.

az ml schedule list

List the schedules in a workspace.

az ml schedule show

Show details of a schedule.

az ml schedule update

Update a schedule.

az ml workspace

Manage Azure ML workspaces.

az ml workspace create

Create a workspace.

az ml workspace delete

Delete a workspace.

az ml workspace diagnose

Diagnose workspace setup problems.

az ml workspace list

List all the workspaces in a subscription.

az ml workspace list-keys

List workspace keys for dependent resources such as Azure Storage, Azure Container Registry, and Azure Application Insights.

az ml workspace show

Show details for a workspace.

az ml workspace sync-keys

Sync workspace keys for dependent resources such as Azure Storage, Azure Container Registry, and Azure Application Insights.

az ml workspace update

Update a workspace.