Partilhar via


DataBoxEdgeStorageContainerCollection.GetAsync 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}
  • Operação IdContainers_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeStorageContainerResource>> GetAsync (string containerName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeStorageContainerResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeStorageContainerResource>>
Public Overridable Function GetAsync (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 esperava-se que não estivesse vazia.

containerName é nulo.

Aplica-se a