models.backup_job_pre_or_post_script module

class models.backup_job_pre_or_post_script.BackupJobPreOrPostScript(backup_script=None, full_backup_script=None, log_backup_script=None, remote_host_params=None)[source]

Bases: object

Implementation of the ‘BackupJobPreOrPostScript’ model.

A message to encapsulate the pre and post scripts associated with a backup job. Pre script is executed before backup run of a job starts. Post script is executed after backup run of a job finishes. Currently, pre and post script is only supported for backup job of type ‘kPuppeteer’ and agent-based backup jobs.

Attributes:
backup_script (ScriptPathAndParams): A message to encapsulate pre or

post script associated with a backup job policy.

full_backup_script (ScriptPathAndParams): A message to encapsulate pre

or post script associated with a backup job policy.

log_backup_script (ScriptPathAndParams): A message to encapsulate pre

or post script associated with a backup job policy.

remote_host_params (RemoteHostConnectorParams): TODO: type description

here.

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.