Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CreateImageDetails

Either instanceId or imageSourceDetails must be provided in addition to other required parameters.

Properties

compartmentId

compartmentId: string

The OCID of the compartment you want the image to be created in.

Optional definedTags

definedTags: undefined | object

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}

Optional displayName

displayName: undefined | string

A user-friendly name for the image. It does not have to be unique, and it's changeable. Avoid entering confidential information.

You cannot use a platform image name as a custom image name.

Example: {@code My Oracle Linux image}

Optional freeformTags

freeformTags: undefined | object

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {@code {\"Department\": \"Finance\"}}

Optional imageSourceDetails

Optional instanceId

instanceId: undefined | string

The OCID of the instance you want to use as the basis for the image.

Optional launchMode

launchMode: LaunchMode

Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:

  • {@code NATIVE} - VM instances launch with paravirtualized boot and VFIO devices. The default value for platform images.
  • {@code EMULATED} - VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.
  • {@code PARAVIRTUALIZED} - VM instances launch with paravirtualized devices using VirtIO drivers.
  • {@code CUSTOM} - VM instances launch with custom configuration settings specified in the {@code LaunchOptions} parameter.

Functions

getDeserializedJsonObj

getJsonObj