WebAppsOperationsExtensions.DiscoverRestoreSlotAsync(IWebAppsOperations, String, String, RestoreRequestInner, String, CancellationToken) Method

Definition

Discovers an existing app backup that can be restored from a blob in Azure storage.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.RestoreRequestInner> DiscoverRestoreSlotAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.AppService.Fluent.Models.RestoreRequestInner request, string slot, System.Threading.CancellationToken cancellationToken = null);
static member DiscoverRestoreSlotAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.RestoreRequestInner * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.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.

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

Task<RestoreRequestInner>

Remarks

Discovers an existing app backup that can be restored from a blob in Azure

storage.

Applies to