Compartilhar via


StorageExtensions.GetDeletedAccountAsync Método

Definição

Obter propriedades do recurso de conta excluído especificado.

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

Parâmetros

subscriptionResource
SubscriptionResource

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

location
AzureLocation

O local da conta de armazenamento excluída.

deletedAccountName
String

Nome da conta de armazenamento excluída.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

deletedAccountName é nulo.

Aplica-se a