DiagnosticOperationResult interface

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

Properties

diagnosticOperation

The diagnostic operation that was run.

error

Error encountered while running the diagnostic operation, if any.

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.

Property Details

diagnosticOperation

The diagnostic operation that was run.

diagnosticOperation: string

Property Value

string

error

Error encountered while running the diagnostic operation, if any.

error?: string

Property Value

string

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?: string

Property Value

string