Share via


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

Name Description Type Status
az ml azure-openai-deployment

Manage Azure OpenAI Deployments.

Extension Preview
az ml azure-openai-deployment list

List Azure OpenAI deployments.

Extension Preview
az ml batch-deployment

Manage Azure ML batch deployments.

Extension GA
az ml batch-deployment create

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

Extension GA
az ml batch-deployment delete

Delete a deployment.

Extension GA
az ml batch-deployment list

List deployments.

Extension GA
az ml batch-deployment list-jobs

List the batch scoring jobs for a batch deployment.

Extension GA
az ml batch-deployment show

Show a deployment.

Extension GA
az ml batch-deployment update

Update a deployment.

Extension GA
az ml batch-endpoint

Manage Azure ML batch endpoints.

Extension GA
az ml batch-endpoint create

Create an endpoint.

Extension GA
az ml batch-endpoint delete

Delete an endpoint.

Extension GA
az ml batch-endpoint invoke

Invoke an endpoint.

Extension GA
az ml batch-endpoint list

List endpoints in a workspace.

Extension GA
az ml batch-endpoint list-jobs

List the batch scoring jobs for a batch endpoint.

Extension GA
az ml batch-endpoint show

Show details for an endpoint.

Extension GA
az ml batch-endpoint update

Update an endpoint.

Extension GA
az ml component

Manage Azure ML components.

Extension GA
az ml component archive

Archive a component.

Extension GA
az ml component create

Create a component.

Extension GA
az ml component list

List components in a workspace.

Extension GA
az ml component restore

Restore an archived component.

Extension GA
az ml component show

Show details for a component.

Extension GA
az ml component update

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

Extension GA
az ml compute

Manage Azure ML compute resources.

Extension GA
az ml compute attach

Attach an existing compute resource to a workspace.

Extension GA
az ml compute connect-ssh

Set up SSH connection to Compute Instance.

Extension Preview
az ml compute create

Create a compute target.

Extension GA
az ml compute delete

Delete a compute target.

Extension GA
az ml compute detach

Detach a previously attached compute resource from a workspace.

Extension GA
az ml compute enable-sso

Enable/Disable Single sign-on on Compute Instance.

Extension Preview
az ml compute list

List the compute targets in a workspace.

Extension GA
az ml compute list-nodes

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

Extension GA
az ml compute list-sizes

List the VM sizes available by location.

Extension GA
az ml compute list-usage

List the available usage resources for VMs.

Extension GA
az ml compute restart

Restart a ComputeInstance target.

Extension GA
az ml compute show

Show details for a compute target.

Extension GA
az ml compute start

Start a ComputeInstance target.

Extension GA
az ml compute stop

Stop a ComputeInstance target.

Extension GA
az ml compute update

Update a compute target.

Extension GA
az ml connection

Manage Azure ML workspace connection and its more specific derivatives.

Extension Preview
az ml connection create

Create a connection.

Extension Preview
az ml connection delete

Delete a connection.

Extension Preview
az ml connection list

List all connections.

Extension Preview
az ml connection show

Show details of a connection.

Extension Preview
az ml connection update

Update a connection.

Extension Preview
az ml data

Manage Azure ML data assets.

Extension GA
az ml data archive

Archive a data asset.

Extension GA
az ml data create

Create a data asset in a workspace/registry. If you are using a registry, replace --workspace-name my-workspace with the --registry-name <registry-name> option.

Extension GA
az ml data import

Import data and create a data asset.

Extension Preview
az ml data list

List data assets in a workspace/registry. If you are using a registry, replace --workspace-name my-workspace with the --registry-name <registry-name> option.

Extension GA
az ml data list-materialization-status

Show status of list of data import materialization jobs that create versions of a data asset.

Extension Preview
az ml data mount

Mount a specific data asset to a local path. For now only Linux is supported.

Extension Preview
az ml data restore

Restore an archived data asset.

Extension GA
az ml data share

Share a specific data asset from workspace to registry.

Extension Preview
az ml data show

Shows details for a data asset in a workspace/registry. If you are using a registry, replace --workspace-name my-workspace with the --registry-name <registry-name> option.

Extension GA
az ml data update

Update a data asset.

Extension GA
az ml datastore

Manage Azure ML datastores.

Extension GA
az ml datastore create

Create a datastore.

Extension GA
az ml datastore delete

