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

Bases: object

A compute instance shape that can be used in launch_instance(). For more information, see Overview of the Compute Service.


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

Parameters:shape (str) -- The value to assign to the shape property of this Shape.

[Required] Gets the shape of this Shape. The name of the shape. You can enumerate all available shapes by calling list_shapes().

Returns:The shape of this Shape.
Return type:str