Class PrometheusOSProviderInstanceProperties
java.lang.Object
com.azure.resourcemanager.workloads.models.ProviderSpecificProperties
com.azure.resourcemanager.workloads.models.PrometheusOSProviderInstanceProperties
Gets or sets the PrometheusOS provider properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of PrometheusOSProviderInstanceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the prometheusUrl property: URL of the Node Exporter endpoint.sapSid()
Get the sapSid property: Gets or sets the SAP System Identifier.Get the sslCertificateUri property: Gets or sets the blob URI to SSL certificate for the prometheus node exporter.Get the sslPreference property: Gets or sets certificate preference if secure communication is enabled.void
validate()
Validates the instance.withPrometheusUrl
(String prometheusUrl) Set the prometheusUrl property: URL of the Node Exporter endpoint.withSapSid
(String sapSid) Set the sapSid property: Gets or sets the SAP System Identifier.withSslCertificateUri
(String sslCertificateUri) Set the sslCertificateUri property: Gets or sets the blob URI to SSL certificate for the prometheus node exporter.withSslPreference
(SslPreference sslPreference) Set the sslPreference property: Gets or sets certificate preference if secure communication is enabled.
-
Constructor Details
-
PrometheusOSProviderInstanceProperties
public PrometheusOSProviderInstanceProperties()Creates an instance of PrometheusOSProviderInstanceProperties class.
-
-
Method Details
-
prometheusUrl
Get the prometheusUrl property: URL of the Node Exporter endpoint.- Returns:
- the prometheusUrl value.
-
withPrometheusUrl
Set the prometheusUrl property: URL of the Node Exporter endpoint.- Parameters:
prometheusUrl
- the prometheusUrl value to set.- Returns:
- the PrometheusOSProviderInstanceProperties object itself.
-
sslPreference
Get the sslPreference property: Gets or sets certificate preference if secure communication is enabled.- Returns:
- the sslPreference value.
-
withSslPreference
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
Get the sslCertificateUri property: Gets or sets the blob URI to SSL certificate for the prometheus node exporter.- Returns:
- the sslCertificateUri value.
-
withSslCertificateUri
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
Get the sapSid property: Gets or sets the SAP System Identifier.- Returns:
- the sapSid value.
-
withSapSid
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 classProviderSpecificProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-