Creates a new VM
post
/kvm/vm
in Oracle Database Appliance using VmCreateParams. Pre-requisites - Ensure VM Storage 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
-
bootOptions:
string
VM boot options
-
cpuPoolName:
string
Name of the CPU Pool
-
cpusToPin:
array cpusToPin
CPUs to pin
-
description:
string
Description of the VM
-
diskSize:
string
Size of the VM disk
-
extraArgs:
string
Extra arguments for the VM installer
-
extraSrcs:
string
Extra sources for the guest, they are mounted as cdrom devices
-
graphicsSettings:
string
Graphics settings for the VM
-
ksConfig:
string
Base64 encoded contents of the kickstart file. Should be < max-request-size (configured at 2MB for micronaut)
-
maxMemorySize:
string
Maximum size of the VM memory
-
maxVcpuCount:
integer
Maximum number of virtual CPUs to use
-
memorySize:
string
Size of the VM memory
-
name:
string
Name of the VM
-
osVariant:
string
OS variant
-
prefNode:
string
Preferred node to run the VM
-
source:
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:
integer
Number of virtual CPUs to use
-
vdiskNames:
array vdiskNames
Names of the virtual Disks to use
-
vmStorageName:
string
Storage name of the VM
-
vnetworkNames:
array vnetworkNames
Names of the virtual Networks to use
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : KvmJob
Type:
Show Source
object
-
jobId:
string
-
jobReport:
object ServiceJobReport
Job Request Status
-
syncJob:
boolean
Nested Schema : ServiceJobReport
Type:
object
Job Request Status
Show Source
-
cpsMetadata:
string
-
createTimestamp:
string(date-time)
-
description:
string
-
jobId:
string
-
jobType:
string
-
message:
string
-
reports:
array reports
-
resourceList:
array resourceList
-
status:
string
Allowed Values:
[ "Created", "Scheduled", "Running", "Success", "Failure", "Retrying", "Waiting", "InternalError", "Reverting", "Reverted", "NodeDisconnectedFailure" ]
-
updatedTime:
string(date-time)
Nested Schema : resourceList
Type:
Show Source
array
-
Array of:
object JobResourceInfo
resource information
Nested Schema : TaskReport
Type:
Show Source
object
-
duration:
string
-
endTime:
string(date-time)
-
jobId:
string
-
nodeName:
string
-
parentTaskId:
string
-
reportLevel:
string
Allowed Values:
[ "Verbose", "Info", "Error" ]
-
startTime:
string(date-time)
-
status:
string
Allowed Values:
[ "Created", "Scheduled", "Running", "Success", "Failure", "Retrying", "Waiting", "InternalError", "Reverting", "Reverted", "NodeDisconnectedFailure", "Skipped" ]
-
tags:
array tags
-
taskDescription:
string
-
taskId:
string
-
taskName:
string
-
taskResult:
string
-
updatedTime:
string(date-time)
Nested Schema : JobResourceInfo
Type:
object
resource information
Show Source
-
jobId:
string
-
resourceId:
string
-
resourceNewType:
string
-
resourceType:
string
Allowed Values:
[ "Backup", "BackupConfig", "DB", "DbHome", "Grid", "Pdb", "Recovery", "Report", "Tde", "ObjectStoreSwift" ]
-
updatedTime:
string(date-time)
Default Response
An unexpected error has occurred