Interface HasNetworkInterfaces
-
- All Superinterfaces:
com.microsoft.azure.management.resources.fluentcore.arm.models.HasId
public interface HasNetworkInterfaces extends com.microsoft.azure.management.resources.fluentcore.arm.models.HasIdInterface exposing a list of network interfaces.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkInterfacegetPrimaryNetworkInterface()Gets the primary network interface.List<String>networkInterfaceIds()StringprimaryNetworkInterfaceId()
-
-
-
Method Detail
-
getPrimaryNetworkInterface
NetworkInterface getPrimaryNetworkInterface()
Gets the primary network interface.Note that this method can result in a call to the cloud to fetch the network interface information.
- Returns:
- the primary network interface associated with this resource
-
primaryNetworkInterfaceId
String primaryNetworkInterfaceId()
- Returns:
- the resource id of the primary network interface associated with this resource
-
-