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

Azure Data Lake Analytics 是隨選分析作業服務,可簡化巨量資料分析。Azure Data Lake Analytics is an on-demand analytics job service to simplify big data analytics. 您可以著重於撰寫、執行和管理作業,而非操作分散式基礎結構。You can focus on writing, running, and managing jobs rather than on operating distributed infrastructure. 無需部署、設定及調整硬體,您只需寫入查詢便可轉換資料並擷取寶貴的深入見解。Instead of deploying, configuring, and tuning hardware, you write queries to transform your data and extract valuable insights. 透過針對所需的功能設定級別,此項分析服務便可立即處理任何規模的工作。The analytics service can handle jobs of any scale instantly by setting the dial for how much power you need. 只有在作業進行時您才需要支付費用,十分符合成本效益。You only pay for your job when it is running, making it cost-effective. 分析服務支援 Azure Active Directory,讓您管理存取權及角色,且其與您的內部部署身分識別系統整合。The analytics service supports Azure Active Directory letting you manage access and roles, integrated with your on-premises identity system. 分析服務支援還包括 U-SQL,該語言可將 SQL 的優勢與使用者程式碼的運算能力結合在一起。It also includes U-SQL, a language that unifies the benefits of SQL with the expressive power of user code. U-SQL 的可調整分散式執行階段可讓您有效地分析資料,範圍遍及存放區以及 Azure、Azure SQL Database 以及 Azure SQL 資料倉儲中的 SQL Server。U-SQL’s scalable distributed runtime enables you to efficiently analyze data in the store and across SQL Servers in Azure, Azure SQL Database, and Azure SQL Data Warehouse.

管理封裝Management package

安裝 npm 模組Install the npm module

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

npm install azure-arm-datalake-analytics

範例Example

此範例會列出指定之訂用帳戶的所有分析帳戶。This example lists all of the analytics accounts for a given subscription.

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

const subscriptionId = 'your-subscription-id';

msRestAzure.interactiveLogin().then(credentials => {
  const accountClient = new adlsManagement.DataLakeAnalyticsAccountClient(
    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.