Partilhar via


AppServiceExtensions.GetDeletedWebAppByLocationDeletedWebAppAsync Método

Definição

Descrição de Obter aplicativo excluído para uma assinatura no local.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites/{deletedSiteId}
  • Operação IdDeletedWebApps_GetDeletedWebAppByLocation
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.DeletedSiteResource>> GetDeletedWebAppByLocationDeletedWebAppAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string deletedSiteId, System.Threading.CancellationToken cancellationToken = default);
static member GetDeletedWebAppByLocationDeletedWebAppAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.DeletedSiteResource>>
<Extension()>
Public Function GetDeletedWebAppByLocationDeletedWebAppAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, deletedSiteId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DeletedSiteResource))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

location
AzureLocation

A cadeia de caracteres a ser usada.

deletedSiteId
String

A ID numérica do aplicativo excluído, por exemplo, 12345.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

deletedSiteId é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

deletedSiteId é nulo.

Aplica-se a