Get-AzDataLakeStoreFirewallRule
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
Default (Default)
Get-AzDataLakeStoreFirewallRule
[-Account] <String>
[[-Name] <String>]
[[-ResourceGroupName] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzDataLakeStoreFirewallRule 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.
Examples
Example 1: Retrieve a specific firewall rule
Get-AzDataLakeStoreFirewallRule -AccountName "ContosoADL" -Name MyFirewallRule
Returns the firewall rule named "MyFirewallRule" from account "ContosoADL"
Example 2: List all firewall rules in an account
Get-AzDataLakeStoreFirewallRule -AccountName "ContosoADL"
Returns all firewall rules in account "ContosoADL"
Parameters
-Account
The Data Lake Store account to retrieve the firewall rule from.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | AccountName |
Parameter sets
(All)
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure
Parameter properties
| Type: | IAzureContextContainer |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Name
The name of the firewall rule to retrieve
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 1 |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-ResourceGroupName
Name of resource group under which want to retrieve the specified account's specified firewall rule.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 2 |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.