Class PrometheusOSProviderInstanceProperties

java.lang.Object
com.azure.resourcemanager.workloads.models.ProviderSpecificProperties
com.azure.resourcemanager.workloads.models.PrometheusOSProviderInstanceProperties

public final class PrometheusOSProviderInstanceProperties extends ProviderSpecificProperties
Gets or sets the PrometheusOS provider properties.
  • Constructor Details

    • PrometheusOSProviderInstanceProperties

      public PrometheusOSProviderInstanceProperties()
  • Method Details

    • prometheusUrl

      public String prometheusUrl()
      Get the prometheusUrl property: URL of the Node Exporter endpoint.
      Returns:
      the prometheusUrl value.
    • withPrometheusUrl

      public PrometheusOSProviderInstanceProperties withPrometheusUrl(String prometheusUrl)
      Set the prometheusUrl property: URL of the Node Exporter endpoint.
      Parameters:
      prometheusUrl - the prometheusUrl value to set.
      Returns:
      the PrometheusOSProviderInstanceProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ProviderSpecificProperties
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.