Class WebtestLocationAvailabilityCriteria


  • public class WebtestLocationAvailabilityCriteria
    extends MetricAlertCriteria
    Specifies the metric alert rule criteria for a web test resource.
    • Constructor Detail

      • WebtestLocationAvailabilityCriteria

        public WebtestLocationAvailabilityCriteria()
    • Method Detail

      • webTestId

        public String webTestId()
        Get the webTestId property: The Application Insights web test Id.
        Returns:
        the webTestId value.
      • withWebTestId

        public WebtestLocationAvailabilityCriteria withWebTestId​(String webTestId)
        Set the webTestId property: The Application Insights web test Id.
        Parameters:
        webTestId - the webTestId value to set.
        Returns:
        the WebtestLocationAvailabilityCriteria object itself.
      • componentId

        public String componentId()
        Get the componentId property: The Application Insights resource Id.
        Returns:
        the componentId value.
      • withComponentId

        public WebtestLocationAvailabilityCriteria withComponentId​(String componentId)
        Set the componentId property: The Application Insights resource Id.
        Parameters:
        componentId - the componentId value to set.
        Returns:
        the WebtestLocationAvailabilityCriteria object itself.
      • failedLocationCount

        public float failedLocationCount()
        Get the failedLocationCount property: The number of failed locations.
        Returns:
        the failedLocationCount value.
      • withFailedLocationCount

        public WebtestLocationAvailabilityCriteria withFailedLocationCount​(float failedLocationCount)
        Set the failedLocationCount property: The number of failed locations.
        Parameters:
        failedLocationCount - the failedLocationCount value to set.
        Returns:
        the WebtestLocationAvailabilityCriteria object itself.