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 TypeMethodDescriptionGets the virtual network associated with this IP configuration.Gets the network security group.booleanChecks whether this is the primary IP configuration.Gets the application gateway backends associated with this network IP configuration.Gets the application security groups associated with this network IP configuration.Gets the load balancer backends associated with this network interface IP configuration.Gets the load balancer inbound NAT rules associated with this network interface IP configuration.Gets private IP address version.Methods 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()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
-