Partilhar via


StorageExtensions.GetDeletedAccount 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 static Azure.Response<Azure.ResourceManager.Storage.DeletedAccountResource> GetDeletedAccount (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string deletedAccountName, System.Threading.CancellationToken cancellationToken = default);
static member GetDeletedAccount : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Storage.DeletedAccountResource>
<Extension()>
Public Function GetDeletedAccount (subscriptionResource As SubscriptionResource, location As AzureLocation, deletedAccountName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DeletedAccountResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual 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 era esperado que não estivesse vazio.

deletedAccountName é nulo.

Aplica-se a