SecurityGroupNetworkInterface Class
- java.
lang. Object - com.
microsoft. azure. management. network. SecurityGroupNetworkInterface
- com.
public class SecurityGroupNetworkInterface
Network interface and all its associated security rules.
Constructor Summary
Constructor | Description | |
---|---|---|
SecurityGroupNetworkInterface() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
id()
Get iD of the network interface. |
Security |
securityRuleAssociations()
Get all security rules associated with the network interface. |
Security |
withId(String id)
Set iD of the network interface. |
Security |
withSecurityRuleAssociations(SecurityRuleAssociations securityRuleAssociations)
Set all security rules associated with the network interface. |
Methods inherited from java.lang.Object
Constructor Details
SecurityGroupNetworkInterface
public SecurityGroupNetworkInterface()
Method Details
id
public String id()
Get iD of the network interface.
Returns:
securityRuleAssociations
public SecurityRuleAssociations securityRuleAssociations()
Get all security rules associated with the network interface.
Returns:
withId
public SecurityGroupNetworkInterface withId(String id)
Set iD of the network interface.
Parameters:
Returns:
withSecurityRuleAssociations
public SecurityGroupNetworkInterface withSecurityRuleAssociations(SecurityRuleAssociations securityRuleAssociations)
Set all security rules associated with the network interface.
Parameters:
Returns: