import { PagedAsyncIterableIterator } from "@azure/core-paging" ; import { PollerLike , PollOperationState } from "@azure/core-lro" ; import { PacketCaptureResult , PacketCapturesListOptionalParams , PacketCapture , PacketCapturesCreateOptionalParams , PacketCapturesCreateResponse , PacketCapturesGetOptionalParams , PacketCapturesGetResponse , PacketCapturesDeleteOptionalParams , PacketCapturesStopOptionalParams , PacketCapturesGetStatusOptionalParams , PacketCapturesGetStatusResponse } from "../models" ; /** Interface representing a PacketCaptures. */ export interface PacketCaptures { param resourceGroupName param networkWatcherName param options list ( resourceGroupName , networkWatcherName , options ? ) : PagedAsyncIterableIterator < PacketCaptureResult > ; param resourceGroupName param networkWatcherName param packetCaptureName param parameters param options beginCreate ( resourceGroupName , networkWatcherName , packetCaptureName , parameters , options ? ) : Promise < PollerLike < PollOperationState < PacketCapturesCreateResponse > , PacketCapturesCreateResponse > > ; param resourceGroupName param networkWatcherName param packetCaptureName param parameters param options beginCreateAndWait ( resourceGroupName , networkWatcherName , packetCaptureName , parameters , options ? ) : Promise < PacketCapturesCreateResponse > ; param resourceGroupName param networkWatcherName param packetCaptureName param options get ( resourceGroupName , networkWatcherName , packetCaptureName , options ? ) : Promise < PacketCapturesGetResponse > ; param resourceGroupName param networkWatcherName param packetCaptureName param options beginDelete ( resourceGroupName , networkWatcherName , packetCaptureName , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param resourceGroupName param networkWatcherName param packetCaptureName param options beginDeleteAndWait ( resourceGroupName , networkWatcherName , packetCaptureName , options ? ) : Promise < void > ; param resourceGroupName param networkWatcherName param packetCaptureName param options beginStop ( resourceGroupName , networkWatcherName , packetCaptureName , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param resourceGroupName param networkWatcherName param packetCaptureName param options beginStopAndWait ( resourceGroupName , networkWatcherName , packetCaptureName , options ? ) : Promise < void > ; param resourceGroupName param networkWatcherName param packetCaptureName param options beginGetStatus ( resourceGroupName , networkWatcherName , packetCaptureName , options ? ) : Promise < PollerLike < PollOperationState < PacketCapturesGetStatusResponse > , PacketCapturesGetStatusResponse > > ; param resourceGroupName param networkWatcherName param packetCaptureName param options beginGetStatusAndWait ( resourceGroupName , networkWatcherName , packetCaptureName , options ? ) : Promise < PacketCapturesGetStatusResponse > ; }