### YamlMime:JavaType
uid: "com.microsoft.azure.management.network.model.HasNetworkInterfaces"
fullName: "com.microsoft.azure.management.network.model.HasNetworkInterfaces"
name: "HasNetworkInterfaces"
nameWithType: "HasNetworkInterfaces"
summary: "Interface exposing a list of network interfaces."
syntax: "public interface **HasNetworkInterfaces** extends "
methods:
- uid: "com.microsoft.azure.management.network.model.HasNetworkInterfaces.getPrimaryNetworkInterface()"
fullName: "com.microsoft.azure.management.network.model.HasNetworkInterfaces.getPrimaryNetworkInterface()"
name: "getPrimaryNetworkInterface()"
nameWithType: "HasNetworkInterfaces.getPrimaryNetworkInterface()"
summary: "Gets the primary network interface."
modifiers:
- "abstract"
syntax: "public abstract NetworkInterface getPrimaryNetworkInterface()"
desc: "Gets the primary network interface.\n\nNote that this method can result in a call to the cloud to fetch the network interface information."
returns:
description: "the primary network interface associated with this resource"
type: ""
- uid: "com.microsoft.azure.management.network.model.HasNetworkInterfaces.networkInterfaceIds()"
fullName: "com.microsoft.azure.management.network.model.HasNetworkInterfaces.networkInterfaceIds()"
name: "networkInterfaceIds()"
nameWithType: "HasNetworkInterfaces.networkInterfaceIds()"
modifiers:
- "abstract"
syntax: "public abstract List networkInterfaceIds()"
returns:
description: "the list of resource IDs of the network interfaces associated with this resource"
type: "<>"
- uid: "com.microsoft.azure.management.network.model.HasNetworkInterfaces.primaryNetworkInterfaceId()"
fullName: "com.microsoft.azure.management.network.model.HasNetworkInterfaces.primaryNetworkInterfaceId()"
name: "primaryNetworkInterfaceId()"
nameWithType: "HasNetworkInterfaces.primaryNetworkInterfaceId()"
modifiers:
- "abstract"
syntax: "public abstract String primaryNetworkInterfaceId()"
returns:
description: "the resource id of the primary network interface associated with this resource"
type: ""
type: "interface"
desc: "Interface exposing a list of network interfaces."
implements:
- ""
metadata: {}
package: "com.microsoft.azure.management.network.model"
artifact: com.microsoft.azure:azure-mgmt-network:1.41.4