models.backup_job_proto_backup_source module

class models.backup_job_proto_backup_source.BackupJobProtoBackupSource(entities=None)[source]

Bases: object

Implementation of the ‘BackupJobProto_BackupSource’ model.

TODO: type model description here.

Attributes:
entities (list of EntityProto): Source entities. NOTE: Multiple

sources can be specified here for non-leaf-level entities in the hierarchy. The sources obtained after expanding these will be intersected among each other to form the final set of sources. e.g. this can be used to backup only those VMs that have both the tags ‘SQL’ and ‘3hrs’.

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.