你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MetricsAdvisorModelFactory.DataFeed 方法

定义

初始化 的新实例 DataFeed 以进行模拟。

public static Azure.AI.MetricsAdvisor.Models.DataFeed DataFeed (string id = default, Azure.AI.MetricsAdvisor.Models.DataFeedStatus? status = default, DateTimeOffset? createdOn = default, string creator = default, bool? isAdministrator = default, System.Collections.Generic.IReadOnlyDictionary<string,string> metricIds = default, string name = default, Azure.AI.MetricsAdvisor.Administration.DataFeedSource dataSource = default, Azure.AI.MetricsAdvisor.Models.DataFeedSchema schema = default, Azure.AI.MetricsAdvisor.Models.DataFeedGranularity granularity = default, Azure.AI.MetricsAdvisor.Models.DataFeedIngestionSettings ingestionSettings = default, string description = default, string actionLinkTemplate = default, Azure.AI.MetricsAdvisor.Models.DataFeedAccessMode? accessMode = default, Azure.AI.MetricsAdvisor.Models.DataFeedRollupSettings rollupSettings = default, Azure.AI.MetricsAdvisor.Models.DataFeedMissingDataPointFillSettings missingDataPointFillSettings = default, System.Collections.Generic.IEnumerable<string> administrators = default, System.Collections.Generic.IEnumerable<string> viewers = default);
static member DataFeed : string * Nullable<Azure.AI.MetricsAdvisor.Models.DataFeedStatus> * Nullable<DateTimeOffset> * string * Nullable<bool> * System.Collections.Generic.IReadOnlyDictionary<string, string> * string * Azure.AI.MetricsAdvisor.Administration.DataFeedSource * Azure.AI.MetricsAdvisor.Models.DataFeedSchema * Azure.AI.MetricsAdvisor.Models.DataFeedGranularity * Azure.AI.MetricsAdvisor.Models.DataFeedIngestionSettings * string * string * Nullable<Azure.AI.MetricsAdvisor.Models.DataFeedAccessMode> * Azure.AI.MetricsAdvisor.Models.DataFeedRollupSettings * Azure.AI.MetricsAdvisor.Models.DataFeedMissingDataPointFillSettings * seq<string> * seq<string> -> Azure.AI.MetricsAdvisor.Models.DataFeed
Public Shared Function DataFeed (Optional id As String = Nothing, Optional status As Nullable(Of DataFeedStatus) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional creator As String = Nothing, Optional isAdministrator As Nullable(Of Boolean) = Nothing, Optional metricIds As IReadOnlyDictionary(Of String, String) = Nothing, Optional name As String = Nothing, Optional dataSource As DataFeedSource = Nothing, Optional schema As DataFeedSchema = Nothing, Optional granularity As DataFeedGranularity = Nothing, Optional ingestionSettings As DataFeedIngestionSettings = Nothing, Optional description As String = Nothing, Optional actionLinkTemplate As String = Nothing, Optional accessMode As Nullable(Of DataFeedAccessMode) = Nothing, Optional rollupSettings As DataFeedRollupSettings = Nothing, Optional missingDataPointFillSettings As DataFeedMissingDataPointFillSettings = Nothing, Optional administrators As IEnumerable(Of String) = Nothing, Optional viewers As IEnumerable(Of String) = Nothing) As DataFeed

参数

id
String

设置 Id 属性。

status
Nullable<DataFeedStatus>

设置 Status 属性。

createdOn
Nullable<DateTimeOffset>

设置 CreatedOn 属性。

creator
String

设置 Creator 属性。

isAdministrator
Nullable<Boolean>

设置 IsAdministrator 属性。

metricIds
IReadOnlyDictionary<String,String>

设置 MetricIds 属性。

name
String

设置 Name 属性。

dataSource
DataFeedSource

设置 DataSource 属性。

schema
DataFeedSchema

设置 Schema 属性。

granularity
DataFeedGranularity

设置 Granularity 属性。

ingestionSettings
DataFeedIngestionSettings

设置 IngestionSettings 属性。

description
String

设置 Description 属性。

actionLinkTemplate
String

设置 ActionLinkTemplate 属性。

accessMode
Nullable<DataFeedAccessMode>

设置 AccessMode 属性。

rollupSettings
DataFeedRollupSettings

设置 RollupSettings 属性。

missingDataPointFillSettings
DataFeedMissingDataPointFillSettings

设置 MissingDataPointFillSettings 属性。

administrators
IEnumerable<String>

设置 Administrators 属性。

viewers
IEnumerable<String>

设置 Viewers 属性。

返回

用于模拟目的的 的新实例 AnomalyIncident

适用于