SoftResetActionDetails

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

Bases: oci.core.models.instance_power_action_details.InstancePowerActionDetails

Parameters for the softReset instance_action(). If omitted, default values are used.

Methods

__init__(**kwargs) Initializes a new SoftResetActionDetails 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.

Attributes

action_type [Required] Gets the action_type of this InstancePowerActionDetails.
allow_dense_reboot_migration Gets the allow_dense_reboot_migration of this SoftResetActionDetails.
__init__(**kwargs)

Initializes a new SoftResetActionDetails object with values from keyword arguments. The default value of the action_type attribute of this class is softreset and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • action_type (str) – The value to assign to the action_type property of this SoftResetActionDetails.
  • allow_dense_reboot_migration (bool) – The value to assign to the allow_dense_reboot_migration property of this SoftResetActionDetails.
action_type

[Required] Gets the action_type of this InstancePowerActionDetails. The type of power action to perform.

Returns:The action_type of this InstancePowerActionDetails.
Return type:str
allow_dense_reboot_migration

Gets the allow_dense_reboot_migration of this SoftResetActionDetails. For instances that use a DenseIO shape, the flag denoting whether reboot migration is performed for the instance. The default value is false.

If the instance has a date in the Maintenance reboot field and you do nothing (or set this flag to false), the instance will be rebuilt at the scheduled maintenance time. The instance will experience 2-6 hours of downtime during the maintenance process. The local NVMe-based SSD will be preserved.

If you want to minimize downtime and can delete the SSD, you can set this flag to true and proactively reboot the instance before the scheduled maintenance time. The instance will be reboot migrated to a healthy host and the SSD will be deleted. A short downtime occurs during the migration.

Caution: When true, the SSD is permanently deleted. We recommend that you create a backup of the SSD before proceeding.

Returns:The allow_dense_reboot_migration of this SoftResetActionDetails.
Return type:bool
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.