Share via


WebAppsOperationsExtensions.DiscoverBackupAsync Method

Definition

Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.

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

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the app.

request
RestoreRequestInner

A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup.

Applies to