Show / Hide Table of Contents

    Class DiskFragment

    A Disk.

    Inheritance
    Object
    UpdateResource
    DiskFragment
    Inherited Members
    UpdateResource.Tags
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.DevTestLabs.dll
    Syntax
    [Microsoft.Rest.Serialization.JsonTransformation]
    public class DiskFragment : Microsoft.Azure.Management.DevTestLabs.Models.UpdateResource

    Constructors

    DiskFragment()

    Initializes a new instance of the DiskFragment class.

    Declaration
    public DiskFragment ();

    DiskFragment(IDictionary<String,String>, String, Nullable<Int32>, String, String, String, String, String)

    Initializes a new instance of the DiskFragment class.

    Declaration
    public DiskFragment (System.Collections.Generic.IDictionary<string,string> tags = null, string diskType = null, Nullable<int> diskSizeGiB = null, string leasedByLabVmId = null, string diskBlobName = null, string diskUri = null, string hostCaching = null, string managedDiskId = null);
    Parameters
    IDictionary<String,String> tags

    The tags of the resource.

    String diskType

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

    Nullable<Int32> diskSizeGiB

    The size of the disk in GibiBytes.

    String leasedByLabVmId

    The resource ID of the VM to which this disk is leased.

    String diskBlobName

    When backed by a blob, the name of the VHD blob without extension.

    String diskUri

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

    String hostCaching

    The host caching policy of the disk (i.e. None, ReadOnly, ReadWrite).

    String managedDiskId

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

    Properties

    DiskBlobName

    Gets or sets when backed by a blob, the name of the VHD blob without extension.

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

    DiskSizeGiB

    Gets or sets the size of the disk in GibiBytes.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.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="properties.diskType")]
    public string DiskType { get; set; }
    Property Value
    String

    DiskUri

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

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

    HostCaching

    Gets or sets the host caching policy of the disk (i.e. None, ReadOnly, ReadWrite).

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

    LeasedByLabVmId

    Gets or sets the resource ID of the VM to which this disk is leased.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.leasedByLabVmId")]
    public string LeasedByLabVmId { 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="properties.managedDiskId")]
    public string ManagedDiskId { get; set; }
    Property Value
    String

    Back to top Azure SDK for Net