New-AzDataLakeStoreAccount

Creates a new Data Lake Store account.

Syntax

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

Description

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

Examples

Example 1: Create an account

New-AzDataLakeStoreAccount -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:AzContext, 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
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