1. Answers
  2. What Is Meant By Azure Data Lake Stor In TypeScript

What Is Meant by Azure Data Lake Stor in TypeScript

This Pulumi program demonstrates how to create an Azure Data Lake Storage (ADLS) account in TypeScript. The key services involved are Azure Resource Group and Azure Data Lake Storage Account. The program will create a new resource group and then create an ADLS account within that resource group.

Full Code Example

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure-native";

// Create an Azure Resource Group
const resourceGroup = new azure.resources.ResourceGroup("resourceGroup", {
    location: "WestUS",
});

// Create an Azure Data Lake Storage Account
const adlsAccount = new azure.datalakestore.Account("adlsAccount", {
    resourceGroupName: resourceGroup.name,
    location: resourceGroup.location,
    accountName: "mydatalake",
    defaultGroup: "mydatalakegroup",
    encryptionState: "Enabled",
    encryptionConfig: {
        type: "UserManaged",
    },
});

export const resourceGroupName = resourceGroup.name;
export const adlsAccountName = adlsAccount.name;

Deploy this code

Want to deploy this code? Sign up for a free Pulumi account to deploy in a few clicks.

Sign up

New to Pulumi?

Want to deploy this code? Sign up with Pulumi to deploy in a few clicks.

Sign up