CreateContainerInstanceShapeConfigDetails

class oci.container_instances.models.CreateContainerInstanceShapeConfigDetails(**kwargs)

Bases: object

The size and amount of resources available to the container instance.

Methods

__init__(**kwargs) Initializes a new CreateContainerInstanceShapeConfigDetails object with values from keyword arguments.

Attributes

memory_in_gbs Gets the memory_in_gbs of this CreateContainerInstanceShapeConfigDetails.
ocpus [Required] Gets the ocpus of this CreateContainerInstanceShapeConfigDetails.
__init__(**kwargs)

Initializes a new CreateContainerInstanceShapeConfigDetails 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 CreateContainerInstanceShapeConfigDetails.
  • memory_in_gbs (float) – The value to assign to the memory_in_gbs property of this CreateContainerInstanceShapeConfigDetails.
memory_in_gbs

Gets the memory_in_gbs of this CreateContainerInstanceShapeConfigDetails. The total amount of memory available to the container instance (GB).

Returns:The memory_in_gbs of this CreateContainerInstanceShapeConfigDetails.
Return type:float
ocpus

[Required] Gets the ocpus of this CreateContainerInstanceShapeConfigDetails. The total number of OCPUs available to the container instance.

Returns:The ocpus of this CreateContainerInstanceShapeConfigDetails.
Return type:float