New-AzVirtualApplianceInboundSecurityRulesProperty
Define Inbound Security Rules Property
New-AzVirtualApplianceInboundSecurityRulesProperty
-Name <String>
-Protocol <String>
-SourceAddressPrefix <String>
[-DestinationPortRange <Int32>]
[-DestinationPortRangeList <String[]>]
-AppliesOn <String[]>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
The New-AzVirtualApplianceInboundSecurityRulesProperty command defines a specific rule configuration for the the Inbound Security Rule on a Network Virtual Appliance resource.
New-AzVirtualApplianceInboundSecurityRulesProperty -Name InboundRule1 -Protocol TCP -SourceAddressPrefix * -DestinationPortRangeList "80-120","121-124" -AppliesOn "publicip1"
The above command defines the rule configuration having values as below:
Name: InboundRule1 Protocol: TCP Source Address Prefix: * Destination Port Range List: "80-120" & "121-124" Applies on: publicip1
The rule with above property will configure a corresponding NSG rule and a Load Balancing rule on the SLB attached to the NVA, the LB rule will have the Frontned IP as publicip1
The Applies On value of the rule for the SLP IP/Interface
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
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 |
Destination Port Range of the rule
Type: | Nullable<T>[Int32] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Destination Port Ranges of the rule
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Name of the Inbound Security Rules Property
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Rule protocol
Type: | String |
Accepted values: | Tcp, Udp |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
The Source Address Prefix of the rule
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
None
Microsoft.Azure.Commands.Network.Models.PSInboundSecurityPropertyRules