適用於 Node.js 的 Azure Data Lake Store 模組Azure Data Lake Store modules for Node.js

Azure Data Lake Store 是容納巨量資料分析工作負載的企業級超大規模存放庫。Azure Data Lake Store is an enterprise-wide hyper-scale repository for big data analytic workloads. Azure Data Lake 可讓您在單一位置擷取任何大小、類型和擷取速度的資料,以便進行運作和探究分析。Azure Data Lake enables you to capture data of any size, type, and ingestion speed in one single place for operational and exploratory analytics.

管理套件Management Package

安裝 npm 模組Install the npm module

使用 npm 來安裝適用於 Node.js 的 Azure Data Lake Store 模組Use npm to install the Azure Data Lake Store modules for Node.js

npm install azure-arm-datalake-store

範例Example

下列範例列出指定之 Azure 訂用帳戶中的所有 Data Lake Store 帳戶。This example lists all Data Lake Store accounts within a given Azure subscription

const msRestAzure = require('ms-rest-azure');
const adlsManagement = require('azure-arm-datalake-store');

const subscriptionId = 'your-subscription-id';

msRestAzure.interactiveLogin().then(credentials => {
  const accountClient = new adlsManagement.DataLakeStoreAccountClient(
    credentials,
    subscriptionId
  );
  accountClient.account.list().then(result => {
    console.log(result);
  });
});

範例Samples

深入探索可在應用程式中使用的 Node.js 程式碼範例Explore more sample Node.js code you can use in your apps.