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
-
cpusToPin(optional):
array cpusToPin
-
description(optional):
string
-
diskSize(optional):
string
-
extraArgs(optional):
string
-
extraSrcs(optional):
string
-
graphicsSettings(optional):
string
-
maxMemorySize(optional):
string
-
maxVcpuCount(optional):
integer
-
memorySize(optional):
string
-
name(optional):
string
-
osType(optional):
string
-
osVariant(optional):
string
-
prefNode(optional):
string
-
source(optional):
string
-
vcpuCount(optional):
integer
-
vdiskNames(optional):
array vdiskNames
-
vmStorageName(optional):
string
-
vnetworkNames(optional):
array vnetworkNames
Response
Supported Media Types
- application/json
200 Response
OK
Nested Schema : ServiceJobReport
Type:
object
Job Request Status
Show Source
-
createTimestamp(optional):
string(date-time)
Job creation timestamp
-
description(optional):
string
Job description
-
jobId(optional):
string
Job ID
-
message(optional):
string
Job message
-
reports(optional):
array reports
-
resourceList(optional):
array resourceList
-
status(optional):
string
Allowed Values:
[ "Created", "Scheduled", "Running", "Success", "Failure", "Retrying", "Waiting", "InternalError", "Reverting", "Reverted", "NodeDisconnectedFailure" ]
Job status -
updatedTime(optional):
string(date-time)
Job modification timestamp
Nested Schema : resourceList
Type:
Show Source
array
-
Array of:
object JobResourceInfo
Resource information
Nested Schema : TaskReport
Type:
Show Source
object
-
endTime(optional):
string(date-time)
-
jobId(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
Job ID
-
resourceId(optional):
string
Resource ID
-
resourceNewType(optional):
string
-
resourceType(optional):
string
Allowed Values:
[ "Backup", "BackupConfig", "DB", "DbHome", "Grid", "Recovery", "Report", "Tde", "ObjectStoreSwift" ]
Resource type -
updatedTime(optional):
string(date-time)
Last updated timestamp
Default Response
An unexpected error has occurred