C# Class XenAdmin.Wizards.NewVMWizard.DiskGridRowItem

Inheritance: System.Windows.Forms.DataGridViewRow
Afficher le fichier Open project: xenserver/xenadmin Class Usage Examples

Méthodes publiques

Свойство Type Description
CanDelete bool
CanResize bool
Connection IXenConnection
Device VBD
Disk XenAPI.VDI
ImageToolTip string
MinSize long
OverCommit DiskOverCommit
SourceDisk XenAPI.VDI

Méthodes publiques

Méthode Description
DiskGridRowItem ( IXenConnection connection, XenAPI.VDI vdi, VBD vbd, bool isNew, XenAPI.Host affinity ) : System
DiskGridRowItem ( IXenConnection connection, XmlNode diskNode, string vmName, XenAPI.Host affinity ) : System
UpdateDetails ( ) : void

Private Methods

Méthode Description
AddCells ( ) : void
GetBeskDiskStorage ( IXenConnection connection, XenAPI.VDI disk, XenAPI.Host affinity, SR suggestedSR ) : SR

Tries to find the best SR for the given VDI considering the suggestedSR which has priority over other SRs in this check. SuggestedSR, default SR, other SRs are checked. Returns first suitable SR or NULL.

IsSufficientFreeSpaceAvailableOnSrForVdi ( SR sr, XenAPI.VDI disk ) : bool

Checks whether there is enough space available on the SR to accommodate a VDI.

Method Details

DiskGridRowItem() public méthode

public DiskGridRowItem ( IXenConnection connection, XenAPI.VDI vdi, VBD vbd, bool isNew, XenAPI.Host affinity ) : System
connection IXenConnection
vdi XenAPI.VDI
vbd VBD
isNew bool
affinity XenAPI.Host
Résultat System

DiskGridRowItem() public méthode

public DiskGridRowItem ( IXenConnection connection, XmlNode diskNode, string vmName, XenAPI.Host affinity ) : System
connection IXenConnection
diskNode System.Xml.XmlNode
vmName string
affinity XenAPI.Host
Résultat System

UpdateDetails() public méthode

public UpdateDetails ( ) : void
Résultat void

Property Details

CanDelete public_oe property

public bool CanDelete
Résultat bool

CanResize public_oe property

public bool CanResize
Résultat bool

Connection public_oe property

public IXenConnection Connection
Résultat IXenConnection

Device public_oe property

public VBD Device
Résultat VBD

Disk public_oe property

public VDI,XenAPI Disk
Résultat XenAPI.VDI

ImageToolTip public_oe property

public string ImageToolTip
Résultat string

MinSize public_oe property

public long MinSize
Résultat long

OverCommit public_oe property

public DiskOverCommit OverCommit
Résultat DiskOverCommit

SourceDisk public_oe property

public VDI,XenAPI SourceDisk
Résultat XenAPI.VDI