MetricsAdvisorAdministrationClient.RefreshDataFeedIngestionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
Azure SDK for .NET