sql_virtual_machine_troubleshoot
Creates, updates, deletes, gets or lists a sql_virtual_machine_troubleshoot resource.
Overview
| Name | sql_virtual_machine_troubleshoot |
| Type | Resource |
| Id | azure.sql_virtual_machine.sql_virtual_machine_troubleshoot |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
troubleshoot | exec | resource_group_name, sql_virtual_machine_name, subscription_id | Starts SQL virtual machine troubleshooting. |
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 |
|---|---|---|
resource_group_name | string | Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required. |
sql_virtual_machine_name | string | Name of the SQL virtual machine. Required. |
subscription_id | string |
Lifecycle Methods
- troubleshoot
Starts SQL virtual machine troubleshooting.
EXEC azure.sql_virtual_machine.sql_virtual_machine_troubleshoot.troubleshoot
@resource_group_name='{{ resource_group_name }}' --required,
@sql_virtual_machine_name='{{ sql_virtual_machine_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"startTimeUtc": "{{ startTimeUtc }}",
"endTimeUtc": "{{ endTimeUtc }}",
"troubleshootingScenario": "{{ troubleshootingScenario }}",
"properties": "{{ properties }}"
}'
;