Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace UpdateInstanceShapeConfigDetails

The shape configuration requested for the instance. If provided, the instance will be updated with the resources specified. In the case where some properties are missing, the missing values will be set to the default for the provided {@code shape}.

Each shape only supports certain configurable values. If the {@code shape} is provided and the configuration values are invalid for that new {@code shape}, an error will be returned. If no {@code shape} is provided and the configuration values are invalid for the instance's existing shape, an error will be 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 available to the instance, in gigabytes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional nvmes

nvmes: undefined | number

The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. 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.

Optional vcpus

vcpus: undefined | number

The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Functions

getDeserializedJsonObj

getJsonObj