PacketCapturesClient Interface

public interface PacketCapturesClient

An instance of this class provides access to all the operations defined in PacketCapturesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<PacketCaptureResultInner>,PacketCaptureResultInner> beginCreate(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters)

Create and start a packet capture on the specified VM.

abstract SyncPoller<PollResult<PacketCaptureResultInner>,PacketCaptureResultInner> beginCreate(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters, Context context)

Create and start a packet capture on the specified VM.

abstract PollerFlux<PollResult<PacketCaptureResultInner>,PacketCaptureResultInner> beginCreateAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters)

Create and start a packet capture on the specified VM.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Deletes the specified packet capture session.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkWatcherName, String packetCaptureName, Context context)

Deletes the specified packet capture session.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Deletes the specified packet capture session.

abstract SyncPoller<PollResult<PacketCaptureQueryStatusResultInner>,PacketCaptureQueryStatusResultInner> beginGetStatus(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Query the status of a running packet capture session.

abstract SyncPoller<PollResult<PacketCaptureQueryStatusResultInner>,PacketCaptureQueryStatusResultInner> beginGetStatus(String resourceGroupName, String networkWatcherName, String packetCaptureName, Context context)

Query the status of a running packet capture session.

abstract PollerFlux<PollResult<PacketCaptureQueryStatusResultInner>,PacketCaptureQueryStatusResultInner> beginGetStatusAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Query the status of a running packet capture session.

abstract SyncPoller<PollResult<Void>,Void> beginStop(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Stops a specified packet capture session.

abstract SyncPoller<PollResult<Void>,Void> beginStop(String resourceGroupName, String networkWatcherName, String packetCaptureName, Context context)

Stops a specified packet capture session.

abstract PollerFlux<PollResult<Void>,Void> beginStopAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Stops a specified packet capture session.

abstract PacketCaptureResultInner create(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters)

Create and start a packet capture on the specified VM.

abstract PacketCaptureResultInner create(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters, Context context)

Create and start a packet capture on the specified VM.

abstract Mono<PacketCaptureResultInner> createAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters)

Create and start a packet capture on the specified VM.

abstract Mono<Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters)

Create and start a packet capture on the specified VM.

