Class: Bosh::Director::Api::VmStateManager

Inherits:
Object
  • Object
show all
Defined in:
lib/bosh/director/api/vm_state_manager.rb

Instance Method Summary collapse

Instance Method Details

#fetch_vm_state(user, deployment, format) ⇒ Object



4
5
6
# File 'lib/bosh/director/api/vm_state_manager.rb', line 4

def fetch_vm_state(user, deployment, format)
  JobQueue.new.enqueue(user, Jobs::VmState, 'retrieve vm-stats', [deployment.id, format])
end