ArmNetworkModelFactory.VpnGatewayNatRuleData Method

Definition

Initializes a new instance of VpnGatewayNatRuleData.

public static Azure.ResourceManager.Network.VpnGatewayNatRuleData VpnGatewayNatRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = 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, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> egressVpnSiteLinkConnections = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> ingressVpnSiteLinkConnections = default);
static member VpnGatewayNatRuleData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * 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 * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> -> Azure.ResourceManager.Network.VpnGatewayNatRuleData
Public Shared Function VpnGatewayNatRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = 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 egressVpnSiteLinkConnections As IEnumerable(Of WritableSubResource) = Nothing, Optional ingressVpnSiteLinkConnections As IEnumerable(Of WritableSubResource) = Nothing) As VpnGatewayNatRuleData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

etag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

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.

egressVpnSiteLinkConnections
IEnumerable<WritableSubResource>

List of egress VpnSiteLinkConnections.

ingressVpnSiteLinkConnections
IEnumerable<WritableSubResource>

List of ingress VpnSiteLinkConnections.

Returns

A new VpnGatewayNatRuleData instance for mocking.

Applies to