ArmNetworkModelFactory.ConnectionAnalyzerDiagnosticOperationResult 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.
Result of an individual diagnostic operation run by a connection analyzer.
public static Azure.ResourceManager.Network.Models.ConnectionAnalyzerDiagnosticOperationResult ConnectionAnalyzerDiagnosticOperationResult(Azure.ResourceManager.Network.Models.ConnectionAnalyzerDiagnosticOperation diagnosticOperation = default, string error = default, string result = default);
static member ConnectionAnalyzerDiagnosticOperationResult : Azure.ResourceManager.Network.Models.ConnectionAnalyzerDiagnosticOperation * string * string -> Azure.ResourceManager.Network.Models.ConnectionAnalyzerDiagnosticOperationResult
Public Shared Function ConnectionAnalyzerDiagnosticOperationResult (Optional diagnosticOperation As ConnectionAnalyzerDiagnosticOperation = Nothing, Optional error As String = Nothing, Optional result As String = Nothing) As ConnectionAnalyzerDiagnosticOperationResult
Parameters
- diagnosticOperation
- ConnectionAnalyzerDiagnosticOperation
The diagnostic operation that was run.
- error
- String
Error encountered while running the diagnostic operation, if any.
- result
- String
The result of the diagnostic operation, serialized as a JSON string.
The payload shape varies by diagnosticOperation. For example, a
ConnectivityCheck operation returns a JSON object such as
{ "ConnectivityStatus": "Reachable" }. Consumers should parse this
string as JSON according to the corresponding diagnostic operation.
Returns
A new ConnectionAnalyzerDiagnosticOperationResult instance for mocking.