共用方式為


ImageMetadata Class

Definition

Returns metadata about the operating system image for this compute instance.

public class ImageMetadata : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.ImageMetadata>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.ImageMetadata>
public class ImageMetadata
type ImageMetadata = class
    interface IJsonModel<ImageMetadata>
    interface IPersistableModel<ImageMetadata>
type ImageMetadata = class
Public Class ImageMetadata
Implements IJsonModel(Of ImageMetadata), IPersistableModel(Of ImageMetadata)
Public Class ImageMetadata
Inheritance
ImageMetadata
Implements

Properties

CurrentImageVersion

Specifies the current operating system image version this compute instance is running on.

IsLatestOSImageVersion

Specifies whether this compute instance is running on the latest operating system image.

LatestImageVersion

Specifies the latest available operating system image version.

Explicit Interface Implementations

IJsonModel<ImageMetadata>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ImageMetadata>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ImageMetadata>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ImageMetadata>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ImageMetadata>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to