Class ResourceMetricDefinitionProperties

java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.ResourceMetricDefinitionProperties

public final class ResourceMetricDefinitionProperties extends Object
ResourceMetricDefinition resource specific properties.
  • Constructor Details

    • ResourceMetricDefinitionProperties

      public ResourceMetricDefinitionProperties()
  • Method Details

    • unit

      public String unit()
      Get the unit property: Unit of the metric.
      Returns:
      the unit value.
    • primaryAggregationType

      public String primaryAggregationType()
      Get the primaryAggregationType property: Primary aggregation type.
      Returns:
      the primaryAggregationType value.
    • metricAvailabilities

      public List<ResourceMetricAvailability> metricAvailabilities()
      Get the metricAvailabilities property: List of time grains supported for the metric together with retention period.
      Returns:
      the metricAvailabilities value.
    • resourceUri

      public String resourceUri()
      Get the resourceUri property: Resource URI.
      Returns:
      the resourceUri value.
    • properties

      public Map<String,String> properties()
      Get the properties property: Resource metric definition properties.
      Returns:
      the properties value.
    • validate

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