Skip to content

Commit 1a2f816

Browse files
Update TOC, add links
1 parent 54af426 commit 1a2f816

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

articles/storage/blobs/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,8 @@ items:
579579
href: storage-blob-object-model.md
580580
- name: Create and manage client objects
581581
href: storage-blob-client-management.md
582+
- name: Query for a Blob Storage endpoint
583+
href: storage-blob-query-endpoint-srp.md
582584
- name: .NET
583585
items:
584586
- name: Get started

articles/storage/blobs/storage-blob-client-management.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ To learn more about authorization, see [Authorize access to data in Azure Storag
5858

5959
Working with any Azure resource using the SDK begins with creating a client object. In this section, you learn how to create client objects to interact with the three types of resources in the storage service: storage accounts, containers, and blobs.
6060

61+
When your application creates a client object, you pass a URI referencing the endpoint to the client constructor. You can construct the endpoint string manually, as shown in the examples below, or you can query for the endpoint at runtime using the Azure Storage management library. To learn how to query for an endpoint, see [Query for a Blob Storage endpoint](storage-blob-query-endpoint-srp.md).
62+
6163
### Create a BlobServiceClient object
6264

6365
An authorized `BlobServiceClient` object allows your app to interact with resources at the storage account level. `BlobServiceClient` provides methods to retrieve and configure account properties, as well as list, create, and delete containers within the storage account. This client object is the starting point for interacting with resources in the storage account.

articles/storage/blobs/storage-blob-query-endpoint-srp.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.author: pauljewell
88

99
ms.service: storage
1010
ms.topic: how-to
11-
ms.date: 03/14/2023
11+
ms.date: 03/17/2023
1212
ms.subservice: blobs
1313
ms.custom: devguide-csharp, devguide-java, devguide-javascript, devguide-python
1414
---
@@ -197,7 +197,7 @@ Client library information:
197197

198198
---
199199

200-
### Register the Storage resource provider
200+
### Register the Storage resource provider with a subscription
201201

202202
A resource provider must be registered with your Azure subscription before you can use it. For this example, the resource provider **Microsoft.Storage** needs to be registered so that your subscription can work with it.
203203

@@ -223,6 +223,9 @@ You can also use the Azure management libraries to check the registration status
223223

224224
---
225225

226+
> [!NOTE]
227+
> To perform the register operation, you'll need permissions for the following Azure RBAC action: **Microsoft.Storage/register/action**. This permission is included in the **Contributor** and **Owner** roles.
228+
226229
## Query for the Blob Storage endpoint
227230

228231
To retrieve the Blob Storage endpoint for a given storage account, we need to get the storage account properties by calling the [Get Properties](/rest/api/storagerp/storage-accounts/get-properties) operation. The following code samples use both the data access and management libraries to get a Blob Storage endpoint for a specified storage account:

0 commit comments

Comments
 (0)