Show / Hide Table of Contents

Class 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 shape.
Each shape only supports certain configurable values. If the shape is provided and the configuration values are invalid for that new shape, an error will be returned. If no shape is provided and the configuration values are invalid for the instance's existing shape, an error will be returned.

Inheritance
object
UpdateInstanceShapeConfigDetails
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 UpdateInstanceShapeConfigDetails

Properties

BaselineOcpuUtilization

Declaration
[JsonProperty(PropertyName = "baselineOcpuUtilization")]
[JsonConverter(typeof(StringEnumConverter))]
public UpdateInstanceShapeConfigDetails.BaselineOcpuUtilizationEnum? BaselineOcpuUtilization { get; set; }
Property Value
Type Description
UpdateInstanceShapeConfigDetails.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 an entire OCPU. This represents a non-burstable 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.

Nvmes

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

The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.

Ocpus

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

The total number of OCPUs available to the instance.

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