Condividi tramite


WebAppsOperationsExtensions.BeginRestoreSnapshotSlotAsync Metodo

Definizione

Ripristina un'app Web da uno snapshot.

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

Parametri

operations
IWebAppsOperations

Gruppo di operazioni per questo metodo di estensione.

resourceGroupName
String

Nome del gruppo di risorse a cui appartiene la risorsa.

name
String

Nome dell'app Web.

restoreRequest
SnapshotRestoreRequest

Impostazioni di ripristino dello snapshot. È possibile ottenere informazioni snapshot chiamando GetDeletedSites o l'API GetSiteSnapshots.

slot
String

Nome dello slot dell'app Web. Se non specificato, per impostazione predefinita verrà predefinito lo slot di produzione.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Commenti

Descrizione per Ripristinare un'app Web da uno snapshot.

Si applica a