New-AzEventGridInboundIPRuleObject
Create an in-memory object for InboundIPRule.
Syntax
Default (Default)
New-AzEventGridInboundIPRuleObject
[-Action <String>]
[-IPMask <String>]
[<CommonParameters>]
Description
Create an in-memory object for InboundIPRule.
Examples
Example 1: Create an in-memory object for InboundIPRule.
New-AzEventGridInboundIPRuleObject -Action Allow -IPMask "12.18.176.1"
Action IPMask
------ ------
Allow 12.18.176.1
Create an in-memory object for InboundIPRule.
Parameters
-Action
Action to perform based on the match or no match of the IpMask.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-IPMask
IP Address in CIDR notation e.g., 10.0.0.0/8.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
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.