public interface BaselinesClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.http.rest.PagedIterable<SingleMetricBaselineInner> |
list(String resourceUri)
**Lists the metric baseline values for a resource**.
|
com.azure.core.http.rest.PagedIterable<SingleMetricBaselineInner> |
list(String resourceUri,
String metricnames,
String metricnamespace,
String timespan,
Duration interval,
String aggregation,
String sensitivities,
String filter,
ResultType resultType,
com.azure.core.util.Context context)
**Lists the metric baseline values for a resource**.
|
com.azure.core.http.rest.PagedFlux<SingleMetricBaselineInner> |
listAsync(String resourceUri)
**Lists the metric baseline values for a resource**.
|
com.azure.core.http.rest.PagedFlux<SingleMetricBaselineInner> |
listAsync(String resourceUri,
String metricnames,
String metricnamespace,
String timespan,
Duration interval,
String aggregation,
String sensitivities,
String filter,
ResultType resultType)
**Lists the metric baseline values for a resource**.
|
com.azure.core.http.rest.PagedFlux<SingleMetricBaselineInner> listAsync(String resourceUri, String metricnames, String metricnamespace, String timespan, Duration interval, String aggregation, String sensitivities, String filter, ResultType resultType)
resourceUri - The identifier of the resource.metricnames - The names of the metrics (comma separated) to retrieve.metricnamespace - Metric namespace to query metric definitions for.timespan - The timespan of the query. It is a string with the following format
'startDateTime_ISO/endDateTime_ISO'.interval - The interval (i.e. timegrain) of the query.aggregation - The list of aggregation types (comma separated) to retrieve.sensitivities - The list of sensitivities (comma separated) to retrieve.filter - The **$filter** is used to reduce the set of metric data
returned.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series
of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq
‘*’**<br>- Invalid variant:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B =
‘b2’**<br>This is invalid because the logical or operator cannot separate two different metadata
names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**$filter=A eq ‘a1’ and B
eq ‘b1’ and C eq ‘c1’**<br>- Return all time series where A = a1<br>**$filter=A eq ‘a1’ and B eq
‘*’ and C eq ‘*’**.resultType - Allows retrieving only metadata of the baseline. On data request all information is retrieved.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<SingleMetricBaselineInner> listAsync(String resourceUri)
resourceUri - The identifier of the resource.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<SingleMetricBaselineInner> list(String resourceUri, String metricnames, String metricnamespace, String timespan, Duration interval, String aggregation, String sensitivities, String filter, ResultType resultType, com.azure.core.util.Context context)
resourceUri - The identifier of the resource.metricnames - The names of the metrics (comma separated) to retrieve.metricnamespace - Metric namespace to query metric definitions for.timespan - The timespan of the query. It is a string with the following format
'startDateTime_ISO/endDateTime_ISO'.interval - The interval (i.e. timegrain) of the query.aggregation - The list of aggregation types (comma separated) to retrieve.sensitivities - The list of sensitivities (comma separated) to retrieve.filter - The **$filter** is used to reduce the set of metric data
returned.<br>Example:<br>Metric contains metadata A, B and C.<br>- Return all time series
of C where A = a1 and B = b1 or b2<br>**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq
‘*’**<br>- Invalid variant:<br>**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B =
‘b2’**<br>This is invalid because the logical or operator cannot separate two different metadata
names.<br>- Return all time series where A = a1, B = b1 and C = c1:<br>**$filter=A eq ‘a1’ and B
eq ‘b1’ and C eq ‘c1’**<br>- Return all time series where A = a1<br>**$filter=A eq ‘a1’ and B eq
‘*’ and C eq ‘*’**.resultType - Allows retrieving only metadata of the baseline. On data request all information is retrieved.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<SingleMetricBaselineInner> list(String resourceUri)
resourceUri - The identifier of the resource.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Copyright © 2020 Microsoft Corporation. All rights reserved.