NetworkInterfaceAssociation Class

  • java.lang.Object
    • com.microsoft.azure.management.network.NetworkInterfaceAssociation

public class NetworkInterfaceAssociation

Network interface and its custom security rules.

Constructor Summary

Constructor Description
NetworkInterfaceAssociation()

Method Summary

Modifier and Type Method and Description
java.lang.String id()

Get network interface ID.

java.util.List<com.microsoft.azure.management.network.implementation.SecurityRuleInner> securityRules()

Get collection of custom security rules.

NetworkInterfaceAssociation withSecurityRules(List<SecurityRuleInner> securityRules)

Set collection of custom security rules.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

NetworkInterfaceAssociation

public NetworkInterfaceAssociation()

Method Details

id

public String id()

Get network interface ID.

Returns:

the id value

securityRules

public List securityRules()

Get collection of custom security rules.

Returns:

the securityRules value

withSecurityRules

public NetworkInterfaceAssociation withSecurityRules(List securityRules)

Set collection of custom security rules.

Parameters:

securityRules - the securityRules value to set

Returns:

the NetworkInterfaceAssociation object itself.

Applies to