watchers_troubleshootings
Creates, updates, deletes, gets or lists a watchers_troubleshootings
resource.
Overview
Name | watchers_troubleshootings |
Type | Resource |
Id | azure.network.watchers_troubleshootings |
Fields
The following fields are returned by SELECT
queries:
- get
Successful troubleshooting request.
Name | Datatype | Description |
---|---|---|
code | string | The result code of the troubleshooting. |
endTime | string (date-time) | The end time of the troubleshooting. |
results | array | Information from troubleshooting. |
startTime | string (date-time) | The start time of the troubleshooting. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceGroupName , networkWatcherName , subscriptionId | Initiate 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.
Name | Datatype | Description |
---|---|---|
networkWatcherName | string | The name of the network watcher resource. |
resourceGroupName | string | The name of the resource group. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- get
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
;