次の方法で共有


NicIpConfigurationBase Interface

Implements

public interface NicIpConfigurationBase
extends HasSubnet, HasPrivateIpAddress

The base IP configuration shared across IP configurations in regular and virtual machine scale set network interface.

Method Summary

Modifier and Type Method and Description
abstract Network getNetwork()

Gets the virtual network associated with this IP configuration.

abstract NetworkSecurityGroup getNetworkSecurityGroup()

Gets the network security group.

abstract boolean isPrimary()

Checks whether this is the primary IP configuration.

abstract Collection<ApplicationGatewayBackend> listAssociatedApplicationGatewayBackends()

Gets the application gateway backends associated with this network IP configuration.

abstract List<ApplicationSecurityGroup> listAssociatedApplicationSecurityGroups()

Gets the application security groups associated with this network IP configuration.

abstract List<LoadBalancerBackend> listAssociatedLoadBalancerBackends()

Gets the load balancer backends associated with this network interface IP configuration.

abstract List<LoadBalancerInboundNatRule> listAssociatedLoadBalancerInboundNatRules()

Gets the load balancer inbound NAT rules associated with this network interface IP configuration.

abstract IpVersion privateIpAddressVersion()

Gets private IP address version.

Method Details

getNetwork

public abstract Network getNetwork()

Gets the virtual network associated with this IP configuration.

Returns:

the virtual network associated with this IP configuration

getNetworkSecurityGroup

public abstract 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.)

isPrimary

public abstract boolean isPrimary()

Checks whether this is the primary IP configuration.

Returns:

true if this is the primary IP configuration

listAssociatedApplicationGatewayBackends

public abstract Collection listAssociatedApplicationGatewayBackends()

Gets the application gateway backends associated with this network IP configuration.

Returns:

the application gateway backends associated with this network IP configuration

listAssociatedApplicationSecurityGroups

public abstract List listAssociatedApplicationSecurityGroups()

Gets the application security groups associated with this network IP configuration.

Returns:

the application security groups associated with this network IP configuration

listAssociatedLoadBalancerBackends

public abstract List 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

public abstract List 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

privateIpAddressVersion

public abstract IpVersion privateIpAddressVersion()

Gets private IP address version.

Returns:

private IP address version

Applies to