Class AdvancedNetworkingSecurityTransitEncryption

java.lang.Object
com.azure.resourcemanager.containerservice.models.AdvancedNetworkingSecurityTransitEncryption
All Implemented Interfaces:
com.azure.json.JsonSerializable<AdvancedNetworkingSecurityTransitEncryption>

public final class AdvancedNetworkingSecurityTransitEncryption extends Object implements com.azure.json.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 Details

    • AdvancedNetworkingSecurityTransitEncryption

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

    • 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.
    • withType

      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.
    • 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<AdvancedNetworkingSecurityTransitEncryption>
      Throws:
      IOException
    • fromJson

      public static AdvancedNetworkingSecurityTransitEncryption fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.