ArmNetworkModelFactory.VpnGatewayData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Network.VpnGatewayData VpnGatewayData(Azure.Core.ResourceIdentifier id = default, string name = default, string type = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.VpnConnectionData> connections = default, Azure.ResourceManager.Network.Models.BgpSettings bgpSettings = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, int? vpnGatewayScaleUnit = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.VpnGatewayIPConfiguration> ipConfigurations = default, bool? enableBgpRouteTranslationForNat = default, bool? isRoutingPreferenceInternet = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.VpnGatewayNatRuleData> natRules = default, Azure.Core.ResourceIdentifier virtualHubId = default, Azure.ETag? eTag = default);
static member VpnGatewayData : Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * seq<Azure.ResourceManager.Network.VpnConnectionData> * Azure.ResourceManager.Network.Models.BgpSettings * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<int> * seq<Azure.ResourceManager.Network.Models.VpnGatewayIPConfiguration> * Nullable<bool> * Nullable<bool> * seq<Azure.ResourceManager.Network.VpnGatewayNatRuleData> * Azure.Core.ResourceIdentifier * Nullable<Azure.ETag> -> Azure.ResourceManager.Network.VpnGatewayData
Public Shared Function VpnGatewayData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional connections As IEnumerable(Of VpnConnectionData) = Nothing, Optional bgpSettings As BgpSettings = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional vpnGatewayScaleUnit As Nullable(Of Integer) = Nothing, Optional ipConfigurations As IEnumerable(Of VpnGatewayIPConfiguration) = Nothing, Optional enableBgpRouteTranslationForNat As Nullable(Of Boolean) = Nothing, Optional isRoutingPreferenceInternet As Nullable(Of Boolean) = Nothing, Optional natRules As IEnumerable(Of VpnGatewayNatRuleData) = Nothing, Optional virtualHubId As ResourceIdentifier = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As VpnGatewayData
Parameters
Resource ID.
- name
- String
Resource name.
- type
- String
Resource type.
- location
- Nullable<AzureLocation>
Resource location.
- tags
- IDictionary<String,String>
Resource tags.
- connections
- IEnumerable<VpnConnectionData>
List of all vpn connections to the gateway.
- bgpSettings
- BgpSettings
Local network gateway's BGP speaker settings.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the VPN gateway resource.
- ipConfigurations
- IEnumerable<VpnGatewayIPConfiguration>
List of all IPs configured on the gateway.
Enable BGP routes translation for NAT on this VpnGateway.
Enable Routing Preference property for the Public IP Interface of the VpnGateway.
- natRules
- IEnumerable<VpnGatewayNatRuleData>
List of all the nat Rules associated with the gateway.
- virtualHubId
- ResourceIdentifier
Resource ID.
Returns
A new VpnGatewayData instance for mocking.