Share via


BatchJobState Struct

Definition

BatchJobState enums.

public readonly struct BatchJobState : IEquatable<Azure.Compute.Batch.BatchJobState>
type BatchJobState = struct
Public Structure BatchJobState
Implements IEquatable(Of BatchJobState)
Inheritance
BatchJobState
Implements

Constructors

BatchJobState(String)

Initializes a new instance of BatchJobState.

Properties

Active

The Job is available to have Tasks scheduled.

Completed

All Tasks have terminated, and the system will not accept any more Tasks or any further changes to the Job.

Deleting

A user has requested that the Job be deleted, but the delete operation is still in progress (for example, because the system is still terminating running Tasks).

Disabled

A user has disabled the Job. No Tasks are running, and no new Tasks will be scheduled.

Disabling

A user has requested that the Job be disabled, but the disable operation is still in progress (for example, waiting for Tasks to terminate).

Enabling

A user has requested that the Job be enabled, but the enable operation is still in progress.

Terminating

The Job is about to complete, either because a Job Manager Task has completed or because the user has terminated the Job, but the terminate operation is still in progress (for example, because Job Release Tasks are running).

Methods

Equals(BatchJobState)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(BatchJobState, BatchJobState)

Determines if two BatchJobState values are the same.

Implicit(String to BatchJobState)

Converts a string to a BatchJobState.

Inequality(BatchJobState, BatchJobState)

Determines if two BatchJobState values are not the same.

Applies to