Delete a datastore.

Extension GA
az ml datastore list

List datastores in a workspace.

Extension GA
az ml datastore mount

Mount a specific datastore to a local path. For now only Linux is supported.

Extension Preview
az ml datastore show

Show details for a datastore.

Extension GA
az ml datastore update

Update a datastore.

Extension GA
az ml environment

Manage Azure ML environments.

Extension GA
az ml environment archive

Archive an environment.

Extension GA
az ml environment create

Create an environment.

Extension GA
az ml environment list

List environments in a workspace.

Extension GA
az ml environment restore

Restore an archived environment.

Extension GA
az ml environment share

Share a specific environment from workspace to registry.

Extension GA
az ml environment show

Show details for an environment.

Extension GA
az ml environment update

Update an environment.

Extension GA
az ml feature-set

Manage Azure ML feature sets.

Extension GA
az ml feature-set archive

Archive a feature set.

Extension GA
az ml feature-set backfill

Begin backfill job.

Extension GA
az ml feature-set create

Create a feature set.

Extension GA
az ml feature-set get-feature

Gets a feature for a feature set.

Extension Deprecated
az ml feature-set list

List feature set in a feature store.

Extension GA
az ml feature-set list-features

List Features for a feature set.

Extension GA
az ml feature-set list-materialization-operation

List Materialization operation.

Extension GA
az ml feature-set restore

Restore an archived feature set.

Extension GA
az ml feature-set show

Shows details for a feature set.

Extension GA
az ml feature-set show-feature

Shows a feature for a feature set.

Extension GA
az ml feature-set update

Update a feature set.

Extension GA
az ml feature-store

Manage Azure ML feature stores.

Extension GA
az ml feature-store-entity

Manage Azure ML feature store entities.

Extension GA
az ml feature-store-entity archive

Archive a feature store entity.

Extension GA
az ml feature-store-entity create

Create a feature store entity.

Extension GA
az ml feature-store-entity list

List feature store entity in a feature store.

Extension GA
az ml feature-store-entity restore

Restore an archived feature store entity.

Extension GA
az ml feature-store-entity show

Shows details for a feature store entity.

Extension GA
az ml feature-store-entity update

Update a feature store entity.

Extension GA
az ml feature-store create

Create a feature store.

Extension GA
az ml feature-store delete

Delete a feature store.

Extension GA
az ml feature-store list

List all the feature stores in a subscription.

Extension GA
az ml feature-store provision-network

Provision managed network.

Extension GA
az ml feature-store show

Show details for a feature store.

Extension GA
az ml feature-store update

Update a feature store.

Extension GA
az ml index

Manage Azure ML indexes.

Extension Preview
az ml index create

Create an index.

Extension Preview
az ml index list

List indexes in a workspace.

Extension Preview
az ml index show

Show details for an index in a workspace.

Extension Preview
az ml job

Manage Azure ML jobs.

Extension GA
az ml job archive

Archive a job.

Extension GA
az ml job cancel

Cancel a job.

Extension GA
az ml job connect-ssh

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

Extension GA
az ml job create

Create a job.

Extension GA
az ml job download

Download all job-related files.

Extension GA
az ml job list

List jobs in a workspace.

Extension GA
az ml job restore

Restore an archived job.

Extension GA
az ml job show

Show details for a job.

Extension GA
az ml job show-services

Show services of a job per node.

Extension GA
az ml job stream

Stream job logs to the console.

Extension GA
az ml job update

Update a job.

Extension GA
az ml job validate

Validate a job. This command works for pipeline jobs only for now.

Extension GA
az ml marketplace-subscription

Manage Azure ML marketplace subscriptions.

Extension Preview
az ml marketplace-subscription create

Create a marketplace subscription.

Extension Preview
az ml marketplace-subscription delete

Delete a marketplace subscription.

Extension Preview
az ml marketplace-subscription list

List marketplace subscriptions in a workspace.

Extension Preview
az ml marketplace-subscription show

Shows details for a marketplace subscription.

Extension Preview
az ml model

Manage Azure ML models.

Extension GA
az ml model archive

Archive a model.

Extension GA
az ml model create

Create a model.

Extension GA
az ml model download

Download all model-related files.

Extension GA
az ml model list

List models in a workspace/registry. If you are using a registry, replace --workspace-name my-workspace with the --registry-name <registry-name> option.

