BackupTarget#

class BackupTarget(location=None, last_sync_time=None, is_backup_paused=None, backup_pause_reason=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: ExternalizableAbstractModel

The backup target for the domain manager, which can be either a cluster or an object store.

Parameters:
  • location – (location) Location of the backup target. For example, a cluster or an object store endpoint, such as AWS s3.

  • last_sync_time – (last_sync_time) Represents the time when the domain manager was last synchronized or copied its configuration data to the backup target. This field is updated every 30 minutes.

  • is_backup_paused – (is_backup_paused) Whether the backup is paused on the given cluster or not.

  • backup_pause_reason – (backup_pause_reason) Specifies a reason why the backup might have paused. This will be empty if the isBackupPaused field is false.

property backup_pause_reason#

Specifies a reason why the backup might have paused. This will be empty if the isBackupPaused field is false.

Type:

str

property is_backup_paused#

Whether the backup is paused on the given cluster or not.

Type:

bool

property last_sync_time#

Represents the time when the domain manager was last synchronized or copied its configuration data to the backup target. This field is updated every 30 minutes.

Type:

datetime

property location#

Location of the backup target. For example, a cluster or an object store endpoint, such as AWS s3.

Type:

ClusterLocation | ObjectStoreLocation

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model