Class IpConfiguration


  • public final class IpConfiguration
    extends Object
    IP configuration.
    • Constructor Detail

      • IpConfiguration

        public IpConfiguration()
    • Method Detail

      • subnet

        public com.azure.core.management.SubResource subnet()
        Get the subnet property: The reference to the subnet bound to the IP configuration.
        Returns:
        the subnet value.
      • withSubnet

        public IpConfiguration withSubnet​(com.azure.core.management.SubResource subnet)
        Set the subnet property: The reference to the subnet bound to the IP configuration.
        Parameters:
        subnet - the subnet value to set.
        Returns:
        the IpConfiguration object itself.
      • privateIpAddress

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

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

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

        public IpConfiguration withPrivateIpAllocationMethod​(IpAllocationMethod privateIpAllocationMethod)
        Set the privateIpAllocationMethod property: Private IP address allocation method.
        Parameters:
        privateIpAllocationMethod - the privateIpAllocationMethod value to set.
        Returns:
        the IpConfiguration object itself.
      • validate

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