你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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