Share via


BatchNodePlacementConfiguration Class

Definition

For regional placement, nodes in the pool will be allocated in the same region. For zonal placement, nodes in the pool will be spread across different zones with best effort balancing.

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

Constructors

BatchNodePlacementConfiguration()

Initializes a new instance of BatchNodePlacementConfiguration.

Properties

Policy

Node placement Policy type on Batch Pools. Allocation policy used by Batch Service to provision the nodes. If not specified, Batch will use the regional policy.

Explicit Interface Implementations

IJsonModel<BatchNodePlacementConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchNodePlacementConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchNodePlacementConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchNodePlacementConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchNodePlacementConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to