Skip to main content

packet_captures_status

Creates, updates, deletes, gets or lists a packet_captures_status resource.

Overview

Namepacket_captures_status
TypeResource
Idazure.network.packet_captures_status

Fields

The following fields are returned by SELECT queries:

Successful query of packet capture status.

NameDatatypeDescription
idstringThe ID of the packet capture resource.
namestringThe name of the packet capture resource.
captureStartTimestring (date-time)The start time of the packet capture session.
packetCaptureErrorarrayList of errors of packet capture session.
packetCaptureStatusstringThe status of the packet capture session.
stopReasonstringThe reason the current packet capture session was stopped.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, networkWatcherName, packetCaptureName, subscriptionIdQuery the status of a running packet capture session.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
networkWatcherNamestringThe name of the Network Watcher resource.
packetCaptureNamestringThe name given to the packet capture session.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Query the status of a running packet capture session.

SELECT
id,
name,
captureStartTime,
packetCaptureError,
packetCaptureStatus,
stopReason
FROM azure.network.packet_captures_status
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND networkWatcherName = '{{ networkWatcherName }}' -- required
AND packetCaptureName = '{{ packetCaptureName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;