ArmNetworkModelFactory.P2SVpnGatewayData 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.P2SVpnGatewayData P2SVpnGatewayData(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.Models.P2SConnectionConfiguration> p2SConnectionConfigurations = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, int? vpnGatewayScaleUnit = default, Azure.ResourceManager.Network.Models.VpnClientConnectionHealth vpnClientConnectionHealth = default, System.Collections.Generic.IEnumerable<string> customDnsServers = default, bool? isRoutingPreferenceInternet = default, Azure.Core.ResourceIdentifier virtualHubId = default, Azure.Core.ResourceIdentifier vpnServerConfigurationId = default, Azure.ETag? eTag = default);
static member P2SVpnGatewayData : Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * seq<Azure.ResourceManager.Network.Models.P2SConnectionConfiguration> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<int> * Azure.ResourceManager.Network.Models.VpnClientConnectionHealth * seq<string> * Nullable<bool> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ETag> -> Azure.ResourceManager.Network.P2SVpnGatewayData
Public Shared Function P2SVpnGatewayData (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 p2SConnectionConfigurations As IEnumerable(Of P2SConnectionConfiguration) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional vpnGatewayScaleUnit As Nullable(Of Integer) = Nothing, Optional vpnClientConnectionHealth As VpnClientConnectionHealth = Nothing, Optional customDnsServers As IEnumerable(Of String) = Nothing, Optional isRoutingPreferenceInternet As Nullable(Of Boolean) = Nothing, Optional virtualHubId As ResourceIdentifier = Nothing, Optional vpnServerConfigurationId As ResourceIdentifier = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As P2SVpnGatewayData
Parameters
Resource ID.
- name
- String
Resource name.
- type
- String
Resource type.
- location
- Nullable<AzureLocation>
Resource location.
- tags
- IDictionary<String,String>
Resource tags.
- p2SConnectionConfigurations
- IEnumerable<P2SConnectionConfiguration>
List of all p2s connection configurations of the gateway.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the P2S VPN gateway resource.
- vpnClientConnectionHealth
- VpnClientConnectionHealth
All P2S VPN clients' connection health status.
- customDnsServers
- IEnumerable<String>
List of all customer specified DNS servers IP addresses.
Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.
- virtualHubId
- ResourceIdentifier
Resource ID.
- vpnServerConfigurationId
- ResourceIdentifier
Resource ID.
Returns
A new P2SVpnGatewayData instance for mocking.