| Package | Description |
|---|---|
| com.azure.resourcemanager.monitor.fluent.models |
Package containing the inner data models for MonitorClient.
|
| com.azure.resourcemanager.monitor.models |
Package containing the data models for MonitorClient.
|
| Modifier and Type | Method and Description |
|---|---|
Unit |
MetricDefinitionInner.unit()
Get the unit property: the unit of the metric.
|
Unit |
MetricInner.unit()
Get the unit property: the unit of the metric.
|
| Modifier and Type | Method and Description |
|---|---|
MetricDefinitionInner |
MetricDefinitionInner.withUnit(Unit unit)
Set the unit property: the unit of the metric.
|
MetricInner |
MetricInner.withUnit(Unit unit)
Set the unit property: the unit of the metric.
|
| Modifier and Type | Method and Description |
|---|---|
static Unit |
Unit.fromString(String value)
Parses a serialized value to a Unit instance.
|
Unit |
Metric.unit()
Get the unit of the metric.
|
Unit |
MetricDefinition.unit()
Get the unit value.
|
static Unit |
Unit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Unit[] |
Unit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.