Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace LaunchInstanceShapeConfigDetails

The shape configuration requested for the instance.

If the parameter is provided, the instance is created with the resources that you specify. If some properties are missing or the entire parameter is not provided, the instance 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.

Properties

Optional baselineOcpuUtilization

baselineOcpuUtilization: BaselineOcpuUtilization

The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a non-burstable instance, or explicitly specify non-burstable with {@code BASELINE_1_1}.

The following values are supported: - {@code BASELINE_1_8} - baseline usage is 1/8 of an OCPU. - {@code BASELINE_1_2} - baseline usage is 1/2 of an OCPU. - {@code BASELINE_1_1} - baseline usage is an entire OCPU. This represents a non-burstable instance.

Optional memoryInGBs

memoryInGBs: undefined | number

The total amount of memory in gigabytes that is available to the instance. 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