models.bandwidth_limit_override module

class models.bandwidth_limit_override.BandwidthLimitOverride(bytes_per_second=None, io_rate=None, time_periods=None)[source]

Bases: object

Implementation of the ‘BandwidthLimitOverride’ model.

Specifies bandwidth limit override value to be enforced during the specified daily time period for the specified days of the week.

Attributes:
bytes_per_second (long|int): Specifies the value to override the

regular maximum bandwidth rate (rateLimitBytesPerSec) for the specified time period. The value is specified in bytes per second.

io_rate (int): Specifies the value to override the default IO rate for

the specified time period.

time_periods (TimeOfAWeek): Specifies a time period by specifying a

single daily time period and one or more days of the week, for example 9 AM - 5 PM on Monday, Wednesday or Friday. If different time periods are required on different days, then multiple instances of this Weekly Time Period must be specified.

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.