Class OutboundEnvironmentEndpointInner

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

public final class OutboundEnvironmentEndpointInner extends Object implements com.azure.json.JsonSerializable<OutboundEnvironmentEndpointInner>
An endpoint that the managed instance service requires outbound network access to.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of OutboundEnvironmentEndpointInner class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the category property: The type of service accessed by the managed instance service, e.g., Azure Storage, Azure Active Directory, etc.
    Get the endpoints property: The endpoints that the managed instance service communicates with in order to function correctly.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of OutboundEnvironmentEndpointInner from the JsonReader.
    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
  • Constructor Details

    • OutboundEnvironmentEndpointInner

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

    • category

      public String category()
      Get the category property: The type of service accessed by the managed instance service, e.g., Azure Storage, Azure Active Directory, etc.
      Returns:
      the category value.
    • endpoints

      public List<EndpointDependency> endpoints()
      Get the endpoints property: The endpoints that the managed instance service communicates with in order to function correctly.
      Returns:
      the endpoints 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<OutboundEnvironmentEndpointInner>
      Throws:
      IOException
    • fromJson

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