Partager via


ImageReference Class

Definition

Image reference information. Used in the virtual machine profile.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ImageReferenceTypeConverter))]
public class ImageReference : Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IImageReference
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ImageReferenceTypeConverter))>]
type ImageReference = class
    interface IImageReference
    interface IJsonSerializable
Public Class ImageReference
Implements IImageReference
Inheritance
ImageReference
Attributes
Implements

Constructors

ImageReference()

Creates an new ImageReference instance.

Properties

ExactVersion

The actual version of the image after use.

Id

Image resource ID

Offer

The image offer if applicable.

Publisher

The image publisher

Sku

The image SKU

Version

The image version specified on creation.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ImageReference.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ImageReference.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IImageReference.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ImageReference into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to