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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the authenticationMethod property: VPN client authentication method.Get the clientRootCertificates property: A list of client root certificates public certificate data encoded as Base-64 strings.static VpnClientParametersfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VpnClientParameters from the JsonReader.Get the processorArchitecture property: VPN client Processor Architecture.Get the radiusServerAuthCertificate property: The public certificate data for the radius server authentication certificate as a Base-64 encoded string.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAuthenticationMethod(AuthenticationMethod authenticationMethod) Set the authenticationMethod property: VPN client authentication method.withClientRootCertificates(List<String> clientRootCertificates) Set the clientRootCertificates property: A list of client root certificates public certificate data encoded as Base-64 strings.withProcessorArchitecture(ProcessorArchitecture processorArchitecture) Set the processorArchitecture property: VPN client Processor Architecture.withRadiusServerAuthCertificate(String radiusServerAuthCertificate) Set the radiusServerAuthCertificate property: The public certificate data for the radius server authentication certificate as a Base-64 encoded string.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
VpnClientParameters
public VpnClientParameters()Creates an instance of VpnClientParameters class.
-
-
Method Details
-
processorArchitecture
Get the processorArchitecture property: VPN client Processor Architecture.- Returns:
- the processorArchitecture value.
-
withProcessorArchitecture
Set the processorArchitecture property: VPN client Processor Architecture.- Parameters:
processorArchitecture- the processorArchitecture value to set.- Returns:
- the VpnClientParameters object itself.
-
authenticationMethod
Get the authenticationMethod property: VPN client authentication method.- Returns:
- the authenticationMethod value.
-
withAuthenticationMethod
Set the authenticationMethod property: VPN client authentication method.- Parameters:
authenticationMethod- the authenticationMethod value to set.- Returns:
- the VpnClientParameters object itself.
-
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
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
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
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
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<VpnClientParameters>- Throws:
IOException
-
fromJson
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.
-