Compartilhar via


StorageSubscriptionMockingExtension.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}
  • IdDeletedAccounts_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.DeletedAccountResource>> GetDeletedAccountAsync (Azure.Core.AzureLocation location, string deletedAccountName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeletedAccountAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.DeletedAccountResource>>
override this.GetDeletedAccountAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.DeletedAccountResource>>
Public Overridable Function GetDeletedAccountAsync (location As AzureLocation, deletedAccountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DeletedAccountResource))

Parâmetros

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 era esperado que não estivesse vazio.

deletedAccountName é nulo.

Aplica-se a