Class ManagedClusterAppRoutingIstio

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

public final class ManagedClusterAppRoutingIstio extends Object implements com.azure.json.JsonSerializable<ManagedClusterAppRoutingIstio>
Configuration for using a sidecar-less Istio control plane for managed ingress via the Gateway API with App Routing. See https://aka.ms/gateway-on-istio for information on using Istio for ingress via the Gateway API.
  • Constructor Details

    • ManagedClusterAppRoutingIstio

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

    • mode

      public GatewayApiIstioEnabled mode()
      Get the mode property: Whether to enable Istio as a Gateway API implementation for managed ingress with App Routing.
      Returns:
      the mode value.
    • withMode

      Set the mode property: Whether to enable Istio as a Gateway API implementation for managed ingress with App Routing.
      Parameters:
      mode - the mode value to set.
      Returns:
      the ManagedClusterAppRoutingIstio 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<ManagedClusterAppRoutingIstio>
      Throws:
      IOException
    • fromJson

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