CreateDedicatedVmHost

POST {{baseUrl}}/dedicatedVmHosts

Creates a new dedicated virtual machine host in the specified compartment and the specified availability domain. Dedicated virtual machine hosts enable you to run your Compute virtual machine (VM) instances on dedicated servers that are a single tenant and not shared with other customers. For more information, see Dedicated Virtual Machine Hosts.

Request Body

{"availabilityDomain"=>"esse officia", "compartmentId"=>"{{compartment_ocid}}", "dedicatedVmHostShape"=>"officia ipsum dolore", "displayName"=>"reprehenderit veniam", "faultDomain"=>"deserunt ullamco ut"}

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringUnique identifier for the request.
If you need to contact Oracle about a particular request, please provide the request ID.
opc-retry-tokenstringA token that uniquely identifies a request so it can be retried in case of a timeout or
server error without risk of executing that same action again. Retry tokens expire after 24
hours, but can be invalidated before then due to conflicting operations (for example, if a resource
has been deleted and purged from the system, then a retry of the original creation request
may be rejected).
Content-Typestring
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(Required) Content sha256 for POST, PUT and PATCH operations

RESPONSES

status: OK

{"availabilityDomain":"dolore amet Lorem qui","compartmentId":"aute deserunt","dedicatedVmHostShape":"Excepteur consectetur in id","displayName":"ut velit","id":"culpa ex do ut dolore","lifecycleState":"FAILED","remainingOcpus":97024142.25815697,"timeCreated":"2001-12-01T02:29:43.756Z","totalOcpus":45411799.735526696,"definedTags":{},"faultDomain":"irure sed occaecat","freeformTags":{},"remainingMemoryInGBs":72785268.53741956,"totalMemoryInGBs":67123091.79214175}