你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

New-AzDataLakeAnalyticsAccount

Creates a Data Lake Analytics account.

Syntax

New-AzDataLakeAnalyticsAccount
   [-ResourceGroupName] <String>
   [-Name] <String>
   [-Location] <String>
   [-DefaultDataLakeStore] <String>
   [[-Tag] <Hashtable>]
   [-MaxAnalyticsUnits <Int32>]
   [-MaxJobCount <Int32>]
   [-QueryStoreRetention <Int32>]
   [-Tier <TierType>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The New-AzDataLakeAnalyticsAccount cmdlet creates an Azure Data Lake Analytics account.

Examples

Example 1: Create a Data Lake Analytics account

New-AzDataLakeAnalyticsAccount -Name "ContosoAdlAccount" -ResourceGroupName "ContosoOrg" -Location "East US 2" -DefaultDataLakeStore "ContosoAdlStore"

This command creates a Data Lake Analytics account named ContosoAdlAccount that uses the ContosoAdlStore Data Store, in the resource group named ContosoOrg.

Parameters

-DefaultDataLakeStore

Specifies the name of the Data Lake Store account to set as the default data source.

Type:String
Position:3
Default value:None
Required:True
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

-Location

Specifies the location at which to create the Data Lake Analytics account. Only East US 2 is supported at this time.

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

-MaxAnalyticsUnits

The optional maximum supported analytics units for this account.

Type:Nullable<T>[Int32]
Aliases:MaxDegreeOfParallelism
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-MaxJobCount

The optional maximum supported jobs running under the account at the same time. If none is specified, defaults to 3

Type:Nullable<T>[Int32]
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Name

Specifies the Data Lake Analytics account name.

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

-QueryStoreRetention

The optional number of days that job metadata is retained. If none specified, the default is 30 days.

Type:Nullable<T>[Int32]
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-ResourceGroupName

Specifies the resource group name of the Data Lake Analytics account. To create a resource group, use the New-AzResourceGroup cmdlet.

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

-Tag

A string,string dictionary of tags associated with this account

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, Commitment100AUHours, Commitment500AUHours, Commitment1000AUHours, Commitment5000AUHours, Commitment10000AUHours, Commitment50000AUHours, Commitment100000AUHours, Commitment500000AUHours
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Hashtable

Nullable<T>[[System.Int32, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]

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

Outputs

PSDataLakeAnalyticsAccount