VpnClientConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.VpnClientConfiguration

Implements

public final class VpnClientConfiguration
implements JsonSerializable<VpnClientConfiguration>

VpnClientConfiguration for P2S client.

Constructor Summary

Constructor Description
VpnClientConfiguration()

Creates an instance of VpnClientConfiguration class.

Method Summary

Modifier and Type Method and Description
String aadAudience()

Get the aadAudience property: The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.

String aadIssuer()

Get the aadIssuer property: The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.

String aadTenant()

Get the aadTenant property: The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.

static VpnClientConfiguration fromJson(JsonReader jsonReader)

Reads an instance of VpnClientConfiguration from the JsonReader.

String radiusServerAddress()

Get the radiusServerAddress property: The radius server address property of the VirtualNetworkGateway resource for vpn client connection.

String radiusServerSecret()

Get the radiusServerSecret property: The radius secret property of the VirtualNetworkGateway resource for vpn client connection.

List<RadiusServer> radiusServers()

Get the radiusServers property: The radiusServers property for multiple radius server configuration.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<VngClientConnectionConfiguration> vngClientConnectionConfigurations()

Get the vngClientConnectionConfigurations property: per ip address pool connection policy for virtual network gateway P2S client.

List<VpnAuthenticationType> vpnAuthenticationTypes()

Get the vpnAuthenticationTypes property: VPN authentication types for the virtual network gateway..

AddressSpace vpnClientAddressPool()

Get the vpnClientAddressPool property: The reference to the address space resource which represents Address space for P2S VpnClient.

List<IpsecPolicy> vpnClientIpsecPolicies()

Get the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for virtual network gateway P2S client.

List<VpnClientProtocol> vpnClientProtocols()

Get the vpnClientProtocols property: VpnClientProtocols for Virtual network gateway.

List<VpnClientRevokedCertificate> vpnClientRevokedCertificates()

Get the vpnClientRevokedCertificates property: VpnClientRevokedCertificate for Virtual network gateway.

List<VpnClientRootCertificate> vpnClientRootCertificates()

Get the vpnClientRootCertificates property: VpnClientRootCertificate for virtual network gateway.

VpnClientConfiguration withAadAudience(String aadAudience)

Set the aadAudience property: The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.

VpnClientConfiguration withAadIssuer(String aadIssuer)

Set the aadIssuer property: The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.

VpnClientConfiguration withAadTenant(String aadTenant)

Set the aadTenant property: The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.

VpnClientConfiguration withRadiusServerAddress(String radiusServerAddress)

Set the radiusServerAddress property: The radius server address property of the VirtualNetworkGateway resource for vpn client connection.

VpnClientConfiguration withRadiusServerSecret(String radiusServerSecret)

Set the radiusServerSecret property: The radius secret property of the VirtualNetworkGateway resource for vpn client connection.

VpnClientConfiguration withRadiusServers(List<RadiusServer> radiusServers)

Set the radiusServers property: The radiusServers property for multiple radius server configuration.

VpnClientConfiguration withVngClientConnectionConfigurations(List<VngClientConnectionConfiguration> vngClientConnectionConfigurations)

Set the vngClientConnectionConfigurations property: per ip address pool connection policy for virtual network gateway P2S client.

VpnClientConfiguration withVpnAuthenticationTypes(List<VpnAuthenticationType> vpnAuthenticationTypes)

Set the vpnAuthenticationTypes property: VPN authentication types for the virtual network gateway..

VpnClientConfiguration withVpnClientAddressPool(AddressSpace vpnClientAddressPool)

Set the vpnClientAddressPool property: The reference to the address space resource which represents Address space for P2S VpnClient.

VpnClientConfiguration withVpnClientIpsecPolicies(List<IpsecPolicy> vpnClientIpsecPolicies)

Set the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for virtual network gateway P2S client.

VpnClientConfiguration withVpnClientProtocols(List<VpnClientProtocol> vpnClientProtocols)

Set the vpnClientProtocols property: VpnClientProtocols for Virtual network gateway.

VpnClientConfiguration withVpnClientRevokedCertificates(List<VpnClientRevokedCertificate> vpnClientRevokedCertificates)

Set the vpnClientRevokedCertificates property: VpnClientRevokedCertificate for Virtual network gateway.

VpnClientConfiguration withVpnClientRootCertificates(List<VpnClientRootCertificate> vpnClientRootCertificates)

Set the vpnClientRootCertificates property: VpnClientRootCertificate for virtual network gateway.

Methods inherited from java.lang.Object

Constructor Details

VpnClientConfiguration

public VpnClientConfiguration()

Creates an instance of VpnClientConfiguration class.

Method Details

aadAudience

public String aadAudience()

Get the aadAudience property: The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.

Returns:

the aadAudience value.

aadIssuer

public String aadIssuer()

Get the aadIssuer property: The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.

Returns:

