次の方法で共有


NetworkRuleSet コンストラクター

定義

オーバーロード

NetworkRuleSet()

NetworkRuleSet クラスの新しいインスタンスを初期化します。

NetworkRuleSet(String, String, String, String, Nullable<Boolean>, String, IList<NWRuleSetVirtualNetworkRules>, IList<NWRuleSetIpRules>, String, SystemData)

NetworkRuleSet クラスの新しいインスタンスを初期化します。

NetworkRuleSet()

NetworkRuleSet クラスの新しいインスタンスを初期化します。

public NetworkRuleSet();
Public Sub New ()

適用対象

NetworkRuleSet(String, String, String, String, Nullable<Boolean>, String, IList<NWRuleSetVirtualNetworkRules>, IList<NWRuleSetIpRules>, String, SystemData)

NetworkRuleSet クラスの新しいインスタンスを初期化します。

public NetworkRuleSet(string id = default, string name = default, string type = default, string location = default, bool? trustedServiceAccessEnabled = default, string defaultAction = default, System.Collections.Generic.IList<Microsoft.Azure.Management.EventHub.Models.NWRuleSetVirtualNetworkRules> virtualNetworkRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.EventHub.Models.NWRuleSetIpRules> ipRules = default, string publicNetworkAccess = default, Microsoft.Azure.Management.EventHub.Models.SystemData systemData = default);
new Microsoft.Azure.Management.EventHub.Models.NetworkRuleSet : string * string * string * string * Nullable<bool> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.EventHub.Models.NWRuleSetVirtualNetworkRules> * System.Collections.Generic.IList<Microsoft.Azure.Management.EventHub.Models.NWRuleSetIpRules> * string * Microsoft.Azure.Management.EventHub.Models.SystemData -> Microsoft.Azure.Management.EventHub.Models.NetworkRuleSet
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional trustedServiceAccessEnabled As Nullable(Of Boolean) = Nothing, Optional defaultAction As String = Nothing, Optional virtualNetworkRules As IList(Of NWRuleSetVirtualNetworkRules) = Nothing, Optional ipRules As IList(Of NWRuleSetIpRules) = Nothing, Optional publicNetworkAccess As String = Nothing, Optional systemData As SystemData = Nothing)

パラメーター

id
String

リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

リソースの名前

type
String

リソースの型。 例: "Microsoft.EventHub/Namespaces" または "Microsoft.EventHub/Namespaces/EventHubs"

location
String

リソースが保存されている地理的な場所

trustedServiceAccessEnabled
Nullable<Boolean>

信頼されたサービス アクセスが有効かどうかを示す値。

defaultAction
String

ネットワーク ルール セットの既定のアクション。 使用可能な値は次のとおりです: 'Allow'、'Deny'

virtualNetworkRules
IList<NWRuleSetVirtualNetworkRules>

VirtualNetwork ルールの一覧表示

ipRules
IList<NWRuleSetIpRules>

IpRules の一覧

publicNetworkAccess
String

これにより、パブリック ネットワーク経由でトラフィックが許可されるかどうかが決まります。 既定では有効になっています。 値が SecuredByPerimeter の場合、受信と送信の通信は、ネットワーク セキュリティ境界とプロファイルのアクセス規則によって制御されます。 使用可能な値には、'Enabled'、'Disabled'、'SecuredByPerimeter' などがあります。

systemData
SystemData

このリソースに関連するシステム メタデータ。

適用対象