BlobsStorageResourceProvider.FromContainerAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a storage resource pointing towards the given container URI.
public System.Threading.Tasks.ValueTask<Azure.Storage.DataMovement.StorageResource> FromContainerAsync(Uri containerUri, Azure.Storage.DataMovement.Blobs.BlobStorageResourceContainerOptions options = default, System.Threading.CancellationToken cancellationToken = default);
member this.FromContainerAsync : Uri * Azure.Storage.DataMovement.Blobs.BlobStorageResourceContainerOptions * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<Azure.Storage.DataMovement.StorageResource>
Public Function FromContainerAsync (containerUri As Uri, Optional options As BlobStorageResourceContainerOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ValueTask(Of StorageResource)
Parameters
- containerUri
- Uri
Target location.
Options for creating the storage resource.
- cancellationToken
- CancellationToken
Optional CancellationToken to propagate notifications that the operation should be cancelled.
Returns
The configured storage resource.
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.
Azure SDK for .NET