Interface PredictiveMetricsClient


public interface PredictiveMetricsClient
An instance of this class provides access to all the operations defined in PredictiveMetricsClient.
  • Method Details

    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<PredictiveResponseInner>> 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 on successful completion of Mono.
      Throws:
      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.
    • getAsync

      Mono<PredictiveResponseInner> 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.
      Throws:
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<PredictiveResponseInner> getWithResponse(String resourceGroupName, String autoscaleSettingName, String timespan, Duration interval, String metricNamespace, String metricName, String aggregation, com.azure.core.util.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.
      Throws:
      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.
    • get

      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.
      Throws:
      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.