diff --git a/specification/storage/Microsoft.BlobStorage/models.tsp b/specification/storage/Microsoft.BlobStorage/models.tsp index 3afb3d1fffab..2ee2cb8fcb5a 100644 --- a/specification/storage/Microsoft.BlobStorage/models.tsp +++ b/specification/storage/Microsoft.BlobStorage/models.tsp @@ -2189,7 +2189,8 @@ alias FilterBlobsIncludeParameter = { alias FilterBlobsWhereParameter = { /** Filters the results to return only to return only blobs whose tags match the specified expression. */ @query - where?: string; + @clientName("filterExpression") + where: string; }; /** The Content-Length header. */ diff --git a/specification/storage/Microsoft.BlobStorage/routes.tsp b/specification/storage/Microsoft.BlobStorage/routes.tsp index 905f7e61fd08..c44ec4e6336b 100644 --- a/specification/storage/Microsoft.BlobStorage/routes.tsp +++ b/specification/storage/Microsoft.BlobStorage/routes.tsp @@ -184,7 +184,7 @@ namespace Storage.Blob { #suppress "@azure-tools/typespec-azure-core/use-standard-names" "Existing API" @get @route("?comp=blobs") - op filterBlobs is StorageOperation< + op findBlobsByTags is StorageOperation< { ...TimeoutParameter; ...FilterBlobsWhereParameter; @@ -193,8 +193,6 @@ namespace Storage.Blob { ...FilterBlobsIncludeParameter; }, { - ...DateResponseHeader; - /** The filter blobs enumeration results */ @body enumerationResults: FilterBlobSegment; @@ -442,7 +440,7 @@ namespace Storage.Blob { #suppress "@azure-tools/typespec-azure-core/use-standard-names" "Existing API" @get @route("{containerName}?restype=container&comp=blobs") - op filterBlobs is StorageOperation< + op findBlobsByTags is StorageOperation< { ...ContainerNamePathParameter; ...TimeoutParameter; @@ -452,8 +450,6 @@ namespace Storage.Blob { ...FilterBlobsIncludeParameter; }, { - ...DateResponseHeader; - /** The container filter blob enumeration results */ @body enumerationResults: FilterBlobSegment; @@ -1057,7 +1053,7 @@ namespace Storage.Blob { ...ContainerNamePathParameter; ...BlobPathParameter; ...TimeoutParameter; - ...MetadataHeaders; + ...MetadataHeadersParameter; ...LeaseIdOptionalParameter; ...EncryptionKeyParameter; ...EncryptionKeySha256Parameter;