Interface Usage
public interface Usage
An immutable client-side representation of Usage.
-
Method Summary
Modifier and TypeMethodDescriptionGets the currentValue property: Gets or sets the current usage value.id()
Gets the id property: Gets or sets the id of the resource.Gets the inner com.azure.resourcemanager.automation.fluent.models.UsageInner object.limit()
Gets the limit property: Gets or sets max limit.name()
Gets the name property: Gets or sets the usage counter name.Gets the throttleStatus property: Gets or sets the throttle status.unit()
Gets the unit property: Gets or sets the usage unit name.
-
Method Details
-
id
String id()Gets the id property: Gets or sets the id of the resource.- Returns:
- the id value.
-
name
UsageCounterName name()Gets the name property: Gets or sets the usage counter name.- Returns:
- the name value.
-
unit
String unit()Gets the unit property: Gets or sets the usage unit name.- Returns:
- the unit value.
-
currentValue
Double currentValue()Gets the currentValue property: Gets or sets the current usage value.- Returns:
- the currentValue value.
-
limit
Long limit()Gets the limit property: Gets or sets max limit. -1 for unlimited.- Returns:
- the limit value.
-
throttleStatus
String throttleStatus()Gets the throttleStatus property: Gets or sets the throttle status.- Returns:
- the throttleStatus value.
-
innerModel
UsageInner innerModel()Gets the inner com.azure.resourcemanager.automation.fluent.models.UsageInner object.- Returns:
- the inner object.
-