AppServicePlansOperationsExtensions.RestartWebAppsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Restart all apps in an App Service plan.
public static System.Threading.Tasks.Task RestartWebAppsAsync (this Microsoft.Azure.Management.WebSites.IAppServicePlansOperations operations, string resourceGroupName, string name, bool? softRestart = default, System.Threading.CancellationToken cancellationToken = default);
static member RestartWebAppsAsync : Microsoft.Azure.Management.WebSites.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
Parameters
- operations
- IAppServicePlansOperations
The operations group for this extension method.
- resourceGroupName
- String
Name of the resource group to which the resource belongs.
- name
- String
Name of the App Service plan.
Specify <code>true</code> to perform a soft restart, applies the configuration settings and restarts the apps if necessary. The default is <code>false</code>, which always restarts and reprovisions the apps
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Description for Restart all apps in an App Service plan.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應