models.update_user_quota_settings_for_view module

class models.update_user_quota_settings_for_view.UpdateUserQuotaSettingsForView(default_user_quota_policy=None, enable_user_quota=None, inherit_default_policy_from_viewbox=None, view_name=None)[source]

Bases: object

Implementation of the ‘UpdateUserQuotaSettingsForView’ model.

Specifies the parameters to update user quota metadata in a view.

Attributes:
default_user_quota_policy (QuotaPolicy): Specifies a quota limit that

can be optionally applied to Views and View Boxes. At the View level, this quota defines a logical limit for usage on the View. At the View Box level, this quota defines a physical limit or a default logical View limit. If a physical quota is specified for View Box, this quota defines a physical limit for the usage on the View Box. If a default logical View quota is specified for View Box, this limit is inherited by all the Views in that View Box. However, this inherited quota can be overwritten at the View level. A new write is not allowed if the resource will exceed the specified quota. However, it takes time for the Cohesity Cluster to calculate the usage across Nodes, so the limit may be exceeded by a small amount. In addition, if the limit is increased or data is removed, there may be a delay before the Cohesity Cluster allows more data to be written to the resource, as the Cluster calculates the usage across Nodes.

enable_user_quota (bool): If set, it enables/disables the user quota

overrides for a view. Otherwise, it leaves it at it’s previous state.

inherit_default_policy_from_viewbox (bool): If set to true, the

default_policy in view metadata will be cleared and the default policy from viewbox will take effect for all users in the view.

view_name (string): View name of input view.

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.