Share via


AppServiceExtensions.GetDeletedWebAppByLocationDeletedWebApp Method

Definition

Description for Get deleted app for a subscription at ___location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{___location}/deletedSites/{deletedSiteId}
  • Operation Id: DeletedWebApps_GetDeletedWebAppByLocation
  • Default Api Version: 2024-11-01
  • Resource: DeletedSiteResource
public static Azure.Response<Azure.ResourceManager.AppService.DeletedSiteResource> GetDeletedWebAppByLocationDeletedWebApp(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation ___location, string deletedSiteId, System.Threading.CancellationToken cancellationToken = default);
static member GetDeletedWebAppByLocationDeletedWebApp : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.DeletedSiteResource>
<Extension()>
Public Function GetDeletedWebAppByLocationDeletedWebApp (subscriptionResource As SubscriptionResource, ___location As AzureLocation, deletedSiteId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DeletedSiteResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

___location
AzureLocation

The AzureLocation to use.

deletedSiteId
String

The numeric ID of the deleted app, e.g. 12345.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

deletedSiteId is an empty string, and was expected to be non-empty.

subscriptionResource or deletedSiteId is null.

Applies to