Extension GA
az ml model package

Package a model into an environment.

Extension Preview
az ml model restore

Restore an archived model.

Extension GA
az ml model share

Share a specific model from workspace to registry.

Extension GA
az ml model show

Show details for a model in a workspace/registry. If you are using a registry, replace --workspace-name my-workspace with the --registry-name <registry-name> option.

Extension GA
az ml model update

Update a model in a workspace/registry.

Extension GA
az ml online-deployment

Manage Azure ML online deployments.

Extension GA
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.

Extension GA
az ml online-deployment delete

Delete a deployment.

Extension GA
az ml online-deployment get-logs

Get the container logs for an online deployment.

Extension GA
az ml online-deployment list

List deployments.

Extension GA
az ml online-deployment show

Show a deployment.

Extension GA
az ml online-deployment update

Update a deployment.

Extension GA
az ml online-endpoint

Manage Azure ML online endpoints.

Extension GA
az ml online-endpoint create

Create an endpoint.

Extension GA
az ml online-endpoint delete

Delete an endpoint.

Extension GA
az ml online-endpoint get-credentials

List the token/keys for an online endpoint.

Extension GA
az ml online-endpoint invoke

Invoke an endpoint.

Extension GA
az ml online-endpoint list

List endpoints in a workspace.

Extension GA
az ml online-endpoint regenerate-keys

Regenerate the keys for an online endpoint.

Extension GA
az ml online-endpoint show

Show details for an endpoint.

Extension GA
az ml online-endpoint update

Update an endpoint.

Extension GA
az ml registry

Manage Azure ML registries.

Extension GA
az ml registry create

Create a registry.

Extension GA
az ml registry delete

Delete a given registry.

Extension GA
az ml registry list

List all the registries in a subscription or resource group.

Extension GA
az ml registry show

Show details for a registry.

Extension GA
az ml registry update

Update a registry.

Extension GA
az ml schedule

Manage Azure ML schedule resources.

Extension GA
az ml schedule create

Create a schedule.

Extension GA
az ml schedule delete

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

Extension GA
az ml schedule disable

Disable a schedule so that it will stop triggering jobs.

Extension GA
az ml schedule enable

Enable a schedule so that it will continue triggering jobs.

Extension GA
az ml schedule list

List the schedules in a workspace.

Extension GA
az ml schedule show

Show details of a schedule.

Extension GA
az ml schedule trigger

Trigger a schedule once.

Extension GA
az ml schedule update

Update a schedule.

Extension GA
az ml serverless-endpoint

Manage Azure ML serverless endpoints.

Extension Preview
az ml serverless-endpoint create

Create a serverless endpoint.

Extension Preview
az ml serverless-endpoint delete

Delete a serverless endpoint.

Extension Preview
az ml serverless-endpoint get-credentials

List the keys for a serverless endpoint.

Extension Preview
az ml serverless-endpoint list

List serverless endpoints in a workspace.

Extension Preview
az ml serverless-endpoint regenerate-keys

Regenerate the keys for a serverless endpoint.

Extension Preview
az ml serverless-endpoint show

Shows details for a serverless endpoint.

Extension Preview
az ml serverless-endpoint update

Update a serverlesss endpoint.

Extension Preview
az ml workspace

Manage Azure ML workspaces.

Extension GA
az ml workspace create

Create a workspace.

Extension GA
az ml workspace delete

Delete a workspace.

Extension GA
az ml workspace diagnose

Diagnose workspace setup problems.

Extension GA
az ml workspace list

List all the workspaces in a subscription.

Extension GA
az ml workspace list-keys

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

Extension GA
az ml workspace outbound-rule

Manage outbound rules for the managed network of an Azure ML workspace.

Extension GA
az ml workspace outbound-rule list

List all the managed network outbound rules for a workspace.

Extension GA
az ml workspace outbound-rule remove

Remove an outbound rule from the managed network for a workspace.

Extension GA
az ml workspace outbound-rule set

Add or update an outbound rule in the managed network for a workspace.

Extension GA
az ml workspace outbound-rule show

Show details for a managed network outbound rule for a workspace.

Extension GA
az ml workspace provision-network

Provision workspace managed network.

Extension GA
az ml workspace show

Show details for a workspace.

Extension GA
az ml workspace sync-keys

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

Extension GA
az ml workspace update

Update a workspace.

Extension GA