C# Class JobManagerService.VSphereVMConnection

Inheritance: IVMConnection
Mostra file Open project: ryanski44/VM-Automation-Framework

Private Properties

Property Type Description
FindSnapshotByName ManagedObjectReference
getDataStore ManagedObjectReference

Public Methods

Method Description
CreateLinkedClone ( string snapshotName, string linkedVMName ) : IVMConnection
RevertToCurrentSnapshot ( ) : void
RevertToNamedSnapshot ( string snapshotName ) : void
Start ( ) : void
TakeSnapshot ( string snapShotName, string desc ) : void
VSphereVMConnection ( ManagedObjectReference mob ) : System
VSphereVMConnection ( string path ) : System

Private Methods

Method Description
FindSnapshotByName ( VirtualMachineSnapshotTree tree, string name ) : ManagedObjectReference
getDataStore ( DataStores datastore ) : ManagedObjectReference

Method Details

CreateLinkedClone() public method

public CreateLinkedClone ( string snapshotName, string linkedVMName ) : IVMConnection
snapshotName string
linkedVMName string
return IVMConnection

RevertToCurrentSnapshot() public method

public RevertToCurrentSnapshot ( ) : void
return void

RevertToNamedSnapshot() public method

public RevertToNamedSnapshot ( string snapshotName ) : void
snapshotName string
return void

Start() public method

public Start ( ) : void
return void

TakeSnapshot() public method

public TakeSnapshot ( string snapShotName, string desc ) : void
snapShotName string
desc string
return void

VSphereVMConnection() public method

public VSphereVMConnection ( ManagedObjectReference mob ) : System
mob ManagedObjectReference
return System

VSphereVMConnection() public method

public VSphereVMConnection ( string path ) : System
path string
return System