Dela via


BatchPoolUpdateContent Class

Definition

Parameters for updating an Azure Batch Pool.

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

Constructors

BatchPoolUpdateContent()

Initializes a new instance of BatchPoolUpdateContent.

Properties

ApplicationPackageReferences

A list of Packages to be installed on each Compute Node in the Pool. Changes to Package references affect all new Nodes joining the Pool, but do not affect Compute Nodes that are already in the Pool until they are rebooted or reimaged. If this element is present, it replaces any existing Package references. If you specify an empty collection, then all Package references are removed from the Pool. If omitted, any existing Package references are left unchanged.

Metadata

A list of name-value pairs associated with the Pool as metadata. If this element is present, it replaces any existing metadata configured on the Pool. If you specify an empty collection, any metadata is removed from the Pool. If omitted, any existing metadata is left unchanged.

StartTask

A Task to run on each Compute Node as it joins the Pool. The Task runs when the Compute Node is added to the Pool or when the Compute Node is restarted. If this element is present, it overwrites any existing StartTask. If omitted, any existing StartTask is left unchanged.

TargetNodeCommunicationMode

The desired node communication mode for the pool. If this element is present, it replaces the existing targetNodeCommunicationMode configured on the Pool. If omitted, any existing metadata is left unchanged.

Explicit Interface Implementations

IJsonModel<BatchPoolUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchPoolUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchPoolUpdateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchPoolUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchPoolUpdateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to