Class SecurityGroupNetworkInterface
java.lang.Object
com.microsoft.azure.management.network.SecurityGroupNetworkInterface
Network interface and all its associated security rules.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionid()Get iD of the network interface.Get all security rules associated with the network interface.Set iD of the network interface.withSecurityRuleAssociations(SecurityRuleAssociations securityRuleAssociations) Set all security rules associated with the network interface.
-
Constructor Details
-
SecurityGroupNetworkInterface
public SecurityGroupNetworkInterface()
-
-
Method Details
-
id
Get iD of the network interface.- Returns:
- the id value
-
withId
Set iD of the network interface.- Parameters:
id- the id value to set- Returns:
- the SecurityGroupNetworkInterface object itself.
-
securityRuleAssociations
Get all security rules associated with the network interface.- Returns:
- the securityRuleAssociations value
-
withSecurityRuleAssociations
public SecurityGroupNetworkInterface withSecurityRuleAssociations(SecurityRuleAssociations securityRuleAssociations) Set all security rules associated with the network interface.- Parameters:
securityRuleAssociations- the securityRuleAssociations value to set- Returns:
- the SecurityGroupNetworkInterface object itself.
-