Class AzureMonitorMetricsDestination

java.lang.Object
com.azure.resourcemanager.monitor.models.AzureMonitorMetricsDestination
Direct Known Subclasses:
DestinationsSpecAzureMonitorMetrics

public class AzureMonitorMetricsDestination extends Object
Azure Monitor Metrics destination.
  • Constructor Details

    • AzureMonitorMetricsDestination

      public AzureMonitorMetricsDestination()
      Creates an instance of AzureMonitorMetricsDestination class.
  • Method Details

    • name

      public String 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

      public AzureMonitorMetricsDestination withName(String name)
      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.