MetricsAdvisorClient.GetAllFeedback(String, GetAllFeedbackOptions, CancellationToken) 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
System.String

The ID of the metric.

options
GetAllFeedbackOptions

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

cancellationToken
System.Threading.CancellationToken

A System.Threading.CancellationToken controlling the request lifetime.

Returns

Pageable<MetricFeedback>

A Pageable<T> containing the collection of MetricFeedback.

Exceptions

System.ArgumentNullException

metricId is null.

System.ArgumentException

metricId is empty or not a valid GUID.

Applies to