GalleryOSDiskImage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |