Delen via


MetricsAdvisorModelFactory.DataFeed Method

Definition

Initializes a new instance of DataFeed for mocking purposes.

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

Parameters

id
String

Sets the Id property.

status
Nullable<DataFeedStatus>

Sets the Status property.

createdOn
Nullable<DateTimeOffset>

Sets the CreatedOn property.

creator
String

Sets the Creator property.

isAdministrator
Nullable<Boolean>

Sets the IsAdministrator property.

metricIds
IReadOnlyDictionary<String,String>

Sets the MetricIds property.

name
String

Sets the Name property.

dataSource
DataFeedSource

Sets the DataSource property.

schema
DataFeedSchema

Sets the Schema property.

granularity
DataFeedGranularity

Sets the Granularity property.

ingestionSettings
DataFeedIngestionSettings

Sets the IngestionSettings property.

description
String

Sets the Description property.

actionLinkTemplate
String

Sets the ActionLinkTemplate property.

accessMode
Nullable<DataFeedAccessMode>

Sets the AccessMode property.

rollupSettings
DataFeedRollupSettings

Sets the RollupSettings property.

missingDataPointFillSettings
DataFeedMissingDataPointFillSettings

Sets the MissingDataPointFillSettings property.

administrators
IEnumerable<String>

Sets the Administrators property.

viewers
IEnumerable<String>

Sets the Viewers property.

Returns

A new instance of AnomalyIncident for mocking purposes.

Applies to