Skip to content

MetricValue

Source code in docs_src/capo_iot/types/metric_value.py
class MetricValue(TypedDict, closed=True):
    count: NotRequired["capo_iot.types.unsigned_long.UnsignedLong"]
    """<p>If the <code>comparisonOperator</code> calls for a numeric value, use this to specify that numeric value to be compared with the <code>metric</code>.</p>"""
    cidrs: NotRequired["capo_iot.types.cidrs.Cidrs"]
    """<p>If the <code>comparisonOperator</code> calls for a set of CIDRs, use this to specify that set to be compared with the <code>metric</code>.</p>"""
    ports: NotRequired["capo_iot.types.ports.Ports"]
    """<p>If the <code>comparisonOperator</code> calls for a set of ports, use this to specify that set to be compared with the <code>metric</code>.</p>"""
    number: NotRequired["capo_iot.types.number.Number"]
    """<p> The numeral value of a metric. </p>"""
    numbers: NotRequired["capo_iot.types.number_list.NumberList"]
    """<p> The numeral values of a metric. </p>"""
    strings: NotRequired["capo_iot.types.string_list.StringList"]
    """<p> The string values of a metric. </p>"""

cidrs instance-attribute

cidrs: NotRequired[Cidrs]

If the comparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric.

count instance-attribute

count: NotRequired[UnsignedLong]

If the comparisonOperator calls for a numeric value, use this to specify that numeric value to be compared with the metric.

number instance-attribute

number: NotRequired[Number]

The numeral value of a metric.

numbers instance-attribute

numbers: NotRequired[NumberList]

The numeral values of a metric.

ports instance-attribute

ports: NotRequired[Ports]

If the comparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric.

strings instance-attribute

strings: NotRequired[StringList]

The string values of a metric.