Class ResourceUsage
java.lang.Object
com.microsoft.azure.management.cdn.ResourceUsage
Provides information about CDN resource usages.
-
Constructor Summary
ConstructorDescriptionResourceUsage
(com.microsoft.azure.management.cdn.implementation.ResourceUsageInner inner) Construct ResourceUsage object from server response object. -
Method Summary
-
Constructor Details
-
ResourceUsage
public ResourceUsage(com.microsoft.azure.management.cdn.implementation.ResourceUsageInner inner) Construct ResourceUsage object from server response object.- Parameters:
inner
- server response object containing resource usages.
-
-
Method Details
-
resourceType
Resource type of the usages.- Returns:
- type of the usages
-
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
-