Perform virtual machine operations
Select
Perform VM operations :- PowerOn, PowerOff, Delete, Reset, Edit Owners, Edit Creators
- application/json
Request Body
VMs list request body
- operation VMOperationEnum
Possible values: [
CREATE = 0
,RESTART = 1
,SHUTDOWN = 2
,SNAPSHOT = 3
,RESTORE_SNAP = 4
,DELETE = 5
,CLONE = 6
,PAUSE = 7
,POWERON = 10
,EDIT = 11
,VIEW_SNAPSHOTS = 12
,DELETE_SNAP_VM = 15
,RENEW_VM = 17
,REFRESH_VM = 20
,EDIT_OWNERS = 21
,POWER_OFF = 29
,EDIT_CREATOR = 30
,REFRESH = 31
,LIST_OWNERS = 32
,CREATE_LAB = 34
] virtualMachines object[]
GUID stringGUID of virtual machine
owners string[]list of owners for the virtual machine
creator stringcreator of virtual machine
vmOperationConfig object
Request body for create virtual machine
name stringName of VM
description stringVM description
expirationTime int32VM expiration time in UNIX timestamp format
count int32Number of VMs to be created
userDetails object
name stringusername to access the network path
password stringpassword to access the network path
target object
id int32name stringtemplate object
vmName stringVM name of template
vmGUID stringVM guid of template
operatingSystem stringPossible values: [
WINDOWS
,UNIX
]OS types
operatingSystemDisplayName stringOperating System version
memory int64Memory size of VM in GBs
numCPUs int32Number of CPUs for VM
numNICs int32Number of NICs associated to VM
vmSize stringVM instance
createPublicIP booleanIs public IP enabled
vmIOPS int32IOPS limit for Amazon VM
isoPath stringISO path for HyperV VM
vmBackup booleanEnable VM backup
vmDisk object[]
New disk configuration
name stringName of the disk
snapshotId stringUnique identifier of the snapshot, applicable if the disk is created from a snapshot
provisioningType stringPossible values: [
THIN
,THICK
]Disk provisioning type
diskSize int64Disk size in bytes
diskType stringPossible values: [
ISCSI
,IDE
]Type of disk controller
sourceHardDiskType SourceHardDiskTypePossible values: [
None
,EmptyHardDisk
,ExistingHardDisk
,ExistingSnapShot
,RootHardDisk
]Type of hard disk
network object[]
networkDisplayName stringSelected network display name
network stringName of network switch
subnetId stringSubnet id of the subnet
networkId stringVPC id for the amazon network
destinationNetworks string[]Destination network name
networkNames string[]Name of network to which the nic is connected
domainOptions object
domainName stringUnique name for network domain
OUPath stringOrganizational unit path of VM
snapOption object[]
id stringID of snapshot
name stringName of snapshot
desc stringDescription of snapshot
volumeId stringID of volume for snapshot creation
- 200
- 400
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
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
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
Bad Request
- application/json
- Schema
- Example (from schema)
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
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
Not Found
- application/json
- Schema
- Example (from schema)
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
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
Internal Server Error