SelfHelpTroubleshooterCollection.GetAsync(String, CancellationToken) Method

Definition

Gets troubleshooter instance result which includes the step status/result of the troubleshooter resource name that is being executed.<br/> Get API is used to retrieve the result of a Troubleshooter instance, which includes the status and result of each step in the Troubleshooter workflow. This API requires the Troubleshooter resource name that was created using the Create API.

  • Request Path: /{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}
  • Operation Id: Troubleshooters_Get
  • Default Api Version: 2024-03-01-preview
  • Resource: SelfHelpTroubleshooterResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SelfHelp.SelfHelpTroubleshooterResource>> GetAsync (string troubleshooterName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SelfHelp.SelfHelpTroubleshooterResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SelfHelp.SelfHelpTroubleshooterResource>>
Public Overridable Function GetAsync (troubleshooterName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SelfHelpTroubleshooterResource))

Parameters

troubleshooterName
String

Troubleshooter resource Name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

troubleshooterName is an empty string, and was expected to be non-empty.

troubleshooterName is null.

Applies to