Share via


MetricsAdvisorAdministrationClient.RefreshDataFeedIngestionAsync Method

Definition

Resets the data ingestion status for a given data feed to back-fill data. This can be useful to fix a failed ingestion or override the existing data. Anomaly detection is re-triggered on selected range only.

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

Parameters

dataFeedId
String

The unique identifier of the DataFeed.

startsOn
DateTimeOffset

The inclusive data back-fill time range.

endsOn
DateTimeOffset

The exclusive data back-fill time range.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A Response containing the result of the operation.

Exceptions

dataFeedId is null.

dataFeedId is empty or not a valid GUID.

Applies to