Class AdvancedNetworkingPerformance
java.lang.Object
com.azure.resourcemanager.containerservice.models.AdvancedNetworkingPerformance
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AdvancedNetworkingPerformance>
public final class AdvancedNetworkingPerformance
extends Object
implements com.azure.json.JsonSerializable<AdvancedNetworkingPerformance>
Profile to enable performance-enhancing features on clusters that use Azure CNI powered by Cilium.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AdvancedNetworkingPerformance class. -
Method Summary
Modifier and TypeMethodDescriptionGet the accelerationMode property: Enable advanced network acceleration options.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AdvancedNetworkingPerformance from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAccelerationMode(AccelerationMode accelerationMode) Set the accelerationMode property: Enable advanced network acceleration options.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
-
AdvancedNetworkingPerformance
public AdvancedNetworkingPerformance()Creates an instance of AdvancedNetworkingPerformance class.
-
-
Method Details
-
accelerationMode
Get the accelerationMode property: Enable advanced network acceleration options. This allows users to configure acceleration using BPF host routing. This can be enabled only with Cilium dataplane. If not specified, the default value is None (no acceleration). The acceleration mode can be changed on a pre-existing cluster. See https://aka.ms/acnsperformance for a detailed explanation.- Returns:
- the accelerationMode value.
-
withAccelerationMode
Set the accelerationMode property: Enable advanced network acceleration options. This allows users to configure acceleration using BPF host routing. This can be enabled only with Cilium dataplane. If not specified, the default value is None (no acceleration). The acceleration mode can be changed on a pre-existing cluster. See https://aka.ms/acnsperformance for a detailed explanation.- Parameters:
accelerationMode- the accelerationMode value to set.- Returns:
- the AdvancedNetworkingPerformance 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<AdvancedNetworkingPerformance>- Throws:
IOException
-
fromJson
public static AdvancedNetworkingPerformance fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AdvancedNetworkingPerformance from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AdvancedNetworkingPerformance 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 AdvancedNetworkingPerformance.
-