Condividi tramite


IWebAppsOperations.RestoreFromDeletedAppSlotWithHttpMessagesAsync Metodo

Definizione

Ripristina un'app Web eliminata in questa app Web.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> RestoreFromDeletedAppSlotWithHttpMessagesAsync (string resourceGroupName, string name, Microsoft.Azure.Management.AppService.Fluent.Models.DeletedAppRestoreRequest restoreRequest, string slot, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member RestoreFromDeletedAppSlotWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.AppService.Fluent.Models.DeletedAppRestoreRequest * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function RestoreFromDeletedAppSlotWithHttpMessagesAsync (resourceGroupName As String, name As String, restoreRequest As DeletedAppRestoreRequest, slot As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

Parametri

resourceGroupName
String

Nome del gruppo di risorse a cui appartiene la risorsa.

name
String

Nome dell'app Web.

restoreRequest
DeletedAppRestoreRequest

Informazioni di ripristino dell'app Web eliminate.

slot
String

Nome dello slot dell'app Web. Se non specificato, il valore predefinito verrà impostato su slot di produzione.

customHeaders
Dictionary<String,List<String>>

Intestazioni che verranno aggiunte alla richiesta.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Eccezioni

Generato quando l'operazione ha restituito un codice di stato non valido

Generato quando l'operazione ha restituito un codice di stato non valido

Generato quando un parametro obbligatorio è Null

Commenti

Descrizione per Ripristinare un'app Web eliminata in questa app Web.

Si applica a