VpnServerConfigurationInner Class

public final class VpnServerConfigurationInner
extends Resource

VpnServerConfiguration Resource.

Constructor Summary

Constructor Description
VpnServerConfigurationInner()

Creates an instance of VpnServerConfigurationInner 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.

String etagPropertiesEtag()

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

static VpnServerConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of VpnServerConfigurationInner from the JsonReader.

String id()

Get the id property: Resource ID.

String name()

Get the name property: The name of the resource.

String namePropertiesName()

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.

String radiusServerSecret()

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

List<RadiusServer> radiusServers()

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

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

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.

VpnServerConfigurationInner withAadAuthenticationParameters(AadAuthenticationParameters aadAuthenticationParameters)

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

VpnServerConfigurationInner withConfigurationPolicyGroups(List<VpnServerConfigurationPolicyGroupInner> configurationPolicyGroups)

Set the configurationPolicyGroups property: List of all VpnServerConfigurationPolicyGroups.

VpnServerConfigurationInner withId(String id)

Set the id property: Resource ID.

VpnServerConfigurationInner withLocation(String location)
VpnServerConfigurationInner withNamePropertiesName(String name)

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

VpnServerConfigurationInner withRadiusClientRootCertificates(List<VpnServerConfigRadiusClientRootCertificate> radiusClientRootCertificates)

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

VpnServerConfigurationInner withRadiusServerAddress(String radiusServerAddress)

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

VpnServerConfigurationInner withRadiusServerRootCertificates(List<VpnServerConfigRadiusServerRootCertificate> radiusServerRootCertificates)

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

VpnServerConfigurationInner withRadiusServerSecret(String radiusServerSecret)

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

VpnServerConfigurationInner withRadiusServers(List<RadiusServer> radiusServers)

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

VpnServerConfigurationInner withTags(Map<String,String> tags)
VpnServerConfigurationInner withVpnAuthenticationTypes(List<VpnAuthenticationType> vpnAuthenticationTypes)

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

VpnServerConfigurationInner withVpnClientIpsecPolicies(List<IpsecPolicy> vpnClientIpsecPolicies)

Set the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for VpnServerConfiguration.

VpnServerConfigurationInner withVpnClientRevokedCertificates(List<VpnServerConfigVpnClientRevokedCertificate> vpnClientRevokedCertificates)

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

VpnServerConfigurationInner withVpnClientRootCertificates(List<VpnServerConfigVpnClientRootCertificate> vpnClientRootCertificates)

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

VpnServerConfigurationInner withVpnProtocols(List<VpnGatewayTunnelingProtocol> vpnProtocols)

Set the vpnProtocols property: VPN protocols for the VpnServerConfiguration.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

VpnServerConfigurationInner

public VpnServerConfigurationInner()

Creates an instance of VpnServerConfigurationInner 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 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.

etagPropertiesEtag

public String etagPropertiesEtag()

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

Returns:

the etag value.

fromJson

public static VpnServerConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of VpnServerConfigurationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VpnServerConfigurationInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Resource ID.

Overrides:

VpnServerConfigurationInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

VpnServerConfigurationInner.name()

Returns:

the name value.

namePropertiesName

public String namePropertiesName()

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

Returns:

the name value.

p2SVpnGateways

public List 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 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 radiusServerRootCertificates()

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

Returns:

the radiusServerRootCertificates value.

radiusServerSecret

public String radiusServerSecret()

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

Returns:

the radiusServerSecret value.

radiusServers

public List radiusServers()

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

Returns:

the radiusServers value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

VpnServerConfigurationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

VpnServerConfigurationInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

vpnAuthenticationTypes

public List vpnAuthenticationTypes()

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

Returns:

the vpnAuthenticationTypes value.

vpnClientIpsecPolicies

public List vpnClientIpsecPolicies()

Get the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for VpnServerConfiguration.

Returns:

the vpnClientIpsecPolicies value.

vpnClientRevokedCertificates

public List vpnClientRevokedCertificates()

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

Returns:

the vpnClientRevokedCertificates value.

vpnClientRootCertificates

public List vpnClientRootCertificates()

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

Returns:

