Share via


EnableJobOperation Class

Definition

Upon success a Job will be enabled

public class EnableJobOperation : Azure.Operation<Azure.Compute.Batch.BatchJob>
type EnableJobOperation = class
    inherit Operation<BatchJob>
Public Class EnableJobOperation
Inherits Operation(Of BatchJob)
Inheritance
EnableJobOperation

Constructors

EnableJobOperation()

Initializes a new EnableJobOperation instance for mocking.

EnableJobOperation(BatchClient, String)

Initializes a new EnableJobOperation instance

Properties

HasCompleted

Gets a value indicating whether the operation has completed.

HasValue

Gets a value indicating whether the operation completed and successfully produced a value. The Value property is the success of the operation.

Id

Gets an ID representing the operation that can be used to poll for the status of the long-running operation. There are cases that operation id is not available, we return "NOT_SET" for unavailable operation id.

Value

Get the sucess state of the deletion operation

Methods

GetRawResponse()

The last HTTP response received from the server.

UpdateStatus(CancellationToken)

Check for the latest status of the delete operation.

UpdateStatusAsync(CancellationToken)

Check for the latest status of the delete operation.

Applies to