Get-AzDataLakeAnalyticsFirewallRule

Retrieves a firewall rule or list of firewall rules from a Data Lake Analytics account.

Syntax

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

Description

The Get-AzDataLakeAnalyticsFirewallRule cmdlet retrieves a firewall rule or list of firewall rules from an Azure Data Lake Analytics account.

Examples

Example 1: Get a firewall rule

Get-AzDataLakeAnalyticsFirewallRule -Account "ContosoAdlAcct" -Name "My firewall rule"

This command gets the firewall rule named "my firewall rule" from account "ContosoAdlAcct"

Example 2: List all firewall rules

Get-AzDataLakeAnalyticsFirewallRule -Account "ContosoAdlAcct"

This command gets all firewall rules from account "ContosoAdlAcct"

Parameters

-Account

The Data Lake Analytics account to get the firewall rule from

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

-DefaultProfile

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

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

The name of the firewall rule.

Type:String
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-ResourceGroupName

Name of resource group under which want to retrieve the account.

Type:String
Position:2
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Outputs

DataLakeAnalyticsFirewallRule