次の方法で共有


AppServicePlansOperationsExtensions.RestartWebAppsAsync メソッド

定義

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

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

パラメーター

operations
IAppServicePlansOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

リソースが属しているリソース グループの名前。

name
String

App Service プランの名前です。

softRestart
Nullable<Boolean>

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

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

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

適用対象