UpdateInstanceShapeConfigDetails

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

Bases: object

The shape configuration requested for the instance. If provided, the instance will be updated with the resources specified. In the case where some properties are missing, the missing values will be set to the default for the provided shape.

Each shape only supports certain configurable values. If the shape is provided and the configuration values are invalid for that new shape, an error will be returned. If no shape is provided and the configuration values are invalid for the instance’s existing shape, an error will be returned.

Methods

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

Attributes

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

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

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

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