az ml workspace

Workspace subgroup commands.

Commands

az ml workspace create Create a workspace.
az ml workspace delete Delete a workspace.
az ml workspace list List workspaces.
az ml workspace share Share a workspace with another user with a given role.
az ml workspace show Show a workspace.
az ml workspace sync-keys Sync workspace keys for dependent resources such as storage, acr, and app insights.
az ml workspace update Update a workspace.

az ml workspace create

Create a workspace.

az ml workspace create --workspace-name
[--application-insights]
[--container-registry]
[--exist-ok]
[--friendly-name]
[--keyvault]
[--location]
[--resource-group]
[--sku]
[--storage-account]
[--yes]

Required Parameters

--workspace-name -w

Workspace name.

Optional Parameters

--application-insights

Application Insights to be associated with this workspace.

--container-registry

Container Registry to be associated with this workspace.

--exist-ok

Do not fail if workspace exists.

--friendly-name -f

Friendly name for this workspace.

--keyvault

Key Vault to be associated with this workspace.

--location -l

Location for resource.

--resource-group -g

Resource group name.

--sku

SKU/edition of a workspace -can be a 'basic' workspace or a feature rich 'enterprise' workspace.

default value: basic
--storage-account

Storage account to be associated with this workspace.

--yes -y

Create a resource group for this workspace.

az ml workspace delete

Delete a workspace.

az ml workspace delete [--all-resources]
[--no-wait]
[--output-metadata-file]
[--path]
[--resource-group]
[--subscription-id]
[--workspace-name]

Optional Parameters

--all-resources

Deletes resources which this workspace depends on like storage, acr, kv and app insights.

--no-wait

Do not wait for the workspace deletion to complete.

--output-metadata-file -t

Provide an optional output file location for structured object output.

--path

Path to a root directory for run configuration files.

default value: .
--resource-group -g

Resource group name.

--subscription-id

Specifies the subscription Id.

--workspace-name -w

Workspace name.

az ml workspace list

List workspaces.

az ml workspace list [--resource-group]

Optional Parameters

--resource-group -g

Resource group name.

az ml workspace share

Share a workspace with another user with a given role.

az ml workspace share --role
--user
[--output-metadata-file]
[--path]
[--resource-group]
[--subscription-id]
[--workspace-name]

Required Parameters

--role

Role to assign to this user.

--user

User with whom to share this workspace.

Optional Parameters

--output-metadata-file -t

Provide an optional output file location for structured object output.

--path

Path to a root directory for run configuration files.

default value: .
--resource-group -g

Resource group name.

--subscription-id

Specifies the subscription Id.

--workspace-name -w

Workspace name.

az ml workspace show

Show a workspace.

az ml workspace show [--output-metadata-file]
[--path]
[--resource-group]
[--subscription-id]
[--workspace-name]

Optional Parameters

--output-metadata-file -t

Provide an optional output file location for structured object output.

--path

Path to a root directory for run configuration files.

default value: .
--resource-group -g

Resource group name.

--subscription-id

Specifies the subscription Id.

--workspace-name -w

Workspace name.

az ml workspace sync-keys

Sync workspace keys for dependent resources such as storage, acr, and app insights.

az ml workspace sync-keys [--output-metadata-file]
[--path]
[--resource-group]
[--subscription-id]
[--workspace-name]

Optional Parameters

--output-metadata-file -t

Provide an optional output file location for structured object output.

--path

Path to a root directory for run configuration files.

default value: .
--resource-group -g

Resource group name.

--subscription-id

Specifies the subscription Id.

--workspace-name -w

Workspace name.

az ml workspace update

Update a workspace.

az ml workspace update [--description]
[--friendly-name]
[--output-metadata-file]
[--path]
[--resource-group]
[--subscription-id]
[--tags]
[--workspace-name]

Optional Parameters

--description -d

Description of this workspace.

--friendly-name -f

Friendly name.

--output-metadata-file -t

Provide an optional output file location for structured object output.

--path

Path to a root directory for run configuration files.

default value: .
--resource-group -g

Resource group name.

--subscription-id

Specifies the subscription Id.

--tags

Tags associated with this workspace.

--workspace-name -w

Workspace name.