MetricsAdvisorAdministrationClient.UpdateDataFeed 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.
Updates an existing DataFeed. In order to update your data feed, you cannot create a DataFeed directly from its constructor. You need to obtain an instance via GetDataFeedAsync(String, CancellationToken) or another CRUD operation and update it before calling this method.
public virtual Azure.Response<Azure.AI.MetricsAdvisor.Models.DataFeed> UpdateDataFeed (Azure.AI.MetricsAdvisor.Models.DataFeed dataFeed, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateDataFeed : Azure.AI.MetricsAdvisor.Models.DataFeed * System.Threading.CancellationToken -> Azure.Response<Azure.AI.MetricsAdvisor.Models.DataFeed>
override this.UpdateDataFeed : Azure.AI.MetricsAdvisor.Models.DataFeed * System.Threading.CancellationToken -> Azure.Response<Azure.AI.MetricsAdvisor.Models.DataFeed>
Public Overridable Function UpdateDataFeed (dataFeed As DataFeed, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataFeed)
Parameters
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
A Response containing the result of the operation.
Exceptions
dataFeed
or dataFeed
.Id is null.
Applies to
Azure SDK for .NET