Parameter Name | Required | Service Affecting | Data Type | Default Value | Possible Values | Description |
---|---|---|---|---|---|---|
VmList | Yes | Yes | string | none | 255 - Max Length | Identifies the virtual machines to apply the action on.
Perform a HTTP GET on the asmvirtualmachine resource to retrieve all the virtual machines present on the ASM. |
ActionOnVm | No | No | int | 0 | Specify which action has to be performed on the VMs. The value indicates the action as follows: Start a VM ==> Value is 2 Turn Off a VM ==> Value is 3 Shut Down a VM ==> Value is 4 Save a VM ==> Value is 6 Pause a VM ==> Value is 9 Reset a VM ==> Value is 11 Start Hyper-V ==> Value is 12 Stop Hyper-V ==> Value is 13 |