models_v2.physical_volume_protection_group_object_params module¶
-
class
models_v2.physical_volume_protection_group_object_params.
PhysicalVolumeProtectionGroupObjectParams
(id=None, name=None, volume_guids=None, enable_system_backup=None)[source]¶ Bases:
object
Implementation of the ‘PhysicalVolumeProtectionGroupObjectParams’ model.
Specifies object parameters for creating physical volume Protection Groups.
- Attributes:
id (long|int): Specifies the ID of the object protected. name (string): Specifies the name of the object protected. volume_guids (list of string): Specifies the list of GUIDs of volumes
protected. If empty, then all volumes will be protected by default.
- enable_system_backup (bool): Specifies whether or not to take a system
backup. Applicable only for windows sources.
-
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.