AutotunePolicy

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

Bases: object

An autotune policy automatically tunes the volume’s performace based on the type of the policy.

Attributes:

AUTOTUNE_TYPE_DETACHED_VOLUME

A constant which can be used with the autotune_type property of a AutotunePolicy.

AUTOTUNE_TYPE_PERFORMANCE_BASED

A constant which can be used with the autotune_type property of a AutotunePolicy.

autotune_type

[Required] Gets the autotune_type of this AutotunePolicy.

Methods:

__init__(**kwargs)

Initializes a new AutotunePolicy object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

AUTOTUNE_TYPE_DETACHED_VOLUME = 'DETACHED_VOLUME'

A constant which can be used with the autotune_type property of a AutotunePolicy. This constant has a value of “DETACHED_VOLUME”

AUTOTUNE_TYPE_PERFORMANCE_BASED = 'PERFORMANCE_BASED'

A constant which can be used with the autotune_type property of a AutotunePolicy. This constant has a value of “PERFORMANCE_BASED”

__init__(**kwargs)

Initializes a new AutotunePolicy object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters

autotune_type (str) – The value to assign to the autotune_type property of this AutotunePolicy. Allowed values for this property are: “DETACHED_VOLUME”, “PERFORMANCE_BASED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property autotune_type

[Required] Gets the autotune_type of this AutotunePolicy. This specifies the type of autotunes supported by OCI.

Allowed values for this property are: “DETACHED_VOLUME”, “PERFORMANCE_BASED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The autotune_type of this AutotunePolicy.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.