the aadIssuer value.

aadTenant

public String aadTenant()

Get the aadTenant property: The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.

Returns:

the aadTenant value.

fromJson

public static VpnClientConfiguration fromJson(JsonReader jsonReader)

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.

radiusServerAddress

public String radiusServerAddress()

Get the radiusServerAddress property: The radius server address property of the VirtualNetworkGateway resource for vpn client connection.

Returns:

the radiusServerAddress value.

radiusServerSecret

public String radiusServerSecret()

Get the radiusServerSecret property: The radius secret property of the VirtualNetworkGateway resource for vpn client connection.

Returns:

the radiusServerSecret value.

radiusServers

public List radiusServers()

Get the radiusServers property: The radiusServers property for multiple radius server configuration.

Returns:

the radiusServers value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

vngClientConnectionConfigurations

public List vngClientConnectionConfigurations()

Get the vngClientConnectionConfigurations property: per ip address pool connection policy for virtual network gateway P2S client.

Returns:

the vngClientConnectionConfigurations value.

vpnAuthenticationTypes

public List vpnAuthenticationTypes()

Get the vpnAuthenticationTypes property: VPN authentication types for the virtual network gateway..

Returns:

the vpnAuthenticationTypes value.

vpnClientAddressPool

public AddressSpace vpnClientAddressPool()

Get the vpnClientAddressPool property: The reference to the address space resource which represents Address space for P2S VpnClient.

Returns:

the vpnClientAddressPool value.

vpnClientIpsecPolicies

public List vpnClientIpsecPolicies()

Get the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for virtual network gateway P2S client.

Returns:

the vpnClientIpsecPolicies value.

vpnClientProtocols

public List vpnClientProtocols()

Get the vpnClientProtocols property: VpnClientProtocols for Virtual network gateway.

Returns:

the vpnClientProtocols value.

vpnClientRevokedCertificates

public List vpnClientRevokedCertificates()

Get the vpnClientRevokedCertificates property: VpnClientRevokedCertificate for Virtual network gateway.

Returns:

the vpnClientRevokedCertificates value.

vpnClientRootCertificates

public List vpnClientRootCertificates()

Get the vpnClientRootCertificates property: VpnClientRootCertificate for virtual network gateway.

Returns:

the vpnClientRootCertificates value.

withAadAudience

public VpnClientConfiguration withAadAudience(String aadAudience)

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.

withAadIssuer

public VpnClientConfiguration withAadIssuer(String aadIssuer)

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.

withAadTenant

public VpnClientConfiguration withAadTenant(String aadTenant)

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.

withRadiusServerAddress

public VpnClientConfiguration withRadiusServerAddress(String radiusServerAddress)

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.

withRadiusServerSecret

public VpnClientConfiguration withRadiusServerSecret(String radiusServerSecret)

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.

withRadiusServers

public VpnClientConfiguration withRadiusServers(List radiusServers)

Set the radiusServers property: The radiusServers property for multiple radius server configuration.

Parameters:

radiusServers - the radiusServers value to set.

Returns:

the VpnClientConfiguration object itself.

withVngClientConnectionConfigurations

public VpnClientConfiguration withVngClientConnectionConfigurations(List 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.

withVpnAuthenticationTypes

public VpnClientConfiguration withVpnAuthenticationTypes(List 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.

withVpnClientAddressPool

public VpnClientConfiguration withVpnClientAddressPool(AddressSpace vpnClientAddressPool)

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.

withVpnClientIpsecPolicies

public VpnClientConfiguration withVpnClientIpsecPolicies(List vpnClientIpsecPolicies)

Set the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for virtual network gateway P2S client.

Parameters:

vpnClientIpsecPolicies - the vpnClientIpsecPolicies value to set.

Returns:

the VpnClientConfiguration object itself.

withVpnClientProtocols

public VpnClientConfiguration withVpnClientProtocols(List vpnClientProtocols)

Set the vpnClientProtocols property: VpnClientProtocols for Virtual network gateway.

Parameters:

vpnClientProtocols - the vpnClientProtocols value to set.

Returns:

the VpnClientConfiguration object itself.

withVpnClientRevokedCertificates

public VpnClientConfiguration withVpnClientRevokedCertificates(List vpnClientRevokedCertificates)

Set the vpnClientRevokedCertificates property: VpnClientRevokedCertificate for Virtual network gateway.

Parameters:

vpnClientRevokedCertificates - the vpnClientRevokedCertificates value to set.

Returns:

the VpnClientConfiguration object itself.

withVpnClientRootCertificates

public VpnClientConfiguration withVpnClientRootCertificates(List vpnClientRootCertificates)

Set the vpnClientRootCertificates property: VpnClientRootCertificate for virtual network gateway.

Parameters:

vpnClientRootCertificates - the vpnClientRootCertificates value to set.

Returns:

the VpnClientConfiguration object itself.

Applies to