ArmAppServiceModelFactory.DiagnosticDetectorResponse 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.
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
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.
- detectorDefinition
- DetectorDefinition
Detector's definition.
- metrics
- IEnumerable<DiagnosticMetricSet>
Metrics provided by the detector.
- abnormalTimePeriods
- IEnumerable<DetectorAbnormalTimePeriod>
List of Correlated events found by the detector.
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
Azure SDK for .NET