Skip to content

Commit f4216b8

Browse files
authored
Merge pull request #271304 from pauljewellmsft/adls-dev
Add information note about multi-protocol access for Gen2
2 parents 8ec2332 + 077bf8d commit f4216b8

5 files changed

+23
-1
lines changed

articles/storage/blobs/data-lake-storage-directory-file-acl-dotnet.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ using Azure.Storage.Files.DataLake;
4141
using Azure.Storage.Files.DataLake.Models;
4242
using Azure.Storage;
4343
using System.IO;
44-
4544
```
4645

46+
[!INCLUDE [data-lake-storage-sdk-note](../../../includes/data-lake-storage-sdk-note.md)]
47+
4748
## Authorize access and connect to data resources
4849

4950
To work with the code examples in this article, you need to create an authorized [DataLakeServiceClient](/dotnet/api/azure.storage.files.datalake.datalakeserviceclient) instance that represents the storage account. You can authorize a `DataLakeServiceClient` object using Microsoft Entra ID, an account access key, or a shared access signature (SAS).

articles/storage/blobs/data-lake-storage-directory-file-acl-java.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ import com.azure.storage.file.datalake.models.*;
4545
import com.azure.storage.file.datalake.options.*;
4646
```
4747

48+
[!INCLUDE [data-lake-storage-sdk-note](../../../includes/data-lake-storage-sdk-note.md)]
49+
4850
## Authorize access and connect to data resources
4951

5052
To work with the code examples in this article, you need to create an authorized [DataLakeServiceClient](/java/api/com.azure.storage.file.datalake.datalakeserviceclient) instance that represents the storage account. You can authorize a `DataLakeServiceClient` object using Microsoft Entra ID, an account access key, or a shared access signature (SAS).

articles/storage/blobs/data-lake-storage-directory-file-acl-javascript.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ StorageSharedKeyCredential
4747
} = require("@azure/storage-file-datalake");
4848
```
4949

50+
[!INCLUDE [data-lake-storage-sdk-note](../../../includes/data-lake-storage-sdk-note.md)]
51+
5052
## Connect to the account
5153

5254
To use the snippets in this article, you'll need to create a **DataLakeServiceClient** instance that represents the storage account.

articles/storage/blobs/data-lake-storage-directory-file-acl-python.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ from azure.storage.filedatalake import (
4949
from azure.identity import DefaultAzureCredential
5050
```
5151

52+
[!INCLUDE [data-lake-storage-sdk-note](../../../includes/data-lake-storage-sdk-note.md)]
53+
5254
## Authorize access and connect to data resources
5355

5456
To work with the code examples in this article, you need to create an authorized [DataLakeServiceClient](/python/api/azure-storage-file-datalake/azure.storage.filedatalake.datalakeserviceclient) instance that represents the storage account. You can authorize a `DataLakeServiceClient` object using Microsoft Entra ID, an account access key, or a shared access signature (SAS).
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: include file
3+
description: include file
4+
ms.service: azure-data-lake-storage
5+
author: pauljewellmsft
6+
ms.author: pauljewell
7+
ms.topic: include
8+
ms.date: 04/05/2024
9+
ms.custom: include file
10+
---
11+
12+
> [!NOTE]
13+
> [Multi-protocol access on Data Lake Storage](../articles/storage/blobs/data-lake-storage-multi-protocol-access.md) enables applications to use both Blob APIs and Data Lake Storage Gen2 APIs to work with data in storage accounts with hierarchical namespace (HNS) enabled. When working with capabilities unique to Data Lake Storage Gen2, such as directory operations and ACLs, use the Data Lake Storage Gen2 APIs, as shown in this article.
14+
>
15+
> When choosing which APIs to use in a given scenario, consider the workload and the needs of your application, along with the [known issues](../articles/storage/blobs/data-lake-storage-known-issues.md#blob-storage-apis) and [impact of HNS on workloads and applications](../articles/storage/blobs/upgrade-to-data-lake-storage-gen2.md#impact-on-workloads-and-applications).

0 commit comments

Comments
 (0)