LaunchInstanceShapeConfigDetails

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

Bases: object

The shape configuration requested for the instance.

If the parameter is provided, the instance is created with the resources that you specify. If some properties are missing or the entire parameter is not provided, the instance is created with the default configuration values for the shape that you specify.

Each shape only supports certain configurable values. If the values that you provide are not valid for the specified shape, an error is returned.

For more information about customizing the resources that are allocated to a flexible shapes, see Flexible Shapes.

Methods

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

Attributes

memory_in_gbs Gets the memory_in_gbs of this LaunchInstanceShapeConfigDetails.
ocpus Gets the ocpus of this LaunchInstanceShapeConfigDetails.
__init__(**kwargs)

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

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

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

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

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