Share via


MetricsAdvisorAdministrationClient.GetDataFeedIngestionProgressAsync Method

Definition

Gets the ingestion progress for data being ingested to a given data feed.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.MetricsAdvisor.Models.DataFeedIngestionProgress>> GetDataFeedIngestionProgressAsync (string dataFeedId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataFeedIngestionProgressAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.MetricsAdvisor.Models.DataFeedIngestionProgress>>
override this.GetDataFeedIngestionProgressAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.MetricsAdvisor.Models.DataFeedIngestionProgress>>
Public Overridable Function GetDataFeedIngestionProgressAsync (dataFeedId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataFeedIngestionProgress))

Parameters

dataFeedId
String

The unique identifier of the DataFeed.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A Response<T> containing the result of the operation. The result is a DataFeedIngestionProgress instance.

Exceptions

dataFeedId is null.

dataFeedId is empty or not a valid GUID.

Applies to