Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AzureNetworkSecurityRuleConfig

Get-AzureNetworkSecurityRuleConfig

microsoft.azure.commands.network.dll

Synopsis

Get an existing Network Security Rule within a Network Security Group.

Syntax

Get-AzureNetworkSecurityRuleConfig [-Name] [-NetworkSecurityGroup] [-DefaultRules] [-Profile] [<CommonParameters>]

Detailed Description

Get an existing Network Security Rule within a Network Security Group.

Parameters

-Name <String>

The name of the Network Security Rule to retrieve.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-NetworkSecurityGroup <PSNetworkSecurityGroup>

The Network Security Group object containing the Network Security Rule to retrieve.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

true (ByValue)

Accept wildcard characters?

false

-DefaultRules <SwitchParameter>

Switch on whether to get user-created rules, or default rules.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Profile <AzureProfile>

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples