次の方法で共有


VpnGateway コンストラクター

定義

オーバーロード

VpnGateway()

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

VpnGateway(String, String, String, String, IDictionary<String, String>, SubResource, IList<VpnConnection>, BgpSettings, String, Nullable<Int32>, IList<VpnGatewayIpConfiguration>, Nullable<Boolean>, Nullable<Boolean>, IList<VpnGatewayNatRule>, String)

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

VpnGateway()

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

public VpnGateway ();
Public Sub New ()

適用対象

VpnGateway(String, String, String, String, IDictionary<String, String>, SubResource, IList<VpnConnection>, BgpSettings, String, Nullable<Int32>, IList<VpnGatewayIpConfiguration>, Nullable<Boolean>, Nullable<Boolean>, IList<VpnGatewayNatRule>, String)

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

public VpnGateway (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Network.Models.SubResource virtualHub = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnConnection> connections = default, Microsoft.Azure.Management.Network.Models.BgpSettings bgpSettings = default, string provisioningState = default, int? vpnGatewayScaleUnit = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnGatewayIpConfiguration> ipConfigurations = default, bool? enableBgpRouteTranslationForNat = default, bool? isRoutingPreferenceInternet = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnGatewayNatRule> natRules = default, string etag = default);
new Microsoft.Azure.Management.Network.Models.VpnGateway : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Network.Models.SubResource * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnConnection> * Microsoft.Azure.Management.Network.Models.BgpSettings * string * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnGatewayIpConfiguration> * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VpnGatewayNatRule> * string -> Microsoft.Azure.Management.Network.Models.VpnGateway
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional virtualHub As SubResource = Nothing, Optional connections As IList(Of VpnConnection) = Nothing, Optional bgpSettings As BgpSettings = Nothing, Optional provisioningState As String = Nothing, Optional vpnGatewayScaleUnit As Nullable(Of Integer) = Nothing, Optional ipConfigurations As IList(Of VpnGatewayIpConfiguration) = Nothing, Optional enableBgpRouteTranslationForNat As Nullable(Of Boolean) = Nothing, Optional isRoutingPreferenceInternet As Nullable(Of Boolean) = Nothing, Optional natRules As IList(Of VpnGatewayNatRule) = Nothing, Optional etag As String = Nothing)

パラメーター

id
String

リソースの ID

name
String

リソース名。

type
String

リソースの種類。

location
String

リソースの場所。

tags
IDictionary<String,String>

リソース タグ。

virtualHub
SubResource

ゲートウェイが属する VirtualHub。

connections
IList<VpnConnection>

ゲートウェイへのすべての VPN 接続の一覧。

bgpSettings
BgpSettings

ローカル ネットワーク ゲートウェイの BGP スピーカー設定。

provisioningState
String

VPN ゲートウェイ リソースのプロビジョニング状態。 指定できる値は、'Succeeded'、'Updating'、'Deleting'、'Failed' です。

vpnGatewayScaleUnit
Nullable<Int32>

この VPN ゲートウェイのスケール ユニット。

ipConfigurations
IList<VpnGatewayIpConfiguration>

ゲートウェイで構成されているすべての IP の一覧。

enableBgpRouteTranslationForNat
Nullable<Boolean>

この VpnGateway で NAT の BGP ルート変換を有効にします。

isRoutingPreferenceInternet
Nullable<Boolean>

VpnGateway のパブリック IP インターフェイスのルーティング設定プロパティを有効にします。

natRules
IList<VpnGatewayNatRule>

ゲートウェイに関連付けられているすべての nat 規則の一覧。

etag
String

リソースが更新されるたびに変更される一意の読み取り専用文字列。

適用対象