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()
      Creates an instance of PrometheusOSProviderInstanceProperties class.
  • 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.
    • sslPreference

      public SslPreference sslPreference()
      Get the sslPreference property: Gets or sets certificate preference if secure communication is enabled.
      Returns:
      the sslPreference value.
    • withSslPreference

      public PrometheusOSProviderInstanceProperties withSslPreference(SslPreference sslPreference)
      Set the sslPreference property: Gets or sets certificate preference if secure communication is enabled.
      Parameters:
      sslPreference - the sslPreference value to set.
      Returns:
      the PrometheusOSProviderInstanceProperties object itself.
    • sslCertificateUri

      public String sslCertificateUri()
      Get the sslCertificateUri property: Gets or sets the blob URI to SSL certificate for the prometheus node exporter.
      Returns:
      the sslCertificateUri value.
    • withSslCertificateUri

      public PrometheusOSProviderInstanceProperties withSslCertificateUri(String sslCertificateUri)
      Set the sslCertificateUri property: Gets or sets the blob URI to SSL certificate for the prometheus node exporter.
      Parameters:
      sslCertificateUri - the sslCertificateUri value to set.
      Returns:
      the PrometheusOSProviderInstanceProperties object itself.
    • sapSid

      public String sapSid()
      Get the sapSid property: Gets or sets the SAP System Identifier.
      Returns:
      the sapSid value.
    • withSapSid

      public PrometheusOSProviderInstanceProperties withSapSid(String sapSid)
      Set the sapSid property: Gets or sets the SAP System Identifier.
      Parameters:
      sapSid - the sapSid 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.