Class ConnectivitySource
java.lang.Object
com.microsoft.azure.management.network.ConnectivitySource
Parameters that define the source of the connection.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionport()
Get the source port from which a connectivity check will be performed.Get the ID of the resource from which a connectivity check will be initiated.Set the source port from which a connectivity check will be performed.withResourceId
(String resourceId) Set the ID of the resource from which a connectivity check will be initiated.
-
Constructor Details
-
ConnectivitySource
public ConnectivitySource()
-
-
Method Details
-
resourceId
Get the ID of the resource from which a connectivity check will be initiated.- Returns:
- the resourceId value
-
withResourceId
Set the ID of the resource from which a connectivity check will be initiated.- Parameters:
resourceId
- the resourceId value to set- Returns:
- the ConnectivitySource object itself.
-
port
Get the source port from which a connectivity check will be performed.- Returns:
- the port value
-
withPort
Set the source port from which a connectivity check will be performed.- Parameters:
port
- the port value to set- Returns:
- the ConnectivitySource object itself.
-