< Back

Update-AzureRmDataLakeAnalyticsComputePolicy

Tue Jan 29, 2019 9:43 pm

NAME Update-AzureRmDataLakeAnalyticsComputePolicy



SYNOPSIS

Updates a Data Lake Analytics compute policy rule for a specific AAD entity.





SYNTAX

Update-AzureRmDataLakeAnalyticsComputePolicy [-Account] <String> [-Name] <String> [-DefaultProfile <IAzureContextContainer>]

[-MaxAnalyticsUnitsPerJob <Int32>] [-MinPriorityPerJob <Int32>] [-ResourceGroupName <String>] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The Update-AzureRmDataLakeAnalyticsComputePolicy updates the specified compute policy rule for a specific AAD entity in an Azure Data Lake

Analytics account.





PARAMETERS

-Account <String>

Name of the account to update the compute policy in.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-MaxAnalyticsUnitsPerJob <Int32>

The maximum supported analytics units per job for this policy. Either this, MinPriorityPerJob, or both parameters must be specified.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-MinPriorityPerJob <Int32>

The minimum supported priority per job for this policy. Either this, MaxAnalyticsUnitsPerJob, or both parameters must be specified.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Name <String>

Name of the compute policy to update.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Name of resource group under which you the account exists. Optional and will attempt to discover if not provided.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String

System.Int32





OUTPUTS

Microsoft.Azure.Commands.DataLakeAnalytics.Models.PSDataLakeAnalyticsComputePolicy







NOTES









Example 1: update one rule in a compute policy



PS C:\\>Update-AzureRmDataLakeAnalyticsComputePolicy -Account "contosoadla" -Name "myPolicy" -MaxAnalyticsUnitsPerJob 5



This command updates a policy called "myPolicy" in account "contosoadla" to ensure the user cannot submit any job with more than 5 analytics units.





Example 2: Create a compute policy with both rules update



PS C:\\>Update-AzureRmDataLakeAnalyticsComputePolicy -Account "contosoadla" -Name "myPolicy" -MaxAnalyticsUnitsPerJob 5 -MinPriorityPerJob 100



This command creates a policy called "myPolicy" in account "contosoadla" to ensure the user cannot submit any job with more than 5 analytics units

or with a priority lower than 100







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... putepolicy