Share via


ImageMetadata Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ImageMetadataTypeConverter))]
public class ImageMetadata : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IImageMetadata
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ImageMetadataTypeConverter))>]
type ImageMetadata = class
    interface IImageMetadata
    interface IJsonSerializable
Public Class ImageMetadata
Implements IImageMetadata
Inheritance
ImageMetadata
Attributes
Implements

Constructors

ImageMetadata()

Creates an new ImageMetadata instance.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ImageMetadata.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ImageMetadata.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IImageMetadata.

FromJsonString(String)

Creates a new instance of ImageMetadata, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ImageMetadata into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to