Interface NetworkInterfaceBase
-
- All Superinterfaces:
HasInnerModel<NetworkInterfaceInner>,HasManager<NetworkManager>
- All Known Subinterfaces:
NetworkInterface,VirtualMachineScaleSetNetworkInterface
public interface NetworkInterfaceBase extends HasManager<NetworkManager>, HasInnerModel<NetworkInterfaceInner>
The base network interface shared across regular and virtual machine scale set network interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>appliedDnsServers()List<String>dnsServers()NetworkSecurityGroupgetNetworkSecurityGroup()Gets the network security group associated this network interface.StringinternalDnsNameLabel()StringinternalDomainNameSuffix()StringinternalFqdn()Gets the fully qualified domain name of this network interface.booleanisAcceleratedNetworkingEnabled()booleanisIPForwardingEnabled()StringmacAddress()StringnetworkSecurityGroupId()StringprimaryPrivateIP()Gets the private IP address allocated to this network interface's primary IP configuration.IpAllocationMethodprimaryPrivateIpAllocationMethod()StringvirtualMachineId()-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
-
-
-
-
Method Detail
-
isAcceleratedNetworkingEnabled
boolean isAcceleratedNetworkingEnabled()
- Returns:
- true if accelerated networking is enabled for this network interface
-
isIPForwardingEnabled
boolean isIPForwardingEnabled()
- Returns:
- true if IP forwarding is enabled in this network interface
-
macAddress
String macAddress()
- Returns:
- the MAC Address of the network interface
-
internalDnsNameLabel
String internalDnsNameLabel()
- Returns:
- the Internal DNS name assigned to this network interface
-
internalFqdn
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
-
internalDomainNameSuffix
String internalDomainNameSuffix()
- Returns:
- the internal domain name suffix
-
networkSecurityGroupId
String networkSecurityGroupId()
- Returns:
- the network security group resource id associated with this network interface
-
getNetworkSecurityGroup
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.
-
virtualMachineId
String virtualMachineId()
- Returns:
- the resource ID of the associated virtual machine, or null if none.
-
primaryPrivateIP
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
IpAllocationMethod primaryPrivateIpAllocationMethod()
- Returns:
- the private IP allocation method (Dynamic, Static) of this network interface's primary IP configuration.
-
-