Class VpnClientConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.network.models.VpnClientConfiguration
-
public final class VpnClientConfiguration extends Object
VpnClientConfiguration for P2S client.
-
-
Constructor Summary
Constructors Constructor Description VpnClientConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaadAudience()Get the aadAudience property: The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.StringaadIssuer()Get the aadIssuer property: The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.StringaadTenant()Get the aadTenant property: The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.StringradiusServerAddress()Get the radiusServerAddress property: The radius server address property of the VirtualNetworkGateway resource for vpn client connection.List<RadiusServer>radiusServers()Get the radiusServers property: The radiusServers property for multiple radius server configuration.StringradiusServerSecret()Get the radiusServerSecret property: The radius secret property of the VirtualNetworkGateway resource for vpn client connection.voidvalidate()Validates the instance.List<VpnAuthenticationType>vpnAuthenticationTypes()Get the vpnAuthenticationTypes property: VPN authentication types for the virtual network gateway..AddressSpacevpnClientAddressPool()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.VpnClientConfigurationwithAadAudience(String aadAudience)Set the aadAudience property: The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.VpnClientConfigurationwithAadIssuer(String aadIssuer)Set the aadIssuer property: The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.VpnClientConfigurationwithAadTenant(String aadTenant)Set the aadTenant property: The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.VpnClientConfigurationwithRadiusServerAddress(String radiusServerAddress)Set the radiusServerAddress property: The radius server address property of the VirtualNetworkGateway resource for vpn client connection.VpnClientConfigurationwithRadiusServers(List<RadiusServer> radiusServers)Set the radiusServers property: The radiusServers property for multiple radius server configuration.VpnClientConfigurationwithRadiusServerSecret(String radiusServerSecret)Set the radiusServerSecret property: The radius secret property of the VirtualNetworkGateway resource for vpn client connection.VpnClientConfigurationwithVpnAuthenticationTypes(List<VpnAuthenticationType> vpnAuthenticationTypes)Set the vpnAuthenticationTypes property: VPN authentication types for the virtual network gateway..VpnClientConfigurationwithVpnClientAddressPool(AddressSpace vpnClientAddressPool)Set the vpnClientAddressPool property: The reference to the address space resource which represents Address space for P2S VpnClient.VpnClientConfigurationwithVpnClientIpsecPolicies(List<IpsecPolicy> vpnClientIpsecPolicies)Set the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for virtual network gateway P2S client.VpnClientConfigurationwithVpnClientProtocols(List<VpnClientProtocol> vpnClientProtocols)Set the vpnClientProtocols property: VpnClientProtocols for Virtual network gateway.VpnClientConfigurationwithVpnClientRevokedCertificates(List<VpnClientRevokedCertificate> vpnClientRevokedCertificates)Set the vpnClientRevokedCertificates property: VpnClientRevokedCertificate for Virtual network gateway.VpnClientConfigurationwithVpnClientRootCertificates(List<VpnClientRootCertificate> vpnClientRootCertificates)Set the vpnClientRootCertificates property: VpnClientRootCertificate for virtual network gateway.
-
-
-
Method Detail
-
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.
-
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.
-
vpnClientRootCertificates
public List<VpnClientRootCertificate> 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
public List<VpnClientRevokedCertificate> 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
public List<VpnClientProtocol> vpnClientProtocols()
Get the vpnClientProtocols property: VpnClientProtocols for Virtual network gateway.- Returns:
- the vpnClientProtocols value.
-
withVpnClientProtocols
public VpnClientConfiguration withVpnClientProtocols(List<VpnClientProtocol> vpnClientProtocols)
Set the vpnClientProtocols property: VpnClientProtocols for Virtual network gateway.- Parameters:
vpnClientProtocols- the vpnClientProtocols value to set.- Returns:
- the VpnClientConfiguration object itself.
-
vpnAuthenticationTypes
public List<VpnAuthenticationType> 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
public List<IpsecPolicy> vpnClientIpsecPolicies()
Get the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for virtual network gateway P2S client.- Returns:
- the vpnClientIpsecPolicies value.
-
withVpnClientIpsecPolicies
public VpnClientConfiguration withVpnClientIpsecPolicies(List<IpsecPolicy> vpnClientIpsecPolicies)
Set the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for virtual network gateway P2S client.- Parameters:
vpnClientIpsecPolicies- the vpnClientIpsecPolicies value to set.- Returns:
- the VpnClientConfiguration object itself.
-
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.
-
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.
-
radiusServerSecret
public String radiusServerSecret()
Get the radiusServerSecret property: The radius secret property of the VirtualNetworkGateway resource for vpn client connection.- Returns:
- the radiusServerSecret value.
-
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.
-
radiusServers
public List<RadiusServer> radiusServers()
Get the radiusServers property: The radiusServers property for multiple radius server configuration.- Returns:
- the radiusServers value.
-
withRadiusServers
public VpnClientConfiguration withRadiusServers(List<RadiusServer> 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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-