Share via


GalleryOSDiskImage Class

Definition

This is the OS disk image.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryOSDiskImageTypeConverter))]
public class GalleryOSDiskImage : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGalleryOSDiskImage, Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.GalleryOSDiskImageTypeConverter))>]
type GalleryOSDiskImage = class
    interface IGalleryOSDiskImage
    interface IJsonSerializable
    interface IGalleryDiskImage
    interface IValidates
Public Class GalleryOSDiskImage
Implements IGalleryOSDiskImage, IValidates
Inheritance
GalleryOSDiskImage
Attributes
Implements

Constructors

GalleryOSDiskImage()

Creates an new GalleryOSDiskImage instance.

Properties

SizeInMb

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GalleryOSDiskImage.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GalleryOSDiskImage.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of GalleryOSDiskImage into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to