Class NetworkInterfaceIpConfigurationInner


  • public final class NetworkInterfaceIpConfigurationInner
    extends com.azure.core.management.SubResource
    IPConfiguration in a network interface.
    • Constructor Detail

      • NetworkInterfaceIpConfigurationInner

        public NetworkInterfaceIpConfigurationInner()
    • Method Detail

      • name

        public String name()
        Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
        Returns:
        the name value.
      • withName

        public NetworkInterfaceIpConfigurationInner withName​(String name)
        Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
        Parameters:
        name - the name value to set.
        Returns:
        the NetworkInterfaceIpConfigurationInner object itself.
      • etag

        public String etag()
        Get the etag property: A unique read-only string that changes whenever the resource is updated.
        Returns:
        the etag value.
      • type

        public String type()
        Get the type property: Resource type.
        Returns:
        the type value.
      • withType

        public NetworkInterfaceIpConfigurationInner withType​(String type)
        Set the type property: Resource type.
        Parameters:
        type - the type value to set.
        Returns:
        the NetworkInterfaceIpConfigurationInner object itself.
      • gatewayLoadBalancer

        public com.azure.core.management.SubResource gatewayLoadBalancer()
        Get the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP.
        Returns:
        the gatewayLoadBalancer value.
      • withGatewayLoadBalancer

        public NetworkInterfaceIpConfigurationInner withGatewayLoadBalancer​(com.azure.core.management.SubResource gatewayLoadBalancer)
        Set the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP.
        Parameters:
        gatewayLoadBalancer - the gatewayLoadBalancer value to set.
        Returns:
        the NetworkInterfaceIpConfigurationInner object itself.
      • virtualNetworkTaps

        public List<VirtualNetworkTapInner> virtualNetworkTaps()
        Get the virtualNetworkTaps property: The reference to Virtual Network Taps.
        Returns:
        the virtualNetworkTaps value.
      • withVirtualNetworkTaps

        public NetworkInterfaceIpConfigurationInner withVirtualNetworkTaps​(List<VirtualNetworkTapInner> virtualNetworkTaps)
        Set the virtualNetworkTaps property: The reference to Virtual Network Taps.
        Parameters:
        virtualNetworkTaps - the virtualNetworkTaps value to set.
        Returns:
        the NetworkInterfaceIpConfigurationInner object itself.
      • applicationGatewayBackendAddressPools

        public List<ApplicationGatewayBackendAddressPool> applicationGatewayBackendAddressPools()
        Get the applicationGatewayBackendAddressPools property: The reference to ApplicationGatewayBackendAddressPool resource.
        Returns:
        the applicationGatewayBackendAddressPools value.
      • withApplicationGatewayBackendAddressPools

        public NetworkInterfaceIpConfigurationInner withApplicationGatewayBackendAddressPools​(List<ApplicationGatewayBackendAddressPool> applicationGatewayBackendAddressPools)
        Set the applicationGatewayBackendAddressPools property: The reference to ApplicationGatewayBackendAddressPool resource.
        Parameters:
        applicationGatewayBackendAddressPools - the applicationGatewayBackendAddressPools value to set.
        Returns:
        the NetworkInterfaceIpConfigurationInner object itself.
      • loadBalancerBackendAddressPools

        public List<BackendAddressPoolInner> loadBalancerBackendAddressPools()
        Get the loadBalancerBackendAddressPools property: The reference to LoadBalancerBackendAddressPool resource.
        Returns:
        the loadBalancerBackendAddressPools value.
      • withLoadBalancerBackendAddressPools

        public NetworkInterfaceIpConfigurationInner withLoadBalancerBackendAddressPools​(List<BackendAddressPoolInner> loadBalancerBackendAddressPools)
        Set the loadBalancerBackendAddressPools property: The reference to LoadBalancerBackendAddressPool resource.
        Parameters:
        loadBalancerBackendAddressPools - the loadBalancerBackendAddressPools value to set.
        Returns:
        the NetworkInterfaceIpConfigurationInner object itself.
      • loadBalancerInboundNatRules

        public List<InboundNatRuleInner> loadBalancerInboundNatRules()
        Get the loadBalancerInboundNatRules property: A list of references of LoadBalancerInboundNatRules.
        Returns:
        the loadBalancerInboundNatRules value.
      • withLoadBalancerInboundNatRules

        public NetworkInterfaceIpConfigurationInner withLoadBalancerInboundNatRules​(List<InboundNatRuleInner> loadBalancerInboundNatRules)
        Set the loadBalancerInboundNatRules property: A list of references of LoadBalancerInboundNatRules.
        Parameters:
        loadBalancerInboundNatRules - the loadBalancerInboundNatRules value to set.
        Returns:
        the NetworkInterfaceIpConfigurationInner object itself.
      • privateIpAddress

        public String privateIpAddress()
        Get the privateIpAddress property: Private IP address of the IP configuration.
        Returns:
        the privateIpAddress value.
      • withPrivateIpAddress

        public NetworkInterfaceIpConfigurationInner withPrivateIpAddress​(String privateIpAddress)
        Set the privateIpAddress property: Private IP address of the IP configuration.
        Parameters:
        privateIpAddress - the privateIpAddress value to set.
        Returns:
        the NetworkInterfaceIpConfigurationInner object itself.
      • privateIpAllocationMethod

        public IpAllocationMethod privateIpAllocationMethod()
        Get the privateIpAllocationMethod property: The private IP address allocation method.
        Returns:
        the privateIpAllocationMethod value.
      • withPrivateIpAllocationMethod

        public NetworkInterfaceIpConfigurationInner withPrivateIpAllocationMethod​(IpAllocationMethod privateIpAllocationMethod)
        Set the privateIpAllocationMethod property: The private IP address allocation method.
        Parameters:
        privateIpAllocationMethod - the privateIpAllocationMethod value to set.
        Returns:
        the NetworkInterfaceIpConfigurationInner object itself.
      • privateIpAddressVersion

        public IpVersion privateIpAddressVersion()
        Get the privateIpAddressVersion property: Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
        Returns:
        the privateIpAddressVersion value.
      • withPrivateIpAddressVersion

        public NetworkInterfaceIpConfigurationInner withPrivateIpAddressVersion​(IpVersion privateIpAddressVersion)
        Set the privateIpAddressVersion property: Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
        Parameters:
        privateIpAddressVersion - the privateIpAddressVersion value to set.
        Returns:
        the NetworkInterfaceIpConfigurationInner object itself.
      • subnet

        public SubnetInner subnet()
        Get the subnet property: Subnet bound to the IP configuration.
        Returns:
        the subnet value.
      • withSubnet

        public NetworkInterfaceIpConfigurationInner withSubnet​(SubnetInner subnet)
        Set the subnet property: Subnet bound to the IP configuration.
        Parameters:
        subnet - the subnet value to set.
        Returns:
        the NetworkInterfaceIpConfigurationInner object itself.
      • primary

        public Boolean primary()
        Get the primary property: Whether this is a primary customer address on the network interface.
        Returns:
        the primary value.
      • withPrimary

        public NetworkInterfaceIpConfigurationInner withPrimary​(Boolean primary)
        Set the primary property: Whether this is a primary customer address on the network interface.
        Parameters:
        primary - the primary value to set.
        Returns:
        the NetworkInterfaceIpConfigurationInner object itself.
      • publicIpAddress

        public PublicIpAddressInner publicIpAddress()
        Get the publicIpAddress property: Public IP address bound to the IP configuration.
        Returns:
        the publicIpAddress value.
      • withPublicIpAddress

        public NetworkInterfaceIpConfigurationInner withPublicIpAddress​(PublicIpAddressInner publicIpAddress)
        Set the publicIpAddress property: Public IP address bound to the IP configuration.
        Parameters:
        publicIpAddress - the publicIpAddress value to set.
        Returns:
        the NetworkInterfaceIpConfigurationInner object itself.
      • applicationSecurityGroups

        public List<ApplicationSecurityGroupInner> applicationSecurityGroups()
        Get the applicationSecurityGroups property: Application security groups in which the IP configuration is included.
        Returns:
        the applicationSecurityGroups value.
      • withApplicationSecurityGroups

        public NetworkInterfaceIpConfigurationInner withApplicationSecurityGroups​(List<ApplicationSecurityGroupInner> applicationSecurityGroups)
        Set the applicationSecurityGroups property: Application security groups in which the IP configuration is included.
        Parameters:
        applicationSecurityGroups - the applicationSecurityGroups value to set.
        Returns:
        the NetworkInterfaceIpConfigurationInner object itself.
      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: The provisioning state of the network interface IP configuration.
        Returns:
        the provisioningState value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.