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

BatchNodeInfo Class

Definition

Information about the Compute Node on which a Task ran.

public class BatchNodeInfo : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.BatchNodeInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.BatchNodeInfo>
type BatchNodeInfo = class
    interface IJsonModel<BatchNodeInfo>
    interface IPersistableModel<BatchNodeInfo>
Public Class BatchNodeInfo
Implements IJsonModel(Of BatchNodeInfo), IPersistableModel(Of BatchNodeInfo)
Inheritance
BatchNodeInfo
Implements

Properties

AffinityId

An identifier for the Node on which the Task ran, which can be passed when adding a Task to request that the Task be scheduled on this Compute Node.

NodeId

The ID of the Compute Node on which the Task ran.

NodeUrl

The URL of the Compute Node on which the Task ran.

PoolId

The ID of the Pool on which the Task ran.

TaskRootDirectory

The root directory of the Task on the Compute Node.

TaskRootDirectoryUrl

The URL to the root directory of the Task on the Compute Node.

Explicit Interface Implementations

IJsonModel<BatchNodeInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BatchNodeInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchNodeInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchNodeInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BatchNodeInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to