Skip to main content

p2s_vpn_gateways

Overview

Namep2s_vpn_gateways
TypeResource
Idazure.network.p2s_vpn_gateways

Fields

NameDatatypeDescription
idstringResource ID.
namestringResource name.
etagstringA unique read-only string that changes whenever the resource is updated.
locationstringResource location.
propertiesobjectParameters for P2SVpnGateway.
tagsobjectResource tags.
typestringResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTgatewayName, resourceGroupName, subscriptionIdRetrieves the details of a virtual wan p2s vpn gateway.
listSELECTsubscriptionIdLists all the P2SVpnGateways in a subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdLists all the P2SVpnGateways in a resource group.
create_or_updateINSERTgatewayName, resourceGroupName, subscriptionId, data__locationCreates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway.
deleteDELETEgatewayName, resourceGroupName, subscriptionIdDeletes a virtual wan p2s vpn gateway.
_listEXECsubscriptionIdLists all the P2SVpnGateways in a subscription.
_list_by_resource_groupEXECresourceGroupName, subscriptionIdLists all the P2SVpnGateways in a resource group.
disconnect_p2s_vpn_connectionsEXECp2sVpnGatewayName, resourceGroupName, subscriptionIdDisconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group.
generate_vpn_profileEXECgatewayName, resourceGroupName, subscriptionIdGenerates VPN profile for P2S client of the P2SVpnGateway in the specified resource group.
resetEXECgatewayName, resourceGroupName, subscriptionIdResets the primary of the p2s vpn gateway in the specified resource group.