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() |
Network |
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. |
IPAllocation |
primaryPrivateIPAllocationMethod() |
String | virtualMachineId() |
Inherited Members
Method Details
appliedDnsServers
public List
Returns:
dnsServers
public List
Returns:
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:
internalDnsNameLabel
public String internalDnsNameLabel()
Returns:
internalDomainNameSuffix
public String internalDomainNameSuffix()
Returns:
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:
isAcceleratedNetworkingEnabled
public boolean isAcceleratedNetworkingEnabled()
Returns:
isIPForwardingEnabled
public boolean isIPForwardingEnabled()
Returns:
macAddress
public String macAddress()
Returns:
networkSecurityGroupId
public String networkSecurityGroupId()
Returns:
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:
primaryPrivateIPAllocationMethod
public IPAllocationMethod primaryPrivateIPAllocationMethod()
Returns:
virtualMachineId
public String virtualMachineId()
Returns:
Applies to
Azure SDK for Java