< Back
Add-ArmNetworkSecurityGroupSecurityRule
Post
NAME Add-ArmNetworkSecurityGroupSecurityRule
SYNTAX
Add-ArmNetworkSecurityGroupSecurityRule [-NSG] <NSG> [-Name] <string> [[-Protocol] {* | Tcp | Udp}]
[[-SourcePortRange] <string>] [[-DestinationPortRange] <string>] [[-SourceAddressPrefix] <string>]
[[-DestinationAddressPrefix] <string>] [[-Action] {Allow | Deny}] [[-Priority] <int>] [[-Direction] {Inbound |
Outbound}] [[-Description] <string>] [-WhatIf] [-Confirm] [<CommonParameters>]
PARAMETERS
-Action <string>
Required? false
Position? 7
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Confirm
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases cf
Dynamic? false
-Description <string>
Required? false
Position? 10
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-DestinationAddressPrefix <string>
Required? false
Position? 6
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-DestinationPortRange <string>
Required? false
Position? 4
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Direction <string>
Required? false
Position? 9
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-NSG <NSG>
Required? true
Position? 0
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Name <string>
Required? true
Position? 1
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Priority <int>
Required? false
Position? 8
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Protocol <string>
Required? false
Position? 2
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-SourceAddressPrefix <string>
Required? false
Position? 5
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-SourcePortRange <string>
Required? false
Position? 3
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-WhatIf
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases wi
Dynamic? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.Object
OUTPUTS
NSG
ALIASES
None
REMARKS
None
SYNTAX
Add-ArmNetworkSecurityGroupSecurityRule [-NSG] <NSG> [-Name] <string> [[-Protocol] {* | Tcp | Udp}]
[[-SourcePortRange] <string>] [[-DestinationPortRange] <string>] [[-SourceAddressPrefix] <string>]
[[-DestinationAddressPrefix] <string>] [[-Action] {Allow | Deny}] [[-Priority] <int>] [[-Direction] {Inbound |
Outbound}] [[-Description] <string>] [-WhatIf] [-Confirm] [<CommonParameters>]
PARAMETERS
-Action <string>
Required? false
Position? 7
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Confirm
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases cf
Dynamic? false
-Description <string>
Required? false
Position? 10
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-DestinationAddressPrefix <string>
Required? false
Position? 6
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-DestinationPortRange <string>
Required? false
Position? 4
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Direction <string>
Required? false
Position? 9
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-NSG <NSG>
Required? true
Position? 0
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Name <string>
Required? true
Position? 1
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Priority <int>
Required? false
Position? 8
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Protocol <string>
Required? false
Position? 2
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-SourceAddressPrefix <string>
Required? false
Position? 5
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-SourcePortRange <string>
Required? false
Position? 3
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-WhatIf
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases wi
Dynamic? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.Object
OUTPUTS
NSG
ALIASES
None
REMARKS
None