< Back

Get-AzureRmDataLakeStoreFirewallRule

Tue Jan 29, 2019 9:44 pm

NAME Get-AzureRmDataLakeStoreFirewallRule



SYNOPSIS

Gets the specified firewall rules in the specified Data Lake Store. If no firewall rule is specified, then lists all firewall rules for the

account.





SYNTAX

Get-AzureRmDataLakeStoreFirewallRule [-Account] <String> [[-Name] <String>] [[-ResourceGroupName] <String>] [-DefaultProfile

<IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmDataLakeStoreFirewallRule cmdlet gets the specified firewall rules in the specified Data Lake Store. If no firewall rule is

specified, then lists all firewall rules for the account.





PARAMETERS

-Account <String>

The Data Lake Store account to retrieve the firewall rule 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>

The name of the firewall rule to retrieve



Required? false

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Name of resource group under which want to retrieve the specified account's specified firewall rule.



Required? false

Position? 2

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

None

This cmdlet does not accept any input.





OUTPUTS

DataLakeStoreFirewallRule

The specified firewall rule to retrieve



IList<DataLakeStoreFirewallRule>

The list of firewall rules in the specified account.





NOTES









Example 1: Retrieve a specific firewall rule



PS C:\\> Get-AzureRmDataLakeStoreFirewallRule -AccountName "ContosoADL" -Name MyFirewallRule



Returns the firewall rule named "MyFirewallRule" from account "ContosoADL"





Example 2: List all firewall rules in an account



PS C:\\> Get-AzureRmDataLakeStoreFirewallRule -AccountName "ContosoADL"



Returns all firewall rules in account "ContosoADL"







RELATED LINKS

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