NetworkInterfaceBase Interface

Implements

HasManager<com.microsoft.azure.management.network.implementation.NetworkManager> HasInner<com.microsoft.azure.management.network.implementation.NetworkInterfaceInner>

public interface NetworkInterfaceBase
extends HasManager<com.microsoft.azure.management.network.implementation.NetworkManager>, HasInner<com.microsoft.azure.management.network.implementation.NetworkInterfaceInner>

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

Method Summary

Modifier and Type Method and Description
abstract java.util.List<java.lang.String> appliedDnsServers()
abstract java.util.List<java.lang.String> dnsServers()
abstract NetworkSecurityGroup getNetworkSecurityGroup()

Gets the network security group associated this network interface.

abstract java.lang.String internalDnsNameLabel()
abstract java.lang.String internalDomainNameSuffix()
abstract java.lang.String internalFqdn()

Gets the fully qualified domain name of this network interface.

abstract boolean isAcceleratedNetworkingEnabled()
abstract boolean isIPForwardingEnabled()
abstract java.lang.String macAddress()
abstract java.lang.String networkSecurityGroupId()
abstract java.lang.String primaryPrivateIP()

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

abstract IPAllocationMethod primaryPrivateIPAllocationMethod()
abstract java.lang.String virtualMachineId()

Method Details

appliedDnsServers

public abstract List appliedDnsServers()

Returns:

applied DNS servers

dnsServers

public abstract List dnsServers()

Returns:

IP addresses of this network interface's DNS servers

getNetworkSecurityGroup

public abstract 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 abstract String internalDnsNameLabel()

Returns:

the Internal DNS name assigned to this network interface

internalDomainNameSuffix

public abstract String internalDomainNameSuffix()

Returns:

the internal domain name suffix

internalFqdn

public abstract 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 abstract boolean isAcceleratedNetworkingEnabled()

Returns:

true if accelerated networking is enabled for this network interface

isIPForwardingEnabled

public abstract boolean isIPForwardingEnabled()

Returns:

true if IP forwarding is enabled in this network interface

macAddress

public abstract String macAddress()

Returns:

the MAC Address of the network interface

networkSecurityGroupId

public abstract String networkSecurityGroupId()

Returns:

the network security group resource id associated with this network interface

primaryPrivateIP

public abstract 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 abstract IPAllocationMethod primaryPrivateIPAllocationMethod()

Returns:

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

virtualMachineId

public abstract String virtualMachineId()

Returns:

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

Applies to