Compartir a través de


DataBoxEdgeStorageAccountResource.GetDataBoxEdgeStorageContainerAsync Método

Definición

Obtiene un contenedor por nombre.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccounts/{storageAccountName}/containers/{containerName}
  • IdContainers_Get de operaciones
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

Nombre del contenedor.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

containerName es una cadena vacía y se esperaba que no estuviera vacía.

containerName es null.

Se aplica a