models.standby_resource module

class models.standby_resource.StandbyResource(recovery_point_objective_secs=None, vmware_standby_resource=None)[source]

Bases: object

Implementation of the ‘StandbyResource’ model.

Message to encapsulate resources to be used to create a standby entity on the primary environment. Each environment should define the parameters it needs to create an entity on the primary environment.

Attributes:
recovery_point_objective_secs (long|int): User defined recovery point

objective for the standby VM. Using this RPO, Magneto will hydrate the VMs.

vmware_standby_resource (VMwareStandbyResource): Standby resources

needed in a VMware environment.

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.