ResourceUsage Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. ResourceUsage
- com.
public class ResourceUsage
Provides information about CDN resource usages.
Constructor Summary
Constructor | Description |
---|---|
ResourceUsage(ResourceUsageInner inner) |
Construct Resource |
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
currentValue()
Actual value of the resource type. |
int |
limit()
Quota of the resource type. |
String |
resourceType()
Resource type of the usages. |
String |
unit()
Unit of the usage. |
Methods inherited from java.lang.Object
Constructor Details
ResourceUsage
public ResourceUsage(ResourceUsageInner inner)
Construct ResourceUsage object from server response object.
Parameters:
inner
- server response object containing resource usages.
Method Details
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
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
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Java