MetricsAdvisorAdministrationClient.CreateDataFeed 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.
Creates a DataFeed and assigns it a unique ID.
public virtual Azure.Response<Azure.AI.MetricsAdvisor.Models.DataFeed> CreateDataFeed (Azure.AI.MetricsAdvisor.Models.DataFeed dataFeed, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateDataFeed : Azure.AI.MetricsAdvisor.Models.DataFeed * System.Threading.CancellationToken -> Azure.Response<Azure.AI.MetricsAdvisor.Models.DataFeed>
override this.CreateDataFeed : Azure.AI.MetricsAdvisor.Models.DataFeed * System.Threading.CancellationToken -> Azure.Response<Azure.AI.MetricsAdvisor.Models.DataFeed>
Public Overridable Function CreateDataFeed (dataFeed As DataFeed, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataFeed)
Parameters
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
A Response<T> containing the result of the operation. The result is a DataFeed instance containing information about the created data feed.
Exceptions
dataFeed
, dataFeed
.Name, dataFeed
.DataSource, dataFeed
.Granularity, dataFeed
.Schema, or dataFeed
.IngestionSettings is null.
dataFeed
.Name is empty.
Applies to
Azure SDK for .NET