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

Gets a Data Lake Analytics compute policy or list of compute policies.

Syntax

Get-AzureRmDataLakeAnalyticsComputePolicy
   [-Account] <String>
   [[-Name] <String>]
   [-ResourceGroupName <String>]
   [<CommonParameters>]

Description

The Get-AzureRmDataLakeAnalyticsComputePolicy gets a specified Azure Data Lake Analytics compute policy or a list of policies.

Examples

Example 1: Get a specified compute policy

PS C:\>Get-AzureRmDataLakeAnalyticsComputePolicy -Account "contosoadla" -Name myPolicy

This command gets the specified compute policy with name 'myPolicy' in account 'contosoadla'.

Example 2: Get a list of all compute policies in the account

PS C:\>Get-AzureRmDataLakeAnalyticsComputePolicy -AccountName "contosoadla"

This command gets a list of all compute policies in the account "contosoadla"

Required Parameters

-Account

Name of the account to get the compute policy or policies from.

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

Optional Parameters

-Name

Name of the compute policy to get.

Type:String
Aliases:ComputePolicyName
Position:1
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

Inputs

System.String

Outputs

Microsoft.Azure.Commands.DataLakeAnalytics.Models.PSDataLakeAnalyticsComputePolicy

System.Collections.Generic.IEnumerable`1[[Microsoft.Azure.Commands.DataLakeAnalytics.Models.PSDataLakeAnalyticsComputePolicy, Microsoft.Azure.Commands.DataLakeAnalytics, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null]]