DiagnosticOperationResult Class

Result of an individual diagnostic operation run by a connection analyzer.

Constructor

DiagnosticOperationResult(*args: Any, **kwargs: Any)

Variables

Name Description
diagnostic_operation

The diagnostic operation that was run. Required. Known values are: "NextHop", "NSG", "PortScan", "ConnectivityCheck", and "ExpressRouteDiagnostic".

error
str

Error encountered while running the diagnostic operation, if any.

result
str

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.

Attributes

diagnostic_operation

"NextHop", "NSG", "PortScan", "ConnectivityCheck", and "ExpressRouteDiagnostic".

diagnostic_operation: str | _models.DiagnosticOperation

error

Error encountered while running the diagnostic operation, if any.

error: str | None

result

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.

result: str | None