AppServicePlanResource.RestartWebApps 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.
Description for Restart all apps in an App Service plan.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/restartSites
- Operation Id: AppServicePlans_RestartWebApps
- Default Api Version: 2021-02-01
- Resource: AppServicePlanResource
public virtual Azure.Response RestartWebApps (bool? softRestart = default, System.Threading.CancellationToken cancellationToken = default);
abstract member RestartWebApps : Nullable<bool> * System.Threading.CancellationToken -> Azure.Response
override this.RestartWebApps : Nullable<bool> * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function RestartWebApps (Optional softRestart As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response
Parameters
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 to use.
Returns
Applies to
Azure SDK for .NET
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin