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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the prometheusUrl property: URL of the Node Exporter endpoint.void
validate()
Validates the instance.withPrometheusUrl
(String prometheusUrl) Set the prometheusUrl property: URL of the Node Exporter endpoint.
-
Constructor Details
-
PrometheusOSProviderInstanceProperties
public PrometheusOSProviderInstanceProperties()
-
-
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.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classProviderSpecificProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-