Class ResourceUsage
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.ResourceUsage
-
public class ResourceUsage extends Object
Provides information about CDN resource usages.
-
-
Constructor Summary
Constructors Constructor Description ResourceUsage(ResourceUsageInner inner)Construct ResourceUsage object from server response object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcurrentValue()Actual value of the resource type.intlimit()Quota of the resource type.StringresourceType()Resource type of the usages.Stringunit()Unit of the usage.
-
-
-
Constructor Detail
-
ResourceUsage
public ResourceUsage(ResourceUsageInner inner)
Construct ResourceUsage object from server response object.- Parameters:
inner- server response object containing resource usages.
-
-
Method Detail
-
resourceType
public String resourceType()
Resource type of the usages.- Returns:
- type of the usages
-
unit
public String unit()
Unit of the usage. e.g. Count.- Returns:
- unit of the usage
-
currentValue
public int currentValue()
Actual value of the resource type.- Returns:
- value of the resource type
-
limit
public int limit()
Quota of the resource type.- Returns:
- quota of the resource type
-
-