PredictiveMetricsClient Interface

public interface PredictiveMetricsClient

An instance of this class provides access to all the operations defined in PredictiveMetricsClient.

Method Summary

Modifier and Type Method and Description
abstract PredictiveResponseInner get(String resourceGroupName, String autoscaleSettingName, String timespan, Duration interval, String metricNamespace, String metricName, String aggregation)

get predictive autoscale metric future data.

abstract Mono<PredictiveResponseInner> getAsync(String resourceGroupName, String autoscaleSettingName, String timespan, Duration interval, String metricNamespace, String metricName, String aggregation)

get predictive autoscale metric future data.

abstract Response<PredictiveResponseInner> getWithResponse(String resourceGroupName, String autoscaleSettingName, String timespan, Duration interval, String metricNamespace, String metricName, String aggregation, Context context)

get predictive autoscale metric future data.

abstract Mono<Response<PredictiveResponseInner>> getWithResponseAsync(String resourceGroupName, String autoscaleSettingName, String timespan, Duration interval, String metricNamespace, String metricName, String aggregation)

get predictive autoscale metric future data.

Method Details

get

public abstract PredictiveResponseInner get(String resourceGroupName, String autoscaleSettingName, String timespan, Duration interval, String metricNamespace, String metricName, String aggregation)

get predictive autoscale metric future data.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
autoscaleSettingName - The autoscale setting name.
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.
metricNamespace - Metric namespace to query metric definitions for.
metricName - The names of the metrics (comma separated) to retrieve. Special case: If a metricname itself has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be 'Metric%2Name1'.
aggregation - The list of aggregation types (comma separated) to retrieve.

Returns:

predictive autoscale metric future data.

getAsync

public abstract Mono getAsync(String resourceGroupName, String autoscaleSettingName, String timespan, Duration interval, String metricNamespace, String metricName, String aggregation)

get predictive autoscale metric future data.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
autoscaleSettingName - The autoscale setting name.
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.
metricNamespace - Metric namespace to query metric definitions for.
metricName - The names of the metrics (comma separated) to retrieve. Special case: If a metricname itself has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be 'Metric%2Name1'.
aggregation - The list of aggregation types (comma separated) to retrieve.

Returns:

predictive autoscale metric future data on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String autoscaleSettingName, String timespan, Duration interval, String metricNamespace, String metricName, String aggregation, Context context)

get predictive autoscale metric future data.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
autoscaleSettingName - The autoscale setting name.
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.
metricNamespace - Metric namespace to query metric definitions for.
metricName - The names of the metrics (comma separated) to retrieve. Special case: If a metricname itself has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be 'Metric%2Name1'.
aggregation - The list of aggregation types (comma separated) to retrieve.
context - The context to associate with this operation.

Returns:

predictive autoscale metric future data along with Response<T>.

getWithResponseAsync

public abstract Mono<>> getWithResponseAsync(String resourceGroupName, String autoscaleSettingName, String timespan, Duration interval, String metricNamespace, String metricName, String aggregation)

get predictive autoscale metric future data.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
autoscaleSettingName - The autoscale setting name.
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.
metricNamespace - Metric namespace to query metric definitions for.
metricName - The names of the metrics (comma separated) to retrieve. Special case: If a metricname itself has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be 'Metric%2Name1'.
aggregation - The list of aggregation types (comma separated) to retrieve.

Returns:

predictive autoscale metric future data along with Response<T> on successful completion of Mono.

Applies to