Class ProxyServerProperties

java.lang.Object
com.azure.resourcemanager.security.models.ProxyServerProperties

public final class ProxyServerProperties extends Object
For a non-Azure machine that is not connected directly to the internet, specify a proxy server that the non-Azure machine can use.
  • Constructor Details

    • ProxyServerProperties

      public ProxyServerProperties()
  • Method Details

    • ip

      public String ip()
      Get the ip property: Proxy server IP.
      Returns:
      the ip value.
    • withIp

      public ProxyServerProperties withIp(String ip)
      Set the ip property: Proxy server IP.
      Parameters:
      ip - the ip value to set.
      Returns:
      the ProxyServerProperties object itself.
    • port

      public String port()
      Get the port property: Proxy server port.
      Returns:
      the port value.
    • withPort

      public ProxyServerProperties withPort(String port)
      Set the port property: Proxy server port.
      Parameters:
      port - the port value to set.
      Returns:
      the ProxyServerProperties object itself.
    • validate

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