Skip to content

Commit 90fc1e8

Browse files
Edits
1 parent 43c8323 commit 90fc1e8

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

articles/storage/blobs/storage-blob-get-url-javascript.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to get a container or blob URL in Azure Storage by using
55
services: storage
66
author: pauljewellmsft
77
ms.author: pauljewell
8-
ms.date: 08/05/2024
8+
ms.date: 10/28/2024
99
ms.service: azure-blob-storage
1010
ms.topic: how-to
1111
ms.devlang: javascript
@@ -20,10 +20,8 @@ You can get a container or blob URL by using the `url` property of the client ob
2020
- [BlobClient.url](/javascript/api/@azure/storage-blob/blobclient#@azure-storage-blob-blobclient-url)
2121
- [BlockBlobClient.url](/javascript/api/@azure/storage-blob/blockblobclient#@azure-storage-blob-blockblobclient-url)
2222

23-
The [sample code snippets](https://github.com/Azure-Samples/AzureStorageSnippets/tree/master/blobs/howto/JavaScript/NodeJS-v12/dev-guide) are available in GitHub as runnable Node.js files.
24-
2523
> [!NOTE]
26-
> The examples in this article assume that you've created a [BlobServiceClient](/javascript/api/@azure/storage-blob/blobserviceclient) object by using the guidance in the [Get started with Azure Blob Storage and JavaScript](storage-blob-javascript-get-started.md) article.
24+
> The examples in this article assume that you've created a [BlobServiceClient](/javascript/api/@azure/storage-blob/blobserviceclient) object by using the guidance in the [Get started with Azure Blob Storage and JavaScript/TypeScript](storage-blob-javascript-get-started.md) article.
2725
2826
## Get a URL for a container or blob
2927

@@ -40,7 +38,11 @@ The following example gets a container URL and a blob URL by accessing the clien
4038
---
4139

4240
> [!TIP]
43-
> For loops, you must use the object's `name` property to create a client then get the URL with the client. Iterators don't return client objects, they return item objects.
41+
> When iterating over objects in a loop, use the object's `name` property to create a client, then get the URL with the client. Iterators don't return client objects, they return item objects.
42+
43+
### Code samples
44+
45+
- View [JavaScript](https://github.com/Azure-Samples/AzureStorageSnippets/blob/master/blobs/howto/JavaScript/NodeJS-v12/dev-guide/get-url.js) and [TypeScript](https://github.com/Azure-Samples/AzureStorageSnippets/blob/master/blobs/howto/TypeScript/NodeJS-v12/dev-guide/src/blob-get-url.ts) code samples from this article (GitHub)
4446

4547
## See also
4648

articles/storage/blobs/storage-blob-javascript-get-started.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.author: pauljewell
88

99
ms.service: azure-blob-storage
1010
ms.topic: how-to
11-
ms.date: 08/05/2024
11+
ms.date: 10/28/2024
1212
ms.custom: template-how-to, devx-track-js, devguide-js, passwordless-js
1313
---
1414

@@ -18,8 +18,6 @@ ms.custom: template-how-to, devx-track-js, devguide-js, passwordless-js
1818

1919
This article shows you how to connect to Azure Blob Storage by using the Azure Blob Storage client library for JavaScript. Once connected, your code can operate on containers, blobs, and features of the Blob Storage service.
2020

21-
The [sample code snippets](https://github.com/Azure-Samples/AzureStorageSnippets/tree/master/blobs/howto/JavaScript/NodeJS-v12/dev-guide) are available in GitHub as runnable Node.js files.
22-
2321
[API reference](/javascript/api/preview-docs/@azure/storage-blob) | [Package (npm)](https://www.npmjs.com/package/@azure/storage-blob) | [Library source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob) | [Samples](../common/storage-samples-javascript.md?toc=/azure/storage/blobs/toc.json#blob-samples) | [Give feedback](https://github.com/Azure/azure-sdk-for-js/issues)
2422

2523
## Prerequisites

0 commit comments

Comments
 (0)