Class MetricAvailabilily
- java.lang.Object
-
- com.microsoft.azure.management.appservice.MetricAvailabilily
-
public class MetricAvailabilily extends Object
Metric availability and retention.
-
-
Constructor Summary
Constructors Constructor Description MetricAvailabilily()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringretention()Get retention period for the current time grain.StringtimeGrain()Get time grain.MetricAvailabililywithRetention(String retention)Set retention period for the current time grain.MetricAvailabililywithTimeGrain(String timeGrain)Set time grain.
-
-
-
Method Detail
-
timeGrain
public String timeGrain()
Get time grain.- Returns:
- the timeGrain value
-
withTimeGrain
public MetricAvailabilily withTimeGrain(String timeGrain)
Set time grain.- Parameters:
timeGrain- the timeGrain value to set- Returns:
- the MetricAvailabilily object itself.
-
retention
public String retention()
Get retention period for the current time grain.- Returns:
- the retention value
-
withRetention
public MetricAvailabilily withRetention(String retention)
Set retention period for the current time grain.- Parameters:
retention- the retention value to set- Returns:
- the MetricAvailabilily object itself.
-
-