Show / Hide Table of Contents

    Class VirtualMachineScaleSetStorageProfile

    Describes a virtual machine scale set storage profile.

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

    Constructors

    VirtualMachineScaleSetStorageProfile()

    Initializes a new instance of the VirtualMachineScaleSetStorageProfile class.

    Declaration
    public VirtualMachineScaleSetStorageProfile ();

    VirtualMachineScaleSetStorageProfile(ImageReference, VirtualMachineScaleSetOSDisk, IList<VirtualMachineScaleSetDataDisk>)

    Initializes a new instance of the VirtualMachineScaleSetStorageProfile class.

    Declaration
    public VirtualMachineScaleSetStorageProfile (Microsoft.Azure.Management.Compute.Models.ImageReference imageReference = null, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetOSDisk osDisk = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetDataDisk> dataDisks = null);
    Parameters
    ImageReference imageReference

    Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.

    VirtualMachineScaleSetOSDisk osDisk

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

    IList<VirtualMachineScaleSetDataDisk> dataDisks

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

    Properties

    DataDisks

    Gets or sets specifies the parameters that are used to add data disks to the virtual machines in the scale set. &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.VirtualMachineScaleSetDataDisk> DataDisks { get; set; }
    Property Value
    IList<VirtualMachineScaleSetDataDisk>

    ImageReference

    Gets or sets specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.

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

    OsDisk

    Gets or sets specifies information about the operating system disk used by the virtual machines in the scale set. &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.VirtualMachineScaleSetOSDisk OsDisk { get; set; }
    Property Value
    VirtualMachineScaleSetOSDisk

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net