HasNetworkInterfaces Interface
Implements
public interface HasNetworkInterfaces
extends HasId
Interface exposing a list of network interfaces.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Network |
getPrimaryNetworkInterface()
Gets the primary network interface. |
abstract java.util.List<java.lang.String> | networkInterfaceIds() |
abstract java.lang.String | primaryNetworkInterfaceId() |
Method Details
getPrimaryNetworkInterface
public abstract 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
networkInterfaceIds
public abstract List
Returns:
the list of resource IDs of the network interfaces associated with this resource
primaryNetworkInterfaceId
public abstract String primaryNetworkInterfaceId()
Returns:
the resource id of the primary network interface associated with this resource
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Java