Class UsageProperties
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.UsageProperties
-
public final class UsageProperties extends Object
Usage resource specific properties.
-
-
Constructor Summary
Constructors Constructor Description UsageProperties()
-
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.
-
-
-
Method Detail
-
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.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-