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에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java