MetadataItem 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.
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. |