Partager via


WebAppsOperationsExtensions.RestartSlotAsync Method

Definition

public static System.Threading.Tasks.Task RestartSlotAsync (this Microsoft.Azure.Management.WebSites.Version2016_09_01.IWebAppsOperations operations, string resourceGroupName, string name, string slot, bool? softRestart = default, bool? synchronous = default, System.Threading.CancellationToken cancellationToken = default);
static member RestartSlotAsync : Microsoft.Azure.Management.WebSites.Version2016_09_01.IWebAppsOperations * string * string * string * Nullable<bool> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function RestartSlotAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, slot 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
slot
String
softRestart
Nullable<Boolean>
synchronous
Nullable<Boolean>
cancellationToken
CancellationToken

Returns

Applies to