你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BatchTaskGroup Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |