Show / Hide Table of Contents

Class InstanceShapeConfig

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

Inheritance
object
InstanceShapeConfig
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class InstanceShapeConfig

Properties

BaselineOcpuUtilization

Declaration
[JsonProperty(PropertyName = "baselineOcpuUtilization")]
[JsonConverter(typeof(ResponseEnumConverter))]
public InstanceShapeConfig.BaselineOcpuUtilizationEnum? BaselineOcpuUtilization { get; set; }
Property Value
Type Description
InstanceShapeConfig.BaselineOcpuUtilizationEnum?

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 BASELINE_1_1.
The following values are supported:

  • BASELINE_1_8 - baseline usage is 1/8 of an OCPU.
  • BASELINE_1_2 - baseline usage is 1/2 of an OCPU.
  • BASELINE_1_1 - baseline usage is the entire OCPU. This represents a non-burstable instance.

GpuDescription

Declaration
[JsonProperty(PropertyName = "gpuDescription")]
public string GpuDescription { get; set; }
Property Value
Type Description
string

A short description of the instance's graphics processing unit (GPU).
If the instance does not have any GPUs, this field is null.

Gpus

Declaration
[JsonProperty(PropertyName = "gpus")]
public int? Gpus { get; set; }
Property Value
Type Description
int?

The number of GPUs available to the instance.

LocalDiskDescription

Declaration
[JsonProperty(PropertyName = "localDiskDescription")]
public string LocalDiskDescription { get; set; }
Property Value
Type Description
string

A short description of the local disks available to this instance.
If the instance does not have any local disks, this field is null.

LocalDisks

Declaration
[JsonProperty(PropertyName = "localDisks")]
public int? LocalDisks { get; set; }
Property Value
Type Description
int?

The number of local disks available to the instance.

LocalDisksTotalSizeInGBs

Declaration
[JsonProperty(PropertyName = "localDisksTotalSizeInGBs")]
public float? LocalDisksTotalSizeInGBs { get; set; }
Property Value
Type Description
float?

The aggregate size of all local disks, in gigabytes.
If the instance does not have any local disks, this field is null.

MaxVnicAttachments

Declaration
[JsonProperty(PropertyName = "maxVnicAttachments")]
public int? MaxVnicAttachments { get; set; }
Property Value
Type Description
int?

The maximum number of VNIC attachments for the instance.

MemoryInGBs

Declaration
[JsonProperty(PropertyName = "memoryInGBs")]
public float? MemoryInGBs { get; set; }
Property Value
Type Description
float?

The total amount of memory available to the instance, in gigabytes.

NetworkingBandwidthInGbps

Declaration
[JsonProperty(PropertyName = "networkingBandwidthInGbps")]
public float? NetworkingBandwidthInGbps { get; set; }
Property Value
Type Description
float?

The networking bandwidth available to the instance, in gigabits per second.

Ocpus

Declaration
[JsonProperty(PropertyName = "ocpus")]
public float? Ocpus { get; set; }
Property Value
Type Description
float?

The total number of OCPUs available to the instance.

ProcessorDescription

Declaration
[JsonProperty(PropertyName = "processorDescription")]
public string ProcessorDescription { get; set; }
Property Value
Type Description
string

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

Vcpus

Declaration
[JsonProperty(PropertyName = "vcpus")]
public int? Vcpus { get; set; }
Property Value
Type Description
int?

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.

In this article
Back to top