Share via


JobsOperationsExtensions.Cancel Method

Definition

CancelJob.

public static void Cancel (this Microsoft.Azure.Management.DataBox.IJobsOperations operations, string resourceGroupName, string jobName, string reason);
static member Cancel : Microsoft.Azure.Management.DataBox.IJobsOperations * string * string * string -> unit
<Extension()>
Public Sub Cancel (operations As IJobsOperations, resourceGroupName As String, jobName As String, reason As String)

Parameters

operations
IJobsOperations

The operations group for this extension method.

resourceGroupName
String

The Resource Group Name

jobName
String

The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only

reason
String

Reason for cancellation.

Applies to