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

AppServicePlansOperationsExtensions.RebootWorkerAsync 方法

定义

重新启动App 服务计划中的辅助角色计算机。

public static System.Threading.Tasks.Task RebootWorkerAsync (this Microsoft.Azure.Management.WebSites.IAppServicePlansOperations operations, string resourceGroupName, string name, string workerName, System.Threading.CancellationToken cancellationToken = default);
static member RebootWorkerAsync : Microsoft.Azure.Management.WebSites.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

应用服务计划的名称。

workerName
String

辅助角色计算机的名称,通常以 RD 开头。

cancellationToken
CancellationToken

取消标记。

返回

注解

有关在App 服务计划中重新启动辅助角色计算机的说明。

适用于