Show / Hide Table of Contents

    Class ImageStorageProfile

    Describes a storage profile.

    Inheritance
    Object
    ImageStorageProfile
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Compute.dll
    Syntax
    public class ImageStorageProfile

    Constructors

    ImageStorageProfile()

    Initializes a new instance of the ImageStorageProfile class.

    Declaration
    public ImageStorageProfile ();

    ImageStorageProfile(ImageOSDisk, IList<ImageDataDisk>, Nullable<Boolean>)

    Initializes a new instance of the ImageStorageProfile class.

    Declaration
    public ImageStorageProfile (Microsoft.Azure.Management.Compute.Models.ImageOSDisk osDisk = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ImageDataDisk> dataDisks = null, Nullable<bool> zoneResilient = null);
    Parameters
    ImageOSDisk osDisk

    Specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see About disks and VHDs for Azure virtual machines.

    IList<ImageDataDisk> dataDisks

    Specifies the parameters that are used to add a data disk to a virtual machine. <br><br> For more information about disks, see About disks and VHDs for Azure virtual machines.

    Nullable<Boolean> zoneResilient

    Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).

    Properties

    DataDisks

    Gets or sets specifies the parameters that are used to add a data disk to a virtual machine. &lt;br&gt;&lt;br&gt; For more information about disks, see About disks and VHDs for Azure virtual machines.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="dataDisks")]
    public System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ImageDataDisk> DataDisks { get; set; }
    Property Value
    IList<ImageDataDisk>

    OsDisk

    Gets or sets specifies information about the operating system disk used by the virtual machine. &lt;br&gt;&lt;br&gt; For more information about disks, see About disks and VHDs for Azure virtual machines.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="osDisk")]
    public Microsoft.Azure.Management.Compute.Models.ImageOSDisk OsDisk { get; set; }
    Property Value
    ImageOSDisk

    ZoneResilient

    Gets or sets specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="zoneResilient")]
    public Nullable<bool> ZoneResilient { get; set; }
    Property Value
    Nullable<Boolean>

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net