models_v2.storage_policy_override_2 module

class models_v2.storage_policy_override_2.StoragePolicyOverride2(disable_inline_dedup_and_compression=None, disable_dedup=None)[source]

Bases: object

Implementation of the ‘StoragePolicyOverride2’ model.

Specifies if inline deduplication and compression settings inherited from the Storage Domain (View Box) should be disabled for this View.

Attributes:
disable_inline_dedup_and_compression (bool): If false, the inline

deduplication and compression settings inherited from the Storage Domain (View Box) apply to this View. If true, both inline deduplication and compression are disabled for this View. This can only be set to true if inline deduplication is set for the Storage Domain (View Box).

disable_dedup (bool): If it is set to true, we would disable dedup for

writes made in this view irrespective of the view box’s storage policy.

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.