Skip to main content

watchers_troubleshootings

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

Overview

Namewatchers_troubleshootings
TypeResource
Idazure.network.watchers_troubleshootings

Fields

The following fields are returned by SELECT queries:

Successful troubleshooting request.

NameDatatypeDescription
codestringThe result code of the troubleshooting.
endTimestring (date-time)The end time of the troubleshooting.
resultsarrayInformation from troubleshooting.
startTimestring (date-time)The start time of the troubleshooting.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, networkWatcherName, subscriptionIdInitiate troubleshooting on a specified resource.

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.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Initiate troubleshooting on a specified resource.

SELECT
code,
endTime,
results,
startTime
FROM azure.network.watchers_troubleshootings
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND networkWatcherName = '{{ networkWatcherName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;