public interface MetricBaselinesClient
| Modifier and Type | Method and Description |
|---|---|
CalculateBaselineResponseInner |
calculateBaseline(String resourceUri,
TimeSeriesInformation timeSeriesInformation)
**Lists the baseline values for a resource**.
|
Mono<CalculateBaselineResponseInner> |
calculateBaselineAsync(String resourceUri,
TimeSeriesInformation timeSeriesInformation)
**Lists the baseline values for a resource**.
|
com.azure.core.http.rest.Response<CalculateBaselineResponseInner> |
calculateBaselineWithResponse(String resourceUri,
TimeSeriesInformation timeSeriesInformation,
com.azure.core.util.Context context)
**Lists the baseline values for a resource**.
|
Mono<com.azure.core.http.rest.Response<CalculateBaselineResponseInner>> |
calculateBaselineWithResponseAsync(String resourceUri,
TimeSeriesInformation timeSeriesInformation)
**Lists the baseline values for a resource**.
|
BaselineResponseInner |
get(String resourceUri,
String metricName)
**Gets the baseline values for a specific metric**.
|
Mono<BaselineResponseInner> |
getAsync(String resourceUri,
String metricName)
**Gets the baseline values for a specific metric**.
|
Mono<BaselineResponseInner> |
getAsync(String resourceUri,
String metricName,
String timespan,
Duration interval,
String aggregation,
String sensitivities,
ResultType resultType)
**Gets the baseline values for a specific metric**.
|
com.azure.core.http.rest.Response<BaselineResponseInner> |
getWithResponse(String resourceUri,
String metricName,
String timespan,
Duration interval,
String aggregation,
String sensitivities,
ResultType resultType,
com.azure.core.util.Context context)
**Gets the baseline values for a specific metric**.
|
Mono<com.azure.core.http.rest.Response<BaselineResponseInner>> |
getWithResponseAsync(String resourceUri,
String metricName,
String timespan,
Duration interval,
String aggregation,
String sensitivities,
ResultType resultType)
**Gets the baseline values for a specific metric**.
|
Mono<com.azure.core.http.rest.Response<BaselineResponseInner>> getWithResponseAsync(String resourceUri, String metricName, String timespan, Duration interval, String aggregation, String sensitivities, ResultType resultType)
resourceUri - The identifier of the resource. It has the following structure:
subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}.
For example:
subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1.metricName - The name of the metric to retrieve the baseline 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 aggregation type of the metric to retrieve the baseline for.sensitivities - The list of sensitivities (comma separated) to retrieve.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.Mono<BaselineResponseInner> getAsync(String resourceUri, String metricName, String timespan, Duration interval, String aggregation, String sensitivities, ResultType resultType)
resourceUri - The identifier of the resource. It has the following structure:
subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}.
For example:
subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1.metricName - The name of the metric to retrieve the baseline 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 aggregation type of the metric to retrieve the baseline for.sensitivities - The list of sensitivities (comma separated) to retrieve.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.Mono<BaselineResponseInner> getAsync(String resourceUri, String metricName)
resourceUri - The identifier of the resource. It has the following structure:
subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}.
For example:
subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1.metricName - The name of the metric to retrieve the baseline for.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.BaselineResponseInner get(String resourceUri, String metricName)
resourceUri - The identifier of the resource. It has the following structure:
subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}.
For example:
subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1.metricName - The name of the metric to retrieve the baseline for.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.Response<BaselineResponseInner> getWithResponse(String resourceUri, String metricName, String timespan, Duration interval, String aggregation, String sensitivities, ResultType resultType, com.azure.core.util.Context context)
resourceUri - The identifier of the resource. It has the following structure:
subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}.
For example:
subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1.metricName - The name of the metric to retrieve the baseline 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 aggregation type of the metric to retrieve the baseline for.sensitivities - The list of sensitivities (comma separated) to retrieve.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.Mono<com.azure.core.http.rest.Response<CalculateBaselineResponseInner>> calculateBaselineWithResponseAsync(String resourceUri, TimeSeriesInformation timeSeriesInformation)
resourceUri - The identifier of the resource. It has the following structure:
subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}.
For example:
subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1.timeSeriesInformation - The time series info needed for calculating the baseline.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.Mono<CalculateBaselineResponseInner> calculateBaselineAsync(String resourceUri, TimeSeriesInformation timeSeriesInformation)
resourceUri - The identifier of the resource. It has the following structure:
subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}.
For example:
subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1.timeSeriesInformation - The time series info needed for calculating the baseline.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.CalculateBaselineResponseInner calculateBaseline(String resourceUri, TimeSeriesInformation timeSeriesInformation)
resourceUri - The identifier of the resource. It has the following structure:
subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}.
For example:
subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1.timeSeriesInformation - The time series info needed for calculating the baseline.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.Response<CalculateBaselineResponseInner> calculateBaselineWithResponse(String resourceUri, TimeSeriesInformation timeSeriesInformation, com.azure.core.util.Context context)
resourceUri - The identifier of the resource. It has the following structure:
subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}.
For example:
subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1.timeSeriesInformation - The time series info needed for calculating the baseline.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.Copyright © 2020 Microsoft Corporation. All rights reserved.