models.ebs_volume_exclusion_params module

class models.ebs_volume_exclusion_params.EBSVolumeExclusionParams(device_name_vec=None, max_volume_size_bytes=None, volume_id_vec=None, volume_type_vec=None)[source]

Bases: object

Implementation of the ‘EBSVolumeExclusionParams’ model.

Message defining the different criteria to exclude EBS volumes from backup. This is used to specify both object-level (BackupSourceParams) and job-level (EnvBackupParams) exclusion criteria. If a criterion is specified at both object-level and job-level, then job-level setting will be ignored.

Attributes:
device_name_vec (list of string): List of device names to exclude.

Eg - /dev/sda1, /dev/xvdb.

max_volume_size_bytes (long|int): Any volume larger than this size

will be excluded.

volume_id_vec (list of string): List of volume IDs to exclude.

This field is only for object-level exclusions.

volume_type_vec (list of string): List of volume types to exclude.

Eg - gp2, gp3, io1.

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.