Skip to main content

vpn_server_configurations

Creates, updates, deletes, gets or lists a vpn_server_configurations resource.

Overview

Namevpn_server_configurations
TypeResource
Idazure.network.vpn_server_configurations

Fields

NameDatatypeDescription
idtextResource ID.
nametextResource name.
aad_authentication_parameterstextfield from the properties object
configuration_policy_groupstextfield from the properties object
etagtextA unique read-only string that changes whenever the resource is updated.
locationtextResource location.
p2_s_vpn_gatewaystextfield from the properties object
provisioning_statetextfield from the properties object
radius_client_root_certificatestextfield from the properties object
radius_server_addresstextfield from the properties object
radius_server_root_certificatestextfield from the properties object
radius_server_secrettextfield from the properties object
radius_serverstextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
typetextResource type.
vpnServerConfigurationNametextfield from the properties object
vpn_authentication_typestextfield from the properties object
vpn_client_ipsec_policiestextfield from the properties object
vpn_client_revoked_certificatestextfield from the properties object
vpn_client_root_certificatestextfield from the properties object
vpn_protocolstextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, vpnServerConfigurationNameRetrieves the details of a VpnServerConfiguration.
listSELECTsubscriptionIdLists all the VpnServerConfigurations in a subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdLists all the vpnServerConfigurations in a resource group.
create_or_updateINSERTresourceGroupName, subscriptionId, vpnServerConfigurationNameCreates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.
deleteDELETEresourceGroupName, subscriptionId, vpnServerConfigurationNameDeletes a VpnServerConfiguration.
update_tagsEXECresourceGroupName, subscriptionId, vpnServerConfigurationNameUpdates VpnServerConfiguration tags.

SELECT examples

Lists all the VpnServerConfigurations in a subscription.

SELECT
id,
name,
aad_authentication_parameters,
configuration_policy_groups,
etag,
location,
p2_s_vpn_gateways,
provisioning_state,
radius_client_root_certificates,
radius_server_address,
radius_server_root_certificates,
radius_server_secret,
radius_servers,
resourceGroupName,
subscriptionId,
tags,
type,
vpnServerConfigurationName,
vpn_authentication_types,
vpn_client_ipsec_policies,
vpn_client_revoked_certificates,
vpn_client_root_certificates,
vpn_protocols
FROM azure.network.vw_vpn_server_configurations
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new vpn_server_configurations resource.

/*+ create */
INSERT INTO azure.network.vpn_server_configurations (
resourceGroupName,
subscriptionId,
vpnServerConfigurationName,
properties,
id,
location,
tags
)
SELECT
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ vpnServerConfigurationName }}',
'{{ properties }}',
'{{ id }}',
'{{ location }}',
'{{ tags }}'
;

DELETE example

Deletes the specified vpn_server_configurations resource.

/*+ delete */
DELETE FROM azure.network.vpn_server_configurations
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vpnServerConfigurationName = '{{ vpnServerConfigurationName }}';