New-AzEventGridInboundIPRuleObject
Create an in-memory object for InboundIPRule.
Syntax
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.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IPMask
IP Address in CIDR notation e.g., 10.0.0.0/8.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for