watchers_troubleshooting_results
Creates, updates, deletes, gets or lists a watchers_troubleshooting_results
resource.
Overview
Name | watchers_troubleshooting_results |
Type | Resource |
Id | azure.network.watchers_troubleshooting_results |
Fields
The following fields are returned by SELECT
queries:
- get
Successful get troubleshooting result 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 | Get the last completed troubleshooting result 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
Get the last completed troubleshooting result on a specified resource.
SELECT
code,
endTime,
results,
startTime
FROM azure.network.watchers_troubleshooting_results
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND networkWatcherName = '{{ networkWatcherName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;