You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/blobs/data-lake-storage-directory-file-acl-dotnet.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Azure Data Lake Storage Gen2 .NET SDK for files & ACLs (preview)
3
3
description: Use the Azure Storage client library to manage directories and file and directory access control lists (ACL) in storage accounts that has hierarchical namespace (HNS) enabled.
4
4
author: normesta
5
5
ms.service: storage
6
-
ms.date: 03/18/2020
6
+
ms.date: 03/20/2020
7
7
ms.author: normesta
8
8
ms.topic: article
9
9
ms.subservice: data-lake-storage-gen2
@@ -49,7 +49,7 @@ To use the snippets in this article, you'll need to create a [DataLakeServiceCli
49
49
50
50
This is the easiest way to connect to an account.
51
51
52
-
This example creates an instance of the [DataLakeServiceClient](https://docs.microsoft.com/dotnet/api/azure.storage.files.datalake.datalakeserviceclient?) by using an account key.
52
+
This example creates a [DataLakeServiceClient](https://docs.microsoft.com/dotnet/api/azure.storage.files.datalake.datalakeserviceclient?) instance by using an account key.
@@ -67,11 +67,9 @@ public void GetDataLakeServiceClient(ref DataLakeServiceClient dataLakeServiceCl
67
67
68
68
### Connect by using Azure Active Directory (AD)
69
69
70
-
First, you'll have to configure a service principal and register your application with an Azure AD tenant. see [Acquire a token from Azure AD for authorizing requests from a client application](../common/storage-auth-aad-app.md).
70
+
You can use the [Azure identity client library for .NET](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/identity/Azure.Identity) to authenticate your application with Azure AD.
71
71
72
-
Then, you can use the [Azure identity client library for .NET](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/identity/Azure.Identity) to authenticate your application.
73
-
74
-
This example uses a client ID, a client secret, and a tenant ID but there are other ways to do this. See the [Azure identity client library for .NET](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/identity/Azure.Identity) for more examples.
72
+
This example creates a [DataLakeServiceClient](https://docs.microsoft.com/dotnet/api/azure.storage.files.datalake.datalakeserviceclient?) instance by using a client ID, a client secret, and a tenant ID. To get these values, see [Acquire a token from Azure AD for authorizing requests from a client application](../common/storage-auth-aad-app.md).
@@ -88,6 +86,9 @@ public void GetDataLakeServiceClient(ref DataLakeServiceClient dataLakeServiceCl
88
86
89
87
```
90
88
89
+
> [!NOTE]
90
+
> For more examples, see the [Azure identity client library for .NET](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/identity/Azure.Identity) documentation..
91
+
91
92
## Create a file system
92
93
93
94
A file system acts as a container for your files. You can create one by calling the [DataLakeServiceClient.CreateFileSystem](https://docs.microsoft.com/dotnet/api/azure.storage.files.datalake.datalakeserviceclient.createfilesystemasync) method.
Copy file name to clipboardExpand all lines: articles/storage/blobs/data-lake-storage-directory-file-acl-java.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Azure Data Lake Storage Gen2 Java SDK for files & ACLs (preview)
3
3
description: Use Azure Storage libraries for Java to manage directories and file and directory access control lists (ACL) in storage accounts that has hierarchical namespace (HNS) enabled.
4
4
author: normesta
5
5
ms.service: storage
6
-
ms.date: 03/18/2020
6
+
ms.date: 03/20/2020
7
7
ms.author: normesta
8
8
ms.topic: conceptual
9
9
ms.subservice: data-lake-storage-gen2
@@ -57,7 +57,7 @@ To use the snippets in this article, you'll need to create a **DataLakeServiceCl
57
57
58
58
This is the easiest way to connect to an account.
59
59
60
-
This example creates an instance of the **DataLakeServiceClient** by using an account key.
60
+
This example creates a **DataLakeServiceClient** instance by using an account key.
61
61
62
62
```java
63
63
@@ -78,11 +78,9 @@ static public DataLakeServiceClient GetDataLakeServiceClient
78
78
79
79
### Connect by using Azure Active Directory (Azure AD)
80
80
81
-
First, you'll have to configure a service principal and register your application with an Azure AD tenant. see [Acquire a token from Azure AD for authorizing requests from a client application](../common/storage-auth-aad-app.md).
81
+
You can use the [Azure identity client library for Java](https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/identity/azure-identity) to authenticate your application with Azure AD.
82
82
83
-
Then, you can use the [Azure identity client library for Java](https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/identity/azure-identity) to authenticate your application.
84
-
85
-
This example uses a client ID, a client secret, and a tenant ID but there are other ways to do this. See the [Azure identity client library for Java](https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/identity/azure-identity)) for more examples.
83
+
This example creates a **DataLakeServiceClient** instance by using a client ID, a client secret, and a tenant ID. To get these values, see [Acquire a token from Azure AD for authorizing requests from a client application](../common/storage-auth-aad-app.md).
@@ -101,6 +99,10 @@ static public DataLakeServiceClient GetDataLakeServiceClient
101
99
}
102
100
```
103
101
102
+
> [!NOTE]
103
+
> For more examples, see the [Azure identity client library for Java](https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/identity/azure-identity) documentation.
104
+
105
+
104
106
## Create a file system
105
107
106
108
A file system acts as a container for your files. You can create one by calling the **DataLakeServiceClient.createFileSystem** method.
Copy file name to clipboardExpand all lines: articles/storage/blobs/data-lake-storage-directory-file-acl-javascript.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Use JavaScript for files & ACLs in Azure Data Lake Storage Gen2 (preview)
3
3
description: Use Azure Storage Data Lake client library for JavaScript to manage directories and file and directory access control lists (ACL) in storage accounts that has hierarchical namespace (HNS) enabled.
4
4
author: normesta
5
5
ms.service: storage
6
-
ms.date: 03/18/2020
6
+
ms.date: 03/20/2020
7
7
ms.author: normesta
8
8
ms.topic: conceptual
9
9
ms.subservice: data-lake-storage-gen2
@@ -48,7 +48,7 @@ To use the snippets in this article, you'll need to create a **DataLakeServiceCl
48
48
49
49
This is the easiest way to connect to an account.
50
50
51
-
This example creates an instance of the **DataLakeServiceClient** by using an account key.
51
+
This example creates a **DataLakeServiceClient** instance by using an account key.
52
52
53
53
```javascript
54
54
@@ -65,15 +65,13 @@ function GetDataLakeServiceClient(accountName, accountKey) {
65
65
66
66
```
67
67
> [!NOTE]
68
-
> This method of authorization works only for Node.js applications. If you plan to run your code in a browser, you can authorize by using Azure Active Directory (AD). For guidance on how to do that, see the [Azure Storage File Data Lake client library for JavaScript](https://www.npmjs.com/package/@azure/storage-file-datalake) readme file.
68
+
> This method of authorization works only for Node.js applications. If you plan to run your code in a browser, you can authorize by using Azure Active Directory (AD).
69
69
70
70
### Connect by using Azure Active Directory (AD)
71
71
72
-
First, you'll have to configure a service principal and register your application with an Azure AD tenant. see [Acquire a token from Azure AD for authorizing requests from a client application](../common/storage-auth-aad-app.md).
72
+
You can use the [Azure identity client library for JS](https://www.npmjs.com/package/@azure/identity) to authenticate your application with Azure AD.
73
73
74
-
Then, you can use the [Azure identity client library for JS](https://www.npmjs.com/package/@azure/identity) to authenticate your application.
75
-
76
-
This example uses a client ID, a client secret, and a tenant ID but there are other ways to do this. See the [Azure identity client library for JS](https://www.npmjs.com/package/@azure/identity) for more examples.
74
+
This example creates a **DataLakeServiceClient** instance by using a client ID, a client secret, and a tenant ID. To get these values, see [Acquire a token from Azure AD for authorizing requests from a client application](../common/storage-auth-aad-app.md).
@@ -87,6 +85,9 @@ function GetDataLakeServiceClientAD(accountName, clientID, clientSecret, tenantI
87
85
}
88
86
```
89
87
88
+
> [!NOTE]
89
+
> For more examples, see the [Azure identity client library for JS](https://www.npmjs.com/package/@azure/identity) documentation.
90
+
90
91
## Create a file system
91
92
92
93
A file system acts as a container for your files. You can create one by getting a **FileSystemClient** instance, and then calling the **FileSystemClient.Create** method.
Copy file name to clipboardExpand all lines: articles/storage/blobs/data-lake-storage-directory-file-acl-python.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Azure Data Lake Storage Gen2 Python SDK for files & ACLs (preview)
3
3
description: Use Python manage directories and file and directory access control lists (ACL) in storage accounts that has hierarchical namespace (HNS) enabled.
4
4
author: normesta
5
5
ms.service: storage
6
-
ms.date: 11/24/2019
6
+
ms.date: 03/20/2020
7
7
ms.author: normesta
8
8
ms.topic: article
9
9
ms.subservice: data-lake-storage-gen2
@@ -50,7 +50,7 @@ To use the snippets in this article, you'll need to create a **DataLakeServiceCl
50
50
51
51
This is the easiest way to connect to an account.
52
52
53
-
This example uses an account key to create a **DataLakeServiceClient** instance that represents the storage account.
53
+
This example creates a **DataLakeServiceClient** instance by using an account key.
54
54
55
55
```python
56
56
try:
@@ -69,11 +69,9 @@ except Exception as e:
69
69
70
70
### Connect by using Azure Active Directory (AD)
71
71
72
-
First, you'll have to configure a service principal and register your application with an Azure AD tenant. see [Acquire a token from Azure AD for authorizing requests from a client application](../common/storage-auth-aad-app.md).
72
+
You can use the [Azure identity client library for Python](https://pypi.org/project/azure-identity/) to authenticate your application with Azure AD.
73
73
74
-
Then, you can use the [Azure identity client library for Python](https://pypi.org/project/azure-identity/) to authenticate your application.
75
-
76
-
This example uses a client ID, a client secret, and a tenant ID but there are other ways to do this. See the [Azure identity client library for Python](https://pypi.org/project/azure-identity/) for more examples.
74
+
This example creates a **DataLakeServiceClient** instance by using a client ID, a client secret, and a tenant ID. To get these values, see [Acquire a token from Azure AD for authorizing requests from a client application](../common/storage-auth-aad-app.md).
0 commit comments