Class ServiceSpecification
java.lang.Object
com.azure.resourcemanager.appservice.models.ServiceSpecification
Resource metrics service provided by Microsoft.Insights resource provider.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the logSpecifications property: The logSpecifications property.Get the metricSpecifications property: The metricSpecifications property.voidvalidate()Validates the instance.withLogSpecifications(List<LogSpecification> logSpecifications) Set the logSpecifications property: The logSpecifications property.withMetricSpecifications(List<MetricSpecification> metricSpecifications) Set the metricSpecifications property: The metricSpecifications property.
-
Constructor Details
-
ServiceSpecification
public ServiceSpecification()Creates an instance of ServiceSpecification class.
-
-
Method Details
-
metricSpecifications
Get the metricSpecifications property: The metricSpecifications property.- Returns:
- the metricSpecifications value.
-
withMetricSpecifications
public ServiceSpecification withMetricSpecifications(List<MetricSpecification> metricSpecifications) Set the metricSpecifications property: The metricSpecifications property.- Parameters:
metricSpecifications- the metricSpecifications value to set.- Returns:
- the ServiceSpecification object itself.
-
logSpecifications
Get the logSpecifications property: The logSpecifications property.- Returns:
- the logSpecifications value.
-
withLogSpecifications
Set the logSpecifications property: The logSpecifications property.- Parameters:
logSpecifications- the logSpecifications value to set.- Returns:
- the ServiceSpecification object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-