models.hyperv_backup_env_params module

class models.hyperv_backup_env_params.HypervBackupEnvParams(allow_crash_consistent_snapshot=None, backup_job_type=None)[source]

Bases: object

Implementation of the ‘HyperVBackupEnvParams’ model.

Message to capture any additional backup params for a HyperV environment.

Attributes:
allow_crash_consistent_snapshot (bool): Whether to fallback to take a

crash-consistent snapshot incase taking an app-consistent snapshot fails.

backup_job_type (int): The type of backup job to use. Default is to

auto-detect the best type to use based on the VMs to backup. End user may select RCT or VSS also.

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.