VpnServerConfigurationProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.VpnServerConfigurationProperties

Implements

public final class VpnServerConfigurationProperties
implements JsonSerializable<VpnServerConfigurationProperties>

Parameters for VpnServerConfiguration.

Constructor Summary

Constructor Description
VpnServerConfigurationProperties()

Creates an instance of VpnServerConfigurationProperties class.

Method Summary

Modifier and Type Method and Description
AadAuthenticationParameters aadAuthenticationParameters()

Get the aadAuthenticationParameters property: The set of aad vpn authentication parameters.

List<VpnServerConfigurationPolicyGroupInner> configurationPolicyGroups()

Get the configurationPolicyGroups property: List of all VpnServerConfigurationPolicyGroups.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static VpnServerConfigurationProperties fromJson(JsonReader jsonReader)

Reads an instance of VpnServerConfigurationProperties from the JsonReader.

String name()

Get the name property: The name of the VpnServerConfiguration that is unique within a resource group.

List<P2SVpnGatewayInner> p2SVpnGateways()

Get the p2SVpnGateways property: List of references to P2SVpnGateways.

String provisioningState()

Get the provisioningState property: The provisioning state of the VpnServerConfiguration resource.

List<VpnServerConfigRadiusClientRootCertificate> radiusClientRootCertificates()

Get the radiusClientRootCertificates property: Radius client root certificate of VpnServerConfiguration.

String radiusServerAddress()

Get the radiusServerAddress property: The radius server address property of the VpnServerConfiguration resource for point to site client connection.

List<VpnServerConfigRadiusServerRootCertificate> radiusServerRootCertificates()

Get the radiusServerRootCertificates property: Radius Server root certificate of VpnServerConfiguration.

List<RadiusServer> radiusServers()

Get the radiusServers property: Multiple Radius Server configuration for VpnServerConfiguration.

String radiusServerSecret()

Get the radiusServerSecret property: The radius secret property of the VpnServerConfiguration resource for point to site client connection.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<VpnAuthenticationType> vpnAuthenticationTypes()

Get the vpnAuthenticationTypes property: VPN authentication types for the VpnServerConfiguration.

List<IpsecPolicy> vpnClientIpsecPolicies()

Get the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for VpnServerConfiguration.

List<VpnServerConfigVpnClientRevokedCertificate> vpnClientRevokedCertificates()

Get the vpnClientRevokedCertificates property: VPN client revoked certificate of VpnServerConfiguration.

List<VpnServerConfigVpnClientRootCertificate> vpnClientRootCertificates()

Get the vpnClientRootCertificates property: VPN client root certificate of VpnServerConfiguration.

List<VpnGatewayTunnelingProtocol> vpnProtocols()

Get the vpnProtocols property: VPN protocols for the VpnServerConfiguration.

VpnServerConfigurationProperties withAadAuthenticationParameters(AadAuthenticationParameters aadAuthenticationParameters)

Set the aadAuthenticationParameters property: The set of aad vpn authentication parameters.

VpnServerConfigurationProperties withConfigurationPolicyGroups(List<VpnServerConfigurationPolicyGroupInner> configurationPolicyGroups)

Set the configurationPolicyGroups property: List of all VpnServerConfigurationPolicyGroups.

VpnServerConfigurationProperties withName(String name)

Set the name property: The name of the VpnServerConfiguration that is unique within a resource group.

VpnServerConfigurationProperties withRadiusClientRootCertificates(List<VpnServerConfigRadiusClientRootCertificate> radiusClientRootCertificates)

Set the radiusClientRootCertificates property: Radius client root certificate of VpnServerConfiguration.

VpnServerConfigurationProperties withRadiusServerAddress(String radiusServerAddress)

Set the radiusServerAddress property: The radius server address property of the VpnServerConfiguration resource for point to site client connection.

VpnServerConfigurationProperties withRadiusServerRootCertificates(List<VpnServerConfigRadiusServerRootCertificate> radiusServerRootCertificates)

Set the radiusServerRootCertificates property: Radius Server root certificate of VpnServerConfiguration.

VpnServerConfigurationProperties withRadiusServers(List<RadiusServer> radiusServers)

Set the radiusServers property: Multiple Radius Server configuration for VpnServerConfiguration.

VpnServerConfigurationProperties withRadiusServerSecret(String radiusServerSecret)

Set the radiusServerSecret property: The radius secret property of the VpnServerConfiguration resource for point to site client connection.

VpnServerConfigurationProperties withVpnAuthenticationTypes(List<VpnAuthenticationType> vpnAuthenticationTypes)

Set the vpnAuthenticationTypes property: VPN authentication types for the VpnServerConfiguration.

VpnServerConfigurationProperties withVpnClientIpsecPolicies(List<IpsecPolicy> vpnClientIpsecPolicies)

Set the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for VpnServerConfiguration.

