Class ServerUsageInner


  • public final class ServerUsageInner
    extends Object
    Represents server metrics.
    • Constructor Detail

      • ServerUsageInner

        public ServerUsageInner()
    • Method Detail

      • name

        public String name()
        Get the name property: Name of the server usage metric.
        Returns:
        the name value.
      • resourceName

        public String resourceName()
        Get the resourceName property: The name of the resource.
        Returns:
        the resourceName value.
      • displayName

        public String displayName()
        Get the displayName property: The metric display name.
        Returns:
        the displayName value.
      • currentValue

        public Double currentValue()
        Get the currentValue property: The current value of the metric.
        Returns:
        the currentValue value.
      • limit

        public Double limit()
        Get the limit property: The current limit of the metric.
        Returns:
        the limit value.
      • unit

        public String unit()
        Get the unit property: The units of the metric.
        Returns:
        the unit value.
      • nextResetTime

        public OffsetDateTime nextResetTime()
        Get the nextResetTime property: The next reset time for the metric (ISO8601 format).
        Returns:
        the nextResetTime value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.