public final class MetricDefinitionInner extends Object
| Constructor and Description |
|---|
MetricDefinitionInner() |
| Modifier and Type | Method and Description |
|---|---|
List<MetricAvailability> |
metricAvailabilities()
Get the metricAvailabilities property: The list of metric availabilities for the account.
|
MetricName |
name()
Get the name property: The name information for the metric.
|
PrimaryAggregationType |
primaryAggregationType()
Get the primaryAggregationType property: The primary aggregation type of the metric.
|
String |
resourceUri()
Get the resourceUri property: The resource uri of the database.
|
UnitType |
unit()
Get the unit property: The unit of the metric.
|
void |
validate()
Validates the instance.
|
public List<MetricAvailability> metricAvailabilities()
public PrimaryAggregationType primaryAggregationType()
public UnitType unit()
public String resourceUri()
public MetricName name()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.