VpnGatewayConnectionVpnLink

data class VpnGatewayConnectionVpnLink(val bandwidthMbps: Int? = null, val bgpEnabled: Boolean? = null, val connectionMode: String? = null, val customBgpAddresses: List<VpnGatewayConnectionVpnLinkCustomBgpAddress>? = null, val egressNatRuleIds: List<String>? = null, val ingressNatRuleIds: List<String>? = null, val ipsecPolicies: List<VpnGatewayConnectionVpnLinkIpsecPolicy>? = null, val localAzureIpAddressEnabled: Boolean? = null, val name: String, val policyBasedTrafficSelectorEnabled: Boolean? = null, val protocol: String? = null, val ratelimitEnabled: Boolean? = null, val routeWeight: Int? = null, val sharedKey: String? = null, val vpnSiteLinkId: String)

Constructors

Link copied to clipboard
constructor(bandwidthMbps: Int? = null, bgpEnabled: Boolean? = null, connectionMode: String? = null, customBgpAddresses: List<VpnGatewayConnectionVpnLinkCustomBgpAddress>? = null, egressNatRuleIds: List<String>? = null, ingressNatRuleIds: List<String>? = null, ipsecPolicies: List<VpnGatewayConnectionVpnLinkIpsecPolicy>? = null, localAzureIpAddressEnabled: Boolean? = null, name: String, policyBasedTrafficSelectorEnabled: Boolean? = null, protocol: String? = null, ratelimitEnabled: Boolean? = null, routeWeight: Int? = null, sharedKey: String? = null, vpnSiteLinkId: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val bandwidthMbps: Int? = null

The expected connection bandwidth in MBPS. Defaults to 10.

Link copied to clipboard
val bgpEnabled: Boolean? = null

Should the BGP be enabled? Defaults to false. Changing this forces a new VPN Gateway Connection to be created.

Link copied to clipboard
val connectionMode: String? = null

The connection mode of this VPN Link. Possible values are Default, InitiatorOnly and ResponderOnly. Defaults to Default.

Link copied to clipboard

One or more custom_bgp_address blocks as defined below.

Link copied to clipboard

A list of the egress NAT Rule Ids.

Link copied to clipboard

A list of the ingress NAT Rule Ids.

Link copied to clipboard

One or more ipsec_policy blocks as defined above.

Link copied to clipboard

Whether to use local Azure IP to initiate connection? Defaults to false.

Link copied to clipboard

The name which should be used for this VPN Link Connection.

Link copied to clipboard

Whether to enable policy-based traffic selectors? Defaults to false.

Link copied to clipboard
val protocol: String? = null

The protocol used for this VPN Link Connection. Possible values are IKEv1 and IKEv2. Defaults to IKEv2.

Link copied to clipboard

Should the rate limit be enabled? Defaults to false.

Link copied to clipboard
val routeWeight: Int? = null

Routing weight for this VPN Link Connection. Defaults to 0.

Link copied to clipboard
val sharedKey: String? = null

SharedKey for this VPN Link Connection.

Link copied to clipboard

The ID of the connected VPN Site Link. Changing this forces a new VPN Gateway Connection to be created.