Class NetworkConfigurationDiagnosticProfile
java.lang.Object
com.microsoft.azure.management.network.NetworkConfigurationDiagnosticProfile
Parameters to compare with network configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet traffic destination.Get traffic destination port.Get the direction of the traffic.protocol()
Get protocol to be verified on.source()
Get traffic source.withDestination
(String destination) Set traffic destination.withDestinationPort
(String destinationPort) Set traffic destination port.withDirection
(Direction direction) Set the direction of the traffic.withProtocol
(String protocol) Set protocol to be verified on.withSource
(String source) Set traffic source.
-
Constructor Details
-
NetworkConfigurationDiagnosticProfile
public NetworkConfigurationDiagnosticProfile()
-
-
Method Details
-
direction
Get the direction of the traffic. Possible values include: 'Inbound', 'Outbound'.- Returns:
- the direction value
-
withDirection
Set the direction of the traffic. Possible values include: 'Inbound', 'Outbound'.- Parameters:
direction
- the direction value to set- Returns:
- the NetworkConfigurationDiagnosticProfile object itself.
-
protocol
Get protocol to be verified on. Accepted values are '*', TCP, UDP.- Returns:
- the protocol value
-
withProtocol
Set protocol to be verified on. Accepted values are '*', TCP, UDP.- Parameters:
protocol
- the protocol value to set- Returns:
- the NetworkConfigurationDiagnosticProfile object itself.
-
source
Get traffic source. Accepted values are '*', IP Address/CIDR, Service Tag.- Returns:
- the source value
-
withSource
Set traffic source. Accepted values are '*', IP Address/CIDR, Service Tag.- Parameters:
source
- the source value to set- Returns:
- the NetworkConfigurationDiagnosticProfile object itself.
-
destination
Get traffic destination. Accepted values are: '*', IP Address/CIDR, Service Tag.- Returns:
- the destination value
-
withDestination
Set traffic destination. Accepted values are: '*', IP Address/CIDR, Service Tag.- Parameters:
destination
- the destination value to set- Returns:
- the NetworkConfigurationDiagnosticProfile object itself.
-
destinationPort
Get traffic destination port. Accepted values are '*' and a single port in the range (0 - 65535).- Returns:
- the destinationPort value
-
withDestinationPort
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.
-