Compartilhar via


DataBoxEdgeDeviceResource.GetDataBoxEdgeStorageAccountAsync Método

Definição

Obtém um StorageAccount por nome.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}
  • Operação IdStorageAccounts_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeStorageAccountResource>> GetDataBoxEdgeStorageAccountAsync (string storageAccountName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataBoxEdgeStorageAccountAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeStorageAccountResource>>
override this.GetDataBoxEdgeStorageAccountAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeStorageAccountResource>>
Public Overridable Function GetDataBoxEdgeStorageAccountAsync (storageAccountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataBoxEdgeStorageAccountResource))

Parâmetros

storageAccountName
String

O nome da conta de armazenamento.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

storageAccountName é nulo.

Aplica-se a