Share via


AdvancedNetworkingSecurityTransitEncryption Class

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

Implements

public final class AdvancedNetworkingSecurityTransitEncryption
implements JsonSerializable<AdvancedNetworkingSecurityTransitEncryption>

Encryption configuration for Cilium-based clusters. Once enabled all traffic between Cilium managed pods will be encrypted when it leaves the node boundary.

Constructor Summary

Constructor Description
AdvancedNetworkingSecurityTransitEncryption()

Creates an instance of AdvancedNetworkingSecurityTransitEncryption class.

Method Summary

Modifier and Type Method and Description
static AdvancedNetworkingSecurityTransitEncryption fromJson(JsonReader jsonReader)

Reads an instance of AdvancedNetworkingSecurityTransitEncryption from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
TransitEncryptionType type()

Get the type property: Configures pod-to-pod encryption.

void validate()

Validates the instance.

AdvancedNetworkingSecurityTransitEncryption withType(TransitEncryptionType type)

Set the type property: Configures pod-to-pod encryption.

Methods inherited from java.lang.Object

Constructor Details

AdvancedNetworkingSecurityTransitEncryption

public AdvancedNetworkingSecurityTransitEncryption()

Creates an instance of AdvancedNetworkingSecurityTransitEncryption class.

Method Details

fromJson

public static AdvancedNetworkingSecurityTransitEncryption fromJson(JsonReader jsonReader)

Reads an instance of AdvancedNetworkingSecurityTransitEncryption from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AdvancedNetworkingSecurityTransitEncryption 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 AdvancedNetworkingSecurityTransitEncryption.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public TransitEncryptionType type()

Get the type property: Configures pod-to-pod encryption. This can be enabled only on Cilium-based clusters. If not specified, the default value is None.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withType

public AdvancedNetworkingSecurityTransitEncryption withType(TransitEncryptionType type)

Set the type property: Configures pod-to-pod encryption. This can be enabled only on Cilium-based clusters. If not specified, the default value is None.

Parameters:

type - the type value to set.

Returns:

the AdvancedNetworkingSecurityTransitEncryption object itself.

Applies to