BlobContainerClient.FindBlobsByTags(String, CancellationToken) 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.
The Filter Blobs operation enables callers to list blobs in the container whose tags match a given search expression and only the tags appearing in the expression will be returned.
For more information, see Find Blobs by Tags.
public virtual Azure.Pageable<Azure.Storage.Blobs.Models.TaggedBlobItem> FindBlobsByTags (string tagFilterSqlExpression, System.Threading.CancellationToken cancellationToken = default);
abstract member FindBlobsByTags : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.Storage.Blobs.Models.TaggedBlobItem>
override this.FindBlobsByTags : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.Storage.Blobs.Models.TaggedBlobItem>
Public Overridable Function FindBlobsByTags (tagFilterSqlExpression As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of TaggedBlobItem)
Parameters
- tagFilterSqlExpression
- String
The where parameter finds blobs in the storage account whose tags match a given expression. The expression must evaluate to true for a blob to be returned in the result set. The storage service supports a subset of the ANSI SQL WHERE clause grammar for the value of the where=expression query parameter. The following operators are supported: =, >, >=, <, <=, AND. Example expression: "tagKey"='tagValue'.
- cancellationToken
- CancellationToken
Optional CancellationToken to propagate notifications that the operation should be cancelled.
Returns
An AsyncPageable<T> describing the blobs.
Remarks
A RequestFailedException will be thrown if a failure occurs.
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per