ArmNetworkModelFactory.VirtualNetworkGatewayNatRuleData 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.VirtualNetworkGatewayNatRuleData VirtualNetworkGatewayNatRuleData(Azure.Core.ResourceIdentifier id = default, string name = default, string type = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.ResourceManager.Network.Models.VpnNatRuleType? vpnNatRuleType = default, Azure.ResourceManager.Network.Models.VpnNatRuleMode? mode = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.VpnNatRuleMapping> internalMappings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.VpnNatRuleMapping> externalMappings = default, string ipConfigurationId = default, Azure.ETag? eTag = default);
static member VirtualNetworkGatewayNatRuleData : Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<Azure.ResourceManager.Network.Models.VpnNatRuleType> * Nullable<Azure.ResourceManager.Network.Models.VpnNatRuleMode> * seq<Azure.ResourceManager.Network.Models.VpnNatRuleMapping> * seq<Azure.ResourceManager.Network.Models.VpnNatRuleMapping> * string * Nullable<Azure.ETag> -> Azure.ResourceManager.Network.VirtualNetworkGatewayNatRuleData
Public Shared Function VirtualNetworkGatewayNatRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional vpnNatRuleType As Nullable(Of VpnNatRuleType) = Nothing, Optional mode As Nullable(Of VpnNatRuleMode) = Nothing, Optional internalMappings As IEnumerable(Of VpnNatRuleMapping) = Nothing, Optional externalMappings As IEnumerable(Of VpnNatRuleMapping) = Nothing, Optional ipConfigurationId As String = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As VirtualNetworkGatewayNatRuleData
Parameters
Resource ID.
- name
- String
Name of the resource.
- type
- String
Resource type.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the NAT Rule resource.
- vpnNatRuleType
- Nullable<VpnNatRuleType>
The type of NAT rule for VPN NAT.
- mode
- Nullable<VpnNatRuleMode>
The Source NAT direction of a VPN NAT.
- internalMappings
- IEnumerable<VpnNatRuleMapping>
The private IP address internal mapping for NAT.
- externalMappings
- IEnumerable<VpnNatRuleMapping>
The private IP address external mapping for NAT.
- ipConfigurationId
- String
The IP Configuration ID this NAT rule applies to.
Returns
A new VirtualNetworkGatewayNatRuleData instance for mocking.