Class IstioIngressGateway

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

public final class IstioIngressGateway extends Object implements com.azure.json.JsonSerializable<IstioIngressGateway>
Istio ingress gateway configuration. For now, we support up to one external ingress gateway named `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`.
  • Constructor Details

    • IstioIngressGateway

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

    • mode

      public IstioIngressGatewayMode mode()
      Get the mode property: Mode of an ingress gateway.
      Returns:
      the mode value.
    • withMode

      Set the mode property: Mode of an ingress gateway.
      Parameters:
      mode - the mode value to set.
      Returns:
      the IstioIngressGateway object itself.
    • enabled

      public boolean enabled()
      Get the enabled property: Whether to enable the ingress gateway.
      Returns:
      the enabled value.
    • withEnabled

      public IstioIngressGateway withEnabled(boolean enabled)
      Set the enabled property: Whether to enable the ingress gateway.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the IstioIngressGateway 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<IstioIngressGateway>
      Throws:
      IOException
    • fromJson

      public static IstioIngressGateway fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of IstioIngressGateway from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of IstioIngressGateway if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the IstioIngressGateway.