models.latency_thresholds module

class models.latency_thresholds.LatencyThresholds(active_task_msecs=None, new_task_msecs=None)[source]

Bases: object

Implementation of the ‘LatencyThresholds’ model.

Specifies latency thresholds that trigger throttling for all datastores found in the registered Protection Source or specific to one datastore.

Attributes:
active_task_msecs (long|int): If the latency of a datastore is above

this value, existing backup tasks using the datastore are throttled.

new_task_msecs (long|int): If the latency of a datastore is above this

value, then new backup tasks using the datastore will not be started.

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.