VpnServerConfigurationProperties withVpnClientRevokedCertificates(List<VpnServerConfigVpnClientRevokedCertificate> vpnClientRevokedCertificates)

Set the vpnClientRevokedCertificates property: VPN client revoked certificate of VpnServerConfiguration.

VpnServerConfigurationProperties withVpnClientRootCertificates(List<VpnServerConfigVpnClientRootCertificate> vpnClientRootCertificates)

Set the vpnClientRootCertificates property: VPN client root certificate of VpnServerConfiguration.

VpnServerConfigurationProperties withVpnProtocols(List<VpnGatewayTunnelingProtocol> vpnProtocols)

Set the vpnProtocols property: VPN protocols for the VpnServerConfiguration.

Methods inherited from java.lang.Object

Constructor Details

VpnServerConfigurationProperties

public VpnServerConfigurationProperties()

Creates an instance of VpnServerConfigurationProperties class.

Method Details

aadAuthenticationParameters

public AadAuthenticationParameters aadAuthenticationParameters()

Get the aadAuthenticationParameters property: The set of aad vpn authentication parameters.

Returns:

the aadAuthenticationParameters value.

configurationPolicyGroups

public List<VpnServerConfigurationPolicyGroupInner> configurationPolicyGroups()

Get the configurationPolicyGroups property: List of all VpnServerConfigurationPolicyGroups.

Returns:

the configurationPolicyGroups value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static VpnServerConfigurationProperties fromJson(JsonReader jsonReader)

Reads an instance of VpnServerConfigurationProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VpnServerConfigurationProperties 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 VpnServerConfigurationProperties.

name

public String name()

Get the name property: The name of the VpnServerConfiguration that is unique within a resource group.

Returns:

the name value.

p2SVpnGateways

public List<P2SVpnGatewayInner> p2SVpnGateways()

Get the p2SVpnGateways property: List of references to P2SVpnGateways.

Returns:

the p2SVpnGateways value.

provisioningState

public String provisioningState()

Get the provisioningState property: The provisioning state of the VpnServerConfiguration resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.

Returns:

the provisioningState value.

radiusClientRootCertificates

public List<VpnServerConfigRadiusClientRootCertificate> radiusClientRootCertificates()

Get the radiusClientRootCertificates property: Radius client root certificate of VpnServerConfiguration.

Returns:

the radiusClientRootCertificates value.

radiusServerAddress

public String radiusServerAddress()

Get the radiusServerAddress property: The radius server address property of the VpnServerConfiguration resource for point to site client connection.

Returns:

the radiusServerAddress value.

radiusServerRootCertificates

public List<VpnServerConfigRadiusServerRootCertificate> radiusServerRootCertificates()

Get the radiusServerRootCertificates property: Radius Server root certificate of VpnServerConfiguration.

Returns:

the radiusServerRootCertificates value.

radiusServers

public List<RadiusServer> radiusServers()

Get the radiusServers property: Multiple Radius Server configuration for VpnServerConfiguration.

Returns:

the radiusServers value.

radiusServerSecret

public String radiusServerSecret()

Get the radiusServerSecret property: The radius secret property of the VpnServerConfiguration resource for point to site client connection. We will no longer return radiusServerSecret in VpnServerConfiguration Create/Update/Get/List/UpdateTags APIs response. Please use VpnServerConfiguration ListRadiusSecrets API to fetch radius server secrets.

Returns:

the radiusServerSecret value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

vpnAuthenticationTypes

public List<VpnAuthenticationType> vpnAuthenticationTypes()

Get the vpnAuthenticationTypes property: VPN authentication types for the VpnServerConfiguration.

Returns:

the vpnAuthenticationTypes value.

vpnClientIpsecPolicies

public List<IpsecPolicy> vpnClientIpsecPolicies()

Get the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for VpnServerConfiguration.

Returns:

the vpnClientIpsecPolicies value.

vpnClientRevokedCertificates

public List<VpnServerConfigVpnClientRevokedCertificate> vpnClientRevokedCertificates()

Get the vpnClientRevokedCertificates property: VPN client revoked certificate of VpnServerConfiguration.

Returns:

the vpnClientRevokedCertificates value.

vpnClientRootCertificates

public List<VpnServerConfigVpnClientRootCertificate> vpnClientRootCertificates()

Get the vpnClientRootCertificates property: VPN client root certificate of VpnServerConfiguration.

Returns:

the vpnClientRootCertificates value.

vpnProtocols

public List<VpnGatewayTunnelingProtocol> vpnProtocols()

Get the vpnProtocols property: VPN protocols for the VpnServerConfiguration.

Returns:

the vpnProtocols value.

withAadAuthenticationParameters

public VpnServerConfigurationProperties withAadAuthenticationParameters(AadAuthenticationParameters aadAuthenticationParameters)

Set the aadAuthenticationParameters property: The set of aad vpn authentication parameters.

Parameters:

aadAuthenticationParameters - the aadAuthenticationParameters value to set.

