CreateInstanceConfiguration

POST {{baseUrl}}/instanceConfigurations

Creates an instance configuration. An instance configuration is a template that defines the settings to use when creating Compute instances.

Request Body

{"compartmentId"=>"{{compartment_ocid}}", "displayName"=>"aute ex", "source"=>"NONE"}

HEADERS

KeyDatatypeRequiredDescription
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

{"id":"commodo voluptate elit velit","compartmentId":"reprehenderit aute sit","timeCreated":"1949-04-02T09:18:16.268Z","deferredFields":["tempor anim fugiat in ullamco","qui dolor"],"definedTags":{},"displayName":"cupidatat dolor pariatur anim","freeformTags":{},"instanceDetails":{"instanceType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}