Class MetricId
java.lang.Object
com.azure.core.util.ExpandableStringEnum<MetricId>
com.azure.resourcemanager.eventhubs.models.MetricId
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MetricIdfromString(String name) Creates or finds a MetricId from its string representation.static Collection<MetricId> values()Gets known MetricId values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
INCOMING_BYTES
Static value IncomingBytes for MetricId. -
OUTGOING_BYTES
Static value OutgoingBytes for MetricId. -
INCOMING_MESSAGES
Static value IncomingMessages for MetricId. -
OUTGOING_MESSAGES
Static value OutgoingMessages for MetricId.
-
-
Constructor Details
-
MetricId
Deprecated.Use thefromString(String)factory method.Creates a new instance of MetricId value.
-
-
Method Details
-
fromString
Creates or finds a MetricId from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding MetricId.
-
values
Gets known MetricId values.- Returns:
- known MetricId values.
-
fromString(String)factory method.