MetricBaselinesClient.getWithResponseAsync(String resourceUri, String metricName, String timespan, Duration interval, String aggregation, String sensitivities, ResultType resultType) Method

Definition

**Gets the baseline values for a specific metric**.

public abstract Mono<Response<BaselineResponseInner>> getWithResponseAsync(String resourceUri, String metricName, String timespan, Duration interval, String aggregation, String sensitivities, ResultType resultType)

Parameters

resourceUri
java.lang.String

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
java.lang.String

The name of the metric to retrieve the baseline for.

timespan
java.lang.String

The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'.

interval
java.time.Duration

The interval (i.e. timegrain) of the query.

aggregation
java.lang.String

The aggregation type of the metric to retrieve the baseline for.

sensitivities
java.lang.String

The list of sensitivities (comma separated) to retrieve.

resultType
ResultType

Allows retrieving only metadata of the baseline. On data request all information is retrieved.

Returns

reactor.core.publisher.Mono<Response<BaselineResponseInner>>

the response to a baseline query.

Applies to