1. Packages
  2. Azure Native v2
  3. API Docs
  4. network
  5. getVpnConnection
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.network.getVpnConnection

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Retrieves the details of a vpn connection. Azure REST API version: 2023-02-01.

Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01.

Using getVpnConnection

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getVpnConnection(args: GetVpnConnectionArgs, opts?: InvokeOptions): Promise<GetVpnConnectionResult>
function getVpnConnectionOutput(args: GetVpnConnectionOutputArgs, opts?: InvokeOptions): Output<GetVpnConnectionResult>
Copy
def get_vpn_connection(connection_name: Optional[str] = None,
                       gateway_name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetVpnConnectionResult
def get_vpn_connection_output(connection_name: Optional[pulumi.Input[str]] = None,
                       gateway_name: Optional[pulumi.Input[str]] = None,
                       resource_group_name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetVpnConnectionResult]
Copy
func LookupVpnConnection(ctx *Context, args *LookupVpnConnectionArgs, opts ...InvokeOption) (*LookupVpnConnectionResult, error)
func LookupVpnConnectionOutput(ctx *Context, args *LookupVpnConnectionOutputArgs, opts ...InvokeOption) LookupVpnConnectionResultOutput
Copy

> Note: This function is named LookupVpnConnection in the Go SDK.

public static class GetVpnConnection 
{
    public static Task<GetVpnConnectionResult> InvokeAsync(GetVpnConnectionArgs args, InvokeOptions? opts = null)
    public static Output<GetVpnConnectionResult> Invoke(GetVpnConnectionInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetVpnConnectionResult> getVpnConnection(GetVpnConnectionArgs args, InvokeOptions options)
public static Output<GetVpnConnectionResult> getVpnConnection(GetVpnConnectionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:network:getVpnConnection
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ConnectionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the vpn connection.
GatewayName
This property is required.
Changes to this property will trigger replacement.
string
The name of the gateway.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name of the VpnGateway.
ConnectionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the vpn connection.
GatewayName
This property is required.
Changes to this property will trigger replacement.
string
The name of the gateway.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name of the VpnGateway.
connectionName
This property is required.
Changes to this property will trigger replacement.
String
The name of the vpn connection.
gatewayName
This property is required.
Changes to this property will trigger replacement.
String
The name of the gateway.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name of the VpnGateway.
connectionName
This property is required.
Changes to this property will trigger replacement.
string
The name of the vpn connection.
gatewayName
This property is required.
Changes to this property will trigger replacement.
string
The name of the gateway.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name of the VpnGateway.
connection_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the vpn connection.
gateway_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the gateway.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The resource group name of the VpnGateway.
connectionName
This property is required.
Changes to this property will trigger replacement.
String
The name of the vpn connection.
gatewayName
This property is required.
Changes to this property will trigger replacement.
String
The name of the gateway.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name of the VpnGateway.

getVpnConnection Result

The following output properties are available:

ConnectionStatus string
The connection status.
EgressBytesTransferred double
Egress bytes transferred.
Etag string
A unique read-only string that changes whenever the resource is updated.
IngressBytesTransferred double
Ingress bytes transferred.
ProvisioningState string
The provisioning state of the VPN connection resource.
ConnectionBandwidth int
Expected bandwidth in MBPS.
DpdTimeoutSeconds int
DPD timeout in seconds for vpn connection.
EnableBgp bool
EnableBgp flag.
EnableInternetSecurity bool
Enable internet security.
EnableRateLimiting bool
EnableBgp flag.
Id string
Resource ID.
IpsecPolicies List<Pulumi.AzureNative.Network.Outputs.IpsecPolicyResponse>
The IPSec Policies to be considered by this connection.
Name string
The name of the resource that is unique within a resource group. This name can be used to access the resource.
RemoteVpnSite Pulumi.AzureNative.Network.Outputs.SubResourceResponse
Id of the connected vpn site.
RoutingConfiguration Pulumi.AzureNative.Network.Outputs.RoutingConfigurationResponse
The Routing Configuration indicating the associated and propagated route tables on this connection.
RoutingWeight int
Routing weight for vpn connection.
SharedKey string
SharedKey for the vpn connection.
TrafficSelectorPolicies List<Pulumi.AzureNative.Network.Outputs.TrafficSelectorPolicyResponse>
The Traffic Selector Policies to be considered by this connection.
UseLocalAzureIpAddress bool
Use local azure ip to initiate connection.
UsePolicyBasedTrafficSelectors bool
Enable policy-based traffic selectors.
VpnConnectionProtocolType string
Connection protocol used for this connection.
VpnLinkConnections List<Pulumi.AzureNative.Network.Outputs.VpnSiteLinkConnectionResponse>
List of all vpn site link connections to the gateway.
ConnectionStatus string
The connection status.
EgressBytesTransferred float64
Egress bytes transferred.
Etag string
A unique read-only string that changes whenever the resource is updated.
IngressBytesTransferred float64
Ingress bytes transferred.
ProvisioningState string
The provisioning state of the VPN connection resource.
ConnectionBandwidth int
Expected bandwidth in MBPS.
DpdTimeoutSeconds int
DPD timeout in seconds for vpn connection.
EnableBgp bool
EnableBgp flag.
EnableInternetSecurity bool
Enable internet security.
EnableRateLimiting bool
EnableBgp flag.
Id string
Resource ID.
IpsecPolicies []IpsecPolicyResponse
The IPSec Policies to be considered by this connection.
Name string
The name of the resource that is unique within a resource group. This name can be used to access the resource.
RemoteVpnSite SubResourceResponse
Id of the connected vpn site.
RoutingConfiguration RoutingConfigurationResponse
The Routing Configuration indicating the associated and propagated route tables on this connection.
RoutingWeight int
Routing weight for vpn connection.
SharedKey string
SharedKey for the vpn connection.
TrafficSelectorPolicies []TrafficSelectorPolicyResponse
The Traffic Selector Policies to be considered by this connection.
UseLocalAzureIpAddress bool
Use local azure ip to initiate connection.
UsePolicyBasedTrafficSelectors bool
Enable policy-based traffic selectors.
VpnConnectionProtocolType string
Connection protocol used for this connection.
VpnLinkConnections []VpnSiteLinkConnectionResponse
List of all vpn site link connections to the gateway.
connectionStatus String
The connection status.
egressBytesTransferred Double
Egress bytes transferred.
etag String
A unique read-only string that changes whenever the resource is updated.
ingressBytesTransferred Double
Ingress bytes transferred.
provisioningState String
The provisioning state of the VPN connection resource.
connectionBandwidth Integer
Expected bandwidth in MBPS.
dpdTimeoutSeconds Integer
DPD timeout in seconds for vpn connection.
enableBgp Boolean
EnableBgp flag.
enableInternetSecurity Boolean
Enable internet security.
enableRateLimiting Boolean
EnableBgp flag.
id String
Resource ID.
ipsecPolicies List<IpsecPolicyResponse>
The IPSec Policies to be considered by this connection.
name String
The name of the resource that is unique within a resource group. This name can be used to access the resource.
remoteVpnSite SubResourceResponse
Id of the connected vpn site.
routingConfiguration RoutingConfigurationResponse
The Routing Configuration indicating the associated and propagated route tables on this connection.
routingWeight Integer
Routing weight for vpn connection.
sharedKey String
SharedKey for the vpn connection.
trafficSelectorPolicies List<TrafficSelectorPolicyResponse>
The Traffic Selector Policies to be considered by this connection.
useLocalAzureIpAddress Boolean
Use local azure ip to initiate connection.
usePolicyBasedTrafficSelectors Boolean
Enable policy-based traffic selectors.
vpnConnectionProtocolType String
Connection protocol used for this connection.
vpnLinkConnections List<VpnSiteLinkConnectionResponse>
List of all vpn site link connections to the gateway.
connectionStatus string
The connection status.
egressBytesTransferred number
Egress bytes transferred.
etag string
A unique read-only string that changes whenever the resource is updated.
ingressBytesTransferred number
Ingress bytes transferred.
provisioningState string
The provisioning state of the VPN connection resource.
connectionBandwidth number
Expected bandwidth in MBPS.
dpdTimeoutSeconds number
DPD timeout in seconds for vpn connection.
enableBgp boolean
EnableBgp flag.
enableInternetSecurity boolean
Enable internet security.
enableRateLimiting boolean
EnableBgp flag.
id string
Resource ID.
ipsecPolicies IpsecPolicyResponse[]
The IPSec Policies to be considered by this connection.
name string
The name of the resource that is unique within a resource group. This name can be used to access the resource.
remoteVpnSite SubResourceResponse
Id of the connected vpn site.
routingConfiguration RoutingConfigurationResponse
The Routing Configuration indicating the associated and propagated route tables on this connection.
routingWeight number
Routing weight for vpn connection.
sharedKey string
SharedKey for the vpn connection.
trafficSelectorPolicies TrafficSelectorPolicyResponse[]
The Traffic Selector Policies to be considered by this connection.
useLocalAzureIpAddress boolean
Use local azure ip to initiate connection.
usePolicyBasedTrafficSelectors boolean
Enable policy-based traffic selectors.
vpnConnectionProtocolType string
Connection protocol used for this connection.
vpnLinkConnections VpnSiteLinkConnectionResponse[]
List of all vpn site link connections to the gateway.
connection_status str
The connection status.
egress_bytes_transferred float
Egress bytes transferred.
etag str
A unique read-only string that changes whenever the resource is updated.
ingress_bytes_transferred float
Ingress bytes transferred.
provisioning_state str
The provisioning state of the VPN connection resource.
connection_bandwidth int
Expected bandwidth in MBPS.
dpd_timeout_seconds int
DPD timeout in seconds for vpn connection.
enable_bgp bool
EnableBgp flag.
enable_internet_security bool
Enable internet security.
enable_rate_limiting bool
EnableBgp flag.
id str
Resource ID.
ipsec_policies Sequence[IpsecPolicyResponse]
The IPSec Policies to be considered by this connection.
name str
The name of the resource that is unique within a resource group. This name can be used to access the resource.
remote_vpn_site SubResourceResponse
Id of the connected vpn site.
routing_configuration RoutingConfigurationResponse
The Routing Configuration indicating the associated and propagated route tables on this connection.
routing_weight int
Routing weight for vpn connection.
shared_key str
SharedKey for the vpn connection.
traffic_selector_policies Sequence[TrafficSelectorPolicyResponse]
The Traffic Selector Policies to be considered by this connection.
use_local_azure_ip_address bool
Use local azure ip to initiate connection.
use_policy_based_traffic_selectors bool
Enable policy-based traffic selectors.
vpn_connection_protocol_type str
Connection protocol used for this connection.
vpn_link_connections Sequence[VpnSiteLinkConnectionResponse]
List of all vpn site link connections to the gateway.
connectionStatus String
The connection status.
egressBytesTransferred Number
Egress bytes transferred.
etag String
A unique read-only string that changes whenever the resource is updated.
ingressBytesTransferred Number
Ingress bytes transferred.
provisioningState String
The provisioning state of the VPN connection resource.
connectionBandwidth Number
Expected bandwidth in MBPS.
dpdTimeoutSeconds Number
DPD timeout in seconds for vpn connection.
enableBgp Boolean
EnableBgp flag.
enableInternetSecurity Boolean
Enable internet security.
enableRateLimiting Boolean
EnableBgp flag.
id String
Resource ID.
ipsecPolicies List<Property Map>
The IPSec Policies to be considered by this connection.
name String
The name of the resource that is unique within a resource group. This name can be used to access the resource.
remoteVpnSite Property Map
Id of the connected vpn site.
routingConfiguration Property Map
The Routing Configuration indicating the associated and propagated route tables on this connection.
routingWeight Number
Routing weight for vpn connection.
sharedKey String
SharedKey for the vpn connection.
trafficSelectorPolicies List<Property Map>
The Traffic Selector Policies to be considered by this connection.
useLocalAzureIpAddress Boolean
Use local azure ip to initiate connection.
usePolicyBasedTrafficSelectors Boolean
Enable policy-based traffic selectors.
vpnConnectionProtocolType String
Connection protocol used for this connection.
vpnLinkConnections List<Property Map>
List of all vpn site link connections to the gateway.

Supporting Types

GatewayCustomBgpIpAddressIpConfigurationResponse

CustomBgpIpAddress This property is required. string
The custom BgpPeeringAddress which belongs to IpconfigurationId.
IpConfigurationId This property is required. string
The IpconfigurationId of ipconfiguration which belongs to gateway.
CustomBgpIpAddress This property is required. string
The custom BgpPeeringAddress which belongs to IpconfigurationId.
IpConfigurationId This property is required. string
The IpconfigurationId of ipconfiguration which belongs to gateway.
customBgpIpAddress This property is required. String
The custom BgpPeeringAddress which belongs to IpconfigurationId.
ipConfigurationId This property is required. String
The IpconfigurationId of ipconfiguration which belongs to gateway.
customBgpIpAddress This property is required. string
The custom BgpPeeringAddress which belongs to IpconfigurationId.
ipConfigurationId This property is required. string
The IpconfigurationId of ipconfiguration which belongs to gateway.
custom_bgp_ip_address This property is required. str
The custom BgpPeeringAddress which belongs to IpconfigurationId.
ip_configuration_id This property is required. str
The IpconfigurationId of ipconfiguration which belongs to gateway.
customBgpIpAddress This property is required. String
The custom BgpPeeringAddress which belongs to IpconfigurationId.
ipConfigurationId This property is required. String
The IpconfigurationId of ipconfiguration which belongs to gateway.

IpsecPolicyResponse

DhGroup This property is required. string
The DH Group used in IKE Phase 1 for initial SA.
IkeEncryption This property is required. string
The IKE encryption algorithm (IKE phase 2).
IkeIntegrity This property is required. string
The IKE integrity algorithm (IKE phase 2).
IpsecEncryption This property is required. string
The IPSec encryption algorithm (IKE phase 1).
IpsecIntegrity This property is required. string
The IPSec integrity algorithm (IKE phase 1).
PfsGroup This property is required. string
The Pfs Group used in IKE Phase 2 for new child SA.
SaDataSizeKilobytes This property is required. int
The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
SaLifeTimeSeconds This property is required. int
The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
DhGroup This property is required. string
The DH Group used in IKE Phase 1 for initial SA.
IkeEncryption This property is required. string
The IKE encryption algorithm (IKE phase 2).
IkeIntegrity This property is required. string
The IKE integrity algorithm (IKE phase 2).
IpsecEncryption This property is required. string
The IPSec encryption algorithm (IKE phase 1).
IpsecIntegrity This property is required. string
The IPSec integrity algorithm (IKE phase 1).
PfsGroup This property is required. string
The Pfs Group used in IKE Phase 2 for new child SA.
SaDataSizeKilobytes This property is required. int
The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
SaLifeTimeSeconds This property is required. int
The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
dhGroup This property is required. String
The DH Group used in IKE Phase 1 for initial SA.
ikeEncryption This property is required. String
The IKE encryption algorithm (IKE phase 2).
ikeIntegrity This property is required. String
The IKE integrity algorithm (IKE phase 2).
ipsecEncryption This property is required. String
The IPSec encryption algorithm (IKE phase 1).
ipsecIntegrity This property is required. String
The IPSec integrity algorithm (IKE phase 1).
pfsGroup This property is required. String
The Pfs Group used in IKE Phase 2 for new child SA.
saDataSizeKilobytes This property is required. Integer
The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
saLifeTimeSeconds This property is required. Integer
The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
dhGroup This property is required. string
The DH Group used in IKE Phase 1 for initial SA.
ikeEncryption This property is required. string
The IKE encryption algorithm (IKE phase 2).
ikeIntegrity This property is required. string
The IKE integrity algorithm (IKE phase 2).
ipsecEncryption This property is required. string
The IPSec encryption algorithm (IKE phase 1).
ipsecIntegrity This property is required. string
The IPSec integrity algorithm (IKE phase 1).
pfsGroup This property is required. string
The Pfs Group used in IKE Phase 2 for new child SA.
saDataSizeKilobytes This property is required. number
The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
saLifeTimeSeconds This property is required. number
The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
dh_group This property is required. str
The DH Group used in IKE Phase 1 for initial SA.
ike_encryption This property is required. str
The IKE encryption algorithm (IKE phase 2).
ike_integrity This property is required. str
The IKE integrity algorithm (IKE phase 2).
ipsec_encryption This property is required. str
The IPSec encryption algorithm (IKE phase 1).
ipsec_integrity This property is required. str
The IPSec integrity algorithm (IKE phase 1).
pfs_group This property is required. str
The Pfs Group used in IKE Phase 2 for new child SA.
sa_data_size_kilobytes This property is required. int
The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
sa_life_time_seconds This property is required. int
The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
dhGroup This property is required. String
The DH Group used in IKE Phase 1 for initial SA.
ikeEncryption This property is required. String
The IKE encryption algorithm (IKE phase 2).
ikeIntegrity This property is required. String
The IKE integrity algorithm (IKE phase 2).
ipsecEncryption This property is required. String
The IPSec encryption algorithm (IKE phase 1).
ipsecIntegrity This property is required. String
The IPSec integrity algorithm (IKE phase 1).
pfsGroup This property is required. String
The Pfs Group used in IKE Phase 2 for new child SA.
saDataSizeKilobytes This property is required. Number
The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
saLifeTimeSeconds This property is required. Number
The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.

PropagatedRouteTableResponse

Ids List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>
The list of resource ids of all the RouteTables.
Labels List<string>
The list of labels.
Ids []SubResourceResponse
The list of resource ids of all the RouteTables.
Labels []string
The list of labels.
ids List<SubResourceResponse>
The list of resource ids of all the RouteTables.
labels List<String>
The list of labels.
ids SubResourceResponse[]
The list of resource ids of all the RouteTables.
labels string[]
The list of labels.
ids Sequence[SubResourceResponse]
The list of resource ids of all the RouteTables.
labels Sequence[str]
The list of labels.
ids List<Property Map>
The list of resource ids of all the RouteTables.
labels List<String>
The list of labels.

RoutingConfigurationResponse

AssociatedRouteTable Pulumi.AzureNative.Network.Inputs.SubResourceResponse
The resource id RouteTable associated with this RoutingConfiguration.
InboundRouteMap Pulumi.AzureNative.Network.Inputs.SubResourceResponse
The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
OutboundRouteMap Pulumi.AzureNative.Network.Inputs.SubResourceResponse
The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
PropagatedRouteTables Pulumi.AzureNative.Network.Inputs.PropagatedRouteTableResponse
The list of RouteTables to advertise the routes to.
VnetRoutes Pulumi.AzureNative.Network.Inputs.VnetRouteResponse
List of routes that control routing from VirtualHub into a virtual network connection.
AssociatedRouteTable SubResourceResponse
The resource id RouteTable associated with this RoutingConfiguration.
InboundRouteMap SubResourceResponse
The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
OutboundRouteMap SubResourceResponse
The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
PropagatedRouteTables PropagatedRouteTableResponse
The list of RouteTables to advertise the routes to.
VnetRoutes VnetRouteResponse
List of routes that control routing from VirtualHub into a virtual network connection.
associatedRouteTable SubResourceResponse
The resource id RouteTable associated with this RoutingConfiguration.
inboundRouteMap SubResourceResponse
The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
outboundRouteMap SubResourceResponse
The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
propagatedRouteTables PropagatedRouteTableResponse
The list of RouteTables to advertise the routes to.
vnetRoutes VnetRouteResponse
List of routes that control routing from VirtualHub into a virtual network connection.
associatedRouteTable SubResourceResponse
The resource id RouteTable associated with this RoutingConfiguration.
inboundRouteMap SubResourceResponse
The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
outboundRouteMap SubResourceResponse
The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
propagatedRouteTables PropagatedRouteTableResponse
The list of RouteTables to advertise the routes to.
vnetRoutes VnetRouteResponse
List of routes that control routing from VirtualHub into a virtual network connection.
associated_route_table SubResourceResponse
The resource id RouteTable associated with this RoutingConfiguration.
inbound_route_map SubResourceResponse
The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
outbound_route_map SubResourceResponse
The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
propagated_route_tables PropagatedRouteTableResponse
The list of RouteTables to advertise the routes to.
vnet_routes VnetRouteResponse
List of routes that control routing from VirtualHub into a virtual network connection.
associatedRouteTable Property Map
The resource id RouteTable associated with this RoutingConfiguration.
inboundRouteMap Property Map
The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
outboundRouteMap Property Map
The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
propagatedRouteTables Property Map
The list of RouteTables to advertise the routes to.
vnetRoutes Property Map
List of routes that control routing from VirtualHub into a virtual network connection.

StaticRouteResponse

AddressPrefixes List<string>
List of all address prefixes.
Name string
The name of the StaticRoute that is unique within a VnetRoute.
NextHopIpAddress string
The ip address of the next hop.
AddressPrefixes []string
List of all address prefixes.
Name string
The name of the StaticRoute that is unique within a VnetRoute.
NextHopIpAddress string
The ip address of the next hop.
addressPrefixes List<String>
List of all address prefixes.
name String
The name of the StaticRoute that is unique within a VnetRoute.
nextHopIpAddress String
The ip address of the next hop.
addressPrefixes string[]
List of all address prefixes.
name string
The name of the StaticRoute that is unique within a VnetRoute.
nextHopIpAddress string
The ip address of the next hop.
address_prefixes Sequence[str]
List of all address prefixes.
name str
The name of the StaticRoute that is unique within a VnetRoute.
next_hop_ip_address str
The ip address of the next hop.
addressPrefixes List<String>
List of all address prefixes.
name String
The name of the StaticRoute that is unique within a VnetRoute.
nextHopIpAddress String
The ip address of the next hop.

StaticRoutesConfigResponse

PropagateStaticRoutes This property is required. bool
Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
VnetLocalRouteOverrideCriteria string
Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
PropagateStaticRoutes This property is required. bool
Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
VnetLocalRouteOverrideCriteria string
Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
propagateStaticRoutes This property is required. Boolean
Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
vnetLocalRouteOverrideCriteria String
Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
propagateStaticRoutes This property is required. boolean
Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
vnetLocalRouteOverrideCriteria string
Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
propagate_static_routes This property is required. bool
Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
vnet_local_route_override_criteria str
Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
propagateStaticRoutes This property is required. Boolean
Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
vnetLocalRouteOverrideCriteria String
Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.

SubResourceResponse

Id This property is required. string
Resource ID.
Id This property is required. string
Resource ID.
id This property is required. String
Resource ID.
id This property is required. string
Resource ID.
id This property is required. str
Resource ID.
id This property is required. String
Resource ID.

TrafficSelectorPolicyResponse

LocalAddressRanges This property is required. List<string>
A collection of local address spaces in CIDR format.
RemoteAddressRanges This property is required. List<string>
A collection of remote address spaces in CIDR format.
LocalAddressRanges This property is required. []string
A collection of local address spaces in CIDR format.
RemoteAddressRanges This property is required. []string
A collection of remote address spaces in CIDR format.
localAddressRanges This property is required. List<String>
A collection of local address spaces in CIDR format.
remoteAddressRanges This property is required. List<String>
A collection of remote address spaces in CIDR format.
localAddressRanges This property is required. string[]
A collection of local address spaces in CIDR format.
remoteAddressRanges This property is required. string[]
A collection of remote address spaces in CIDR format.
local_address_ranges This property is required. Sequence[str]
A collection of local address spaces in CIDR format.
remote_address_ranges This property is required. Sequence[str]
A collection of remote address spaces in CIDR format.
localAddressRanges This property is required. List<String>
A collection of local address spaces in CIDR format.
remoteAddressRanges This property is required. List<String>
A collection of remote address spaces in CIDR format.

VnetRouteResponse

BgpConnections This property is required. List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>
The list of references to HubBgpConnection objects.
StaticRoutes List<Pulumi.AzureNative.Network.Inputs.StaticRouteResponse>
List of all Static Routes.
StaticRoutesConfig Pulumi.AzureNative.Network.Inputs.StaticRoutesConfigResponse
Configuration for static routes on this HubVnetConnection.
BgpConnections This property is required. []SubResourceResponse
The list of references to HubBgpConnection objects.
StaticRoutes []StaticRouteResponse
List of all Static Routes.
StaticRoutesConfig StaticRoutesConfigResponse
Configuration for static routes on this HubVnetConnection.
bgpConnections This property is required. List<SubResourceResponse>
The list of references to HubBgpConnection objects.
staticRoutes List<StaticRouteResponse>
List of all Static Routes.
staticRoutesConfig StaticRoutesConfigResponse
Configuration for static routes on this HubVnetConnection.
bgpConnections This property is required. SubResourceResponse[]
The list of references to HubBgpConnection objects.
staticRoutes StaticRouteResponse[]
List of all Static Routes.
staticRoutesConfig StaticRoutesConfigResponse
Configuration for static routes on this HubVnetConnection.
bgp_connections This property is required. Sequence[SubResourceResponse]
The list of references to HubBgpConnection objects.
static_routes Sequence[StaticRouteResponse]
List of all Static Routes.
static_routes_config StaticRoutesConfigResponse
Configuration for static routes on this HubVnetConnection.
bgpConnections This property is required. List<Property Map>
The list of references to HubBgpConnection objects.
staticRoutes List<Property Map>
List of all Static Routes.
staticRoutesConfig Property Map
Configuration for static routes on this HubVnetConnection.

VpnSiteLinkConnectionResponse

ConnectionStatus This property is required. string
The connection status.
EgressBytesTransferred This property is required. double
Egress bytes transferred.
Etag This property is required. string
A unique read-only string that changes whenever the resource is updated.
IngressBytesTransferred This property is required. double
Ingress bytes transferred.
ProvisioningState This property is required. string
The provisioning state of the VPN site link connection resource.
Type This property is required. string
Resource type.
ConnectionBandwidth int
Expected bandwidth in MBPS.
EgressNatRules List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>
List of egress NatRules.
EnableBgp bool
EnableBgp flag.
EnableRateLimiting bool
EnableBgp flag.
Id string
Resource ID.
IngressNatRules List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>
List of ingress NatRules.
IpsecPolicies List<Pulumi.AzureNative.Network.Inputs.IpsecPolicyResponse>
The IPSec Policies to be considered by this connection.
Name string
The name of the resource that is unique within a resource group. This name can be used to access the resource.
RoutingWeight int
Routing weight for vpn connection.
SharedKey string
SharedKey for the vpn connection.
UseLocalAzureIpAddress bool
Use local azure ip to initiate connection.
UsePolicyBasedTrafficSelectors bool
Enable policy-based traffic selectors.
VpnConnectionProtocolType string
Connection protocol used for this connection.
VpnGatewayCustomBgpAddresses List<Pulumi.AzureNative.Network.Inputs.GatewayCustomBgpIpAddressIpConfigurationResponse>
vpnGatewayCustomBgpAddresses used by this connection.
VpnLinkConnectionMode string
Vpn link connection mode.
VpnSiteLink Pulumi.AzureNative.Network.Inputs.SubResourceResponse
Id of the connected vpn site link.
ConnectionStatus This property is required. string
The connection status.
EgressBytesTransferred This property is required. float64
Egress bytes transferred.
Etag This property is required. string
A unique read-only string that changes whenever the resource is updated.
IngressBytesTransferred This property is required. float64
Ingress bytes transferred.
ProvisioningState This property is required. string
The provisioning state of the VPN site link connection resource.
Type This property is required. string
Resource type.
ConnectionBandwidth int
Expected bandwidth in MBPS.
EgressNatRules []SubResourceResponse
List of egress NatRules.
EnableBgp bool
EnableBgp flag.
EnableRateLimiting bool
EnableBgp flag.
Id string
Resource ID.
IngressNatRules []SubResourceResponse
List of ingress NatRules.
IpsecPolicies []IpsecPolicyResponse
The IPSec Policies to be considered by this connection.
Name string
The name of the resource that is unique within a resource group. This name can be used to access the resource.
RoutingWeight int
Routing weight for vpn connection.
SharedKey string
SharedKey for the vpn connection.
UseLocalAzureIpAddress bool
Use local azure ip to initiate connection.
UsePolicyBasedTrafficSelectors bool
Enable policy-based traffic selectors.
VpnConnectionProtocolType string
Connection protocol used for this connection.
VpnGatewayCustomBgpAddresses []GatewayCustomBgpIpAddressIpConfigurationResponse
vpnGatewayCustomBgpAddresses used by this connection.
VpnLinkConnectionMode string
Vpn link connection mode.
VpnSiteLink SubResourceResponse
Id of the connected vpn site link.
connectionStatus This property is required. String
The connection status.
egressBytesTransferred This property is required. Double
Egress bytes transferred.
etag This property is required. String
A unique read-only string that changes whenever the resource is updated.
ingressBytesTransferred This property is required. Double
Ingress bytes transferred.
provisioningState This property is required. String
The provisioning state of the VPN site link connection resource.
type This property is required. String
Resource type.
connectionBandwidth Integer
Expected bandwidth in MBPS.
egressNatRules List<SubResourceResponse>
List of egress NatRules.
enableBgp Boolean
EnableBgp flag.
enableRateLimiting Boolean
EnableBgp flag.
id String
Resource ID.
ingressNatRules List<SubResourceResponse>
List of ingress NatRules.
ipsecPolicies List<IpsecPolicyResponse>
The IPSec Policies to be considered by this connection.
name String
The name of the resource that is unique within a resource group. This name can be used to access the resource.
routingWeight Integer
Routing weight for vpn connection.
sharedKey String
SharedKey for the vpn connection.
useLocalAzureIpAddress Boolean
Use local azure ip to initiate connection.
usePolicyBasedTrafficSelectors Boolean
Enable policy-based traffic selectors.
vpnConnectionProtocolType String
Connection protocol used for this connection.
vpnGatewayCustomBgpAddresses List<GatewayCustomBgpIpAddressIpConfigurationResponse>
vpnGatewayCustomBgpAddresses used by this connection.
vpnLinkConnectionMode String
Vpn link connection mode.
vpnSiteLink SubResourceResponse
Id of the connected vpn site link.
connectionStatus This property is required. string
The connection status.
egressBytesTransferred This property is required. number
Egress bytes transferred.
etag This property is required. string
A unique read-only string that changes whenever the resource is updated.
ingressBytesTransferred This property is required. number
Ingress bytes transferred.
provisioningState This property is required. string
The provisioning state of the VPN site link connection resource.
type This property is required. string
Resource type.
connectionBandwidth number
Expected bandwidth in MBPS.
egressNatRules SubResourceResponse[]
List of egress NatRules.
enableBgp boolean
EnableBgp flag.
enableRateLimiting boolean
EnableBgp flag.
id string
Resource ID.
ingressNatRules SubResourceResponse[]
List of ingress NatRules.
ipsecPolicies IpsecPolicyResponse[]
The IPSec Policies to be considered by this connection.
name string
The name of the resource that is unique within a resource group. This name can be used to access the resource.
routingWeight number
Routing weight for vpn connection.
sharedKey string
SharedKey for the vpn connection.
useLocalAzureIpAddress boolean
Use local azure ip to initiate connection.
usePolicyBasedTrafficSelectors boolean
Enable policy-based traffic selectors.
vpnConnectionProtocolType string
Connection protocol used for this connection.
vpnGatewayCustomBgpAddresses GatewayCustomBgpIpAddressIpConfigurationResponse[]
vpnGatewayCustomBgpAddresses used by this connection.
vpnLinkConnectionMode string
Vpn link connection mode.
vpnSiteLink SubResourceResponse
Id of the connected vpn site link.
connection_status This property is required. str
The connection status.
egress_bytes_transferred This property is required. float
Egress bytes transferred.
etag This property is required. str
A unique read-only string that changes whenever the resource is updated.
ingress_bytes_transferred This property is required. float
Ingress bytes transferred.
provisioning_state This property is required. str
The provisioning state of the VPN site link connection resource.
type This property is required. str
Resource type.
connection_bandwidth int
Expected bandwidth in MBPS.
egress_nat_rules Sequence[SubResourceResponse]
List of egress NatRules.
enable_bgp bool
EnableBgp flag.
enable_rate_limiting bool
EnableBgp flag.
id str
Resource ID.
ingress_nat_rules Sequence[SubResourceResponse]
List of ingress NatRules.
ipsec_policies Sequence[IpsecPolicyResponse]
The IPSec Policies to be considered by this connection.
name str
The name of the resource that is unique within a resource group. This name can be used to access the resource.
routing_weight int
Routing weight for vpn connection.
shared_key str
SharedKey for the vpn connection.
use_local_azure_ip_address bool
Use local azure ip to initiate connection.
use_policy_based_traffic_selectors bool
Enable policy-based traffic selectors.
vpn_connection_protocol_type str
Connection protocol used for this connection.
vpn_gateway_custom_bgp_addresses Sequence[GatewayCustomBgpIpAddressIpConfigurationResponse]
vpnGatewayCustomBgpAddresses used by this connection.
vpn_link_connection_mode str
Vpn link connection mode.
vpn_site_link SubResourceResponse
Id of the connected vpn site link.
connectionStatus This property is required. String
The connection status.
egressBytesTransferred This property is required. Number
Egress bytes transferred.
etag This property is required. String
A unique read-only string that changes whenever the resource is updated.
ingressBytesTransferred This property is required. Number
Ingress bytes transferred.
provisioningState This property is required. String
The provisioning state of the VPN site link connection resource.
type This property is required. String
Resource type.
connectionBandwidth Number
Expected bandwidth in MBPS.
egressNatRules List<Property Map>
List of egress NatRules.
enableBgp Boolean
EnableBgp flag.
enableRateLimiting Boolean
EnableBgp flag.
id String
Resource ID.
ingressNatRules List<Property Map>
List of ingress NatRules.
ipsecPolicies List<Property Map>
The IPSec Policies to be considered by this connection.
name String
The name of the resource that is unique within a resource group. This name can be used to access the resource.
routingWeight Number
Routing weight for vpn connection.
sharedKey String
SharedKey for the vpn connection.
useLocalAzureIpAddress Boolean
Use local azure ip to initiate connection.
usePolicyBasedTrafficSelectors Boolean
Enable policy-based traffic selectors.
vpnConnectionProtocolType String
Connection protocol used for this connection.
vpnGatewayCustomBgpAddresses List<Property Map>
vpnGatewayCustomBgpAddresses used by this connection.
vpnLinkConnectionMode String
Vpn link connection mode.
vpnSiteLink Property Map
Id of the connected vpn site link.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi