Skip to main content

job_cancellations

Creates, updates, deletes, gets or lists a job_cancellations resource.

Overview

Namejob_cancellations
TypeResource
Idazure.recovery_services_backup.job_cancellations

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
triggerexecvault_name, resource_group_name, job_name, subscription_idCancels a job. This is an asynchronous operation. To know the status of the cancellation, call GetCancelOperationResult API.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
job_namestringName of the job whose details are to be fetched. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
vault_namestringThe name of the VaultResource. Required.

Lifecycle Methods

Cancels a job. This is an asynchronous operation. To know the status of the cancellation, call GetCancelOperationResult API.

EXEC azure.recovery_services_backup.job_cancellations.trigger 
@vault_name='{{ vault_name }}' --required,
@resource_group_name='{{ resource_group_name }}' --required,
@job_name='{{ job_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;