Skip to content

Commit 18bfec5

Browse files
committed
edits
1 parent c06e2f4 commit 18bfec5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ Use the following table to find the correct upload method based on the blob clie
2929
|Client|Upload method|
3030
|--|--|
3131
|[BlobClient](/javascript/api/@azure/storage-blob/blobclient)|The SDK would needs to know the blob type you want to upload to. Because this is the base class for the other Blob clients, it does not have upload methods. It is mostly useful for operations that are common to the child blob classes. For uploading, create specific blob clients directly or get specific blob clients from ContainerClient.|
32-
|[BlockBlobClient](/javascript/api/@azure/storage-blob/blockblobclient)|* upload()<br>* stageBlock() and commitBlockList()|
32+
|[BlockBlobClient](/javascript/api/@azure/storage-blob/blockblobclient)|This is the **most common upload client**:<br>* upload()<br>* stageBlock() and commitBlockList()|
3333
|[AppendBlobClient](/javascript/api/@azure/storage-blob/appendblobclient)|* create()<br>* append()|
3434
|[PageBlobClient](/javascript/api/@azure/storage-blob/pageblobclient)|* create()<br>* appendPages()|
3535

36-
## Upload by using a file path
36+
## <a name="upload-by-using-a-file-path"></a>Upload with BlockBlobClient by using a file path
3737

3838
The following example uploads a local file to blob storage with the [BlockBlobClient](/javascript/api/@azure/storage-blob/blockblobclient) object. The [options](/javascript/api/@azure/storage-blob/blockblobparalleluploadoptions) object allows you to pass in your own metadata and [tags](storage-manage-find-blobs.md#blob-index-tags-and-data-management), used for indexing, at upload time:
3939

@@ -53,7 +53,7 @@ async function createBlobFromLocalPath(containerClient, blobName, localFileWithP
5353
}
5454
```
5555

56-
## Upload by using a Stream
56+
## <a name="upload-by-using-a-stream"></a>Upload with BlockBlobClient by using a Stream
5757

5858
The following example uploads a readable stream to blob storage with the [BlockBlobClient](/javascript/api/@azure/storage-blob/blockblobclient) object. Pass in the BlockBlobUploadStream [options](/javascript/api/@azure/storage-blob/blockblobuploadstreamoptions) to affect the upload:
5959

@@ -104,7 +104,7 @@ const myTransform = new Transform({
104104

105105
```
106106

107-
## Upload by using a BinaryData object
107+
## <a name="upload-by-using-a-binarydata-object"></a>Upload with BlockBlobClient by using a BinaryData object
108108

109109
The following example uploads a Node.js buffer to blob storage with the [BlockBlobClient](/javascript/api/@azure/storage-blob/blockblobclient) object. Pass in the BlockBlobParallelUpload [options](/javascript/api/@azure/storage-blob/blockblobparalleluploadoptions) to affect the upload:
110110

@@ -130,7 +130,7 @@ async function createBlobFromBuffer(containerClient, blobName, buffer, uploadOpt
130130
}
131131
```
132132

133-
## Upload a string
133+
## <a name="upload-a-string"></a>Upload a string with BlockBlobClient
134134

135135
The following example uploads a string to blob storage with the [BlockBlobClient](/javascript/api/@azure/storage-blob/blockblobclient) object. Pass in the BlockBlobUploadOptions [options](/javascript/api/@azure/storage-blob/blockblobuploadoptions) to affect the upload:
136136

0 commit comments

Comments
 (0)