Skip to content

Commit 53bba97

Browse files
Edits
1 parent 17a5792 commit 53bba97

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

articles/storage/blobs/storage-blob-tags-javascript.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ This article shows how to use blob index tags to manage and find data using the
3232

3333
[!INCLUDE [storage-dev-guide-auth-set-blob-tags](../../../includes/storage-dev-guides/storage-dev-guide-auth-set-blob-tags.md)]
3434

35-
To set tags at blob upload time, create a [BlobClient](/javascript/api/@azure/storage-blob/blobclient) then use the following method:
35+
You can set tags by using the following method:
3636

3737
- [BlobClient.setTags](/javascript/api/@azure/storage-blob/blobclient#@azure-storage-blob-blobclient-settags)
3838

39-
The following example performs this task.
39+
The specified tags in this method will replace existing tags. If old values must be preserved, they must be downloaded and included in the call to this method. The following example shows how to set tags:
4040

4141
### [JavaScript](#tab/javascript)
4242

@@ -50,20 +50,15 @@ The following example performs this task.
5050

5151
You can delete all tags by passing an empty JSON object into the `setTags` method.
5252

53-
| Related articles |
54-
|--|
55-
| [Manage and find Azure Blob data with blob index tags](storage-manage-find-blobs.md) |
56-
| [Set Blob Tags](/rest/api/storageservices/set-blob-tags) (REST API) |
57-
5853
## Get tags
5954

6055
[!INCLUDE [storage-dev-guide-auth-get-blob-tags](../../../includes/storage-dev-guides/storage-dev-guide-auth-get-blob-tags.md)]
6156

62-
To get tags, use the following method:
57+
You can get tags by using the following method:
6358

6459
- [BlobClient.getTags](/javascript/api/@azure/storage-blob/blobclient#@azure-storage-blob-blobclient-gettags)
6560

66-
The following example shows how to get and iterate over the blob's tags.
61+
The following example shows how to retrieve and iterate over the blob's tags.
6762

6863
### [JavaScript](#tab/javascript)
6964

@@ -93,7 +88,7 @@ The following table shows some query strings:
9388
|`@container = 'my-container' AND createdBy = 'Jill'`|**Filter by container** and specific property. In this query, `createdBy` is a text match and doesn't indicate an authorization match through Active Directory. |
9489

9590

96-
To find blobs, use the following method:
91+
You can find data by using the following method:
9792

9893
- [BlobServiceClient.findBlobsByTags](/javascript/api/@azure/storage-blob/blobserviceclient#@azure-storage-blob-blobserviceclient-findblobsbytags)
9994

0 commit comments

Comments
 (0)