共用方式為


AppServicePlansOperationsExtensions.RebootWorkerAsync 方法

定義

在App Service計畫中重新開機背景工作角色電腦。

public static System.Threading.Tasks.Task RebootWorkerAsync (this Microsoft.Azure.Management.AppService.Fluent.IAppServicePlansOperations operations, string resourceGroupName, string name, string workerName, System.Threading.CancellationToken cancellationToken = default);
static member RebootWorkerAsync : Microsoft.Azure.Management.AppService.Fluent.IAppServicePlansOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function RebootWorkerAsync (operations As IAppServicePlansOperations, resourceGroupName As String, name As String, workerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

參數

operations
IAppServicePlansOperations

這個擴充方法的作業群組。

resourceGroupName
String

資源所屬資源群組的名稱。

name
String

App Service 方案的名稱。

workerName
String

背景工作電腦的名稱,通常以 RD 開頭。

cancellationToken
CancellationToken

取消語彙基元。

傳回

備註

在App Service方案中重新開機背景工作角色電腦的描述。

適用於