Partilhar via


DataBoxEdgeStorageAccountResource.GetDataBoxEdgeStorageContainer 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 Azure.Response<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeStorageContainerResource> GetDataBoxEdgeStorageContainer (string containerName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataBoxEdgeStorageContainer : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeStorageContainerResource>
override this.GetDataBoxEdgeStorageContainer : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataBoxEdge.DataBoxEdgeStorageContainerResource>
Public Overridable Function GetDataBoxEdgeStorageContainer (containerName As String, Optional cancellationToken As CancellationToken = Nothing) As 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