VirtualNetworkGatewayNatRuleArgs

data class VirtualNetworkGatewayNatRuleArgs(val externalMappings: Output<List<VirtualNetworkGatewayNatRuleExternalMappingArgs>>? = null, val internalMappings: Output<List<VirtualNetworkGatewayNatRuleInternalMappingArgs>>? = null, val ipConfigurationId: Output<String>? = null, val mode: Output<String>? = null, val name: Output<String>? = null, val resourceGroupName: Output<String>? = null, val type: Output<String>? = null, val virtualNetworkGatewayId: Output<String>? = null) : ConvertibleToJava<VirtualNetworkGatewayNatRuleArgs>

Manages a Virtual Network Gateway Nat Rule.

Import

Virtual Network Gateway Nat Rules can be imported using the resource id, e.g.

$ pulumi import azure:network/virtualNetworkGatewayNatRule:VirtualNetworkGatewayNatRule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Network/virtualNetworkGateways/gw1/natRules/rule1

Constructors

Link copied to clipboard
fun VirtualNetworkGatewayNatRuleArgs(externalMappings: Output<List<VirtualNetworkGatewayNatRuleExternalMappingArgs>>? = null, internalMappings: Output<List<VirtualNetworkGatewayNatRuleInternalMappingArgs>>? = null, ipConfigurationId: Output<String>? = null, mode: Output<String>? = null, name: Output<String>? = null, resourceGroupName: Output<String>? = null, type: Output<String>? = null, virtualNetworkGatewayId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): VirtualNetworkGatewayNatRuleArgs

Properties

Link copied to clipboard

One or more external_mapping blocks as documented below.

Link copied to clipboard

One or more internal_mapping blocks as documented below.

Link copied to clipboard
val ipConfigurationId: Output<String>? = null

The ID of the IP Configuration this Virtual Network Gateway Nat Rule applies to.

Link copied to clipboard
val mode: Output<String>? = null

The source Nat direction of the Virtual Network Gateway Nat. Possible values are EgressSnat and IngressSnat. Defaults to EgressSnat. Changing this forces a new resource to be created.

Link copied to clipboard
val name: Output<String>? = null

The name which should be used for this Virtual Network Gateway Nat Rule. Changing this forces a new resource to be created.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The Name of the Resource Group in which this Virtual Network Gateway Nat Rule should be created. Changing this forces a new resource to be created.

Link copied to clipboard
val type: Output<String>? = null

The type of the Virtual Network Gateway Nat Rule. Possible values are Dynamic and Static. Defaults to Static. Changing this forces a new resource to be created.

Link copied to clipboard
val virtualNetworkGatewayId: Output<String>? = null

The ID of the Virtual Network Gateway that this Virtual Network Gateway Nat Rule belongs to. Changing this forces a new resource to be created.