Share via


MetricsAdvisorClient.GetAllFeedbackAsync Method

Definition

Gets a collection of MetricFeedback related to the given metric.

public virtual Azure.AsyncPageable<Azure.AI.MetricsAdvisor.MetricFeedback> GetAllFeedbackAsync (string metricId, Azure.AI.MetricsAdvisor.GetAllFeedbackOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllFeedbackAsync : string * Azure.AI.MetricsAdvisor.GetAllFeedbackOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.MetricsAdvisor.MetricFeedback>
override this.GetAllFeedbackAsync : string * Azure.AI.MetricsAdvisor.GetAllFeedbackOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.MetricsAdvisor.MetricFeedback>
Public Overridable Function GetAllFeedbackAsync (metricId As String, Optional options As GetAllFeedbackOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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

An AsyncPageable<T> containing the collection of MetricFeedback.

Exceptions

metricId is null.

metricId is empty or not a valid GUID.

Applies to