你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VpnSiteLinkConnectionInner 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
VpnSiteLinkConnectionInner()
初始化 VpnSiteLinkConnectionInner 类的新实例。
public VpnSiteLinkConnectionInner ();
Public Sub New ()
适用于
VpnSiteLinkConnectionInner(String, SubResource, Nullable<Int32>, VpnConnectionStatus, VirtualNetworkGatewayConnectionProtocol, Nullable<Int64>, Nullable<Int64>, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, IList<IpsecPolicy>, Nullable<Boolean>, Nullable<Boolean>, ProvisioningState, String, String, String)
初始化 VpnSiteLinkConnectionInner 类的新实例。
public VpnSiteLinkConnectionInner (string id = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource vpnSiteLink = default, int? routingWeight = default, Microsoft.Azure.Management.Network.Fluent.Models.VpnConnectionStatus connectionStatus = default, Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayConnectionProtocol vpnConnectionProtocolType = default, long? ingressBytesTransferred = default, long? egressBytesTransferred = default, int? connectionBandwidth = default, string sharedKey = default, bool? enableBgp = default, bool? usePolicyBasedTrafficSelectors = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.IpsecPolicy> ipsecPolicies = default, bool? enableRateLimiting = default, bool? useLocalAzureIpAddress = default, Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState provisioningState = default, string name = default, string etag = default, string type = default);
new Microsoft.Azure.Management.Network.Fluent.Models.VpnSiteLinkConnectionInner : string * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * Nullable<int> * Microsoft.Azure.Management.Network.Fluent.Models.VpnConnectionStatus * Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayConnectionProtocol * Nullable<int64> * Nullable<int64> * Nullable<int> * string * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.IpsecPolicy> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState * string * string * string -> Microsoft.Azure.Management.Network.Fluent.Models.VpnSiteLinkConnectionInner
Public Sub New (Optional id As String = Nothing, Optional vpnSiteLink As SubResource = Nothing, Optional routingWeight As Nullable(Of Integer) = Nothing, Optional connectionStatus As VpnConnectionStatus = Nothing, Optional vpnConnectionProtocolType As VirtualNetworkGatewayConnectionProtocol = Nothing, Optional ingressBytesTransferred As Nullable(Of Long) = Nothing, Optional egressBytesTransferred As Nullable(Of Long) = Nothing, Optional connectionBandwidth As Nullable(Of Integer) = Nothing, Optional sharedKey As String = Nothing, Optional enableBgp As Nullable(Of Boolean) = Nothing, Optional usePolicyBasedTrafficSelectors As Nullable(Of Boolean) = Nothing, Optional ipsecPolicies As IList(Of IpsecPolicy) = Nothing, Optional enableRateLimiting As Nullable(Of Boolean) = Nothing, Optional useLocalAzureIpAddress As Nullable(Of Boolean) = Nothing, Optional provisioningState As ProvisioningState = Nothing, Optional name As String = Nothing, Optional etag As String = Nothing, Optional type As String = Nothing)
参数
- id
- String
- vpnSiteLink
- SubResource
连接的 VPN 站点链接的 ID。
- connectionStatus
- VpnConnectionStatus
连接状态。 可能的值包括:“Unknown”、“Connected”、“Connected”、“NotConnected”
- vpnConnectionProtocolType
- VirtualNetworkGatewayConnectionProtocol
用于此连接的连接协议。 可能的值包括:“IKEv2”、“IKEv1”
- sharedKey
- String
Vpn 连接的 SharedKey。
- ipsecPolicies
- IList<IpsecPolicy>
此连接要考虑的 IPSec 策略。
- provisioningState
- ProvisioningState
VPN 站点链接连接资源的预配状态。 可能的值包括:“Succeeded”、“Updateing”、“删除”、“Failed”
- name
- String
资源组中唯一的资源的名称。 此名称可用于访问资源。
- etag
- String
一个唯一的只读字符串,每当资源更新时都会更改。
- type
- String
资源类型。