Sdílet prostřednictvím


ArmNetworkModelFactory.TroubleshootingResult Method

Definition

Initializes a new instance of TroubleshootingResult.

public static Azure.ResourceManager.Network.Models.TroubleshootingResult TroubleshootingResult (DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, string code = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.TroubleshootingDetails> results = default);
static member TroubleshootingResult : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * seq<Azure.ResourceManager.Network.Models.TroubleshootingDetails> -> Azure.ResourceManager.Network.Models.TroubleshootingResult
Public Shared Function TroubleshootingResult (Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional code As String = Nothing, Optional results As IEnumerable(Of TroubleshootingDetails) = Nothing) As TroubleshootingResult

Parameters

startOn
Nullable<DateTimeOffset>

The start time of the troubleshooting.

endOn
Nullable<DateTimeOffset>

The end time of the troubleshooting.

code
String

The result code of the troubleshooting.

results
IEnumerable<TroubleshootingDetails>

Information from troubleshooting.

Returns

A new TroubleshootingResult instance for mocking.

Applies to