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

AppServicePlansOperationsExtensions.RestartWebApps 方法

定义

重启App 服务计划中的所有应用。

public static void RestartWebApps (this Microsoft.Azure.Management.WebSites.IAppServicePlansOperations operations, string resourceGroupName, string name, bool? softRestart = default);
static member RestartWebApps : Microsoft.Azure.Management.WebSites.IAppServicePlansOperations * string * string * Nullable<bool> -> unit
<Extension()>
Public Sub RestartWebApps (operations As IAppServicePlansOperations, resourceGroupName As String, name As String, Optional softRestart As Nullable(Of Boolean) = Nothing)

参数

operations
IAppServicePlansOperations

此扩展方法的操作组。

resourceGroupName
String

资源所属的资源组的名称。

name
String

应用服务计划的名称。

softRestart
Nullable<Boolean>

指定 <代码>true</code> 以执行软重启,应用配置设置并在必要时重启应用。 默认值为 <代码>false</code>,始终重启并重新预配应用

注解

重启App 服务计划中的所有应用的说明。

适用于