packet_captures_status
Creates, updates, deletes, gets or lists a packet_captures_status
resource.
Overview
Name | packet_captures_status |
Type | Resource |
Id | azure.network.packet_captures_status |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The ID of the packet capture resource. |
name | string | The name of the packet capture resource. |
captureStartTime | string | The start time of the packet capture session. |
packetCaptureError | array | List of errors of packet capture session. |
packetCaptureStatus | string | The status of the packet capture session. |
stopReason | string | The reason the current packet capture session was stopped. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | networkWatcherName, packetCaptureName, resourceGroupName, subscriptionId | Query 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 }}';