New-AzureRmDataLakeStoreAccount

Creates a new Data Lake Store account.

Warning

The AzureRM PowerShell module has been officially deprecated as of February 29, 2024. Users are advised to migrate from AzureRM to the Az PowerShell module to ensure continued support and updates.

Although the AzureRM module may still function, it's no longer maintained or supported, placing any continued use at the user's discretion and risk. Please refer to our migration resources for guidance on transitioning to the Az module.

Syntax

New-AzureRmDataLakeStoreAccount
   [-ResourceGroupName] <String>
   [-Name] <String>
   [-Location] <String>
   [[-DefaultGroup] <String>]
   [[-Tag] <Hashtable>]
   [[-Encryption] <EncryptionConfigType>]
   [[-KeyVaultId] <String>]
   [[-KeyName] <String>]
   [[-KeyVersion] <String>]
   [-Tier <TierType>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
New-AzureRmDataLakeStoreAccount
   [-ResourceGroupName] <String>
   [-Name] <String>
   [-Location] <String>
   [[-DefaultGroup] <String>]
   [[-Tag] <Hashtable>]
   [-DisableEncryption]
   [-Tier <TierType>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The New-AzureRmDataLakeStoreAccount cmdlet creates a new Data Lake Store account.

Examples

Example 1: Create an account

PS C:\>New-AzureRmDataLakeStoreAccount -Name "ContosoADL" -ResourceGroupName "ContosoOrg" -Location "East US 2"

This command creates a Data Lake Store account named ContosoADL for the East US 2 location.

Parameters

-DefaultGroup

Specifies the object ID of the AzureActive Directory group to use as the default group owner for new files and folders.

Type:String
Position:3
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure

Type:IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisableEncryption

Indicates that the account will not have any form of encryption applied to it.

Type:SwitchParameter
Position:5
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Encryption

Type:Nullable<T>[EncryptionConfigType]
Accepted values:UserManaged, ServiceManaged
Position:5
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-KeyName

Type:String
Position:7
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-KeyVaultId

Type:String
Position:6
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-KeyVersion

Type:String
Position:8
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Location

Specifies the location to use for the account. The acceptable values for this parameter are:

  • East US 2
Type:String
Position:2
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

Specifies the name of the account to create.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ResourceGroupName

Specifies the name of the resource group that contains the account.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Tag

Specifies tags as key-value pairs. You can use tags to identify a Data Lake Store account from other Azure resources.

Type:Hashtable
Aliases:Tags
Position:4
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Tier

The desired commitment tier for this account to use.

Type:Nullable<T>[TierType]
Accepted values:Consumption, Commitment1TB, Commitment10TB, Commitment100TB, Commitment500TB, Commitment1PB, Commitment5PB
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Hashtable

Nullable<T>[[Microsoft.Azure.Management.DataLake.Store.Models.EncryptionConfigType, Microsoft.Azure.Management.DataLake.Store, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]

SwitchParameter

Nullable<T>[[Microsoft.Azure.Management.DataLake.Store.Models.TierType, Microsoft.Azure.Management.DataLake.Store, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]

Outputs

PSDataLakeStoreAccount