你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
InboundIpRule 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
InboundIpRule() |
初始化 InboundIpRule 类的新实例。 |
InboundIpRule(String, String) |
初始化 InboundIpRule 类的新实例。 |
InboundIpRule()
初始化 InboundIpRule 类的新实例。
public InboundIpRule();
Public Sub New ()
适用于
InboundIpRule(String, String)
初始化 InboundIpRule 类的新实例。
public InboundIpRule(string ipMask = default, string action = default);
new Microsoft.Azure.Management.EventGrid.Models.InboundIpRule : string * string -> Microsoft.Azure.Management.EventGrid.Models.InboundIpRule
Public Sub New (Optional ipMask As String = Nothing, Optional action As String = Nothing)
参数
- ipMask
- String
CIDR 表示法中的 IP 地址,例如 10.0.0.0/8。
- action
- String
要基于 IpMask 的匹配项或不匹配项执行的操作。 可能的值包括:“Allow”