Share via


SelfHelpTroubleshooterResource.Restart(CancellationToken) Method

Definition

Restarts the troubleshooter API using applicable troubleshooter resource name as the input.<br/> It returns new resource name which should be used in subsequent request. The old resource name is obsolete after this API is invoked.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to