public final class ResourceMetricDefinitionProperties extends Object
| Constructor and Description |
|---|
ResourceMetricDefinitionProperties() |
| Modifier and Type | Method and Description |
|---|---|
List<ResourceMetricAvailability> |
metricAvailabilities()
Get the metricAvailabilities property: List of time grains supported for the metric together with retention
period.
|
String |
primaryAggregationType()
Get the primaryAggregationType property: Primary aggregation type.
|
Map<String,String> |
properties()
Get the properties property: Resource metric definition properties.
|
String |
resourceUri()
Get the resourceUri property: Resource URI.
|
String |
unit()
Get the unit property: Unit of the metric.
|
void |
validate()
Validates the instance.
|
public String unit()
public String primaryAggregationType()
public List<ResourceMetricAvailability> metricAvailabilities()
public String resourceUri()
public Map<String,String> properties()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.