RebootMigrateActionDetails

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

Bases: oci.core.models.instance_power_action_details.InstancePowerActionDetails

Parameters for the rebootMigrate instance_action().

Methods

__init__(**kwargs) Initializes a new RebootMigrateActionDetails 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.
delete_local_storage Gets the delete_local_storage of this RebootMigrateActionDetails.
time_scheduled Gets the time_scheduled of this RebootMigrateActionDetails.
__init__(**kwargs)

Initializes a new RebootMigrateActionDetails object with values from keyword arguments. The default value of the action_type attribute of this class is rebootMigrate 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 RebootMigrateActionDetails.
  • delete_local_storage (bool) – The value to assign to the delete_local_storage property of this RebootMigrateActionDetails.
  • time_scheduled (datetime) – The value to assign to the time_scheduled property of this RebootMigrateActionDetails.
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
delete_local_storage

Gets the delete_local_storage of this RebootMigrateActionDetails. For bare metal instances that have local storage, this must be set to true to verify that the local storage will be deleted during the migration. For instances without, this parameter has no effect.

Returns:The delete_local_storage of this RebootMigrateActionDetails.
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.

time_scheduled

Gets the time_scheduled of this RebootMigrateActionDetails. If present, this parameter will set (or re-set) the scheduled time that the instance will be reboot migrated in the format defined by RFC3339. This will also change the timeRebootMigrationDue field on the instance. If not present, the reboot migration will be triggered immediately.

Returns:The time_scheduled of this RebootMigrateActionDetails.
Return type:datetime