naftiko: 1.0.0-alpha2 info: label: Microsoft Azure VirtualWANAsAServiceManagementClient — P2SVpnGateways description: 'Microsoft Azure VirtualWANAsAServiceManagementClient — P2SVpnGateways. 6 operations. Lead operation: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network P2svpngateways Gatewayname. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - P2SVpnGateways created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY capability: consumes: - type: http namespace: virtualwanasaservicemanagementclient-p2svpngateways baseUri: https://management.azure.com description: Microsoft Azure VirtualWANAsAServiceManagementClient — P2SVpnGateways business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName} operations: - name: microsoftazurep2svpngatewaysupdatetags method: PATCH description: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network P2svpngateways Gatewayname outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: resourceGroupName in: path type: string description: The resource group name of the P2SVpnGateway. required: true - name: gatewayName in: path type: string description: The name of the gateway. required: true - name: p2SVpnGatewayParameters in: body type: string description: Parameters supplied to update a virtual wan p2s vpn gateway tags. required: true - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/generatevpnprofile operations: - name: microsoftazurep2svpngatewaysgeneratevpnprofile method: POST description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network P2svpngateways Gatewayname Generatevpnprofile outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: resourceGroupName in: path type: string description: The name of the resource group. required: true - name: gatewayName in: path type: string description: The name of the P2SVpnGateway. required: true - name: parameters in: body type: string description: Parameters supplied to the generate P2SVpnGateway VPN client package operation. required: true - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth operations: - name: microsoftazurep2svpngatewaysgetp2svpnconnectionhealth method: POST description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network P2svpngateways Gatewayname Getp2svpnconnectionhealth outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: resourceGroupName in: path type: string description: The name of the resource group. required: true - name: gatewayName in: path type: string description: The name of the P2SVpnGateway. required: true - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealthDetailed operations: - name: microsoftazurep2svpngatewaysgetp2svpnconnectionhealthdetailed method: POST description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network P2svpngateways Gatewayname Getp2svpnconnectionhealthdetailed outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: resourceGroupName in: path type: string description: The name of the resource group. required: true - name: gatewayName in: path type: string description: The name of the P2SVpnGateway. required: true - name: request in: body type: string description: Request parameters supplied to get p2s vpn connections detailed health. required: true - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/reset operations: - name: microsoftazurep2svpngatewaysreset method: POST description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network P2svpngateways Gatewayname Reset outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: resourceGroupName in: path type: string description: The resource group name of the P2SVpnGateway. required: true - name: gatewayName in: path type: string description: The name of the gateway. required: true - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{p2sVpnGatewayName}/disconnectP2sVpnConnections operations: - name: microsoftazurep2svpngatewaysdisconnectp2svpnconnections method: POST description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network P2svpngateways P2svpngatewayname Disconnectp2svpnconnections outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: resourceGroupName in: path type: string description: The name of the resource group. required: true - name: p2sVpnGatewayName in: path type: string description: The name of the P2S Vpn Gateway. required: true - name: request in: body type: string description: The parameters are supplied to disconnect p2s vpn connections. required: true exposes: - type: rest namespace: virtualwanasaservicemanagementclient-p2svpngateways-rest port: 8080 description: REST adapter for Microsoft Azure VirtualWANAsAServiceManagementClient — P2SVpnGateways. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/p2svpngateways/{gatewayname} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: PATCH name: microsoftazurep2svpngatewaysupdatetags description: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network P2svpngateways Gatewayname call: virtualwanasaservicemanagementclient-p2svpngateways.microsoftazurep2svpngatewaysupdatetags with: resourceGroupName: rest.resourceGroupName gatewayName: rest.gatewayName p2SVpnGatewayParameters: rest.p2SVpnGatewayParameters outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/p2svpngateways/{gatewayname}/generatevpnprofile name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: POST name: microsoftazurep2svpngatewaysgeneratevpnprofile description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network P2svpngateways Gatewayname Generatevpnprofile call: virtualwanasaservicemanagementclient-p2svpngateways.microsoftazurep2svpngatewaysgeneratevpnprofile with: resourceGroupName: rest.resourceGroupName gatewayName: rest.gatewayName parameters: rest.parameters outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/p2svpngateways/{gatewayname}/getp2svpnconnectionhealth name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: POST name: microsoftazurep2svpngatewaysgetp2svpnconnectionhealth description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network P2svpngateways Gatewayname Getp2svpnconnectionhealth call: virtualwanasaservicemanagementclient-p2svpngateways.microsoftazurep2svpngatewaysgetp2svpnconnectionhealth with: resourceGroupName: rest.resourceGroupName gatewayName: rest.gatewayName outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/p2svpngateways/{gatewayname}/getp2svpnconnectionhealthdetailed name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: POST name: microsoftazurep2svpngatewaysgetp2svpnconnectionhealthdetailed description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network P2svpngateways Gatewayname Getp2svpnconnectionhealthdetailed call: virtualwanasaservicemanagementclient-p2svpngateways.microsoftazurep2svpngatewaysgetp2svpnconnectionhealthdetailed with: resourceGroupName: rest.resourceGroupName gatewayName: rest.gatewayName request: rest.request outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/p2svpngateways/{gatewayname}/reset name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: POST name: microsoftazurep2svpngatewaysreset description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network P2svpngateways Gatewayname Reset call: virtualwanasaservicemanagementclient-p2svpngateways.microsoftazurep2svpngatewaysreset with: resourceGroupName: rest.resourceGroupName gatewayName: rest.gatewayName outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-network/p2svpngateways/{p2svpngatewayname}/disconnectp2svpnconnections name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: POST name: microsoftazurep2svpngatewaysdisconnectp2svpnconnections description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network P2svpngateways P2svpngatewayname Disconnectp2svpnconnections call: virtualwanasaservicemanagementclient-p2svpngateways.microsoftazurep2svpngatewaysdisconnectp2svpnconnections with: resourceGroupName: rest.resourceGroupName p2sVpnGatewayName: rest.p2sVpnGatewayName request: rest.request outputParameters: - type: object mapping: $. - type: mcp namespace: virtualwanasaservicemanagementclient-p2svpngateways-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure VirtualWANAsAServiceManagementClient — P2SVpnGateways. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-patch-subscriptions-subscriptionid description: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network P2svpngateways Gatewayname hints: readOnly: false destructive: false idempotent: true call: virtualwanasaservicemanagementclient-p2svpngateways.microsoftazurep2svpngatewaysupdatetags with: resourceGroupName: tools.resourceGroupName gatewayName: tools.gatewayName p2SVpnGatewayParameters: tools.p2SVpnGatewayParameters outputParameters: - type: object mapping: $. - name: microsoft-azure-post-subscriptions-subscriptionid description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network P2svpngateways Gatewayname Generatevpnprofile hints: readOnly: false destructive: false idempotent: false call: virtualwanasaservicemanagementclient-p2svpngateways.microsoftazurep2svpngatewaysgeneratevpnprofile with: resourceGroupName: tools.resourceGroupName gatewayName: tools.gatewayName parameters: tools.parameters outputParameters: - type: object mapping: $. - name: microsoft-azure-post-subscriptions-subscriptionid-2 description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network P2svpngateways Gatewayname Getp2svpnconnectionhealth hints: readOnly: false destructive: false idempotent: false call: virtualwanasaservicemanagementclient-p2svpngateways.microsoftazurep2svpngatewaysgetp2svpnconnectionhealth with: resourceGroupName: tools.resourceGroupName gatewayName: tools.gatewayName outputParameters: - type: object mapping: $. - name: microsoft-azure-post-subscriptions-subscriptionid-3 description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network P2svpngateways Gatewayname Getp2svpnconnectionhealthdetailed hints: readOnly: false destructive: false idempotent: false call: virtualwanasaservicemanagementclient-p2svpngateways.microsoftazurep2svpngatewaysgetp2svpnconnectionhealthdetailed with: resourceGroupName: tools.resourceGroupName gatewayName: tools.gatewayName request: tools.request outputParameters: - type: object mapping: $. - name: microsoft-azure-post-subscriptions-subscriptionid-4 description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network P2svpngateways Gatewayname Reset hints: readOnly: false destructive: false idempotent: false call: virtualwanasaservicemanagementclient-p2svpngateways.microsoftazurep2svpngatewaysreset with: resourceGroupName: tools.resourceGroupName gatewayName: tools.gatewayName outputParameters: - type: object mapping: $. - name: microsoft-azure-post-subscriptions-subscriptionid-5 description: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Network P2svpngateways P2svpngatewayname Disconnectp2svpnconnections hints: readOnly: false destructive: false idempotent: false call: virtualwanasaservicemanagementclient-p2svpngateways.microsoftazurep2svpngatewaysdisconnectp2svpnconnections with: resourceGroupName: tools.resourceGroupName p2sVpnGatewayName: tools.p2sVpnGatewayName request: tools.request outputParameters: - type: object mapping: $.