ServiceSpecification Class
- java.
lang. Object - com.
azure. resourcemanager. timeseriesinsights. models. ServiceSpecification
- com.
public final class ServiceSpecification
One property of operation, include metric specifications.
Constructor Summary
Constructor | Description |
---|---|
ServiceSpecification() |
Creates an instance of Service |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Log |
logSpecifications()
Get the log |
List<Metric |
metricSpecifications()
Get the metric |
void |
validate()
Validates the instance. |
Service |
withLogSpecifications(List<LogSpecification> logSpecifications)
Set the log |
Service |
withMetricSpecifications(List<MetricSpecification> metricSpecifications)
Set the metric |
Methods inherited from java.lang.Object
Constructor Details
ServiceSpecification
public ServiceSpecification()
Creates an instance of ServiceSpecification class.
Method Details
logSpecifications
public List
Get the logSpecifications property: A list of Azure Monitoring log definitions.
Returns:
metricSpecifications
public List
Get the metricSpecifications property: Metric specifications of operation.
Returns:
validate
public void validate()
Validates the instance.
withLogSpecifications
public ServiceSpecification withLogSpecifications(List
Set the logSpecifications property: A list of Azure Monitoring log definitions.
Parameters:
Returns:
withMetricSpecifications
public ServiceSpecification withMetricSpecifications(List
Set the metricSpecifications property: Metric specifications of operation.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for