Settings which will be used by the data disks associated to Compute Nodes in the Pool. When using attached data disks, you need to mount and format the disks from within a VM to use them.
Inheritance
DataDisk
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Batch.dll
Syntax
public class DataDisk
Constructors
DataDisk()
Initializes a new instance of the DataDisk class.
Declaration
public DataDisk ();
DataDisk(Int32, Int32, Nullable<CachingType>, Nullable<StorageAccountType>)
Initializes a new instance of the DataDisk class.
Declaration
public DataDisk (int lun, int diskSizeGB, Nullable<Microsoft.Azure.Management.Batch.Models.CachingType> caching = null, Nullable<Microsoft.Azure.Management.Batch.Models.StorageAccountType> storageAccountType = null);
Parameters
Int32 lun The logical unit number. |
Int32 diskSizeGB The initial disk size in GB when creating new data disk. |
Nullable<CachingType> caching The type of caching to be enabled for the data disks. |
Nullable<StorageAccountType> storageAccountType The storage account type to be used for the data disk. |
Properties
Caching
Gets or sets the type of caching to be enabled for the data disks.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="caching")] public Nullable<Microsoft.Azure.Management.Batch.Models.CachingType> Caching { get; set; }
Property Value
DiskSizeGB
Gets or sets the initial disk size in GB when creating new data disk.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="diskSizeGB")] public int DiskSizeGB { get; set; }
Property Value
Lun
Gets or sets the logical unit number.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="lun")] public int Lun { get; set; }
Property Value
StorageAccountType
Gets or sets the storage account type to be used for the data disk.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="storageAccountType")] public Nullable<Microsoft.Azure.Management.Batch.Models.StorageAccountType> StorageAccountType { get; set; }
Property Value
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
ncG1vNJzZmiZqqq%2Fpr%2FDpJuom6Njr627wWeaqKqVY8SqusOorqxmnprBcHDWnplonJ%2Bpu6bAjoagnKqfqLynwI16sa6qlWOaorrAoJymnZ6pe4Ot05yfaHFeZXtxe8CpoGiFmZi%2FsL%2FOn6tneaqqv6Z6rJqlmp%2BVorKvwI17mK2bmGOasLDEpapohZmYv7C%2Fzp%2BrZ3mqqr%2BmeqyapZqflaKyr8CNe5itm5hjmrCwxKWqZ3yRqa6FtdKkZaGsnaE%3D