java.lang.Object
com.azure.core.util.ExpandableStringEnum<MetricId>
com.azure.resourcemanager.eventhubs.models.MetricId
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class MetricId extends com.azure.core.util.ExpandableStringEnum<MetricId>
Metric Id on which the throttle limit should be set, MetricId can be discovered by hovering over Metric in the Metrics section of Event Hub Namespace inside Azure Portal.
  • Field Details

    • INCOMING_BYTES

      public static final MetricId INCOMING_BYTES
      Static value IncomingBytes for MetricId.
    • OUTGOING_BYTES

      public static final MetricId OUTGOING_BYTES
      Static value OutgoingBytes for MetricId.
    • INCOMING_MESSAGES

      public static final MetricId INCOMING_MESSAGES
      Static value IncomingMessages for MetricId.
    • OUTGOING_MESSAGES

      public static final MetricId OUTGOING_MESSAGES
      Static value OutgoingMessages for MetricId.
  • Constructor Details

  • Method Details

    • fromString

      public static MetricId fromString(String name)
      Creates or finds a MetricId from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding MetricId.
    • values

      public static Collection<MetricId> values()
      Gets known MetricId values.
      Returns:
      known MetricId values.