Class NetworkInterfaceIpConfigurationPropertiesFormatInner

java.lang.Object
com.azure.resourcemanager.network.fluent.models.NetworkInterfaceIpConfigurationPropertiesFormatInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<NetworkInterfaceIpConfigurationPropertiesFormatInner>

public final class NetworkInterfaceIpConfigurationPropertiesFormatInner extends Object implements com.azure.json.JsonSerializable<NetworkInterfaceIpConfigurationPropertiesFormatInner>
Properties of IP configuration.
  • Constructor Details

    • NetworkInterfaceIpConfigurationPropertiesFormatInner

      public NetworkInterfaceIpConfigurationPropertiesFormatInner()
      Creates an instance of NetworkInterfaceIpConfigurationPropertiesFormatInner class.
  • Method Details

    • 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 NetworkInterfaceIpConfigurationPropertiesFormatInner 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 NetworkInterfaceIpConfigurationPropertiesFormatInner object itself.
    • virtualNetworkTaps

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

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

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

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

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

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

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

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

      public String privateIpAddress()
      Get the privateIpAddress property: Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>.
      Returns:
      the privateIpAddress value.
    • withPrivateIpAddress

      public NetworkInterfaceIpConfigurationPropertiesFormatInner withPrivateIpAddress(String privateIpAddress)
      Set the privateIpAddress property: Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>.
      Parameters:
      privateIpAddress - the privateIpAddress value to set.
      Returns:
      the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself.
    • privateIpAddressPrefixLength

      public Integer privateIpAddressPrefixLength()
      Get the privateIpAddressPrefixLength property: The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
      Returns:
      the privateIpAddressPrefixLength value.
    • withPrivateIpAddressPrefixLength

      public NetworkInterfaceIpConfigurationPropertiesFormatInner withPrivateIpAddressPrefixLength(Integer privateIpAddressPrefixLength)
      Set the privateIpAddressPrefixLength property: The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.
      Parameters:
      privateIpAddressPrefixLength - the privateIpAddressPrefixLength value to set.
      Returns:
      the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself.
    • privateIpAllocationMethod

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

      public NetworkInterfaceIpConfigurationPropertiesFormatInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
      Set the privateIpAllocationMethod property: The private IP address allocation method.
      Parameters:
      privateIpAllocationMethod - the privateIpAllocationMethod value to set.
      Returns:
      the NetworkInterfaceIpConfigurationPropertiesFormatInner 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 NetworkInterfaceIpConfigurationPropertiesFormatInner 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 NetworkInterfaceIpConfigurationPropertiesFormatInner object itself.
    • subnet

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

      Set the subnet property: Subnet bound to the IP configuration.
      Parameters:
      subnet - the subnet value to set.
      Returns:
      the NetworkInterfaceIpConfigurationPropertiesFormatInner 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

      Set the primary property: Whether this is a primary customer address on the network interface.
      Parameters:
      primary - the primary value to set.
      Returns:
      the NetworkInterfaceIpConfigurationPropertiesFormatInner object itself.
    • publicIpAddress

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

      public NetworkInterfaceIpConfigurationPropertiesFormatInner withPublicIpAddress(PublicIpAddressInner publicIpAddress)
      Set the publicIpAddress property: Public IP address bound to the IP configuration.
      Parameters:
      publicIpAddress - the publicIpAddress value to set.
      Returns:
      the NetworkInterfaceIpConfigurationPropertiesFormatInner 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 NetworkInterfaceIpConfigurationPropertiesFormatInner 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 NetworkInterfaceIpConfigurationPropertiesFormatInner object itself.
    • provisioningState

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

      public NetworkInterfaceIpConfigurationPrivateLinkConnectionProperties privateLinkConnectionProperties()
      Get the privateLinkConnectionProperties property: PrivateLinkConnection properties for the network interface.
      Returns:
      the privateLinkConnectionProperties value.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<NetworkInterfaceIpConfigurationPropertiesFormatInner>
      Throws:
      IOException
    • fromJson

      public static NetworkInterfaceIpConfigurationPropertiesFormatInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of NetworkInterfaceIpConfigurationPropertiesFormatInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of NetworkInterfaceIpConfigurationPropertiesFormatInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the NetworkInterfaceIpConfigurationPropertiesFormatInner.