| Class | Description |
|---|---|
| VMPowerStateAlarm |
VMPowerStateAlarm
This sample which creates an Alarm to monitor the virtual machine's power state
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
vmname [required] : Name of the virtual machine
alarm [required] : Name of the alarms
Command Line:
Create an alarm AlarmABC on a virtual machine
run.bat com.vmware.vm.VMPowerStateAlarm --url [webserviceurl]
--username [username] --password [password] --vmname [vmname] --alarm [alarm]
|