Compartilhar via


DataBoxEdgeDeviceResource.GetDataBoxEdgeStorageAccountCredentialAsync Método

Definição

Obtém as propriedades da credencial de conta de armazenamento especificada.

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

Parâmetros

name
String

O nome da credencial da conta de armazenamento.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

name é nulo.

Aplica-se a