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

NameDatatypeDescription
idstringThe ID of the packet capture resource.
namestringThe name of the packet capture resource.
captureStartTimestringThe 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

NameAccessible byRequired ParamsDescription
getSELECTnetworkWatcherName, packetCaptureName, resourceGroupName, subscriptionIdQuery the status of a running packet capture session.

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 networkWatcherName = '{{ networkWatcherName }}'
AND packetCaptureName = '{{ packetCaptureName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';