Skip to main content

Perform virtual machine operations

Select

SaaS
Customer Managed

Perform VM operations for entties in a Recovery Group :- PowerOn, PowerOff

Path Parameters
  • VirtualMachineOperation VirtualMachineOperationEnum required

    Possible values: [POWER_OFF = 0, POWER_ON = 1]

Request Body

PowerOnOffReq request body

  • recoveryGroupName string required

    Name of the recovery group which contains the VMs to be poweredOff or poweredOn

  • sourceVMs object[]
  • guid string
  • name string
Responses

OK


Schema
  • errorMessage string

    Tells about the error occured

  • errorCode ErrorCode

    Possible values: [NO_ERROR, INVALID_INPUT, VALUE_NOT_FOUND, UNKNOWN_EXCEPTION, CONNECTION_PROBLEM, UNKNOWN_SQL_ERROR, INVALID_USER, INVALID_OPERATION_TYPE, INTERNAL_SERVER_PROBLEM, INSUFFICIENT_USER_PERMISSION_ON_ENTITY, INVALID_ENTITY_ID]

    Error code value

Loading...