Share via


AdvancedNetworkingPerformance Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.AdvancedNetworkingPerformance

Implements

public final class AdvancedNetworkingPerformance
implements JsonSerializable<AdvancedNetworkingPerformance>

Profile to enable performance-enhancing features on clusters that use Azure CNI powered by Cilium.

Constructor Summary

Constructor Description
AdvancedNetworkingPerformance()

Creates an instance of AdvancedNetworkingPerformance class.

Method Summary

Modifier and Type Method and Description
AccelerationMode accelerationMode()

Get the accelerationMode property: Enable advanced network acceleration options.

static AdvancedNetworkingPerformance fromJson(JsonReader jsonReader)

Reads an instance of AdvancedNetworkingPerformance from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AdvancedNetworkingPerformance withAccelerationMode(AccelerationMode accelerationMode)

Set the accelerationMode property: Enable advanced network acceleration options.

Methods inherited from java.lang.Object

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.

fromJson

public static AdvancedNetworkingPerformance fromJson(JsonReader jsonReader)

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

Applies to