InstancePoolLaunchOverrideShapeConfigDetails

class oci.core.models.InstancePoolLaunchOverrideShapeConfigDetails(**kwargs)

Bases: object

The shape configuration requested for the override option.

Attributes:

BASELINE_OCPU_UTILIZATION_BASELINE_1_1

A constant which can be used with the baseline_ocpu_utilization property of a InstancePoolLaunchOverrideShapeConfigDetails.

BASELINE_OCPU_UTILIZATION_BASELINE_1_2

A constant which can be used with the baseline_ocpu_utilization property of a InstancePoolLaunchOverrideShapeConfigDetails.

BASELINE_OCPU_UTILIZATION_BASELINE_1_8

A constant which can be used with the baseline_ocpu_utilization property of a InstancePoolLaunchOverrideShapeConfigDetails.

RESOURCE_MANAGEMENT_DYNAMIC

A constant which can be used with the resource_management property of a InstancePoolLaunchOverrideShapeConfigDetails.

RESOURCE_MANAGEMENT_STATIC

A constant which can be used with the resource_management property of a InstancePoolLaunchOverrideShapeConfigDetails.

baseline_ocpu_utilization

Gets the baseline_ocpu_utilization of this InstancePoolLaunchOverrideShapeConfigDetails.

local_volume_size_in_gbs

Gets the local_volume_size_in_gbs of this InstancePoolLaunchOverrideShapeConfigDetails.

memory_in_gbs

Gets the memory_in_gbs of this InstancePoolLaunchOverrideShapeConfigDetails.

nvmes

Gets the nvmes of this InstancePoolLaunchOverrideShapeConfigDetails.

ocpus

Gets the ocpus of this InstancePoolLaunchOverrideShapeConfigDetails.

resource_management

Gets the resource_management of this InstancePoolLaunchOverrideShapeConfigDetails.

vcpus

Gets the vcpus of this InstancePoolLaunchOverrideShapeConfigDetails.

Methods:

__init__(**kwargs)

Initializes a new InstancePoolLaunchOverrideShapeConfigDetails object with values from keyword arguments.

BASELINE_OCPU_UTILIZATION_BASELINE_1_1 = 'BASELINE_1_1'

A constant which can be used with the baseline_ocpu_utilization property of a InstancePoolLaunchOverrideShapeConfigDetails. This constant has a value of “BASELINE_1_1”

BASELINE_OCPU_UTILIZATION_BASELINE_1_2 = 'BASELINE_1_2'

A constant which can be used with the baseline_ocpu_utilization property of a InstancePoolLaunchOverrideShapeConfigDetails. This constant has a value of “BASELINE_1_2”

BASELINE_OCPU_UTILIZATION_BASELINE_1_8 = 'BASELINE_1_8'

A constant which can be used with the baseline_ocpu_utilization property of a InstancePoolLaunchOverrideShapeConfigDetails. This constant has a value of “BASELINE_1_8”

RESOURCE_MANAGEMENT_DYNAMIC = 'DYNAMIC'

A constant which can be used with the resource_management property of a InstancePoolLaunchOverrideShapeConfigDetails. This constant has a value of “DYNAMIC”

RESOURCE_MANAGEMENT_STATIC = 'STATIC'

A constant which can be used with the resource_management property of a InstancePoolLaunchOverrideShapeConfigDetails. This constant has a value of “STATIC”

__init__(**kwargs)

Initializes a new InstancePoolLaunchOverrideShapeConfigDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • ocpus (float) – The value to assign to the ocpus property of this InstancePoolLaunchOverrideShapeConfigDetails.

  • vcpus (int) – The value to assign to the vcpus property of this InstancePoolLaunchOverrideShapeConfigDetails.

  • memory_in_gbs (float) – The value to assign to the memory_in_gbs property of this InstancePoolLaunchOverrideShapeConfigDetails.

  • baseline_ocpu_utilization (str) – The value to assign to the baseline_ocpu_utilization property of this InstancePoolLaunchOverrideShapeConfigDetails. Allowed values for this property are: “BASELINE_1_8”, “BASELINE_1_2”, “BASELINE_1_1”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • nvmes (int) – The value to assign to the nvmes property of this InstancePoolLaunchOverrideShapeConfigDetails.

  • resource_management (str) – The value to assign to the resource_management property of this InstancePoolLaunchOverrideShapeConfigDetails. Allowed values for this property are: “DYNAMIC”, “STATIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • local_volume_size_in_gbs (int) – The value to assign to the local_volume_size_in_gbs property of this InstancePoolLaunchOverrideShapeConfigDetails.

property baseline_ocpu_utilization

Gets the baseline_ocpu_utilization of this InstancePoolLaunchOverrideShapeConfigDetails. 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.

Allowed values for this property are: “BASELINE_1_8”, “BASELINE_1_2”, “BASELINE_1_1”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The baseline_ocpu_utilization of this InstancePoolLaunchOverrideShapeConfigDetails.

Return type

str

property local_volume_size_in_gbs

Gets the local_volume_size_in_gbs of this InstancePoolLaunchOverrideShapeConfigDetails. The NVMe-backed local storage capacity, in GB, for flexible dense (DenseLV) VM shapes. If the selected shape is DenseLV, the value must be greater than 0. For all other shapes, the value must be null (if specified); any non-null value for a non-DenseLV shape results in an error.

Returns

The local_volume_size_in_gbs of this InstancePoolLaunchOverrideShapeConfigDetails.

Return type

int

property memory_in_gbs

Gets the memory_in_gbs of this InstancePoolLaunchOverrideShapeConfigDetails. The total amount of memory available to the instance, in gigabytes.

Returns

The memory_in_gbs of this InstancePoolLaunchOverrideShapeConfigDetails.

Return type

float

property nvmes

Gets the nvmes of this InstancePoolLaunchOverrideShapeConfigDetails. The number of NVMe drives to be used for storage. A single drive has 6.8 TB available.

Returns

The nvmes of this InstancePoolLaunchOverrideShapeConfigDetails.

Return type

int

property ocpus

Gets the ocpus of this InstancePoolLaunchOverrideShapeConfigDetails. The total number of OCPUs available to the instance.

Returns

The ocpus of this InstancePoolLaunchOverrideShapeConfigDetails.

Return type

float

property resource_management

Gets the resource_management of this InstancePoolLaunchOverrideShapeConfigDetails. This field is reserved for internal use.

Allowed values for this property are: “DYNAMIC”, “STATIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The resource_management of this InstancePoolLaunchOverrideShapeConfigDetails.

Return type

str

property vcpus

Gets the vcpus of this InstancePoolLaunchOverrideShapeConfigDetails. 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.

Returns

The vcpus of this InstancePoolLaunchOverrideShapeConfigDetails.

Return type

int