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 Summary
Constructors Constructor Description ResourceUsageInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegercurrentValue()Get the currentValue property: Actual value of usage on the specified resource type.Integerlimit()Get the limit property: Quota of the specified resource type.StringresourceType()Get the resourceType property: Resource type for which the usage is provided.Stringunit()Get the unit property: Unit of the usage.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
resourceType
public String resourceType()
Get the resourceType property: Resource type for which the usage is provided.- Returns:
- the resourceType value.
-
unit
public String 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.
-
-