Class ServiceVNetAddons

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

public final class ServiceVNetAddons extends Object implements com.azure.json.JsonSerializable<ServiceVNetAddons>
Additional Service settings in vnet injection instance.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    Get the dataPlanePublicEndpoint property: Indicates whether the data plane components(log stream, app connect, remote debugging) in vnet injection instance could be accessed from internet.
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of ServiceVNetAddons from the JsonReader.
    Get the logStreamPublicEndpoint property: Indicates whether the log stream in vnet injection instance could be accessed from internet.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    Validates the instance.
    withDataPlanePublicEndpoint(Boolean dataPlanePublicEndpoint)
    Set the dataPlanePublicEndpoint property: Indicates whether the data plane components(log stream, app connect, remote debugging) in vnet injection instance could be accessed from internet.
    withLogStreamPublicEndpoint(Boolean logStreamPublicEndpoint)
    Set the logStreamPublicEndpoint property: Indicates whether the log stream in vnet injection instance could be accessed from internet.

    Methods inherited from class java.lang.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

    • ServiceVNetAddons

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

    • logStreamPublicEndpoint

      public Boolean logStreamPublicEndpoint()
      Get the logStreamPublicEndpoint property: Indicates whether the log stream in vnet injection instance could be accessed from internet.
      Returns:
      the logStreamPublicEndpoint value.
    • withLogStreamPublicEndpoint

      public ServiceVNetAddons withLogStreamPublicEndpoint(Boolean logStreamPublicEndpoint)
      Set the logStreamPublicEndpoint property: Indicates whether the log stream in vnet injection instance could be accessed from internet.
      Parameters:
      logStreamPublicEndpoint - the logStreamPublicEndpoint value to set.
      Returns:
      the ServiceVNetAddons object itself.
    • dataPlanePublicEndpoint

      public Boolean dataPlanePublicEndpoint()
      Get the dataPlanePublicEndpoint property: Indicates whether the data plane components(log stream, app connect, remote debugging) in vnet injection instance could be accessed from internet.
      Returns:
      the dataPlanePublicEndpoint value.
    • withDataPlanePublicEndpoint

      public ServiceVNetAddons withDataPlanePublicEndpoint(Boolean dataPlanePublicEndpoint)
      Set the dataPlanePublicEndpoint property: Indicates whether the data plane components(log stream, app connect, remote debugging) in vnet injection instance could be accessed from internet.
      Parameters:
      dataPlanePublicEndpoint - the dataPlanePublicEndpoint value to set.
      Returns:
      the ServiceVNetAddons object itself.
    • 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<ServiceVNetAddons>
      Throws:
      IOException
    • fromJson

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