Usage Class
- java.
lang. Object - com.
microsoft. azure. management. cognitiveservices. Usage
- com.
public class Usage
The usage data for a usage request.
Constructor Summary
Constructor | Description | |
---|---|---|
Usage() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
currentValue()
Get the current |
java.lang.Double |
limit()
Get the limit value. |
Metric |
name()
Get the name value. |
java.lang.String |
nextResetTime()
Get the next |
java.lang.String |
quotaPeriod()
Get the quota |
Quota |
status()
Get the status value. |
Unit |
unit()
Get the unit value. |
Usage |
withStatus(QuotaUsageStatus status)
Set the status value. |
Usage |
withUnit(UnitType unit)
Set the unit value. |
Methods inherited from java.lang.Object
Constructor Details
Usage
public Usage()
Method Details
currentValue
public Double currentValue()
Get the currentValue value.
Returns:
limit
public Double limit()
Get the limit value.
Returns:
name
public MetricName name()
Get the name value.
Returns:
nextResetTime
public String nextResetTime()
Get the nextResetTime value.
Returns:
quotaPeriod
public String quotaPeriod()
Get the quotaPeriod value.
Returns:
status
public QuotaUsageStatus status()
Get the status value.
Returns:
unit
public UnitType unit()
Get the unit value.
Returns:
withStatus
public Usage withStatus(QuotaUsageStatus status)
Set the status value.
Parameters:
Returns:
withUnit
public Usage withUnit(UnitType unit)
Set the unit value.
Parameters:
Returns:
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기