Condition#

class Condition(metric_name=None, operator=None, threshold_value=None, *args, **kwargs)[source]#

Bases: object

Parameters:
property metric_name#

The metric key. Allowed values of metrics list can be found at https://portal.nutanix.com/page/documents/details?targetId=Prism-Central-Guide-vpc_2022_9:mul-alerts-user-created-metrics-r.html

Type:

str

property operator#
Type:

ComparisonOperator

property threshold_value#

The threshold value that was used for the condition evaluation.

Type:

DoubleValue | IntValue

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model