ManagedComputeClusterInstanceShapeDetails

class oci.data_science.models.ManagedComputeClusterInstanceShapeDetails(**kwargs)

Bases: object

Instance shape configuration for managed compute cluster type compute target. Specify only when a flex shape is selected.

Methods:

__init__(**kwargs)

Initializes a new ManagedComputeClusterInstanceShapeDetails object with values from keyword arguments.

Attributes:

memory_in_gbs

Gets the memory_in_gbs of this ManagedComputeClusterInstanceShapeDetails.

ocpus

Gets the ocpus of this ManagedComputeClusterInstanceShapeDetails.

__init__(**kwargs)

Initializes a new ManagedComputeClusterInstanceShapeDetails 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 ManagedComputeClusterInstanceShapeDetails.

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

property memory_in_gbs

Gets the memory_in_gbs of this ManagedComputeClusterInstanceShapeDetails. The total amount of memory allocated to the instance, in gigabytes.

Returns

The memory_in_gbs of this ManagedComputeClusterInstanceShapeDetails.

Return type

float

property ocpus

Gets the ocpus of this ManagedComputeClusterInstanceShapeDetails. The total number of OCPUs allocated to the instance.

Returns

The ocpus of this ManagedComputeClusterInstanceShapeDetails.

Return type

float