Freigeben über


WebAppsOperationsExtensions.StopSlotAsync Methode

Definition

Beendet eine App (oder einen Bereitstellungsslot, falls angegeben).

public static System.Threading.Tasks.Task StopSlotAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string slot, System.Threading.CancellationToken cancellationToken = default);
static member StopSlotAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function StopSlotAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, slot As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameter

operations
IWebAppsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe, zu der die Ressource gehört.

name
String

Name der App

slot
String

Name des Bereitstellungsslots. Wenn kein Slot angegeben ist, beendet die API den Produktionsslot.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Beendet eine App (oder einen Bereitstellungsslot, falls angegeben).

Gilt für: