Delen via


NetworkInterface Interface

Implements

public interface NetworkInterface
extends NetworkInterfaceBase, GroupableResource<NetworkManager,NetworkInterfaceInner>, Refreshable<NetworkInterface>, Updatable<Update>, UpdatableWithTags<NetworkInterface>

Network interface.

Method Summary

Modifier and Type Method and Description
abstract Map<String,NicIpConfiguration> ipConfigurations()

Gets the IP configurations of this network interface.

abstract NicIpConfiguration primaryIPConfiguration()

Gets the primary IP configuration of this network interface.

Method Details

ipConfigurations

public abstract Map ipConfigurations()

Gets the IP configurations of this network interface.

Returns:

the IP configurations of this network interface, indexed by their names.

primaryIPConfiguration

public abstract NicIpConfiguration primaryIPConfiguration()

Gets the primary IP configuration of this network interface.

Returns:

the primary IP configuration of this network interface

Applies to