Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace InstanceShapeConfig

The shape configuration for an instance. The shape configuration determines the resources allocated to an instance.

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 the entire OCPU. This represents a non-burstable instance.

Optional gpuDescription

gpuDescription: undefined | string

A short description of the instance's graphics processing unit (GPU).

If the instance does not have any GPUs, this field is {@code null}.

Optional gpus

gpus: undefined | number

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

Optional localDiskDescription

localDiskDescription: undefined | string

A short description of the local disks available to this instance.

If the instance does not have any local disks, this field is {@code null}.

Optional localDisks

localDisks: undefined | number

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

Optional localDisksTotalSizeInGBs

localDisksTotalSizeInGBs: undefined | number

The aggregate size of all local disks, in gigabytes.

If the instance does not have any local disks, this field is {@code null}. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional maxVnicAttachments

maxVnicAttachments: undefined | number

The maximum number of VNIC attachments for the instance. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

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 networkingBandwidthInGbps

networkingBandwidthInGbps: undefined | number

The networking bandwidth available to the instance, in gigabits per second. 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 processorDescription

processorDescription: undefined | string

A short description of the instance's processor (CPU).

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