Show / Hide Table of Contents

    Class ComputeDataDiskFragment

    A data disks attached to a virtual machine.

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

    Constructors

    ComputeDataDiskFragment()

    Initializes a new instance of the ComputeDataDiskFragment class.

    Declaration
    public ComputeDataDiskFragment ();

    ComputeDataDiskFragment(String, String, String, Nullable<Int32>)

    Initializes a new instance of the ComputeDataDiskFragment class.

    Declaration
    public ComputeDataDiskFragment (string name = null, string diskUri = null, string managedDiskId = null, Nullable<int> diskSizeGiB = null);
    Parameters
    String name

    Gets data disk name.

    String diskUri

    When backed by a blob, the URI of underlying blob.

    String managedDiskId

    When backed by managed disk, this is the ID of the compute disk resource.

    Nullable<Int32> diskSizeGiB

    Gets data disk size in GiB.

    Properties

    DiskSizeGiB

    Gets data disk size in GiB.

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

    DiskUri

    Gets or sets when backed by a blob, the URI of underlying blob.

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

    ManagedDiskId

    Gets or sets when backed by managed disk, this is the ID of the compute disk resource.

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

    Name

    Gets data disk name.

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

    Back to top Azure SDK for Net