Update-​Azure​Rm​Data​Lake​Analytics​Compute​Policy

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

Syntax

Update-AzureRmDataLakeAnalyticsComputePolicy
      [-Account] <String>
      [-Name] <String>
      [-MaxDegreeOfParallelismPerJob <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.

Examples

Example 1: update one rule in a compute policy

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

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

Example 2: Create a compute policy with both rules update

PS C:\>Update-AzureRmDataLakeAnalyticsComputePolicy -Account "contosoadla" -Name "myPolicy" -MaxDegreeOfParallelismPerJob 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 parallelism or with a priority lower than 100

Required Parameters

-Account

Name of the account to update the compute policy in.

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

Name of the compute policy to update.

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

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MaxDegreeOfParallelismPerJob

The maximum supported degree of parallelism per job for this policy. Either this, MinPriorityPerJob, or both parameters must be specified.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-MinPriorityPerJob

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

Type:Int32
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

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

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

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

System.String

System.Int32

Outputs

Microsoft.Azure.Commands.DataLakeAnalytics.Models.PSDataLakeAnalyticsComputePolicy