DiagnosticOperation Class

public final class DiagnosticOperation
extends ExpandableStringEnum<DiagnosticOperation>

The type of diagnostic operation to run on a connection analyzer.

Field Summary

Modifier and Type Field and Description
static final DiagnosticOperation CONNECTIVITY_CHECK

Performs an end-to-end connectivity check between the source and destination.

static final DiagnosticOperation EXPRESS_ROUTE_DIAGNOSTIC

Runs Express Route specific diagnostics for the connection.

static final DiagnosticOperation NEXT_HOP

Determines the next hop for traffic from the source to the destination.

static final DiagnosticOperation NSG

Evaluates the network security group rules that apply to the traffic.

static final DiagnosticOperation PORT_SCAN

Scans the destination ports to determine their reachability.

Constructor Summary

Constructor Description
DiagnosticOperation()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DiagnosticOperation value.

Method Summary

Modifier and Type Method and Description
static DiagnosticOperation fromString(String name)

Creates or finds a DiagnosticOperation from its string representation.

static Collection<DiagnosticOperation> values()

Gets known DiagnosticOperation values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CONNECTIVITY_CHECK

public static final DiagnosticOperation CONNECTIVITY_CHECK

Performs an end-to-end connectivity check between the source and destination.

EXPRESS_ROUTE_DIAGNOSTIC

public static final DiagnosticOperation EXPRESS_ROUTE_DIAGNOSTIC

Runs Express Route specific diagnostics for the connection.

NEXT_HOP

public static final DiagnosticOperation NEXT_HOP

Determines the next hop for traffic from the source to the destination.

NSG

public static final DiagnosticOperation NSG

Evaluates the network security group rules that apply to the traffic.

PORT_SCAN

public static final DiagnosticOperation PORT_SCAN

Scans the destination ports to determine their reachability.

Constructor Details

DiagnosticOperation

@Deprecated
public DiagnosticOperation()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DiagnosticOperation value.

Method Details

fromString

public static DiagnosticOperation fromString(String name)

Creates or finds a DiagnosticOperation from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DiagnosticOperation.

values

public static Collection<DiagnosticOperation> values()

Gets known DiagnosticOperation values.

Returns:

known DiagnosticOperation values.

Applies to