Class ConnectivityParameters
java.lang.Object
com.microsoft.azure.management.network.ConnectivityParameters
Parameters that determine how the connectivity check will be performed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the destination of connection.Get preferred IP version of the connection.protocol()
Get network protocol.Get configuration of the protocol.source()
Get the source of the connection.withDestination
(ConnectivityDestination destination) Set the destination of connection.withPreferredIPVersion
(IPVersion preferredIPVersion) Set preferred IP version of the connection.withProtocol
(Protocol protocol) Set network protocol.withProtocolConfiguration
(ProtocolConfiguration protocolConfiguration) Set configuration of the protocol.withSource
(ConnectivitySource source) Set the source of the connection.
-
Constructor Details
-
ConnectivityParameters
public ConnectivityParameters()
-
-
Method Details
-
source
Get the source of the connection.- Returns:
- the source value
-
withSource
Set the source of the connection.- Parameters:
source
- the source value to set- Returns:
- the ConnectivityParameters object itself.
-
destination
Get the destination of connection.- Returns:
- the destination value
-
withDestination
Set the destination of connection.- Parameters:
destination
- the destination value to set- Returns:
- the ConnectivityParameters object itself.
-
protocol
Get network protocol. Possible values include: 'Tcp', 'Http', 'Https', 'Icmp'.- Returns:
- the protocol value
-
withProtocol
Set network protocol. Possible values include: 'Tcp', 'Http', 'Https', 'Icmp'.- Parameters:
protocol
- the protocol value to set- Returns:
- the ConnectivityParameters object itself.
-
protocolConfiguration
Get configuration of the protocol.- Returns:
- the protocolConfiguration value
-
withProtocolConfiguration
public ConnectivityParameters withProtocolConfiguration(ProtocolConfiguration protocolConfiguration) Set configuration of the protocol.- Parameters:
protocolConfiguration
- the protocolConfiguration value to set- Returns:
- the ConnectivityParameters object itself.
-
preferredIPVersion
Get preferred IP version of the connection. Possible values include: 'IPv4', 'IPv6'.- Returns:
- the preferredIPVersion value
-
withPreferredIPVersion
Set preferred IP version of the connection. Possible values include: 'IPv4', 'IPv6'.- Parameters:
preferredIPVersion
- the preferredIPVersion value to set- Returns:
- the ConnectivityParameters object itself.
-