Condition#
- class Condition(metric_name=None, operator=None, threshold_value=None, *args, **kwargs)[source]#
Bases:
object
- Parameters:
metric_name (required) – (
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.htmloperator (required) – (
operator
)threshold_value (required) – (
threshold_value
) The threshold value that was used for the condition evaluation.
- 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:
- property threshold_value#
The threshold value that was used for the condition evaluation.
- Type: