Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Shape

A compute instance shape that can be used in {@link #launchInstance(LaunchInstanceRequest) launchInstance}. For more information, see Overview of the Compute Service and Compute Shapes.

Properties

Optional baselineOcpuUtilizations

baselineOcpuUtilizations: Array<BaselineOcpuUtilizations>

For a subcore burstable VM, the supported baseline OCPU utilization for instances that use this shape.

Optional billingType

billingType: BillingType

How instances that use this shape are charged.

Optional gpuDescription

gpuDescription: undefined | string

A short description of the graphics processing unit (GPU) available for this shape.

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

Optional gpus

gpus: undefined | number

The number of GPUs available for this shape. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional isBilledForStoppedInstance

isBilledForStoppedInstance: undefined | false | true

Whether billing continues when the instances that use this shape are in the stopped state.

Optional isFlexible

isFlexible: undefined | false | true

Whether the shape supports creating flexible instances. A flexible shape is a shape that lets you customize the number of OCPUs and the amount of memory when launching or resizing your instance.

Optional isLiveMigrationSupported

isLiveMigrationSupported: undefined | false | true

Whether live migration is supported for this shape.

Optional isSubcore

isSubcore: undefined | false | true

Whether the shape supports creating subcore or burstable instances. A burstable instance is a virtual machine (VM) instance that provides a baseline level of CPU performance with the ability to burst to a higher level to support occasional spikes in usage.

Optional localDiskDescription

localDiskDescription: undefined | string

A short description of the local disks available for this shape.

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

Optional localDisks

localDisks: undefined | number

The number of local disks available for this shape. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional localDisksTotalSizeInGBs

localDisksTotalSizeInGBs: undefined | number

The aggregate size of the local disks available for this shape, in gigabytes.

If the shape 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 maxVnicAttachmentOptions

maxVnicAttachmentOptions: model.ShapeMaxVnicAttachmentOptions

Optional maxVnicAttachments

maxVnicAttachments: undefined | number

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

Optional memoryInGBs

memoryInGBs: undefined | number

The default amount of memory available for this shape, in gigabytes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional memoryOptions

memoryOptions: model.ShapeMemoryOptions

Optional minTotalBaselineOcpusRequired

minTotalBaselineOcpusRequired: undefined | number

For a subcore burstable VM, the minimum total baseline OCPUs required. The total baseline OCPUs is equal to baselineOcpuUtilization chosen multiplied by the number of OCPUs chosen. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional networkPorts

networkPorts: undefined | number

The number of physical network interface card (NIC) ports available for this shape. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional networkingBandwidthInGbps

networkingBandwidthInGbps: undefined | number

The networking bandwidth available for this shape, in gigabits per second. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional networkingBandwidthOptions

networkingBandwidthOptions: model.ShapeNetworkingBandwidthOptions

Optional ocpuOptions

ocpuOptions: model.ShapeOcpuOptions

Optional ocpus

ocpus: undefined | number

The default number of OCPUs available for this shape. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional platformConfigOptions

platformConfigOptions: model.ShapePlatformConfigOptions

Optional processorDescription

processorDescription: undefined | string

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

Optional quotaNames

quotaNames: Array<string>

The list of of compartment quotas for the shape.

Optional rdmaBandwidthInGbps

rdmaBandwidthInGbps: undefined | number

The networking bandwidth available for the remote direct memory access (RDMA) network for this shape, in gigabits per second. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional rdmaPorts

rdmaPorts: undefined | number

The number of networking ports available for the remote direct memory access (RDMA) network between nodes in a high performance computing (HPC) cluster network. If the shape does not support cluster networks, this value is {@code 0}. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional recommendedAlternatives

recommendedAlternatives: Array<ShapeAlternativeObject>

The list of shapes and shape details (if applicable) that Oracle recommends that you use as an alternative to the current shape.

Optional resizeCompatibleShapes

resizeCompatibleShapes: Array<string>

The list of compatible shapes that this shape can be changed to. For more information, see Changing the Shape of an Instance.

shape

shape: string

The name of the shape. You can enumerate all available shapes by calling {@link #listShapes(ListShapesRequest) listShapes}.

Functions

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Shape): object

getJsonObj

  • getJsonObj(obj: Shape): object