Class InboundEnvironmentEndpointInner

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

public final class InboundEnvironmentEndpointInner extends Object implements com.azure.json.JsonSerializable<InboundEnvironmentEndpointInner>
The IP Addresses and Ports that require inbound network access to and within the subnet of the App Service Environment.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the description property: Short text describing the purpose of the network traffic.
    Get the endpoints property: The IP addresses that network traffic will originate from in cidr notation.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of InboundEnvironmentEndpointInner from the JsonReader.
    Get the ports property: The ports that network traffic will arrive to the App Service Environment at.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    Validates the instance.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Method Details

    • description

      public String description()
      Get the description property: Short text describing the purpose of the network traffic.
      Returns:
      the description value.
    • endpoints

      public List<String> endpoints()
      Get the endpoints property: The IP addresses that network traffic will originate from in cidr notation.
      Returns:
      the endpoints value.
    • ports

      public List<String> ports()
      Get the ports property: The ports that network traffic will arrive to the App Service Environment at.
      Returns:
      the ports 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<InboundEnvironmentEndpointInner>
      Throws:
      IOException
    • fromJson

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