abstract void delete(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Deletes the specified packet capture session.

abstract void delete(String resourceGroupName, String networkWatcherName, String packetCaptureName, Context context)

Deletes the specified packet capture session.

abstract Mono<Void> deleteAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Deletes the specified packet capture session.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Deletes the specified packet capture session.

abstract PacketCaptureResultInner get(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Gets a packet capture session by name.

abstract Mono<PacketCaptureResultInner> getAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Gets a packet capture session by name.

abstract PacketCaptureQueryStatusResultInner getStatus(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Query the status of a running packet capture session.

abstract PacketCaptureQueryStatusResultInner getStatus(String resourceGroupName, String networkWatcherName, String packetCaptureName, Context context)

Query the status of a running packet capture session.

abstract Mono<PacketCaptureQueryStatusResultInner> getStatusAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Query the status of a running packet capture session.

abstract Mono<Response<Flux<ByteBuffer>>> getStatusWithResponseAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Query the status of a running packet capture session.

abstract Response<PacketCaptureResultInner> getWithResponse(String resourceGroupName, String networkWatcherName, String packetCaptureName, Context context)

Gets a packet capture session by name.

abstract Mono<Response<PacketCaptureResultInner>> getWithResponseAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Gets a packet capture session by name.

abstract PagedIterable<PacketCaptureResultInner> list(String resourceGroupName, String networkWatcherName)

Lists all packet capture sessions within the specified resource group.

abstract PagedIterable<PacketCaptureResultInner> list(String resourceGroupName, String networkWatcherName, Context context)

Lists all packet capture sessions within the specified resource group.

abstract PagedFlux<PacketCaptureResultInner> listAsync(String resourceGroupName, String networkWatcherName)

Lists all packet capture sessions within the specified resource group.

abstract void stop(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Stops a specified packet capture session.

abstract void stop(String resourceGroupName, String networkWatcherName, String packetCaptureName, Context context)

Stops a specified packet capture session.

abstract Mono<Void> stopAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Stops a specified packet capture session.

abstract Mono<Response<Flux<ByteBuffer>>> stopWithResponseAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Stops a specified packet capture session.

Method Details

beginCreate

public abstract SyncPoller,PacketCaptureResultInner> beginCreate(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters)

Create and start a packet capture on the specified VM.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.
parameters - Parameters that define the create packet capture operation.

Returns:

the SyncPoller<T,U> for polling of information about packet capture session.

beginCreate

public abstract SyncPoller,PacketCaptureResultInner> beginCreate(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters, Context context)

Create and start a packet capture on the specified VM.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.
parameters - Parameters that define the create packet capture operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of information about packet capture session.

beginCreateAsync

public abstract PollerFlux,PacketCaptureResultInner> beginCreateAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters)

Create and start a packet capture on the specified VM.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.
parameters - Parameters that define the create packet capture operation.

Returns:

the PollerFlux<T,U> for polling of information about packet capture session.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Deletes the specified packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String networkWatcherName, String packetCaptureName, Context context)

Deletes the specified packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Deletes the specified packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginGetStatus

public abstract SyncPoller,PacketCaptureQueryStatusResultInner> beginGetStatus(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Query the status of a running packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the Network Watcher resource.
packetCaptureName - The name given to the packet capture session.

Returns:

the SyncPoller<T,U> for polling of status of packet capture session.

beginGetStatus

public abstract SyncPoller,PacketCaptureQueryStatusResultInner> beginGetStatus(String resourceGroupName, String networkWatcherName, String packetCaptureName, Context context)

Query the status of a running packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the Network Watcher resource.
packetCaptureName - The name given to the packet capture session.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of status of packet capture session.

beginGetStatusAsync

public abstract PollerFlux,PacketCaptureQueryStatusResultInner> beginGetStatusAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Query the status of a running packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the Network Watcher resource.
packetCaptureName - The name given to the packet capture session.

Returns:

the PollerFlux<T,U> for polling of status of packet capture session.

beginStop

public abstract SyncPoller,Void> beginStop(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Stops a specified packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginStop

public abstract SyncPoller,Void> beginStop(String resourceGroupName, String networkWatcherName, String packetCaptureName, Context context)

Stops a specified packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginStopAsync

public abstract PollerFlux,Void> beginStopAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Stops a specified packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

create

public abstract PacketCaptureResultInner create(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters)

Create and start a packet capture on the specified VM.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.
parameters - Parameters that define the create packet capture operation.

Returns:

information about packet capture session.

create

public abstract PacketCaptureResultInner create(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters, Context context)

Create and start a packet capture on the specified VM.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.
parameters - Parameters that define the create packet capture operation.
context - The context to associate with this operation.

Returns:

information about packet capture session.

createAsync

public abstract Mono createAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters)

Create and start a packet capture on the specified VM.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.
parameters - Parameters that define the create packet capture operation.

Returns:

information about packet capture session on successful completion of Mono.

createWithResponseAsync

public abstract Mono>> createWithResponseAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName, PacketCaptureInner parameters)

Create and start a packet capture on the specified VM.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.
parameters - Parameters that define the create packet capture operation.

Returns:

information about packet capture session along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Deletes the specified packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.

delete

public abstract void delete(String resourceGroupName, String networkWatcherName, String packetCaptureName, Context context)

Deletes the specified packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Deletes the specified packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Deletes the specified packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract PacketCaptureResultInner get(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Gets a packet capture session by name.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.

Returns:

a packet capture session by name.

getAsync

public abstract Mono getAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Gets a packet capture session by name.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.

Returns:

a packet capture session by name on successful completion of Mono.

getStatus

public abstract PacketCaptureQueryStatusResultInner getStatus(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Query the status of a running packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the Network Watcher resource.
packetCaptureName - The name given to the packet capture session.

Returns:

status of packet capture session.

getStatus

public abstract PacketCaptureQueryStatusResultInner getStatus(String resourceGroupName, String networkWatcherName, String packetCaptureName, Context context)

Query the status of a running packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the Network Watcher resource.
packetCaptureName - The name given to the packet capture session.
context - The context to associate with this operation.

Returns:

status of packet capture session.

getStatusAsync

public abstract Mono getStatusAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Query the status of a running packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the Network Watcher resource.
packetCaptureName - The name given to the packet capture session.

Returns:

status of packet capture session on successful completion of Mono.

getStatusWithResponseAsync

public abstract Mono>> getStatusWithResponseAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Query the status of a running packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the Network Watcher resource.
packetCaptureName - The name given to the packet capture session.

Returns:

status of packet capture session along with Response<T> on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String networkWatcherName, String packetCaptureName, Context context)

Gets a packet capture session by name.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.
context - The context to associate with this operation.

Returns:

a packet capture session by name along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Gets a packet capture session by name.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.

Returns:

a packet capture session by name along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String networkWatcherName)

Lists all packet capture sessions within the specified resource group.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the Network Watcher resource.

Returns:

list of packet capture sessions as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String networkWatcherName, Context context)

Lists all packet capture sessions within the specified resource group.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the Network Watcher resource.
context - The context to associate with this operation.

Returns:

list of packet capture sessions as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String networkWatcherName)

Lists all packet capture sessions within the specified resource group.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the Network Watcher resource.

Returns:

list of packet capture sessions as paginated response with PagedFlux<T>.

stop

public abstract void stop(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Stops a specified packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.

stop

public abstract void stop(String resourceGroupName, String networkWatcherName, String packetCaptureName, Context context)

Stops a specified packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.
context - The context to associate with this operation.

stopAsync

public abstract Mono stopAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Stops a specified packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.

Returns:

A Mono that completes when a successful response is received.

stopWithResponseAsync

public abstract Mono>> stopWithResponseAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName)

Stops a specified packet capture session.

Parameters:

resourceGroupName - The name of the resource group.
networkWatcherName - The name of the network watcher.
packetCaptureName - The name of the packet capture session.

Returns:

the Response<T> on successful completion of Mono.

Applies to