Class UsageInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.appservice.models.ProxyOnlyResource
-
- com.azure.resourcemanager.appservice.fluent.models.UsageInner
-
public final class UsageInner extends ProxyOnlyResource
Usage of the quota resource.
-
-
Constructor Summary
Constructors Constructor Description UsageInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeModeOptionscomputeMode()Get the computeMode property: Compute mode used for this usage.LongcurrentValue()Get the currentValue property: The current value of the resource counter.StringdisplayName()Get the displayName property: Friendly name shown in the UI.Longlimit()Get the limit property: The resource limit.OffsetDateTimenextResetTime()Get the nextResetTime property: Next reset time for the resource counter.StringresourceName()Get the resourceName property: Name of the quota resource.StringsiteMode()Get the siteMode property: Site mode used for this usage.Stringunit()Get the unit property: Units of measurement for the quota resource.voidvalidate()Validates the instance.UsageInnerwithKind(String kind)Set the kind property: Kind of resource.-
Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public UsageInner withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
displayName
public String displayName()
Get the displayName property: Friendly name shown in the UI.- Returns:
- the displayName value.
-
resourceName
public String resourceName()
Get the resourceName property: Name of the quota resource.- Returns:
- the resourceName value.
-
unit
public String unit()
Get the unit property: Units of measurement for the quota resource.- Returns:
- the unit value.
-
currentValue
public Long currentValue()
Get the currentValue property: The current value of the resource counter.- Returns:
- the currentValue value.
-
limit
public Long limit()
Get the limit property: The resource limit.- Returns:
- the limit value.
-
nextResetTime
public OffsetDateTime nextResetTime()
Get the nextResetTime property: Next reset time for the resource counter.- Returns:
- the nextResetTime value.
-
computeMode
public ComputeModeOptions computeMode()
Get the computeMode property: Compute mode used for this usage.- Returns:
- the computeMode value.
-
siteMode
public String siteMode()
Get the siteMode property: Site mode used for this usage.- Returns:
- the siteMode value.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-