Freigeben über


WebAppsOperationsExtensions.BeginCopySlotSlotAsync Methode

Definition

Kopiert einen Bereitstellungsslot in einen anderen Bereitstellungsslot einer App.

public static System.Threading.Tasks.Task BeginCopySlotSlotAsync(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 BeginCopySlotSlotAsync : 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 BeginCopySlotSlotAsync (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 die Eigenschaften der Standortkonfiguration zum Überschreiben der Quellslotkonfiguration enthält. 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: