models.throttling_policy_parameters module¶
-
class
models.throttling_policy_parameters.
ThrottlingPolicyParameters
(enforce_max_streams=None, enforce_registered_source_max_backups=None, is_enabled=None, latency_thresholds=None, max_concurrent_streams=None, registered_source_max_concurrent_backups=None)[source]¶ Bases:
object
Implementation of the ‘ThrottlingPolicyParameters’ model.
Specifies the throttling policy for a registered Protection Source.
- Attributes:
- enforce_max_streams (bool): Specifies whether datastore streams are
configured for all datastores that are part of the registered entity. If set to true, number of streams from Cohesity cluster to the registered entity will be limited to the value set for maxConcurrentStreams. If not set or set to false, there is no max limit for the number of concurrent streams.
- enforce_registered_source_max_backups (bool): Specifies whether no. of
backups are configured for the registered entity. If set to true, number of backups made by Cohesity cluster in the registered entity will be limited to the value set for RegisteredSourceMaxConcurrentBackups. If not set or set to false, there is no max limit for the number of concurrent backups.
- is_enabled (bool): Indicates whether read operations to the
datastores, which are part of the registered Protection Source, are throttled.
- latency_thresholds (LatencyThresholds): Specifies latency thresholds
that trigger throttling for all datastores found in the registered Protection Source or specific to one datastore.
- max_concurrent_streams (int): Specifies the limit on the number of
streams Cohesity cluster will make concurrently to the datastores of the registered entity. This limit is enforced only when the flag enforceMaxStreams is set to true.
- registered_source_max_concurrent_backups (int): Specifies the limit on
the number of backups Cohesity cluster will make concurrently to the registered entity. This limit is enforced only when the flag enforceRegisteredSourceMaxBackups is set to true.
-
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.