Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MetricBaseline

Package version

Class representing a MetricBaseline.

Hierarchy

  • MetricBaseline

Index

Constructors

Methods

Constructors

constructor

Methods

calculateBaseline

  • Lists the baseline values for a resource.

    Parameters

    • resourceUri: 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

    • timeSeriesInformation: TimeSeriesInformation

      Information that need to be specified to calculate a baseline on a time series.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.MetricBaselineCalculateBaselineResponse>

    Promise<Models.MetricBaselineCalculateBaselineResponse>

  • Parameters

    • resourceUri: 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

    • timeSeriesInformation: TimeSeriesInformation

      Information that need to be specified to calculate a baseline on a time series.

    • callback: msRest.ServiceCallback<CalculateBaselineResponse>

      The callback

    Returns void

  • Parameters

    • resourceUri: 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

    • timeSeriesInformation: TimeSeriesInformation

      Information that need to be specified to calculate a baseline on a time series.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<CalculateBaselineResponse>

      The callback

    Returns void

get

  • get(resourceUri: string, metricName: string, options?: Models.MetricBaselineGetOptionalParams): Promise<Models.MetricBaselineGetResponse>
  • get(resourceUri: string, metricName: string, callback: msRest.ServiceCallback<BaselineResponse>): void
  • get(resourceUri: string, metricName: string, options: MetricBaselineGetOptionalParams, callback: msRest.ServiceCallback<BaselineResponse>): void
  • Gets the baseline values for a specific metric.

    Parameters

    • resourceUri: 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: string

      The name of the metric to retrieve the baseline for.

    • Optional options: Models.MetricBaselineGetOptionalParams

    Returns Promise<Models.MetricBaselineGetResponse>

    Promise<Models.MetricBaselineGetResponse>

  • Parameters

    • resourceUri: 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: string

      The name of the metric to retrieve the baseline for.

    • callback: msRest.ServiceCallback<BaselineResponse>

      The callback

    Returns void

  • Parameters

    • resourceUri: 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: string

      The name of the metric to retrieve the baseline for.

    • options: MetricBaselineGetOptionalParams

      The optional parameters

    • callback: msRest.ServiceCallback<BaselineResponse>

      The callback

    Returns void

Generated using TypeDoc