Set-AzureRmDataLakeAnalyticsAccount

Modifies a Data Lake Analytics account.

Syntax

Set-AzureRmDataLakeAnalyticsAccount
   [-Name] <String>
   [[-Tags] <Hashtable>]
   [[-ResourceGroupName] <String>]
   [-MaxAnalyticsUnits <Int32>]
   [-MaxJobCount <Int32>]
   [-QueryStoreRetention <Int32>]
   [-Tier <TierType>]
   [-FirewallState <FirewallState>]
   [-AllowAzureIpState <FirewallAllowAzureIpsState>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Set-AzureRmDataLakeAnalyticsAccount cmdlet modifies an Azure Data Lake Analytics account.

Examples

Example 1: Modify the data source of an account

PS C:\>Set-AzureRmDataLakeAnalyticsAccount -Name "ContosoAdlAcct" -DefaultDataLakeStore "ContosoAdlStore01" -Tags @{"stage"="production"}

This command changes the default data source and the Tags property of the account.

Required Parameters

-Name

Specifies the Data Lake Analytics account name.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-AllowAzureIpState

Optionally allow/block Azure originating IPs through the firewall.

Type:System.Nullable`1[Microsoft.Azure.Management.DataLake.Analytics.Models.FirewallAllowAzureIpsState]
Parameter Sets:Enabled, Disabled
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-DefaultProfile

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

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FirewallState

Optionally enable/disable existing firewall rules.

Type:System.Nullable`1[Microsoft.Azure.Management.DataLake.Analytics.Models.FirewallState]
Parameter Sets:Enabled, Disabled
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-MaxAnalyticsUnits

The optional maximum supported analytics units to update the account with.

Type:System.Nullable`1[System.Int32]
Aliases:MaxDegreeOfParallelism
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-MaxJobCount

The optional maximum supported jobs running under the account at the same time to set.

Type:System.Nullable`1[System.Int32]
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-QueryStoreRetention

The optional number of days that job metadata is retained to set in the account.

Type:System.Nullable`1[System.Int32]
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

Specifies the resource group name of the Data Lake Analytics account.

Type:String
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Tags

Specifies key-value pairs that can be used to identify the Data Lake Analytics account among other Azure resources.

Type:Hashtable
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Tier

The desired commitment tier for this account to use.

Type:System.Nullable`1[Microsoft.Azure.Management.DataLake.Analytics.Models.TierType]
Parameter Sets:Consumption, Commitment100AUHours, Commitment500AUHours, Commitment1000AUHours, Commitment5000AUHours, Commitment10000AUHours, Commitment50000AUHours, Commitment100000AUHours, Commitment500000AUHours
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Outputs

PSDataLakeAnalyticsAccount

The updated account details.