Share via


AppServicePlansOperationsExtensions.RestartWebApps Method

Definition

Restart all apps in an App Service plan.

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)

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.

softRestart
Nullable<Boolean>

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

Remarks

Description for Restart all apps in an App Service plan.

Applies to