NetworkConfigurationDiagnosticProfile Class

  • java.lang.Object
    • com.microsoft.azure.management.network.NetworkConfigurationDiagnosticProfile

public class NetworkConfigurationDiagnosticProfile

Parameters to compare with network configuration.

Constructor Summary

Constructor Description
NetworkConfigurationDiagnosticProfile()

Method Summary

Modifier and Type Method and Description
java.lang.String destination()

Get traffic destination.

java.lang.String destinationPort()

Get traffic destination port.

Direction direction()

Get the direction of the traffic.

java.lang.String protocol()

Get protocol to be verified on.

java.lang.String source()

Get traffic source.

NetworkConfigurationDiagnosticProfile withDestination(String destination)

Set traffic destination.

NetworkConfigurationDiagnosticProfile withDestinationPort(String destinationPort)

Set traffic destination port.

NetworkConfigurationDiagnosticProfile withDirection(Direction direction)

Set the direction of the traffic.

NetworkConfigurationDiagnosticProfile withProtocol(String protocol)

Set protocol to be verified on.

NetworkConfigurationDiagnosticProfile withSource(String source)

Set traffic source.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

NetworkConfigurationDiagnosticProfile

public NetworkConfigurationDiagnosticProfile()

Method Details

destination

public String destination()

Get traffic destination. Accepted values are: '*', IP Address/CIDR, Service Tag.

Returns:

the destination value

destinationPort

public String destinationPort()

Get traffic destination port. Accepted values are '*' and a single port in the range (0 - 65535).

Returns:

the destinationPort value

direction

public Direction direction()

Get the direction of the traffic. Possible values include: 'Inbound', 'Outbound'.

Returns:

the direction value

protocol

public String protocol()

Get protocol to be verified on. Accepted values are '*', TCP, UDP.

Returns:

the protocol value

source

public String source()

Get traffic source. Accepted values are '*', IP Address/CIDR, Service Tag.

Returns:

the source value

withDestination

public NetworkConfigurationDiagnosticProfile withDestination(String destination)

Set traffic destination. Accepted values are: '*', IP Address/CIDR, Service Tag.

Parameters:

destination - the destination value to set

Returns:

the NetworkConfigurationDiagnosticProfile object itself.

withDestinationPort

public NetworkConfigurationDiagnosticProfile withDestinationPort(String destinationPort)

Set traffic destination port. Accepted values are '*' and a single port in the range (0 - 65535).

Parameters:

destinationPort - the destinationPort value to set

Returns:

the NetworkConfigurationDiagnosticProfile object itself.

withDirection

public NetworkConfigurationDiagnosticProfile withDirection(Direction direction)

Set the direction of the traffic. Possible values include: 'Inbound', 'Outbound'.

Parameters:

direction - the direction value to set

Returns:

the NetworkConfigurationDiagnosticProfile object itself.

withProtocol

public NetworkConfigurationDiagnosticProfile withProtocol(String protocol)

Set protocol to be verified on. Accepted values are '*', TCP, UDP.

Parameters:

protocol - the protocol value to set

Returns:

the NetworkConfigurationDiagnosticProfile object itself.

withSource

public NetworkConfigurationDiagnosticProfile withSource(String source)

Set traffic source. Accepted values are '*', IP Address/CIDR, Service Tag.

Parameters:

source - the source value to set

Returns:

the NetworkConfigurationDiagnosticProfile object itself.

Applies to