### YamlMime:JavaType
uid: "com.microsoft.azure.management.network.NetworkInterfaceAssociation"
fullName: "com.microsoft.azure.management.network.NetworkInterfaceAssociation"
name: "NetworkInterfaceAssociation"
nameWithType: "NetworkInterfaceAssociation"
summary: "Network interface and its custom security rules."
inheritances:
- ""
inheritedClassMethods:
- classRef: ""
methodsRef:
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
syntax: "public class **NetworkInterfaceAssociation**"
constructors:
- uid: "com.microsoft.azure.management.network.NetworkInterfaceAssociation.NetworkInterfaceAssociation()"
fullName: "com.microsoft.azure.management.network.NetworkInterfaceAssociation.NetworkInterfaceAssociation()"
name: "NetworkInterfaceAssociation()"
nameWithType: "NetworkInterfaceAssociation.NetworkInterfaceAssociation()"
syntax: "public NetworkInterfaceAssociation()"
methods:
- uid: "com.microsoft.azure.management.network.NetworkInterfaceAssociation.id()"
fullName: "com.microsoft.azure.management.network.NetworkInterfaceAssociation.id()"
name: "id()"
nameWithType: "NetworkInterfaceAssociation.id()"
summary: "Get network interface ID."
syntax: "public String id()"
desc: "Get network interface ID."
returns:
description: "the id value"
type: ""
- uid: "com.microsoft.azure.management.network.NetworkInterfaceAssociation.securityRules()"
fullName: "com.microsoft.azure.management.network.NetworkInterfaceAssociation.securityRules()"
name: "securityRules()"
nameWithType: "NetworkInterfaceAssociation.securityRules()"
summary: "Get collection of custom security rules."
syntax: "public List securityRules()"
desc: "Get collection of custom security rules."
returns:
description: "the securityRules value"
type: "<>"
- uid: "com.microsoft.azure.management.network.NetworkInterfaceAssociation.withSecurityRules(java.util.List)"
fullName: "com.microsoft.azure.management.network.NetworkInterfaceAssociation.withSecurityRules(List securityRules)"
name: "withSecurityRules(List securityRules)"
nameWithType: "NetworkInterfaceAssociation.withSecurityRules(List securityRules)"
summary: "Set collection of custom security rules."
parameters:
- description: "the securityRules value to set"
name: "securityRules"
type: "<>"
syntax: "public NetworkInterfaceAssociation withSecurityRules(List securityRules)"
desc: "Set collection of custom security rules."
returns:
description: "the NetworkInterfaceAssociation object itself."
type: ""
type: "class"
desc: "Network interface and its custom security rules."
metadata: {}
package: "com.microsoft.azure.management.network"
artifact: com.microsoft.azure:azure-mgmt-network:1.41.4