Partilhar via


MetadataItem Class

Definition

The Batch service does not assign any meaning to this metadata; it is solely for the use of user code.

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

Constructors

MetadataItem(String, String)

Initializes a new instance of MetadataItem.

Properties

Name

The name of the metadata item.

Value

The value of the metadata item.

Explicit Interface Implementations

IJsonModel<MetadataItem>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MetadataItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MetadataItem>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MetadataItem>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MetadataItem>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to