Class ResourceUsageInner

java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.ResourceUsageInner

public final class ResourceUsageInner extends Object
Output of check resource usage API.
  • Constructor Details

    • ResourceUsageInner

      public ResourceUsageInner()
  • Method Details

    • resourceType

      public String resourceType()
      Get the resourceType property: Resource type for which the usage is provided.
      Returns:
      the resourceType value.
    • unit

      public ResourceUsageUnit unit()
      Get the unit property: Unit of the usage. e.g. count.
      Returns:
      the unit value.
    • currentValue

      public Integer currentValue()
      Get the currentValue property: Actual value of usage on the specified resource type.
      Returns:
      the currentValue value.
    • limit

      public Integer limit()
      Get the limit property: Quota of the specified resource type.
      Returns:
      the limit value.
    • validate

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