Share via


GalleryImageVersion Class

Definition

Specifies information about the gallery image version that you want to create or update.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImageVersionTypeConverter))]
public class GalleryImageVersion : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersion
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryImageVersionTypeConverter))>]
type GalleryImageVersion = class
    interface IGalleryImageVersion
    interface IJsonSerializable
Public Class GalleryImageVersion
Implements IGalleryImageVersion
Inheritance
GalleryImageVersion
Attributes
Implements

Constructors

GalleryImageVersion()

Creates an new GalleryImageVersion instance.

Properties

Name

This is the version of the gallery image.

OSDiskImageSizeInMb

This property indicates the size of the VHD to be created.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GalleryImageVersion.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GalleryImageVersion.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryImageVersion.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of GalleryImageVersion into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to