你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IPRule 构造函数

定义

重载

IPRule()

初始化 IPRule 类的新实例。

IPRule(String, Nullable<Action>)

初始化 IPRule 类的新实例。

IPRule()

初始化 IPRule 类的新实例。

public IPRule ();
Public Sub New ()

适用于

IPRule(String, Nullable<Action>)

初始化 IPRule 类的新实例。

public IPRule (string iPAddressOrRange, Microsoft.Azure.Management.Storage.Models.Action? action = default);
new Microsoft.Azure.Management.Storage.Models.IPRule : string * Nullable<Microsoft.Azure.Management.Storage.Models.Action> -> Microsoft.Azure.Management.Storage.Models.IPRule
Public Sub New (iPAddressOrRange As String, Optional action As Nullable(Of Action) = Nothing)

参数

iPAddressOrRange
String

以 CIDR 格式指定 IP 或 IP 范围。 仅允许 IPV4 地址。

action
Nullable<Action>

IP ACL 规则的操作。 可能的值包括:“Allow”

适用于