Class ResourceUsageInner
java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.ResourceUsageInner
Output of check resource usage API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the currentValue property: Actual value of usage on the specified resource type.limit()Get the limit property: Quota of the specified resource type.Get the resourceType property: Resource type for which the usage is provided.unit()Get the unit property: Unit of the usage.voidvalidate()Validates the instance.
-
Constructor Details
-
ResourceUsageInner
public ResourceUsageInner()
-
-
Method Details
-
resourceType
Get the resourceType property: Resource type for which the usage is provided.- Returns:
- the resourceType value.
-
unit
Get the unit property: Unit of the usage. e.g. count.- Returns:
- the unit value.
-
currentValue
Get the currentValue property: Actual value of usage on the specified resource type.- Returns:
- the currentValue value.
-
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.
-