Dela via


MetricsAdvisorAdministrationClient.DeleteDataFeedAsync Method

Definition

Deletes an existing DataFeed.

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

Parameters

dataFeedId
String

The unique identifier of the DataFeed to be deleted.

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