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.
Inherited Members
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
|
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. |