VirtualNetworkGatewayConnection Class

Definition

A common class for general resource information.

[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualNetworkGatewayConnection : Microsoft.Azure.Management.Network.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VirtualNetworkGatewayConnection = class
    inherit Resource
Public Class VirtualNetworkGatewayConnection
Inherits Resource
Inheritance
VirtualNetworkGatewayConnection
Attributes

Constructors

VirtualNetworkGatewayConnection()

Initializes a new instance of the VirtualNetworkGatewayConnection class.

VirtualNetworkGatewayConnection(VirtualNetworkGateway, String, String, String, String, String, IDictionary<String,String>, String, VirtualNetworkGateway, LocalNetworkGateway, IList<SubResource>, IList<SubResource>, String, Nullable<Int32>, Nullable<Int32>, String, String, String, IList<TunnelConnectionHealth>, Nullable<Int64>, Nullable<Int64>, SubResource, Nullable<Boolean>, IList<GatewayCustomBgpIpAddressIpConfiguration>, Nullable<Boolean>, Nullable<Boolean>, IList<IpsecPolicy>, IList<TrafficSelectorPolicy>, String, String, Nullable<Boolean>, Nullable<Boolean>, String)

Initializes a new instance of the VirtualNetworkGatewayConnection class.

Properties

AuthorizationKey

Gets or sets the authorizationKey.

ConnectionMode

Gets or sets the connection mode for this connection. Possible values include: 'Default', 'ResponderOnly', 'InitiatorOnly'

ConnectionProtocol

Gets or sets connection protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1'

ConnectionStatus

Gets virtual Network Gateway connection status. Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected'

ConnectionType

Gets or sets gateway connection type. Possible values include: 'IPsec', 'Vnet2Vnet', 'ExpressRoute', 'VPNClient'

DpdTimeoutSeconds

Gets or sets the dead peer detection timeout of this connection in seconds.

EgressBytesTransferred

Gets the egress bytes transferred in this connection.

EgressNatRules

Gets or sets list of egress NatRules.

EnableBgp

Gets or sets enableBgp flag.

EnablePrivateLinkFastPath

Gets or sets bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.

Etag

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

ExpressRouteGatewayBypass

Gets or sets bypass ExpressRoute Gateway for data forwarding.

GatewayCustomBgpIpAddresses

Gets or sets gatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.

Id

Gets or sets resource ID.

(Inherited from Resource)
IngressBytesTransferred

Gets the ingress bytes transferred in this connection.

IngressNatRules

Gets or sets list of ingress NatRules.

IpsecPolicies

Gets or sets the IPSec Policies to be considered by this connection.

LocalNetworkGateway2

Gets or sets the reference to local network gateway resource.

Location

Gets or sets resource location.

(Inherited from Resource)
Name

Gets resource name.

(Inherited from Resource)
Peer

Gets or sets the reference to peerings resource.

ProvisioningState

Gets the provisioning state of the virtual network gateway connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

ResourceGuid

Gets the resource GUID property of the virtual network gateway connection resource.

RoutingWeight

Gets or sets the routing weight.

SharedKey

Gets or sets the IPSec shared key.

Tags

Gets or sets resource tags.

(Inherited from Resource)
TrafficSelectorPolicies

Gets or sets the Traffic Selector Policies to be considered by this connection.

TunnelConnectionStatus

Gets collection of all tunnels' connection health status.

Type

Gets resource type.

(Inherited from Resource)
UseLocalAzureIpAddress

Gets or sets use private local Azure IP for the connection.

UsePolicyBasedTrafficSelectors

Gets or sets enable policy-based traffic selectors.

VirtualNetworkGateway1

Gets or sets the reference to virtual network gateway resource.

VirtualNetworkGateway2

Gets or sets the reference to virtual network gateway resource.

Methods

Validate()

Validate the object.

Applies to