NetworkInterfaceBase Interface

public interface NetworkInterfaceBase extends HasManager,HasInner

The base network interface shared across regular and virtual machine scale set network interface.

Method Summary

Modifier and Type Method and Description
List<String> appliedDnsServers()
List<String> dnsServers()
NetworkSecurityGroup getNetworkSecurityGroup()

Gets the network security group associated this network interface.

This method makes a rest API call to fetch the Network Security Group resource.

String internalDnsNameLabel()
String internalDomainNameSuffix()
String internalFqdn()

Gets the fully qualified domain name of this network interface.

A network interface receives FQDN as a part of assigning it to a virtual machine.

boolean isAcceleratedNetworkingEnabled()
boolean isIPForwardingEnabled()
String macAddress()
String networkSecurityGroupId()
String primaryPrivateIP()

Gets the private IP address allocated to this network interface's primary IP configuration.

The private IP will be within the virtual network subnet of this network interface.

IPAllocationMethod primaryPrivateIPAllocationMethod()
String virtualMachineId()

Inherited Members

Method Details

appliedDnsServers

public List appliedDnsServers()

Returns:

applied DNS servers

dnsServers

public List dnsServers()

Returns:

IP addresses of this network interface's DNS servers

getNetworkSecurityGroup

public NetworkSecurityGroup getNetworkSecurityGroup()

Gets the network security group associated this network interface.

This method makes a rest API call to fetch the Network Security Group resource.

Returns:

the network security group associated with this network interface.

internalDnsNameLabel

public String internalDnsNameLabel()

Returns:

the Internal DNS name assigned to this network interface

internalDomainNameSuffix

public String internalDomainNameSuffix()

Returns:

the internal domain name suffix

internalFqdn

public String internalFqdn()

Gets the fully qualified domain name of this network interface.

A network interface receives FQDN as a part of assigning it to a virtual machine.

Returns:

the qualified domain name

isAcceleratedNetworkingEnabled

public boolean isAcceleratedNetworkingEnabled()

Returns:

true if accelerated networkin is enabled for this network interface

isIPForwardingEnabled

public boolean isIPForwardingEnabled()

Returns:

true if IP forwarding is enabled in this network interface

macAddress

public String macAddress()

Returns:

the MAC Address of the network interface

networkSecurityGroupId

public String networkSecurityGroupId()

Returns:

the network security group resource id associated with this network interface

primaryPrivateIP

public String primaryPrivateIP()

Gets the private IP address allocated to this network interface's primary IP configuration.

The private IP will be within the virtual network subnet of this network interface.

Returns:

the private IP addresses

primaryPrivateIPAllocationMethod

public IPAllocationMethod primaryPrivateIPAllocationMethod()

Returns:

the private IP allocation method (Dynamic, Static) of this network interface's primary IP configuration.

virtualMachineId

public String virtualMachineId()

Returns:

the resource ID of the associated virtual machine, or null if none.

Applies to