import type { PagedAsyncIterableIterator } from "@azure/core-paging"; import type { VpnConnections } from "../operationsInterfaces/index.js"; import type { NetworkManagementClient } from "../networkManagementClient.js"; import type { SimplePollerLike, OperationState } from "@azure/core-lro"; import type { VpnConnection, VpnConnectionsListByVpnGatewayOptionalParams, VpnConnectionsGetOptionalParams, VpnConnectionsGetResponse, VpnConnectionsCreateOrUpdateOptionalParams, VpnConnectionsCreateOrUpdateResponse, VpnConnectionsDeleteOptionalParams, VpnConnectionsStartPacketCaptureOptionalParams, VpnConnectionsStartPacketCaptureResponse, VpnConnectionsStopPacketCaptureOptionalParams, VpnConnectionsStopPacketCaptureResponse } from "../models/index.js"; /** Class containing VpnConnections operations. */ export declare class VpnConnectionsImpl implements VpnConnections { private readonly client; /** * Initialize a new instance of the class VpnConnections class. * @param client Reference to the service client */ constructor(client: NetworkManagementClient); /** * Retrieves all vpn connections for a particular virtual wan vpn gateway. * @param resourceGroupName The resource group name of the VpnGateway. * @param gatewayName The name of the gateway. * @param options The options parameters. */ listByVpnGateway(resourceGroupName: string, gatewayName: string, options?: VpnConnectionsListByVpnGatewayOptionalParams): PagedAsyncIterableIterator; private listByVpnGatewayPagingPage; private listByVpnGatewayPagingAll; /** * Retrieves the details of a vpn connection. * @param resourceGroupName The resource group name of the VpnGateway. * @param gatewayName The name of the gateway. * @param connectionName The name of the vpn connection. * @param options The options parameters. */ get(resourceGroupName: string, gatewayName: string, connectionName: string, options?: VpnConnectionsGetOptionalParams): Promise; /** * Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing * connection. * @param resourceGroupName The resource group name of the VpnGateway. * @param gatewayName The name of the gateway. * @param connectionName The name of the connection. * @param vpnConnectionParameters Parameters supplied to create or Update a VPN Connection. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, gatewayName: string, connectionName: string, vpnConnectionParameters: VpnConnection, options?: VpnConnectionsCreateOrUpdateOptionalParams): Promise, VpnConnectionsCreateOrUpdateResponse>>; /** * Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing * connection. * @param resourceGroupName The resource group name of the VpnGateway. * @param gatewayName The name of the gateway. * @param connectionName The name of the connection. * @param vpnConnectionParameters Parameters supplied to create or Update a VPN Connection. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, gatewayName: string, connectionName: string, vpnConnectionParameters: VpnConnection, options?: VpnConnectionsCreateOrUpdateOptionalParams): Promise; /** * Deletes a vpn connection. * @param resourceGroupName The resource group name of the VpnGateway. * @param gatewayName The name of the gateway. * @param connectionName The name of the connection. * @param options The options parameters. */ beginDelete(resourceGroupName: string, gatewayName: string, connectionName: string, options?: VpnConnectionsDeleteOptionalParams): Promise, void>>; /** * Deletes a vpn connection. * @param resourceGroupName The resource group name of the VpnGateway. * @param gatewayName The name of the gateway. * @param connectionName The name of the connection. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, gatewayName: string, connectionName: string, options?: VpnConnectionsDeleteOptionalParams): Promise; /** * Starts packet capture on Vpn connection in the specified resource group. * @param resourceGroupName The name of the resource group. * @param gatewayName The name of the gateway. * @param vpnConnectionName The name of the vpn connection. * @param options The options parameters. */ beginStartPacketCapture(resourceGroupName: string, gatewayName: string, vpnConnectionName: string, options?: VpnConnectionsStartPacketCaptureOptionalParams): Promise, VpnConnectionsStartPacketCaptureResponse>>; /** * Starts packet capture on Vpn connection in the specified resource group. * @param resourceGroupName The name of the resource group. * @param gatewayName The name of the gateway. * @param vpnConnectionName The name of the vpn connection. * @param options The options parameters. */ beginStartPacketCaptureAndWait(resourceGroupName: string, gatewayName: string, vpnConnectionName: string, options?: VpnConnectionsStartPacketCaptureOptionalParams): Promise; /** * Stops packet capture on Vpn connection in the specified resource group. * @param resourceGroupName The name of the resource group. * @param gatewayName The name of the gateway. * @param vpnConnectionName The name of the vpn connection. * @param options The options parameters. */ beginStopPacketCapture(resourceGroupName: string, gatewayName: string, vpnConnectionName: string, options?: VpnConnectionsStopPacketCaptureOptionalParams): Promise, VpnConnectionsStopPacketCaptureResponse>>; /** * Stops packet capture on Vpn connection in the specified resource group. * @param resourceGroupName The name of the resource group. * @param gatewayName The name of the gateway. * @param vpnConnectionName The name of the vpn connection. * @param options The options parameters. */ beginStopPacketCaptureAndWait(resourceGroupName: string, gatewayName: string, vpnConnectionName: string, options?: VpnConnectionsStopPacketCaptureOptionalParams): Promise; /** * Retrieves all vpn connections for a particular virtual wan vpn gateway. * @param resourceGroupName The resource group name of the VpnGateway. * @param gatewayName The name of the gateway. * @param options The options parameters. */ private _listByVpnGateway; /** * ListByVpnGatewayNext * @param resourceGroupName The resource group name of the VpnGateway. * @param gatewayName The name of the gateway. * @param nextLink The nextLink from the previous successful call to the ListByVpnGateway method. * @param options The options parameters. */ private _listByVpnGatewayNext; } //# sourceMappingURL=vpnConnections.d.ts.map