IWebAppsOperations.RestoreSnapshotWithHttpMessagesAsync 메서드

정의

스냅샷 웹앱을 복원합니다.

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

매개 변수

resourceGroupName
String

리소스가 속한 리소스 그룹의 이름입니다.

name
String

웹앱의 이름입니다.

restoreRequest
SnapshotRestoreRequest

스냅샷 복원 설정. 스냅샷 정보는 GetDeletedSites 또는 GetSiteSnapshots API를 호출하여 얻을 수 있습니다.

customHeaders
Dictionary<String,List<String>>

요청에 추가할 헤더입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

작업이 잘못된 상태 코드를 반환할 때 throw됨

작업이 잘못된 상태 코드를 반환할 때 throw됨

필수 매개 변수가 null일 때 throw됨

설명

스냅샷 웹앱 복원에 대한 설명입니다.

적용 대상