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 Details

    • AdvancedNetworkingPerformance

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

    • accelerationMode

      public AccelerationMode 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

      public AdvancedNetworkingPerformance withAccelerationMode(AccelerationMode accelerationMode)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.