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

NspAccessRuleProperties 构造函数

定义

重载

NspAccessRuleProperties()

初始化 NspAccessRuleProperties 类的新实例。

NspAccessRuleProperties(String, IList<String>, IList<NspAccessRulePropertiesSubscriptionsItem>, IList<NetworkSecurityPerimeter>, IList<String>)

初始化 NspAccessRuleProperties 类的新实例。

NspAccessRuleProperties()

初始化 NspAccessRuleProperties 类的新实例。

public NspAccessRuleProperties ();
Public Sub New ()

适用于

NspAccessRuleProperties(String, IList<String>, IList<NspAccessRulePropertiesSubscriptionsItem>, IList<NetworkSecurityPerimeter>, IList<String>)

初始化 NspAccessRuleProperties 类的新实例。

public NspAccessRuleProperties (string direction = default, System.Collections.Generic.IList<string> addressPrefixes = default, System.Collections.Generic.IList<Microsoft.Azure.Management.EventHub.Models.NspAccessRulePropertiesSubscriptionsItem> subscriptions = default, System.Collections.Generic.IList<Microsoft.Azure.Management.EventHub.Models.NetworkSecurityPerimeter> networkSecurityPerimeters = default, System.Collections.Generic.IList<string> fullyQualifiedDomainNames = default);
new Microsoft.Azure.Management.EventHub.Models.NspAccessRuleProperties : string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.EventHub.Models.NspAccessRulePropertiesSubscriptionsItem> * System.Collections.Generic.IList<Microsoft.Azure.Management.EventHub.Models.NetworkSecurityPerimeter> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.EventHub.Models.NspAccessRuleProperties
Public Sub New (Optional direction As String = Nothing, Optional addressPrefixes As IList(Of String) = Nothing, Optional subscriptions As IList(Of NspAccessRulePropertiesSubscriptionsItem) = Nothing, Optional networkSecurityPerimeters As IList(Of NetworkSecurityPerimeter) = Nothing, Optional fullyQualifiedDomainNames As IList(Of String) = Nothing)

参数

direction
String

访问规则的方向。 可能的值包括:“Inbound”、“Outbound”

addressPrefixes
IList<String>

入站规则的 CIDR 格式的地址前缀

subscriptions
IList<NspAccessRulePropertiesSubscriptionsItem>

入站规则的订阅

networkSecurityPerimeters
IList<NetworkSecurityPerimeter>

入站规则的 NetworkSecurityPerimeters

fullyQualifiedDomainNames
IList<String>

出站规则的 FQDN

适用于