Show / Hide Table of Contents

    Class GalleryOSDiskImage

    This is the OS disk image.

    Inheritance
    Object
    GalleryDiskImage
    GalleryOSDiskImage
    Inherited Members
    GalleryDiskImage.HostCaching
    GalleryDiskImage.SizeInGB
    GalleryDiskImage.Source
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Compute.dll
    Syntax
    public class GalleryOSDiskImage : Microsoft.Azure.Management.Compute.Models.GalleryDiskImage

    Constructors

    GalleryOSDiskImage()

    Initializes a new instance of the GalleryOSDiskImage class.

    Declaration
    public GalleryOSDiskImage ();

    GalleryOSDiskImage(Nullable<Int32>, Nullable<HostCaching>, GalleryArtifactVersionSource)

    Initializes a new instance of the GalleryOSDiskImage class.

    Declaration
    public GalleryOSDiskImage (Nullable<int> sizeInGB = null, Nullable<Microsoft.Azure.Management.Compute.Models.HostCaching> hostCaching = null, Microsoft.Azure.Management.Compute.Models.GalleryArtifactVersionSource source = null);
    Parameters
    Nullable<Int32> sizeInGB

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

    Nullable<HostCaching> hostCaching

    The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values include: 'None', 'ReadOnly', 'ReadWrite'

    GalleryArtifactVersionSource source

    Methods

    Validate()

    Validate the object.

    Declaration
    public override void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net