MetricsAdvisorClient.GetAllFeedback Method

Definition

Gets a collection of MetricFeedback related to the given metric.

public virtual Azure.Pageable<Azure.AI.MetricsAdvisor.MetricFeedback> GetAllFeedback (string metricId, Azure.AI.MetricsAdvisor.GetAllFeedbackOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllFeedback : string * Azure.AI.MetricsAdvisor.GetAllFeedbackOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.MetricFeedback>
override this.GetAllFeedback : string * Azure.AI.MetricsAdvisor.GetAllFeedbackOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.MetricFeedback>
Public Overridable Function GetAllFeedback (metricId As String, Optional options As GetAllFeedbackOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MetricFeedback)

Parameters

metricId
String

The ID of the metric.

options
GetAllFeedbackOptions

The optional GetAllFeedbackOptions containing the options to apply to the request.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A Pageable<T> containing the collection of MetricFeedback.

Exceptions

metricId is null.

metricId is empty or not a valid GUID.

Applies to