Class VpnClientParameters

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

public final class VpnClientParameters extends Object implements com.azure.json.JsonSerializable<VpnClientParameters>
Vpn Client Parameters for package generation.
  • Constructor Details

    • VpnClientParameters

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

    • processorArchitecture

      public ProcessorArchitecture processorArchitecture()
      Get the processorArchitecture property: VPN client Processor Architecture.
      Returns:
      the processorArchitecture value.
    • withProcessorArchitecture

      public VpnClientParameters withProcessorArchitecture(ProcessorArchitecture processorArchitecture)
      Set the processorArchitecture property: VPN client Processor Architecture.
      Parameters:
      processorArchitecture - the processorArchitecture value to set.
      Returns:
      the VpnClientParameters object itself.
    • authenticationMethod

      public AuthenticationMethod authenticationMethod()
      Get the authenticationMethod property: VPN client authentication method.
      Returns:
      the authenticationMethod value.
    • withAuthenticationMethod

      public VpnClientParameters withAuthenticationMethod(AuthenticationMethod authenticationMethod)
      Set the authenticationMethod property: VPN client authentication method.
      Parameters:
      authenticationMethod - the authenticationMethod value to set.
      Returns:
      the VpnClientParameters object itself.
    • radiusServerAuthCertificate

      public String radiusServerAuthCertificate()
      Get the radiusServerAuthCertificate property: The public certificate data for the radius server authentication certificate as a Base-64 encoded string. Required only if external radius authentication has been configured with EAPTLS authentication.
      Returns:
      the radiusServerAuthCertificate value.
    • withRadiusServerAuthCertificate

      public VpnClientParameters withRadiusServerAuthCertificate(String radiusServerAuthCertificate)
      Set the radiusServerAuthCertificate property: The public certificate data for the radius server authentication certificate as a Base-64 encoded string. Required only if external radius authentication has been configured with EAPTLS authentication.
      Parameters:
      radiusServerAuthCertificate - the radiusServerAuthCertificate value to set.
      Returns:
      the VpnClientParameters object itself.
    • clientRootCertificates

      public List<String> clientRootCertificates()
      Get the clientRootCertificates property: A list of client root certificates public certificate data encoded as Base-64 strings. Optional parameter for external radius based authentication with EAPTLS.
      Returns:
      the clientRootCertificates value.
    • withClientRootCertificates

      public VpnClientParameters withClientRootCertificates(List<String> clientRootCertificates)
      Set the clientRootCertificates property: A list of client root certificates public certificate data encoded as Base-64 strings. Optional parameter for external radius based authentication with EAPTLS.
      Parameters:
      clientRootCertificates - the clientRootCertificates value to set.
      Returns:
      the VpnClientParameters 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<VpnClientParameters>
      Throws:
      IOException
    • fromJson

      public static VpnClientParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of VpnClientParameters from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of VpnClientParameters 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 VpnClientParameters.