NetworkInterfaceBase Interface
Implements
public interface NetworkInterfaceBase
extends HasManager<NetworkManager>, HasInnerModel<NetworkInterfaceInner>
The base network interface shared across regular and virtual machine scale set network interface.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract List<String> |
appliedDnsServers()
Gets applied DNS servers. |
abstract List<String> |
dnsServers()
Gets IP addresses of this network interface's DNS servers. |
abstract
Network |
getNetworkSecurityGroup()
Gets the network security group associated this network interface. |
abstract String |
internalDnsNameLabel()
Gets the Internal DNS name assigned to this network interface. |
abstract String |
internalDomainNameSuffix()
Gets the internal domain name suffix. |
abstract String |
internalFqdn()
Gets the fully qualified domain name of this network interface. |
abstract boolean |
isAcceleratedNetworkingEnabled()
Checks whether accelerated networking is enabled for this network interface. |
abstract boolean |
isIPForwardingEnabled()
Checks whether IP forwarding is enabled in this network interface. |
abstract String |
macAddress()
Gets the MAC Address of the network interface. |
abstract String |
networkSecurityGroupId()
Gets the network security group resource id associated with this network interface. |
abstract String |
primaryPrivateIP()
Gets the private IP address allocated to this network interface's primary IP configuration. |
abstract
Ip |
primaryPrivateIpAllocationMethod()
Gets the private IP allocation method (Dynamic, Static) of this network interface's primary IP configuration. |
abstract String |
virtualMachineId()
Gets the resource ID of the associated virtual machine. |
Method Details
appliedDnsServers
public abstract List
Gets applied DNS servers.
Returns:
dnsServers
public abstract List
Gets IP addresses of this network interface's DNS servers.
Returns:
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:
internalDnsNameLabel
public abstract String internalDnsNameLabel()
Gets the Internal DNS name assigned to this network interface.
Returns:
internalDomainNameSuffix
public abstract String internalDomainNameSuffix()
Gets the internal domain name suffix.
Returns:
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:
isAcceleratedNetworkingEnabled
public abstract boolean isAcceleratedNetworkingEnabled()
Checks whether accelerated networking is enabled for this network interface.
Returns:
isIPForwardingEnabled
public abstract boolean isIPForwardingEnabled()
Checks whether IP forwarding is enabled in this network interface.
Returns:
macAddress
public abstract String macAddress()
Gets the MAC Address of the network interface.
Returns:
networkSecurityGroupId
public abstract String networkSecurityGroupId()
Gets the network security group resource id associated with this network interface.
Returns:
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:
primaryPrivateIpAllocationMethod
public abstract IpAllocationMethod primaryPrivateIpAllocationMethod()
Gets the private IP allocation method (Dynamic, Static) of this network interface's primary IP configuration.
Returns:
virtualMachineId
public abstract String virtualMachineId()
Gets the resource ID of the associated virtual machine.
Returns:
Applies to
Azure SDK for Java