다음을 통해 공유


WebAppsOperationsExtensions.RestoreSnapshotAsync 메서드

정의

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

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

매개 변수

operations
IWebAppsOperations

이 확장 메서드에 대한 작업 그룹입니다.

resourceGroupName
String

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

name
String

웹앱의 이름입니다.

restoreRequest
SnapshotRestoreRequest

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

cancellationToken
CancellationToken

취소 토큰입니다.

반환

설명

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

적용 대상