次の方法で共有


AppServicePlansOperationsExtensions.RestartWebApps メソッド

定義

App Service プラン内のすべてのアプリを再起動します。

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

App Service プランの名前です。

softRestart
Nullable<Boolean>

ソフト再起動を実行するコード>true</code> を指定<し、構成設定を適用し、必要に応じてアプリを再起動します。 既定値は <コード>false</code> です。これは常にアプリを再起動して再プロビジョニングします

注釈

「App Service プラン内のすべてのアプリを再起動する」の説明。

適用対象