az ams job
Manage jobs for a transform.
Commands
Name | Description | Type | Status |
---|---|---|---|
az ams job cancel |
Cancel a job. |
Core | GA |
az ams job delete |
Delete a job. |
Core | GA |
az ams job list |
List all the jobs of a transform within an Azure Media Services account. |
Core | GA |
az ams job show |
Show the details of a job. |
Core | GA |
az ams job start |
Start a job. |
Core | GA |
az ams job update |
Update an existing job. |
Core | GA |
az ams job cancel
Cancel a job.
az ams job cancel [--account-name]
[--delete]
[--ids]
[--name]
[--resource-group]
[--subscription]
[--transform-name]
Optional Parameters
The name of the Azure Media Services account.
Delete the job being cancelled.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The name of the job.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
The name of the transform.
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 ams job delete
Delete a job.
az ams job delete [--account-name]
[--ids]
[--name]
[--resource-group]
[--subscription]
[--transform-name]
Optional Parameters
The name of the Azure Media Services account.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The name of the job.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
The name of the transform.
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 ams job list
List all the jobs of a transform within an Azure Media Services account.
az ams job list --account-name
--resource-group
--transform-name
[--filter]
[--orderby]
Examples
List all the jobs of a transform with 'Normal' priority by name.
az ams job list -a amsAccount -g resourceGroup -t transformName --query [?priority=='Normal'].{jobName:name}
List all the jobs of a transform by name and input.
az ams job list -a amsAccount -g resourceGroup -t transformName --query [].{jobName:name,jobInput:input}
Required Parameters
The name of the Azure Media Services account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the transform.
Optional Parameters
Restricts the set of items returned.
Specifies the key by which the result collection should be ordered.
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 ams job show
Show the details of a job.
az ams job show [--account-name]
[--ids]
[--name]
[--resource-group]
[--subscription]
[--transform-name]
Optional Parameters
The name of the Azure Media Services account.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The name of the job.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
The name of the transform.
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 ams job start
Start a job.
az ams job start --output-assets
[--account-name]
[--base-uri]
[--correlation-data]
[--description]
[--files]
[--ids]
[--input-asset-name]
[--label]
[--name]
[--priority {High, Low, Normal}]
[--resource-group]
[--subscription]
[--transform-name]
Required Parameters
Space-separated assets in 'assetName=label' format. An asset without label can be sent like this: 'assetName='.
Optional Parameters
The name of the Azure Media Services account.
Base uri for http job input. It will be concatenated with provided file names. If no base uri is given, then the provided file list is assumed to be fully qualified uris.
Space-separated correlation data in 'key[=value]' format. This customer provided data will be returned in Job and JobOutput state events.
The job description.
Space-separated list of files. It can be used to tell the service to only use the files specified from the input asset.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The name of the input asset.
A label that is assigned to a Job Input that is used to satisfy a reference used in the Transform. For example, a Transform can be authored to take an image file with the label 'xyz' and apply it as an overlay onto the input video before it is encoded. When submitting a Job, exactly one of the JobInputs should be the image file, and it should have the label 'xyz'.
The name of the job.
The priority with which the job should be processed.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
The name of the transform.
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 ams job update
Update an existing job.
az ams job update [--account-name]
[--add]
[--description]
[--force-string]
[--ids]
[--name]
[--priority {High, Low, Normal}]
[--remove]
[--resource-group]
[--set]
[--subscription]
[--transform-name]
Optional Parameters
The name of the Azure Media Services account.
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>
.
The job description.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The name of the job.
The priority with which the job should be processed.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
The name of the transform.
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.