Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace InstanceReservationShapeConfigDetails

The shape configuration requested when launching instances in a compute capacity reservation.

If the parameter is provided, the reservation is created with the resources that you specify. If some properties are missing or the parameter is not provided, the reservation is created with the default configuration values for the {@code shape} that you specify.

Each shape only supports certain configurable values. If the values that you provide are not valid for the specified {@code shape}, an error is returned.

For more information about customizing the resources that are allocated to flexible shapes, see [Flexible Shapes](https://docs.cloud.oracle.com/iaas/Content/Compute/References/computeshapes.htm#flexible).

Properties

Optional memoryInGBs

memoryInGBs: undefined | number

The total amount of memory available to the instance, in gigabytes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional ocpus

ocpus: undefined | number

The total number of OCPUs available to the instance. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Functions

getDeserializedJsonObj

getJsonObj