Partilhar via


DataBoxEdgeStorageAccountResource.GetDataBoxEdgeStorageContainerAsync Método

Definição

Obtém um contêiner por nome.

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

Parâmetros

containerName
String

O nome do contêiner.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

containerName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

containerName é nulo.

Aplica-se a