CapacityViolation#

class CapacityViolation(type=None, category=None, meter=None, shortfall=None, *args, **kwargs)#

Bases: object

Model for capturing capacity violation. Capacity violations are thrown when a user has not applied licenses to extended capacity.

Parameters:
  • type – (type)

  • category – (category)

  • meter – (meter)

  • shortfall – (shortfall) Indicates the insufficient quantity of a license. License of given quantity should be applied for a cluster to function properly

property category#
Type:

LicenseCategory

property meter#
Type:

Meter

property shortfall#

Indicates the insufficient quantity of a license. License of given quantity should be applied for a cluster to function properly

Type:

float

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property type#
Type:

LicenseType