Returns:

the VpnServerConfigurationProperties object itself.

withConfigurationPolicyGroups

public VpnServerConfigurationProperties withConfigurationPolicyGroups(List<VpnServerConfigurationPolicyGroupInner> configurationPolicyGroups)

Set the configurationPolicyGroups property: List of all VpnServerConfigurationPolicyGroups.

Parameters:

configurationPolicyGroups - the configurationPolicyGroups value to set.

Returns:

the VpnServerConfigurationProperties object itself.

withName

public VpnServerConfigurationProperties withName(String name)

Set the name property: The name of the VpnServerConfiguration that is unique within a resource group.

Parameters:

name - the name value to set.

Returns:

the VpnServerConfigurationProperties object itself.

withRadiusClientRootCertificates

public VpnServerConfigurationProperties withRadiusClientRootCertificates(List<VpnServerConfigRadiusClientRootCertificate> radiusClientRootCertificates)

Set the radiusClientRootCertificates property: Radius client root certificate of VpnServerConfiguration.

Parameters:

radiusClientRootCertificates - the radiusClientRootCertificates value to set.

Returns:

the VpnServerConfigurationProperties object itself.

withRadiusServerAddress

public VpnServerConfigurationProperties withRadiusServerAddress(String radiusServerAddress)

Set the radiusServerAddress property: The radius server address property of the VpnServerConfiguration resource for point to site client connection.

Parameters:

radiusServerAddress - the radiusServerAddress value to set.

Returns:

the VpnServerConfigurationProperties object itself.

withRadiusServerRootCertificates

public VpnServerConfigurationProperties withRadiusServerRootCertificates(List<VpnServerConfigRadiusServerRootCertificate> radiusServerRootCertificates)

Set the radiusServerRootCertificates property: Radius Server root certificate of VpnServerConfiguration.

Parameters:

radiusServerRootCertificates - the radiusServerRootCertificates value to set.

Returns:

the VpnServerConfigurationProperties object itself.

withRadiusServers

public VpnServerConfigurationProperties withRadiusServers(List<RadiusServer> radiusServers)

Set the radiusServers property: Multiple Radius Server configuration for VpnServerConfiguration.

Parameters:

radiusServers - the radiusServers value to set.

Returns:

the VpnServerConfigurationProperties object itself.

withRadiusServerSecret

public VpnServerConfigurationProperties withRadiusServerSecret(String radiusServerSecret)

Set the radiusServerSecret property: The radius secret property of the VpnServerConfiguration resource for point to site client connection. We will no longer return radiusServerSecret in VpnServerConfiguration Create/Update/Get/List/UpdateTags APIs response. Please use VpnServerConfiguration ListRadiusSecrets API to fetch radius server secrets.

Parameters:

radiusServerSecret - the radiusServerSecret value to set.

Returns:

the VpnServerConfigurationProperties object itself.

withVpnAuthenticationTypes

public VpnServerConfigurationProperties withVpnAuthenticationTypes(List<VpnAuthenticationType> vpnAuthenticationTypes)

Set the vpnAuthenticationTypes property: VPN authentication types for the VpnServerConfiguration.

Parameters:

vpnAuthenticationTypes - the vpnAuthenticationTypes value to set.

Returns:

the VpnServerConfigurationProperties object itself.

withVpnClientIpsecPolicies

public VpnServerConfigurationProperties withVpnClientIpsecPolicies(List<IpsecPolicy> vpnClientIpsecPolicies)

Set the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for VpnServerConfiguration.

Parameters:

vpnClientIpsecPolicies - the vpnClientIpsecPolicies value to set.

Returns:

the VpnServerConfigurationProperties object itself.

withVpnClientRevokedCertificates

public VpnServerConfigurationProperties withVpnClientRevokedCertificates(List<VpnServerConfigVpnClientRevokedCertificate> vpnClientRevokedCertificates)

Set the vpnClientRevokedCertificates property: VPN client revoked certificate of VpnServerConfiguration.

Parameters:

vpnClientRevokedCertificates - the vpnClientRevokedCertificates value to set.

Returns:

the VpnServerConfigurationProperties object itself.

withVpnClientRootCertificates

public VpnServerConfigurationProperties withVpnClientRootCertificates(List<VpnServerConfigVpnClientRootCertificate> vpnClientRootCertificates)

Set the vpnClientRootCertificates property: VPN client root certificate of VpnServerConfiguration.

Parameters:

vpnClientRootCertificates - the vpnClientRootCertificates value to set.

Returns:

the VpnServerConfigurationProperties object itself.

withVpnProtocols

public VpnServerConfigurationProperties withVpnProtocols(List<VpnGatewayTunnelingProtocol> vpnProtocols)

Set the vpnProtocols property: VPN protocols for the VpnServerConfiguration.

Parameters:

vpnProtocols - the vpnProtocols value to set.

Returns:

the VpnServerConfigurationProperties object itself.

Applies to