JobCancellations interface
Interface representing a JobCancellations.
Methods
trigger(string, string, string, Job |
Cancels a job. This is an asynchronous operation. To know the status of the cancellation, call GetCancelOperationResult API. |
Method Details
trigger(string, string, string, JobCancellationsTriggerOptionalParams)
Cancels a job. This is an asynchronous operation. To know the status of the cancellation, call GetCancelOperationResult API.
function trigger(vaultName: string, resourceGroupName: string, jobName: string, options?: JobCancellationsTriggerOptionalParams): Promise<void>
Parameters
- vaultName
-
string
The name of the recovery services vault.
- resourceGroupName
-
string
The name of the resource group where the recovery services vault is present.
- jobName
-
string
Name of the job to cancel.
The options parameters.
Returns
Promise<void>