Show / Hide Table of Contents

    Class AttachNewDataDiskOptions

    Properties to attach new disk to the Virtual Machine.

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

    Constructors

    AttachNewDataDiskOptions()

    Initializes a new instance of the AttachNewDataDiskOptions class.

    Declaration
    public AttachNewDataDiskOptions ();

    AttachNewDataDiskOptions(Nullable<Int32>, String, String)

    Initializes a new instance of the AttachNewDataDiskOptions class.

    Declaration
    public AttachNewDataDiskOptions (Nullable<int> diskSizeGiB = null, string diskName = null, string diskType = null);
    Parameters
    Nullable<Int32> diskSizeGiB

    Size of the disk to be attached in GibiBytes.

    String diskName

    The name of the disk to be attached.

    String diskType

    The storage type for the disk (i.e. Standard, Premium). Possible values include: 'Standard', 'Premium'

    Properties

    DiskName

    Gets or sets the name of the disk to be attached.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="diskName")]
    public string DiskName { get; set; }
    Property Value
    String

    DiskSizeGiB

    Gets or sets size of the disk to be attached in GibiBytes.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="diskSizeGiB")]
    public Nullable<int> DiskSizeGiB { get; set; }
    Property Value
    Nullable<Int32>

    DiskType

    Gets or sets the storage type for the disk (i.e. Standard, Premium). Possible values include: 'Standard', 'Premium'

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="diskType")]
    public string DiskType { get; set; }
    Property Value
    String

    Back to top Azure SDK for Net