Aracılığıyla paylaş


BatchTaskGroup Class

Definition

A collection of Azure Batch Tasks to add.

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

Constructors

BatchTaskGroup(IEnumerable<BatchTaskCreateContent>)

Initializes a new instance of BatchTaskGroup.

Properties

Value

The collection of Tasks to add. The maximum count of Tasks is 100. The total serialized size of this collection must be less than 1MB. If it is greater than 1MB (for example if each Task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer Tasks.

Explicit Interface Implementations

IJsonModel<BatchTaskGroup>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchTaskGroup>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchTaskGroup>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchTaskGroup>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchTaskGroup>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to