Share via


JobOperationsExtensions.Stop Method

Definition

Trigger cancellation of a job.

public static Microsoft.Azure.Management.BackupServices.OperationResponse Stop (this Microsoft.Azure.Management.BackupServices.IJobOperations operations, string resourceGroupName, string resourceName, string name, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders);
static member Stop : Microsoft.Azure.Management.BackupServices.IJobOperations * string * string * string * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders -> Microsoft.Azure.Management.BackupServices.OperationResponse
<Extension()>
Public Function Stop (operations As IJobOperations, resourceGroupName As String, resourceName As String, name As String, customRequestHeaders As CustomRequestHeaders) As OperationResponse

Parameters

operations
IJobOperations

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

resourceGroupName
String

Required.

resourceName
String

Required.

name
String

Optional. Name of the job which should be stopped.

customRequestHeaders
CustomRequestHeaders

Optional. Custom request headers to make the call.

Returns

The definition of a Operation Response.

Applies to