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 Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedClusterAppRoutingIstio class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ManagedClusterAppRoutingIstio from the JsonReader.mode()Get the mode property: Whether to enable Istio as a Gateway API implementation for managed ingress with App Routing.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Set the mode property: Whether to enable Istio as a Gateway API implementation for managed ingress with App Routing.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ManagedClusterAppRoutingIstio
public ManagedClusterAppRoutingIstio()Creates an instance of ManagedClusterAppRoutingIstio class.
-
-
Method Details
-
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
- Specified by:
toJsonin interfacecom.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.
-