Class AzureMonitorMetricsDestination
java.lang.Object
com.azure.resourcemanager.monitor.models.AzureMonitorMetricsDestination
- Direct Known Subclasses:
DestinationsSpecAzureMonitorMetrics
Azure Monitor Metrics destination.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AzureMonitorMetricsDestination class. -
Method Summary
-
Constructor Details
-
AzureMonitorMetricsDestination
public AzureMonitorMetricsDestination()Creates an instance of AzureMonitorMetricsDestination class.
-
-
Method Details
-
name
Get the name property: A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule.- Returns:
- the name value.
-
withName
Set the name property: A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule.- Parameters:
name- the name value to set.- Returns:
- the AzureMonitorMetricsDestination object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-