VirtualNetworkGatewayConnection Class
A common class for general resource information.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.network.models._models_py3.ResourceVirtualNetworkGatewayConnection
Constructor
VirtualNetworkGatewayConnection(*, virtual_network_gateway1: _models.VirtualNetworkGateway, connection_type: str | _models.VirtualNetworkGatewayConnectionType, id: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, authorization_key: str | None = None, virtual_network_gateway2: _models.VirtualNetworkGateway | None = None, local_network_gateway2: _models.LocalNetworkGateway | None = None, ingress_nat_rules: List[_models.SubResource] | None = None, egress_nat_rules: List[_models.SubResource] | None = None, connection_protocol: str | _models.VirtualNetworkGatewayConnectionProtocol | None = None, routing_weight: int | None = None, dpd_timeout_seconds: int | None = None, connection_mode: str | _models.VirtualNetworkGatewayConnectionMode | None = None, shared_key: str | None = None, peer: _models.SubResource | None = None, enable_bgp: bool | None = None, gateway_custom_bgp_ip_addresses: List[_models.GatewayCustomBgpIpAddressIpConfiguration] | None = None, use_local_azure_ip_address: bool | None = None, use_policy_based_traffic_selectors: bool | None = None, ipsec_policies: List[_models.IpsecPolicy] | None = None, traffic_selector_policies: List[_models.TrafficSelectorPolicy] | None = None, express_route_gateway_bypass: bool | None = None, enable_private_link_fast_path: bool | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
id
|
Resource ID. |
location
|
Resource location. |
tags
|
Resource tags. |
authorization_key
|
The authorizationKey. |
virtual_network_gateway1
|
The reference to virtual network gateway resource. Required. |
virtual_network_gateway2
|
The reference to virtual network gateway resource. |
local_network_gateway2
|
The reference to local network gateway resource. |
ingress_nat_rules
|
List of ingress NatRules. |
egress_nat_rules
|
List of egress NatRules. |
connection_type
|
Gateway connection type. Required. Known values are: "IPsec", "Vnet2Vnet", "ExpressRoute", and "VPNClient". |
connection_protocol
|
Connection protocol used for this connection. Known values are: "IKEv2" and "IKEv1". |
routing_weight
|
The routing weight. |
dpd_timeout_seconds
|
The dead peer detection timeout of this connection in seconds. |
connection_mode
|
The connection mode for this connection. Known values are: "Default", "ResponderOnly", and "InitiatorOnly". |
shared_key
|
The IPSec shared key. |
peer
|
The reference to peerings resource. |
enable_bgp
|
EnableBgp flag. |
gateway_custom_bgp_ip_addresses
|
GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection. |
use_local_azure_ip_address
|
Use private local Azure IP for the connection. |
use_policy_based_traffic_selectors
|
Enable policy-based traffic selectors. |
ipsec_policies
|
The IPSec Policies to be considered by this connection. |
traffic_selector_policies
|
The Traffic Selector Policies to be considered by this connection. |
express_route_gateway_bypass
|
Bypass ExpressRoute Gateway for data forwarding. |
enable_private_link_fast_path
|
Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled. |
Variables
Name | Description |
---|---|
id
|
Resource ID. |
name
|
Resource name. |
type
|
Resource type. |
location
|
Resource location. |
tags
|
Resource tags. |
etag
|
A unique read-only string that changes whenever the resource is updated. |
authorization_key
|
The authorizationKey. |
virtual_network_gateway1
|
The reference to virtual network gateway resource. Required. |
virtual_network_gateway2
|
The reference to virtual network gateway resource. |
local_network_gateway2
|
The reference to local network gateway resource. |
ingress_nat_rules
|
List of ingress NatRules. |
egress_nat_rules
|
List of egress NatRules. |
connection_type
|
Gateway connection type. Required. Known values are: "IPsec", "Vnet2Vnet", "ExpressRoute", and "VPNClient". |
connection_protocol
|
Connection protocol used for this connection. Known values are: "IKEv2" and "IKEv1". |
routing_weight
|
The routing weight. |
dpd_timeout_seconds
|
The dead peer detection timeout of this connection in seconds. |
connection_mode
|
The connection mode for this connection. Known values are: "Default", "ResponderOnly", and "InitiatorOnly". |
shared_key
|
The IPSec shared key. |
connection_status
|
Virtual Network Gateway connection status. Known values are: "Unknown", "Connecting", "Connected", and "NotConnected". |
tunnel_connection_status
|
Collection of all tunnels' connection health status. |
egress_bytes_transferred
|
The egress bytes transferred in this connection. |
ingress_bytes_transferred
|
The ingress bytes transferred in this connection. |
peer
|
The reference to peerings resource. |
enable_bgp
|
EnableBgp flag. |
gateway_custom_bgp_ip_addresses
|
GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection. |
use_local_azure_ip_address
|
Use private local Azure IP for the connection. |
use_policy_based_traffic_selectors
|
Enable policy-based traffic selectors. |
ipsec_policies
|
The IPSec Policies to be considered by this connection. |
traffic_selector_policies
|
The Traffic Selector Policies to be considered by this connection. |
resource_guid
|
The resource GUID property of the virtual network gateway connection resource. |
provisioning_state
|
The provisioning state of the virtual network gateway connection resource. Known values are: "Succeeded", "Updating", "Deleting", and "Failed". |
express_route_gateway_bypass
|
Bypass ExpressRoute Gateway for data forwarding. |
enable_private_link_fast_path
|
Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled. |
Azure SDK for Python