Create KVM
post
/kvm/vm
Creates a new VM in Oracle Database Appliance using VmCreateParams.
Pre-requisites : Ensure vmstorage and vm cpu pool are present in the system.
Request
Supported Media Types
- application/json
Parameters to create a VM
Root Schema : VmCreateParams
Type:
Show Source
object
-
cpuPoolName(optional):
string
Name of the CPU Pool
-
cpusToPin(optional):
array cpusToPin
CPUs to pin
-
description(optional):
string
Description of the VM
-
diskSize(optional):
string
Size of the VM disk
-
extraArgs(optional):
string
Extra arguments for the VM installer
-
extraSrcs(optional):
string
Extra sources for the guest, they are mounted as cdrom devices
-
graphicsSettings(optional):
string
Graphics settings for the VM
-
maxMemorySize(optional):
string
Maximum size of the VM memory
-
maxVcpuCount(optional):
integer
Maximum number of virtual CPUs to use
-
memorySize(optional):
string
Size of the VM memory
-
name(optional):
string
Name of the VM
-
osVariant(optional):
string
OS variant
-
prefNode(optional):
string
Preferred node to run the VM
-
source(optional):
string
Source installation. If local it can be an ISO or a bootable disk image. If remote it can be a URI pointing to an install tree hosted remotely over HTTP, HTTPS, FTP or NFS
-
vcpuCount(optional):
integer
Number of virtual CPUs to use
-
vdiskNames(optional):
array vdiskNames
Names of the virtual Disks to use
-
vmStorageName(optional):
string
Storage name of the VM
-
vnetworkNames(optional):
array vnetworkNames
Names of the virtual Networks to use
Response
Supported Media Types
- application/json
200 Response
OK
Nested Schema : ServiceJobReport
Type:
object
Job Request Status
Show Source
-
createTimestamp(optional):
string(date-time)
-
description(optional):
string
-
jobId(optional):
string
-
jobType(optional):
string
-
message(optional):
string
-
reports(optional):
array reports
-
resourceList(optional):
array resourceList
-
status(optional):
string
Allowed Values:
[ "Created", "Scheduled", "Running", "Success", "Failure", "Retrying", "Waiting", "InternalError", "Reverting", "Reverted", "NodeDisconnectedFailure" ]
-
updatedTime(optional):
string(date-time)
Nested Schema : resourceList
Type:
Show Source
array
-
Array of:
object JobResourceInfo
resource information
Nested Schema : TaskReport
Type:
Show Source
object
-
duration(optional):
string
-
endTime(optional):
string(date-time)
-
jobId(optional):
string
-
nodeName(optional):
string
-
parentTaskId(optional):
string
-
reportLevel(optional):
string
Allowed Values:
[ "Verbose", "Info", "Error" ]
-
startTime(optional):
string(date-time)
-
status(optional):
string
Allowed Values:
[ "Created", "Scheduled", "Running", "Success", "Failure", "Retrying", "Waiting", "InternalError", "Reverting", "Reverted", "NodeDisconnectedFailure", "Skipped" ]
-
tags(optional):
array tags
-
taskDescription(optional):
string
-
taskId(optional):
string
-
taskName(optional):
string
-
taskResult(optional):
string
-
updatedTime(optional):
string(date-time)
Nested Schema : JobResourceInfo
Type:
object
resource information
Show Source
-
jobId(optional):
string
-
resourceId(optional):
string
-
resourceNewType(optional):
string
-
resourceType(optional):
string
Allowed Values:
[ "Backup", "BackupConfig", "DB", "DbHome", "Grid", "Pdb", "Recovery", "Report", "Tde", "ObjectStoreSwift" ]
-
updatedTime(optional):
string(date-time)
Default Response
An unexpected error has occurred