Class VpnClientConfiguration
java.lang.Object
com.azure.resourcemanager.network.models.VpnClientConfiguration
- All Implemented Interfaces:
com.azure.json.JsonSerializable<VpnClientConfiguration>
public final class VpnClientConfiguration
extends Object
implements com.azure.json.JsonSerializable<VpnClientConfiguration>
VpnClientConfiguration for P2S client.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VpnClientConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the aadAudience property: The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.Get the aadIssuer property: The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.Get the aadTenant property: The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.static VpnClientConfigurationfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VpnClientConfiguration from the JsonReader.Get the radiusServerAddress property: The radius server address property of the VirtualNetworkGateway resource for vpn client connection.Get the radiusServers property: The radiusServers property for multiple radius server configuration.Get the radiusServerSecret property: The radius secret property of the VirtualNetworkGateway resource for vpn client connection.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Get the vngClientConnectionConfigurations property: per ip address pool connection policy for virtual network gateway P2S client.Get the vpnAuthenticationTypes property: VPN authentication types for the virtual network gateway..Get the vpnClientAddressPool property: The reference to the address space resource which represents Address space for P2S VpnClient.Get the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for virtual network gateway P2S client.Get the vpnClientProtocols property: VpnClientProtocols for Virtual network gateway.Get the vpnClientRevokedCertificates property: VpnClientRevokedCertificate for Virtual network gateway.Get the vpnClientRootCertificates property: VpnClientRootCertificate for virtual network gateway.withAadAudience(String aadAudience) Set the aadAudience property: The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.withAadIssuer(String aadIssuer) Set the aadIssuer property: The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.withAadTenant(String aadTenant) Set the aadTenant property: The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.withRadiusServerAddress(String radiusServerAddress) Set the radiusServerAddress property: The radius server address property of the VirtualNetworkGateway resource for vpn client connection.withRadiusServers(List<RadiusServer> radiusServers) Set the radiusServers property: The radiusServers property for multiple radius server configuration.withRadiusServerSecret(String radiusServerSecret) Set the radiusServerSecret property: The radius secret property of the VirtualNetworkGateway resource for vpn client connection.withVngClientConnectionConfigurations(List<VngClientConnectionConfiguration> vngClientConnectionConfigurations) Set the vngClientConnectionConfigurations property: per ip address pool connection policy for virtual network gateway P2S client.withVpnAuthenticationTypes(List<VpnAuthenticationType> vpnAuthenticationTypes) Set the vpnAuthenticationTypes property: VPN authentication types for the virtual network gateway..withVpnClientAddressPool(AddressSpace vpnClientAddressPool) Set the vpnClientAddressPool property: The reference to the address space resource which represents Address space for P2S VpnClient.withVpnClientIpsecPolicies(List<IpsecPolicy> vpnClientIpsecPolicies) Set the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for virtual network gateway P2S client.withVpnClientProtocols(List<VpnClientProtocol> vpnClientProtocols) Set the vpnClientProtocols property: VpnClientProtocols for Virtual network gateway.withVpnClientRevokedCertificates(List<VpnClientRevokedCertificate> vpnClientRevokedCertificates) Set the vpnClientRevokedCertificates property: VpnClientRevokedCertificate for Virtual network gateway.withVpnClientRootCertificates(List<VpnClientRootCertificate> vpnClientRootCertificates) Set the vpnClientRootCertificates property: VpnClientRootCertificate for virtual network gateway.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
-
VpnClientConfiguration
public VpnClientConfiguration()Creates an instance of VpnClientConfiguration class.
-
-
Method Details
-
vpnClientAddressPool
Get the vpnClientAddressPool property: The reference to the address space resource which represents Address space for P2S VpnClient.- Returns:
- the vpnClientAddressPool value.
-
withVpnClientAddressPool
Set the vpnClientAddressPool property: The reference to the address space resource which represents Address space for P2S VpnClient.- Parameters:
vpnClientAddressPool- the vpnClientAddressPool value to set.- Returns:
- the VpnClientConfiguration object itself.
-
vpnClientRootCertificates
Get the vpnClientRootCertificates property: VpnClientRootCertificate for virtual network gateway.- Returns:
- the vpnClientRootCertificates value.
-
withVpnClientRootCertificates
public VpnClientConfiguration withVpnClientRootCertificates(List<VpnClientRootCertificate> vpnClientRootCertificates) Set the vpnClientRootCertificates property: VpnClientRootCertificate for virtual network gateway.- Parameters:
vpnClientRootCertificates- the vpnClientRootCertificates value to set.- Returns:
- the VpnClientConfiguration object itself.
-
vpnClientRevokedCertificates
Get the vpnClientRevokedCertificates property: VpnClientRevokedCertificate for Virtual network gateway.- Returns:
- the vpnClientRevokedCertificates value.
-
withVpnClientRevokedCertificates
public VpnClientConfiguration withVpnClientRevokedCertificates(List<VpnClientRevokedCertificate> vpnClientRevokedCertificates) Set the vpnClientRevokedCertificates property: VpnClientRevokedCertificate for Virtual network gateway.- Parameters:
vpnClientRevokedCertificates- the vpnClientRevokedCertificates value to set.- Returns:
- the VpnClientConfiguration object itself.
-
vpnClientProtocols
Get the vpnClientProtocols property: VpnClientProtocols for Virtual network gateway.- Returns:
- the vpnClientProtocols value.
-
withVpnClientProtocols
Set the vpnClientProtocols property: VpnClientProtocols for Virtual network gateway.- Parameters:
vpnClientProtocols- the vpnClientProtocols value to set.- Returns:
- the VpnClientConfiguration object itself.
-
vpnAuthenticationTypes
Get the vpnAuthenticationTypes property: VPN authentication types for the virtual network gateway..- Returns:
- the vpnAuthenticationTypes value.
-
withVpnAuthenticationTypes
public VpnClientConfiguration withVpnAuthenticationTypes(List<VpnAuthenticationType> vpnAuthenticationTypes) Set the vpnAuthenticationTypes property: VPN authentication types for the virtual network gateway..- Parameters:
vpnAuthenticationTypes- the vpnAuthenticationTypes value to set.- Returns:
- the VpnClientConfiguration object itself.
-
vpnClientIpsecPolicies
Get the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for virtual network gateway P2S client.- Returns:
- the vpnClientIpsecPolicies value.
-
withVpnClientIpsecPolicies
Set the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for virtual network gateway P2S client.- Parameters:
vpnClientIpsecPolicies- the vpnClientIpsecPolicies value to set.- Returns:
- the VpnClientConfiguration object itself.
-
radiusServerAddress
Get the radiusServerAddress property: The radius server address property of the VirtualNetworkGateway resource for vpn client connection.- Returns:
- the radiusServerAddress value.
-
withRadiusServerAddress
Set the radiusServerAddress property: The radius server address property of the VirtualNetworkGateway resource for vpn client connection.- Parameters:
radiusServerAddress- the radiusServerAddress value to set.- Returns:
- the VpnClientConfiguration object itself.
-
radiusServerSecret
Get the radiusServerSecret property: The radius secret property of the VirtualNetworkGateway resource for vpn client connection.- Returns:
- the radiusServerSecret value.
-
withRadiusServerSecret
Set the radiusServerSecret property: The radius secret property of the VirtualNetworkGateway resource for vpn client connection.- Parameters:
radiusServerSecret- the radiusServerSecret value to set.- Returns:
- the VpnClientConfiguration object itself.
-
radiusServers
Get the radiusServers property: The radiusServers property for multiple radius server configuration.- Returns:
- the radiusServers value.
-
withRadiusServers
Set the radiusServers property: The radiusServers property for multiple radius server configuration.- Parameters:
radiusServers- the radiusServers value to set.- Returns:
- the VpnClientConfiguration object itself.
-
aadTenant
Get the aadTenant property: The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.- Returns:
- the aadTenant value.
-
withAadTenant
Set the aadTenant property: The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.- Parameters:
aadTenant- the aadTenant value to set.- Returns:
- the VpnClientConfiguration object itself.
-
aadAudience
Get the aadAudience property: The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.- Returns:
- the aadAudience value.
-
withAadAudience
Set the aadAudience property: The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.- Parameters:
aadAudience- the aadAudience value to set.- Returns:
- the VpnClientConfiguration object itself.
-
aadIssuer
Get the aadIssuer property: The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.- Returns:
- the aadIssuer value.
-
withAadIssuer
Set the aadIssuer property: The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.- Parameters:
aadIssuer- the aadIssuer value to set.- Returns:
- the VpnClientConfiguration object itself.
-
vngClientConnectionConfigurations
Get the vngClientConnectionConfigurations property: per ip address pool connection policy for virtual network gateway P2S client.- Returns:
- the vngClientConnectionConfigurations value.
-
withVngClientConnectionConfigurations
public VpnClientConfiguration withVngClientConnectionConfigurations(List<VngClientConnectionConfiguration> vngClientConnectionConfigurations) Set the vngClientConnectionConfigurations property: per ip address pool connection policy for virtual network gateway P2S client.- Parameters:
vngClientConnectionConfigurations- the vngClientConnectionConfigurations value to set.- Returns:
- the VpnClientConfiguration 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<VpnClientConfiguration>- Throws:
IOException
-
fromJson
public static VpnClientConfiguration fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of VpnClientConfiguration from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of VpnClientConfiguration 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 VpnClientConfiguration.
-