Freigeben über


WebAppsOperationsExtensions.CopySlotSlotAsync Methode

Definition

Kopiert einen Bereitstellungsslot in einen anderen Bereitstellungsslot einer App.

public static System.Threading.Tasks.Task CopySlotSlotAsync(this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.AppService.Fluent.Models.CsmCopySlotEntity copySlotEntity, string slot, System.Threading.CancellationToken cancellationToken = default);
static member CopySlotSlotAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.CsmCopySlotEntity * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function CopySlotSlotAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, copySlotEntity As CsmCopySlotEntity, 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

copySlotEntity
CsmCopySlotEntity

JSON-Objekt, das den Zielslotnamen und standortkonfigurationseigenschaften enthält, um die Quellslotkonfiguration zu überschreiben. Siehe Beispiel.

slot
String

Name des Quellslots. Wenn kein Slot angegeben ist, wird der Produktionsslot als Quellslot verwendet.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Kopiert einen Bereitstellungsslot in einen anderen Bereitstellungsslot einer App.

Gilt für: