InstanceConfigurationLaunchInstanceShapeConfigDetails

class oci.core.models.InstanceConfigurationLaunchInstanceShapeConfigDetails(**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 provid 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 InstanceConfigurationLaunchInstanceShapeConfigDetails object with values from keyword arguments.

Attributes

ocpus Gets the ocpus of this InstanceConfigurationLaunchInstanceShapeConfigDetails.
__init__(**kwargs)

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

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

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