Udostępnij za pośrednictwem


ArmAppServiceModelFactory.DiagnosticDetectorResponse Method

Definition

Initializes a new instance of DiagnosticDetectorResponse.

public static Azure.ResourceManager.AppService.Models.DiagnosticDetectorResponse DiagnosticDetectorResponse (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, bool? issueDetected = default, Azure.ResourceManager.AppService.Models.DetectorDefinition detectorDefinition = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.DiagnosticMetricSet> metrics = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.DetectorAbnormalTimePeriod> abnormalTimePeriods = default, System.Collections.Generic.IEnumerable<System.Collections.Generic.IList<Azure.ResourceManager.AppService.Models.AppServiceNameValuePair>> data = default, Azure.ResourceManager.AppService.Models.DetectorDataSource dataSource = default, string kind = default);
static member DiagnosticDetectorResponse : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<bool> * Azure.ResourceManager.AppService.Models.DetectorDefinition * seq<Azure.ResourceManager.AppService.Models.DiagnosticMetricSet> * seq<Azure.ResourceManager.AppService.Models.DetectorAbnormalTimePeriod> * seq<System.Collections.Generic.IList<Azure.ResourceManager.AppService.Models.AppServiceNameValuePair>> * Azure.ResourceManager.AppService.Models.DetectorDataSource * string -> Azure.ResourceManager.AppService.Models.DiagnosticDetectorResponse
Public Shared Function DiagnosticDetectorResponse (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional issueDetected As Nullable(Of Boolean) = Nothing, Optional detectorDefinition As DetectorDefinition = Nothing, Optional metrics As IEnumerable(Of DiagnosticMetricSet) = Nothing, Optional abnormalTimePeriods As IEnumerable(Of DetectorAbnormalTimePeriod) = Nothing, Optional data As IEnumerable(Of IList(Of AppServiceNameValuePair)) = Nothing, Optional dataSource As DetectorDataSource = Nothing, Optional kind As String = Nothing) As DiagnosticDetectorResponse

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

startOn
Nullable<DateTimeOffset>

Start time of the period.

endOn
Nullable<DateTimeOffset>

End time of the period.

issueDetected
Nullable<Boolean>

Flag representing Issue was detected.

detectorDefinition
DetectorDefinition

Detector's definition.

metrics
IEnumerable<DiagnosticMetricSet>

Metrics provided by the detector.

abnormalTimePeriods
IEnumerable<DetectorAbnormalTimePeriod>

List of Correlated events found by the detector.

data
IEnumerable<IList<AppServiceNameValuePair>>

Additional Data that detector wants to send.

dataSource
DetectorDataSource

Meta Data.

kind
String

Kind of resource.

Returns

A new DiagnosticDetectorResponse instance for mocking.

Applies to