az ml schedule
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 schedule command. Learn more about extensions.
Manage Azure ML schedule resources.
Azure ML schedule defines how to trigger jobs on a regular basis to keep training models up-to-date, to run and download inference results on a periodic basis and many other scenarios, you can use cron expression and recurrence to define the trigger pattern.
Commands
Name | Description | Type | Status |
---|---|---|---|
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 schedule create
Create a schedule.
az ml schedule create --file
--resource-group
[--name]
[--no-wait]
[--set]
[--workspace-name]
Examples
Create a schedule from a YAML specification file
az ml schedule create --file schedule.yml --resource-group my-resource-group --workspace-name my-workspace
Required Parameters
Local path to the YAML file containing the Azure ML schedule specification. The YAML reference docs for schedule can be found at: https://aka.ms/ml-cli-v2-schedule-yaml-reference.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Name of the schedule.
Do not wait for the long-running operation to finish.
Update an object by specifying a property path and value to set. Example: --set property1.property2=.
Name of the Azure ML workspace. You can configure the default workspace using az configure --defaults workspace=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ml schedule delete
Delete a schedule. The previous triggered jobs will NOT be deleted.
az ml schedule delete --name
--resource-group
--workspace-name
[--no-wait]
Required Parameters
Name of the schedule.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the Azure ML workspace. You can configure the default workspace using az configure --defaults workspace=<name>
.
Optional Parameters
Do not wait for the long-running operation to finish.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ml schedule disable
Disable a schedule so that it will stop triggering jobs.
az ml schedule disable --name
--resource-group
--workspace-name
[--no-wait]
Required Parameters
Name of the schedule.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the Azure ML workspace. You can configure the default workspace using az configure --defaults workspace=<name>
.
Optional Parameters
Do not wait for the long-running operation to finish.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ml schedule enable
Enable a schedule so that it will continue triggering jobs.
az ml schedule enable --name
--resource-group
--workspace-name
[--no-wait]
Required Parameters
Name of the schedule.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the Azure ML workspace. You can configure the default workspace using az configure --defaults workspace=<name>
.
Optional Parameters
Do not wait for the long-running operation to finish.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ml schedule list
List the schedules in a workspace.
az ml schedule list --resource-group
[--disabled-only]
[--include-disabled]
[--max-results]
[--workspace-name]
Examples
List all the schedules in a workspace using --query argument to execute a JMESPath query on the results of commands.
az ml schedule list --query "[].{Name:name}" --output table --resource-group my-resource-group --workspace-name my-workspace
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
List disabled schedules only.
List disabled schedules and enabled schedules.
Max number of results to return.
Name of the Azure ML workspace. You can configure the default workspace using az configure --defaults workspace=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ml schedule show
Show details of a schedule.
az ml schedule show --name
--resource-group
[--workspace-name]
Examples
Show details of a schedule
az ml schedule show --name my-schedule --resource-group my-resource-group --workspace-name my-workspace
Required Parameters
Name of the schedule.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Name of the Azure ML workspace. You can configure the default workspace using az configure --defaults workspace=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ml schedule trigger
Trigger a schedule once.
az ml schedule trigger --name
--resource-group
--workspace-name
Examples
Trigger a schedule once.
az ml schedule trigger --name my-schedule --resource-group my-resource-group --workspace-name my-workspace
Required Parameters
Name of the schedule.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the Azure ML workspace. You can configure the default workspace using az configure --defaults workspace=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ml schedule update
Update a schedule.
az ml schedule update --name
--resource-group
--workspace-name
[--add]
[--force-string]
[--no-wait]
[--remove]
[--set]
Examples
Update existing tags or add new tags for a schedule
az ml schedule update --name my-schedule --set tags.key1=value1 tags.key2=value2 --resource-group my-resource-group --workspace-name my-workspace
Required Parameters
Name of the schedule.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the Azure ML workspace. You can configure the default workspace using az configure --defaults workspace=<name>
.
Optional Parameters
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>
.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Do not wait for the long-running operation to finish.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI