< Back

Get-AzureRmDataLakeAnalyticsComputePolicy

Tue Jan 29, 2019 9:43 pm

NAME Get-AzureRmDataLakeAnalyticsComputePolicy



SYNOPSIS

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





SYNTAX

Get-AzureRmDataLakeAnalyticsComputePolicy [-Account] <String> [[-Name] <String>] [-DefaultProfile <IAzureContextContainer>] [-ResourceGroupName

<String>] [<CommonParameters>]





DESCRIPTION

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





PARAMETERS

-Account <String>

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



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



-Name <String>

Name of the compute policy to get.



Required? false

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



<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







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]]





NOTES









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"







RELATED LINKS

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