JobOperationsExtensions.StopAsync(IJobOperations, String, String, String, CustomRequestHeaders) Method

Definition

Trigger cancellation of a job.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse> StopAsync (this Microsoft.Azure.Management.BackupServices.IJobOperations operations, string resourceGroupName, string resourceName, string name, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders);
static member StopAsync : Microsoft.Azure.Management.BackupServices.IJobOperations * string * string * string * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse>

Parameters

operations
IJobOperations

Reference to the Microsoft.Azure.Management.BackupServices.IJobOperations.

resourceGroupName
System.String

Required.

resourceName
System.String

Required.

name
System.String

Optional. Name of the job which should be stopped.

customRequestHeaders
CustomRequestHeaders

Optional. Custom request headers to make the call.

Returns

System.Threading.Tasks.Task<OperationResponse>

The definition of a Operation Response.

Applies to