Interface NicIpConfigurationBase
- All Superinterfaces:
HasPrivateIpAddress,HasSubnet
- All Known Subinterfaces:
NicIpConfiguration,VirtualMachineScaleSetNicIpConfiguration
The base IP configuration shared across IP configurations in regular and virtual machine scale set network interface.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.azure.resourcemanager.network.models.HasPrivateIpAddress
HasPrivateIpAddress.DefinitionStages, HasPrivateIpAddress.UpdateDefinitionStages, HasPrivateIpAddress.UpdateStagesNested classes/interfaces inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasSubnet
HasSubnet.DefinitionStages, HasSubnet.UpdateDefinitionStages, HasSubnet.UpdateStages -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethods inherited from interface com.azure.resourcemanager.network.models.HasPrivateIpAddress
privateIpAddress, privateIpAllocationMethodMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasSubnet
networkId, subnetName
-
Method Details
-
isPrimary
boolean isPrimary()- Returns:
- true if this is the primary IP configuration
-
getNetwork
Network getNetwork()- Returns:
- the virtual network associated with this IP configuration
-
getNetworkSecurityGroup
NetworkSecurityGroup getNetworkSecurityGroup()- 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()- Returns:
- private IP address version
-
listAssociatedLoadBalancerBackends
List<LoadBalancerBackend> listAssociatedLoadBalancerBackends()- Returns:
- the load balancer backends associated with this network interface IP configuration
-
listAssociatedLoadBalancerInboundNatRules
List<LoadBalancerInboundNatRule> listAssociatedLoadBalancerInboundNatRules()- Returns:
- the load balancer inbound NAT rules associated with this network interface IP configuration
-
listAssociatedApplicationGatewayBackends
Collection<ApplicationGatewayBackend> listAssociatedApplicationGatewayBackends()- Returns:
- the application gateway backends associated with this network IP configuration
-
listAssociatedApplicationSecurityGroups
List<ApplicationSecurityGroup> listAssociatedApplicationSecurityGroups()- Returns:
- the application security groups associated with this network IP configuration
-