你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
New-AzEventGridInboundIPRuleObject
为 InboundIPRule 创建内存中对象。
语法
New-AzEventGridInboundIPRuleObject
[-Action <String>]
[-IPMask <String>]
[<CommonParameters>]
说明
为 InboundIPRule 创建内存中对象。
示例
示例 1:为 InboundIPRule 创建内存中对象。
New-AzEventGridInboundIPRuleObject -Action Allow -IPMask "12.18.176.1"
Action IPMask
------ ------
Allow 12.18.176.1
为 InboundIPRule 创建内存中对象。
参数
-Action
根据匹配项或 IpMask 的匹配项执行的作。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-IPMask
CIDR 表示法中的 IP 地址,例如 10.0.0.0/8。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |