Partager via


WebAppsOperationsExtensions.RestartAsync Method

Definition

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

Parameters

operations
IWebAppsOperations
resourceGroupName
String
name
String
softRestart
Nullable<Boolean>
synchronous
Nullable<Boolean>
cancellationToken
CancellationToken

Returns

Applies to