Consumption#

class Consumption(cluster_ext_id=None, quantity_used=None, *args, **kwargs)#

Bases: object

Model containing license consumption details like cluster id and quantity used in that cluster.

Parameters:
  • cluster_ext_id – (cluster_ext_id) Cluster UUID which is consuming the license.

  • quantity_used – (quantity_used) Indicates quantity of licenses consumed by the cluster.

property cluster_ext_id#

Cluster UUID which is consuming the license.

Type:

str

property quantity_used#

Indicates quantity of licenses consumed by the cluster.

Type:

float

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model