Class VpnServerConfigurationInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.network.fluent.models.VpnServerConfigurationInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class VpnServerConfigurationInner
extends com.azure.core.management.Resource
VpnServerConfiguration Resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VpnServerConfigurationInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the aadAuthenticationParameters property: The set of aad vpn authentication parameters.Get the configurationPolicyGroups property: List of all VpnServerConfigurationPolicyGroups.etag()Get the etag property: A unique read-only string that changes whenever the resource is updated.Get the etag property: A unique read-only string that changes whenever the resource is updated.static VpnServerConfigurationInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VpnServerConfigurationInner from the JsonReader.id()Get the id property: Resource ID.name()Get the name property: The name of the resource.Get the name property: The name of the VpnServerConfiguration that is unique within a resource group.Get the p2SVpnGateways property: List of references to P2SVpnGateways.Get the provisioningState property: The provisioning state of the VpnServerConfiguration resource.Get the radiusClientRootCertificates property: Radius client root certificate of VpnServerConfiguration.Get the radiusServerAddress property: The radius server address property of the VpnServerConfiguration resource for point to site client connection.Get the radiusServerRootCertificates property: Radius Server root certificate of VpnServerConfiguration.Get the radiusServers property: Multiple Radius Server configuration for VpnServerConfiguration.Get the radiusServerSecret property: The radius secret property of the VpnServerConfiguration resource for point to site client connection.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.voidvalidate()Validates the instance.Get the vpnAuthenticationTypes property: VPN authentication types for the VpnServerConfiguration.Get the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for VpnServerConfiguration.Get the vpnClientRevokedCertificates property: VPN client revoked certificate of VpnServerConfiguration.Get the vpnClientRootCertificates property: VPN client root certificate of VpnServerConfiguration.Get the vpnProtocols property: VPN protocols for the VpnServerConfiguration.withAadAuthenticationParameters(AadAuthenticationParameters aadAuthenticationParameters) Set the aadAuthenticationParameters property: The set of aad vpn authentication parameters.withConfigurationPolicyGroups(List<VpnServerConfigurationPolicyGroupInner> configurationPolicyGroups) Set the configurationPolicyGroups property: List of all VpnServerConfigurationPolicyGroups.Set the id property: Resource ID.withLocation(String location) withNamePropertiesName(String name) Set the name property: The name of the VpnServerConfiguration that is unique within a resource group.withRadiusClientRootCertificates(List<VpnServerConfigRadiusClientRootCertificate> radiusClientRootCertificates) Set the radiusClientRootCertificates property: Radius client root certificate of VpnServerConfiguration.withRadiusServerAddress(String radiusServerAddress) Set the radiusServerAddress property: The radius server address property of the VpnServerConfiguration resource for point to site client connection.withRadiusServerRootCertificates(List<VpnServerConfigRadiusServerRootCertificate> radiusServerRootCertificates) Set the radiusServerRootCertificates property: Radius Server root certificate of VpnServerConfiguration.withRadiusServers(List<RadiusServer> radiusServers) Set the radiusServers property: Multiple Radius Server configuration for VpnServerConfiguration.withRadiusServerSecret(String radiusServerSecret) Set the radiusServerSecret property: The radius secret property of the VpnServerConfiguration resource for point to site client connection.withVpnAuthenticationTypes(List<VpnAuthenticationType> vpnAuthenticationTypes) Set the vpnAuthenticationTypes property: VPN authentication types for the VpnServerConfiguration.withVpnClientIpsecPolicies(List<IpsecPolicy> vpnClientIpsecPolicies) Set the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for VpnServerConfiguration.withVpnClientRevokedCertificates(List<VpnServerConfigVpnClientRevokedCertificate> vpnClientRevokedCertificates) Set the vpnClientRevokedCertificates property: VPN client revoked certificate of VpnServerConfiguration.withVpnClientRootCertificates(List<VpnServerConfigVpnClientRootCertificate> vpnClientRootCertificates) Set the vpnClientRootCertificates property: VPN client root certificate of VpnServerConfiguration.withVpnProtocols(List<VpnGatewayTunnelingProtocol> vpnProtocols) Set the vpnProtocols property: VPN protocols for the VpnServerConfiguration.Methods inherited from class com.azure.core.management.Resource
location, tagsMethods 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
-
VpnServerConfigurationInner
public VpnServerConfigurationInner()Creates an instance of VpnServerConfigurationInner class.
-
-
Method Details
-
etag
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
id
Get the id property: Resource ID.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withId
Set the id property: Resource ID.- Parameters:
id- the id value to set.- Returns:
- the VpnServerConfigurationInner object itself.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
namePropertiesName
Get the name property: The name of the VpnServerConfiguration that is unique within a resource group.- Returns:
- the name value.
-
withNamePropertiesName
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.
-
vpnProtocols
Get the vpnProtocols property: VPN protocols for the VpnServerConfiguration.- Returns:
- the vpnProtocols value.
-
withVpnProtocols
Set the vpnProtocols property: VPN protocols for the VpnServerConfiguration.- Parameters:
vpnProtocols- the vpnProtocols value to set.- Returns:
- the VpnServerConfigurationInner object itself.
-
vpnAuthenticationTypes
Get the vpnAuthenticationTypes property: VPN authentication types for the VpnServerConfiguration.- Returns:
- the vpnAuthenticationTypes value.
-
withVpnAuthenticationTypes
public VpnServerConfigurationInner withVpnAuthenticationTypes(List<VpnAuthenticationType> vpnAuthenticationTypes) Set the vpnAuthenticationTypes property: VPN authentication types for the VpnServerConfiguration.- Parameters:
vpnAuthenticationTypes- the vpnAuthenticationTypes value to set.- Returns:
- the VpnServerConfigurationInner object itself.
-
vpnClientRootCertificates
Get the vpnClientRootCertificates property: VPN client root certificate of VpnServerConfiguration.- Returns:
- the vpnClientRootCertificates value.
-
withVpnClientRootCertificates
public VpnServerConfigurationInner withVpnClientRootCertificates(List<VpnServerConfigVpnClientRootCertificate> vpnClientRootCertificates) Set the vpnClientRootCertificates property: VPN client root certificate of VpnServerConfiguration.- Parameters:
vpnClientRootCertificates- the vpnClientRootCertificates value to set.- Returns:
- the VpnServerConfigurationInner object itself.
-
vpnClientRevokedCertificates
Get the vpnClientRevokedCertificates property: VPN client revoked certificate of VpnServerConfiguration.- Returns:
- the vpnClientRevokedCertificates value.
-
withVpnClientRevokedCertificates
public VpnServerConfigurationInner withVpnClientRevokedCertificates(List<VpnServerConfigVpnClientRevokedCertificate> vpnClientRevokedCertificates) Set the vpnClientRevokedCertificates property: VPN client revoked certificate of VpnServerConfiguration.- Parameters:
vpnClientRevokedCertificates- the vpnClientRevokedCertificates value to set.- Returns:
- the VpnServerConfigurationInner object itself.
-
radiusServerRootCertificates
Get the radiusServerRootCertificates property: Radius Server root certificate of VpnServerConfiguration.- Returns:
- the radiusServerRootCertificates value.
-
withRadiusServerRootCertificates
public VpnServerConfigurationInner withRadiusServerRootCertificates(List<VpnServerConfigRadiusServerRootCertificate> radiusServerRootCertificates) Set the radiusServerRootCertificates property: Radius Server root certificate of VpnServerConfiguration.- Parameters:
radiusServerRootCertificates- the radiusServerRootCertificates value to set.- Returns:
- the VpnServerConfigurationInner object itself.
-
radiusClientRootCertificates
Get the radiusClientRootCertificates property: Radius client root certificate of VpnServerConfiguration.- Returns:
- the radiusClientRootCertificates value.
-
withRadiusClientRootCertificates
public VpnServerConfigurationInner withRadiusClientRootCertificates(List<VpnServerConfigRadiusClientRootCertificate> radiusClientRootCertificates) Set the radiusClientRootCertificates property: Radius client root certificate of VpnServerConfiguration.- Parameters:
radiusClientRootCertificates- the radiusClientRootCertificates value to set.- Returns:
- the VpnServerConfigurationInner object itself.
-
vpnClientIpsecPolicies
Get the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for VpnServerConfiguration.- Returns:
- the vpnClientIpsecPolicies value.
-
withVpnClientIpsecPolicies
public VpnServerConfigurationInner withVpnClientIpsecPolicies(List<IpsecPolicy> vpnClientIpsecPolicies) Set the vpnClientIpsecPolicies property: VpnClientIpsecPolicies for VpnServerConfiguration.- Parameters:
vpnClientIpsecPolicies- the vpnClientIpsecPolicies value to set.- Returns:
- the VpnServerConfigurationInner object itself.
-
radiusServerAddress
Get the radiusServerAddress property: The radius server address property of the VpnServerConfiguration resource for point to site client connection.- Returns:
- the radiusServerAddress value.
-
withRadiusServerAddress
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.
-
radiusServerSecret
Get the radiusServerSecret property: The radius secret property of the VpnServerConfiguration resource for point to site client connection.- Returns:
- the radiusServerSecret value.
-
withRadiusServerSecret
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.
-
radiusServers
Get the radiusServers property: Multiple Radius Server configuration for VpnServerConfiguration.- Returns:
- the radiusServers value.
-
withRadiusServers
Set the radiusServers property: Multiple Radius Server configuration for VpnServerConfiguration.- Parameters:
radiusServers- the radiusServers value to set.- Returns:
- the VpnServerConfigurationInner object itself.
-
aadAuthenticationParameters
Get the aadAuthenticationParameters property: The set of aad vpn authentication parameters.- Returns:
- the aadAuthenticationParameters 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.
-
provisioningState
Get the provisioningState property: The provisioning state of the VpnServerConfiguration resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.- Returns:
- the provisioningState value.
-
p2SVpnGateways
Get the p2SVpnGateways property: List of references to P2SVpnGateways.- Returns:
- the p2SVpnGateways value.
-
configurationPolicyGroups
Get the configurationPolicyGroups property: List of all VpnServerConfigurationPolicyGroups.- Returns:
- the configurationPolicyGroups value.
-
withConfigurationPolicyGroups
public VpnServerConfigurationInner withConfigurationPolicyGroups(List<VpnServerConfigurationPolicyGroupInner> configurationPolicyGroups) Set the configurationPolicyGroups property: List of all VpnServerConfigurationPolicyGroups.- Parameters:
configurationPolicyGroups- the configurationPolicyGroups value to set.- Returns:
- the VpnServerConfigurationInner object itself.
-
etagPropertiesEtag
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.Resource- Throws:
IOException
-
fromJson
public static VpnServerConfigurationInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the VpnServerConfigurationInner.
-