-
Method Summary
Gets applied DNS servers.
Gets IP addresses of this network interface's DNS servers.
Gets the network security group associated this network interface.
Gets the Internal DNS name assigned to this network interface.
Gets the internal domain name suffix.
Gets the fully qualified domain name of this network interface.
boolean
Checks whether accelerated networking is enabled for this network interface.
boolean
Checks whether IP forwarding is enabled in this network interface.
Gets the MAC Address of the network interface.
Gets the network security group resource id associated with this network interface.
Gets the private IP address allocated to this network interface's primary IP configuration.
Gets the private IP allocation method (Dynamic, Static) of this network interface's primary IP configuration.
Gets the resource ID of the associated virtual machine.
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
-
Method Details
-
isAcceleratedNetworkingEnabled
boolean isAcceleratedNetworkingEnabled()
Checks whether accelerated networking is enabled for this network interface.
- Returns:
- true if accelerated networking is enabled for this network interface
-
isIPForwardingEnabled
boolean isIPForwardingEnabled()
Checks whether IP forwarding is enabled in this network interface.
- Returns:
- true if IP forwarding is enabled in this network interface
-
macAddress
Gets the MAC Address of the network interface.
- Returns:
- the MAC Address of the network interface
-
internalDnsNameLabel
Gets the Internal DNS name assigned to this network interface.
- Returns:
- the Internal DNS name assigned to this network interface
-
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()
Gets the internal domain name suffix.
- Returns:
- the internal domain name suffix
-
dnsServers
Gets IP addresses of this network interface's DNS servers.
- Returns:
- IP addresses of this network interface's DNS servers
-
appliedDnsServers
Gets applied DNS servers.
- Returns:
- applied DNS servers
-
networkSecurityGroupId
String networkSecurityGroupId()
Gets the network security group resource id associated with this network interface.
- Returns:
- the network security group resource id associated with this network interface
-
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
Gets the resource ID of the associated virtual machine.
- Returns:
- the resource ID of the associated virtual machine, or null if none.
-
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
Gets the private IP allocation method (Dynamic, Static) of this network interface's primary IP configuration.
- Returns:
- the private IP allocation method (Dynamic, Static) of this network interface's primary IP configuration.