NetworkConfigurationDiagnosticProfile Class
- java.
lang. Object - com.
microsoft. azure. management. network. NetworkConfigurationDiagnosticProfile
- com.
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. |
Network |
withDestination(String destination)
Set traffic destination. |
Network |
withDestinationPort(String destinationPort)
Set traffic destination port. |
Network |
withDirection(Direction direction)
Set the direction of the traffic. |
Network |
withProtocol(String protocol)
Set protocol to be verified on. |
Network |
withSource(String source)
Set traffic source. |
Methods inherited from java.lang.Object
Constructor Details
NetworkConfigurationDiagnosticProfile
public NetworkConfigurationDiagnosticProfile()
Method Details
destination
public String destination()
Get traffic destination. Accepted values are: '*', IP Address/CIDR, Service Tag.
Returns:
destinationPort
public String destinationPort()
Get traffic destination port. Accepted values are '*' and a single port in the range (0 - 65535).
Returns:
direction
public Direction direction()
Get the direction of the traffic. Possible values include: 'Inbound', 'Outbound'.
Returns:
protocol
public String protocol()
Get protocol to be verified on. Accepted values are '*', TCP, UDP.
Returns:
source
public String source()
Get traffic source. Accepted values are '*', IP Address/CIDR, Service Tag.
Returns:
withDestination
public NetworkConfigurationDiagnosticProfile withDestination(String destination)
Set traffic destination. Accepted values are: '*', IP Address/CIDR, Service Tag.
Parameters:
Returns:
withDestinationPort
public NetworkConfigurationDiagnosticProfile withDestinationPort(String destinationPort)
Set traffic destination port. Accepted values are '*' and a single port in the range (0 - 65535).
Parameters:
Returns:
withDirection
public NetworkConfigurationDiagnosticProfile withDirection(Direction direction)
Set the direction of the traffic. Possible values include: 'Inbound', 'Outbound'.
Parameters:
Returns:
withProtocol
public NetworkConfigurationDiagnosticProfile withProtocol(String protocol)
Set protocol to be verified on. Accepted values are '*', TCP, UDP.
Parameters:
Returns:
withSource
public NetworkConfigurationDiagnosticProfile withSource(String source)
Set traffic source. Accepted values are '*', IP Address/CIDR, Service Tag.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor