Share via


WebAppsOperationsExtensions.DiscoverBackupSlotAsync 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.WebSites.Models.RestoreRequest> DiscoverBackupSlotAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.RestoreRequest request, string slot, System.Threading.CancellationToken cancellationToken = default);
static member DiscoverBackupSlotAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * Microsoft.Azure.Management.WebSites.Models.RestoreRequest * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.RestoreRequest>
<Extension()>
Public Function DiscoverBackupSlotAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, request As RestoreRequest, slot As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RestoreRequest)

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
RestoreRequest

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

slot
String

Name of the deployment slot. If a slot is not specified, the API will perform discovery for the production slot.

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