ArmAppServiceModelFactory.DiagnosticAnalysis Method

Definition

Initializes a new instance of DiagnosticAnalysis.

public static Azure.ResourceManager.AppService.Models.DiagnosticAnalysis DiagnosticAnalysis (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, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.AbnormalTimePeriod> abnormalTimePeriods = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.AnalysisDetectorEvidences> payload = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.DetectorDefinition> nonCorrelatedDetectors = default, string kind = default);
static member DiagnosticAnalysis : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.AppService.Models.AbnormalTimePeriod> * seq<Azure.ResourceManager.AppService.Models.AnalysisDetectorEvidences> * seq<Azure.ResourceManager.AppService.Models.DetectorDefinition> * string -> Azure.ResourceManager.AppService.Models.DiagnosticAnalysis
Public Shared Function DiagnosticAnalysis (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 abnormalTimePeriods As IEnumerable(Of AbnormalTimePeriod) = Nothing, Optional payload As IEnumerable(Of AnalysisDetectorEvidences) = Nothing, Optional nonCorrelatedDetectors As IEnumerable(Of DetectorDefinition) = Nothing, Optional kind As String = Nothing) As DiagnosticAnalysis

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.

abnormalTimePeriods
IEnumerable<AbnormalTimePeriod>

List of time periods.

payload
IEnumerable<AnalysisDetectorEvidences>

Data by each detector.

nonCorrelatedDetectors
IEnumerable<DetectorDefinition>

Data by each detector for detectors that did not corelate.

kind
String

Kind of resource.

Returns

A new DiagnosticAnalysis instance for mocking.

Applies to