你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BatchJobActionKind Struct

Definition

BatchJobAction enums.

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

Constructors

Name Description
BatchJobActionKind(String)

Initializes a new instance of BatchJobActionKind.

Properties

Name Description
Disable

Disable the Job. This is equivalent to calling the disable Job API, with a disableTasks value of requeue.

None

Take no action.

Terminate

Terminate the Job. The terminationReason in the Job's executionInfo is set to "TaskFailed".

Methods

Name Description
Equals(BatchJobActionKind)

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

Name Description
Equality(BatchJobActionKind, BatchJobActionKind)

Determines if two BatchJobActionKind values are the same.

Implicit(String to BatchJobActionKind)

Converts a String to a BatchJobActionKind.

Inequality(BatchJobActionKind, BatchJobActionKind)

Determines if two BatchJobActionKind values are not the same.

Applies to