JobOperationsExtensions.Cancel Method (IJobOperations, String, String, Guid)

 

Cancels the running job specified by the job ID.

Namespace:   Microsoft.Azure.Management.DataLake.AnalyticsJob
Assembly:  Microsoft.Azure.Management.DataLake.AnalyticsJob (in Microsoft.Azure.Management.DataLake.AnalyticsJob.dll)

Syntax

public static AzureOperationResponse Cancel(
    this IJobOperations operations,
    string resourceGroupName,
    string accountName,
    Guid jobIdentity
)
public:
[ExtensionAttribute]
static AzureOperationResponse^ Cancel(
    IJobOperations^ operations,
    String^ resourceGroupName,
    String^ accountName,
    Guid jobIdentity
)
static member Cancel : 
        operations:IJobOperations *
        resourceGroupName:string *
        accountName:string *
        jobIdentity:Guid -> AzureOperationResponse
<ExtensionAttribute>
Public Shared Function Cancel (
    operations As IJobOperations,
    resourceGroupName As String,
    accountName As String,
    jobIdentity As Guid
) As AzureOperationResponse

Parameters

  • resourceGroupName
    Type: System.String

    Required. The name of the resource group.

  • accountName
    Type: System.String

    Required. The name of the Data Lake Analytics account to cancel the job for

  • jobIdentity
    Type: System.Guid

    Required. JobInfo ID to cancel.

Return Value

Type: Microsoft.Azure.AzureOperationResponse

A standard service response including an HTTP status code and request ID.

See Also

JobOperationsExtensions Class
Microsoft.Azure.Management.DataLake.AnalyticsJob Namespace

Return to top