Class VirtualIpMapping

java.lang.Object
com.azure.resourcemanager.appservice.models.VirtualIpMapping
All Implemented Interfaces:
com.azure.json.JsonSerializable<VirtualIpMapping>

public final class VirtualIpMapping extends Object implements com.azure.json.JsonSerializable<VirtualIpMapping>
Virtual IP mapping.
  • Method Details

    • virtualIp

      public String virtualIp()
      Get the virtualIp property: Virtual IP address.
      Returns:
      the virtualIp value.
    • internalHttpPort

      public Integer internalHttpPort()
      Get the internalHttpPort property: Internal HTTP port.
      Returns:
      the internalHttpPort value.
    • internalHttpsPort

      public Integer internalHttpsPort()
      Get the internalHttpsPort property: Internal HTTPS port.
      Returns:
      the internalHttpsPort value.
    • inUse

      public Boolean inUse()
      Get the inUse property: Is virtual IP mapping in use.
      Returns:
      the inUse value.
    • serviceName

      public String serviceName()
      Get the serviceName property: name of the service that virtual IP is assigned to.
      Returns:
      the serviceName 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<VirtualIpMapping>
      Throws:
      IOException
    • fromJson

      public static VirtualIpMapping fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of VirtualIpMapping from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of VirtualIpMapping 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 VirtualIpMapping.