InstanceConfigurationDetachedVolumeAutotunePolicy¶
-
class
oci.core.models.InstanceConfigurationDetachedVolumeAutotunePolicy(**kwargs)¶ Bases:
oci.core.models.instance_configuration_autotune_policy.InstanceConfigurationAutotunePolicyVolume’s performace will be tuned to the lower cost settings once detached.
Attributes
AUTOTUNE_TYPE_DETACHED_VOLUMEstr(object=’’) -> str AUTOTUNE_TYPE_PERFORMANCE_BASEDstr(object=’’) -> str autotune_type[Required] Gets the autotune_type of this InstanceConfigurationAutotunePolicy. Methods
__init__(**kwargs)Initializes a new InstanceConfigurationDetachedVolumeAutotunePolicy 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'¶
-
AUTOTUNE_TYPE_PERFORMANCE_BASED= 'PERFORMANCE_BASED'¶
-
__init__(**kwargs)¶ Initializes a new InstanceConfigurationDetachedVolumeAutotunePolicy object with values from keyword arguments. The default value of the
autotune_typeattribute of this class isDETACHED_VOLUMEand it should not be changed. 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 InstanceConfigurationDetachedVolumeAutotunePolicy. Allowed values for this property are: “DETACHED_VOLUME”, “PERFORMANCE_BASED”
-
autotune_type¶ [Required] Gets the autotune_type of this InstanceConfigurationAutotunePolicy. 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 InstanceConfigurationAutotunePolicy. 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.
-