다음을 통해 공유


VpnConnection Class

Definition

VpnConnection Resource.

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

Constructors

VpnConnection()

Initializes a new instance of the VpnConnection class.

VpnConnection(String, SubResource, Nullable<Int32>, Nullable<Int32>, String, String, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, IList<IpsecPolicy>, IList<TrafficSelectorPolicy>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, IList<VpnSiteLinkConnection>, RoutingConfiguration, String, String)

Initializes a new instance of the VpnConnection class.

Properties

ConnectionBandwidth

Gets or sets expected bandwidth in MBPS.

ConnectionStatus

Gets or sets the connection status. Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected'

DpdTimeoutSeconds

Gets or sets DPD timeout in seconds for vpn connection.

EgressBytesTransferred

Gets egress bytes transferred.

EnableBgp

Gets or sets enableBgp flag.

EnableInternetSecurity

Gets or sets enable internet security.

EnableRateLimiting

Gets or sets enableBgp flag.

Etag

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

Id

Gets or sets resource ID.

(Inherited from SubResource)
IngressBytesTransferred

Gets ingress bytes transferred.

IpsecPolicies

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

Name

Gets or sets the name of the resource that is unique within a resource group. This name can be used to access the resource.

ProvisioningState

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

RemoteVpnSite

Gets or sets id of the connected vpn site.

RoutingConfiguration

Gets or sets the Routing Configuration indicating the associated and propagated route tables on this connection.

RoutingWeight

Gets or sets routing weight for vpn connection.

SharedKey

Gets or sets sharedKey for the vpn connection.

TrafficSelectorPolicies

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

UseLocalAzureIpAddress

Gets or sets use local azure ip to initiate connection.

UsePolicyBasedTrafficSelectors

Gets or sets enable policy-based traffic selectors.

VpnConnectionProtocolType

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

VpnLinkConnections

Gets or sets list of all vpn site link connections to the gateway.

Applies to