import { PagedAsyncIterableIterator } from "@azure/core-paging" ; import { PollerLike , PollOperationState } from "@azure/core-lro" ; import { VpnConnection , VpnConnectionsListByVpnGatewayOptionalParams , VpnConnectionsGetOptionalParams , VpnConnectionsGetResponse , VpnConnectionsCreateOrUpdateOptionalParams , VpnConnectionsCreateOrUpdateResponse , VpnConnectionsDeleteOptionalParams , VpnConnectionsStartPacketCaptureOptionalParams , VpnConnectionsStartPacketCaptureResponse , VpnConnectionsStopPacketCaptureOptionalParams , VpnConnectionsStopPacketCaptureResponse } from "../models" ; /** Interface representing a VpnConnections. */ export interface VpnConnections { param resourceGroupName param gatewayName param options listByVpnGateway ( resourceGroupName , gatewayName , options ? ) : PagedAsyncIterableIterator < VpnConnection > ; param resourceGroupName param gatewayName param connectionName param options get ( resourceGroupName , gatewayName , connectionName , options ? ) : Promise < VpnConnectionsGetResponse > ; param resourceGroupName param gatewayName param connectionName param vpnConnectionParameters param options beginCreateOrUpdate ( resourceGroupName , gatewayName , connectionName , vpnConnectionParameters , options ? ) : Promise < PollerLike < PollOperationState < VpnConnectionsCreateOrUpdateResponse > , VpnConnectionsCreateOrUpdateResponse > > ; param resourceGroupName param gatewayName param connectionName param vpnConnectionParameters param options beginCreateOrUpdateAndWait ( resourceGroupName , gatewayName , connectionName , vpnConnectionParameters , options ? ) : Promise < VpnConnectionsCreateOrUpdateResponse > ; param resourceGroupName param gatewayName param connectionName param options beginDelete ( resourceGroupName , gatewayName , connectionName , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param resourceGroupName param gatewayName param connectionName param options beginDeleteAndWait ( resourceGroupName , gatewayName , connectionName , options ? ) : Promise < void > ; param resourceGroupName param gatewayName param vpnConnectionName param options beginStartPacketCapture ( resourceGroupName , gatewayName , vpnConnectionName , options ? ) : Promise < PollerLike < PollOperationState < VpnConnectionsStartPacketCaptureResponse > , VpnConnectionsStartPacketCaptureResponse > > ; param resourceGroupName param gatewayName param vpnConnectionName param options beginStartPacketCaptureAndWait ( resourceGroupName , gatewayName , vpnConnectionName , options ? ) : Promise < VpnConnectionsStartPacketCaptureResponse > ; param resourceGroupName param gatewayName param vpnConnectionName param options beginStopPacketCapture ( resourceGroupName , gatewayName , vpnConnectionName , options ? ) : Promise < PollerLike < PollOperationState < VpnConnectionsStopPacketCaptureResponse > , VpnConnectionsStopPacketCaptureResponse > > ; param resourceGroupName param gatewayName param vpnConnectionName param options beginStopPacketCaptureAndWait ( resourceGroupName , gatewayName , vpnConnectionName , options ? ) : Promise < VpnConnectionsStopPacketCaptureResponse > ; }