Freigeben über


WebAppsOperationsExtensions.CopyProductionSlotAsync Methode

Definition

Kopiert einen Bereitstellungsslot in einen anderen Bereitstellungsslot einer App.

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

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

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

Gilt für: