Create virtual machine API
Select
Create Virtual Machine
- application/json
Request Body
- name string
Name of VM
- description string
VM description
- expirationTime int32
VM expiration time in UNIX timestamp format
- count int32
Number 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 int64
Memory size of VM in GBs
- numCPUs int32
Number of CPUs for VM
- numNICs int32
Number of NICs associated to VM
- vmSize string
VM instance
- createPublicIP boolean
Is public IP enabled
- vmIOPS int32
IOPS limit for Amazon VM
- isoPath string
ISO path for HyperV VM
- vmBackup boolean
Enable 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
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- taskId int32
- jobIds string[]
JobIds for the immediate run request
{
"taskId": 0,
"jobIds": [
"string"
]
}
Bad Request
Internal Server Error