models.update_restore_task_params module

class models.update_restore_task_params.UpdateRestoreTaskParams(ad_options=None, enable_auto_sync=None, restore_task_id=None, sql_options=None)[source]

Bases: object

Implementation of the ‘UpdateRestoreTaskParams’ model.

UpdateRestoreTaskParams holds the information to update a Restore Task in Magneto.

Attributes:
ad_options (AdRestoreOptions): AdRestoreOptions are the AD specific

options for the restore task being updated

enable_auto_sync (bool): Enables Auto Sync feature for SQL Multi-stage

Restore task.

restore_task_id (long|int): Specifies the ID of the existing Restore

Task to update.

sql_options (SqlOptionsEnum): Specifies the sql options to update the

Restore Task with. Specifies the action type of multi stage SQL restore. ‘kCreate’ specifies the create action for a restore. ‘kUpdate’ specifies the user action to update an ongoing restore. ‘kFinalize’ specifies the user action to finalize a restore.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.