C# Class Elastacloud.AzureManagement.Fluent.Types.VirtualMachines.DataVirtualHardDisk

Used to build a data virtual hard disk for the persistent VM - there can be many of these each 1TB in size
Inheritance: Elastacloud.AzureManagement.Fluent.Types.VirtualMachines.VirtualHardDisk, ICustomXmlSerializer
Show file Open project: azurecoder/fluent-management Class Usage Examples

Public Methods

Method Description
GetDefaultDataDisk ( string storageAccountName, int size = 30, int logicalUnitNumber, string diskName = null, string diskLabel = null ) : DataVirtualHardDisk

Gets a virtual disk located in blob storage and sets a default size to the disk of 30 GB and a logical unit no. of 0 (drive e:)

GetXmlTree ( ) : System.Xml.Linq.XElement

Gets the Xml tree for the custom serialiser

Method Details

GetDefaultDataDisk() public static method

Gets a virtual disk located in blob storage and sets a default size to the disk of 30 GB and a logical unit no. of 0 (drive e:)
public static GetDefaultDataDisk ( string storageAccountName, int size = 30, int logicalUnitNumber, string diskName = null, string diskLabel = null ) : DataVirtualHardDisk
storageAccountName string The path to blob storage for the disk
size int the size of the disk in GB - can be up to 1TB
logicalUnitNumber int number between 0 and 15 which is the logical unit of the drive
diskName string the name of the disk
diskLabel string the label of the disk
return DataVirtualHardDisk

GetXmlTree() public method

Gets the Xml tree for the custom serialiser
public GetXmlTree ( ) : System.Xml.Linq.XElement
return System.Xml.Linq.XElement