Interface NicIpConfigurationBase

All Superinterfaces:
HasPrivateIpAddress, HasSubnet
All Known Subinterfaces:
NicIpConfiguration, VirtualMachineScaleSetNicIpConfiguration

public interface NicIpConfigurationBase extends HasSubnet, HasPrivateIpAddress
The base IP configuration shared across IP configurations in regular and virtual machine scale set network interface.
  • Method Details

    • isPrimary

      boolean isPrimary()
      Checks whether this is the primary IP configuration.
      Returns:
      true if this is the primary IP configuration
    • getNetwork

      Network getNetwork()
      Gets the virtual network associated with this IP configuration.
      Returns:
      the virtual network associated with this IP configuration
    • getNetworkSecurityGroup

      NetworkSecurityGroup getNetworkSecurityGroup()
      Gets the network security group.
      Returns:
      the network security group, if any, associated with the subnet, if any, assigned to this network interface IP configuration

      (Note that this results in additional calls to Azure.)

    • privateIpAddressVersion

      IpVersion privateIpAddressVersion()
      Gets private IP address version.
      Returns:
      private IP address version
    • listAssociatedLoadBalancerBackends

      List<LoadBalancerBackend> listAssociatedLoadBalancerBackends()
      Gets the load balancer backends associated with this network interface IP configuration.
      Returns:
      the load balancer backends associated with this network interface IP configuration
    • listAssociatedLoadBalancerInboundNatRules

      List<LoadBalancerInboundNatRule> listAssociatedLoadBalancerInboundNatRules()
      Gets the load balancer inbound NAT rules associated with this network interface IP configuration.
      Returns:
      the load balancer inbound NAT rules associated with this network interface IP configuration
    • listAssociatedApplicationGatewayBackends

      Collection<ApplicationGatewayBackend> listAssociatedApplicationGatewayBackends()
      Gets the application gateway backends associated with this network IP configuration.
      Returns:
      the application gateway backends associated with this network IP configuration
    • listAssociatedApplicationSecurityGroups

      List<ApplicationSecurityGroup> listAssociatedApplicationSecurityGroups()
      Gets the application security groups associated with this network IP configuration.
      Returns:
      the application security groups associated with this network IP configuration