the vpnClientRootCertificates value.

vpnProtocols

public List vpnProtocols()

Get the vpnProtocols property: VPN protocols for the VpnServerConfiguration.

Returns:

the vpnProtocols value.

withAadAuthenticationParameters

public VpnServerConfigurationInner withAadAuthenticationParameters(AadAuthenticationParameters aadAuthenticationParameters)

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

Parameters:

aadAuthenticationParameters - the aadAuthenticationParameters value to set.

Returns:

the VpnServerConfigurationInner object itself.

withConfigurationPolicyGroups

public VpnServerConfigurationInner withConfigurationPolicyGroups(List configurationPolicyGroups)

Set the configurationPolicyGroups property: List of all VpnServerConfigurationPolicyGroups.

Parameters:

configurationPolicyGroups - the configurationPolicyGroups value to set.

Returns:

the VpnServerConfigurationInner object itself.

withId

public VpnServerConfigurationInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the VpnServerConfigurationInner object itself.

withLocation

public VpnServerConfigurationInner withLocation(String location)

Overrides:

VpnServerConfigurationInner.withLocation(String location)

Parameters:

location

withNamePropertiesName

public VpnServerConfigurationInner withNamePropertiesName(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 VpnServerConfigurationInner object itself.

withRadiusClientRootCertificates

public VpnServerConfigurationInner withRadiusClientRootCertificates(List radiusClientRootCertificates)

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

Parameters:

radiusClientRootCertificates - the radiusClientRootCertificates value to set.

Returns:

the VpnServerConfigurationInner object itself.

withRadiusServerAddress

public VpnServerConfigurationInner 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 VpnServerConfigurationInner object itself.

withRadiusServerRootCertificates

public VpnServerConfigurationInner withRadiusServerRootCertificates(List radiusServerRootCertificates)

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

Parameters:

radiusServerRootCertificates - the radiusServerRootCertificates value to set.

Returns:

the VpnServerConfigurationInner object itself.

withRadiusServerSecret

public VpnServerConfigurationInner withRadiusServerSecret(String radiusServerSecret)

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

Parameters:

radiusServerSecret - the radiusServerSecret value to set.

Returns:

the VpnServerConfigurationInner object itself.

withRadiusServers

public VpnServerConfigurationInner withRadiusServers(List radiusServers)

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

Parameters:

radiusServers - the radiusServers value to set.

Returns:

the VpnServerConfigurationInner object itself.

withTags

public VpnServerConfigurationInner withTags(Map tags)

Overrides:

VpnServerConfigurationInner.withTags(Map<String,String> tags)

Parameters:

tags

withVpnAuthenticationTypes

public VpnServerConfigurationInner withVpnAuthenticationTypes(List vpnAuthenticationTypes)

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

Parameters:

vpnAuthenticationTypes - the vpnAuthenticationTypes value to set.

Returns:

the VpnServerConfigurationInner object itself.

withVpnClientIpsecPolicies

public VpnServerConfigurationInner withVpnClientIpsecPolicies(List vpnClientIpsecPolicies)

Set the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for VpnServerConfiguration.

Parameters:

vpnClientIpsecPolicies - the vpnClientIpsecPolicies value to set.

Returns:

the VpnServerConfigurationInner object itself.

withVpnClientRevokedCertificates

public VpnServerConfigurationInner withVpnClientRevokedCertificates(List vpnClientRevokedCertificates)

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

Parameters:

vpnClientRevokedCertificates - the vpnClientRevokedCertificates value to set.

Returns:

the VpnServerConfigurationInner object itself.

withVpnClientRootCertificates

public VpnServerConfigurationInner withVpnClientRootCertificates(List vpnClientRootCertificates)

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

Parameters:

vpnClientRootCertificates - the vpnClientRootCertificates value to set.

Returns:

the VpnServerConfigurationInner object itself.

withVpnProtocols

public VpnServerConfigurationInner withVpnProtocols(List vpnProtocols)

Set the vpnProtocols property: VPN protocols for the VpnServerConfiguration.

Parameters:

vpnProtocols - the vpnProtocols value to set.

Returns:

the VpnServerConfigurationInner object itself.

Applies to