public static class ModifyVpnConnectionAttributeRequest.ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Long |
localAsn
The ASN of the tunnel on the Alibaba Cloud side.
|
String |
localBgpIp
The BGP IP address of the tunnel on the Alibaba Cloud side.
|
String |
tunnelCidr
The BGP CIDR block of the tunnel.
|
构造器和说明 |
---|
ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig() |
@NameInMap(value="LocalAsn") public Long localAsn
The ASN of the tunnel on the Alibaba Cloud side. Valid values: 1 to 4294967295. Default value: 45104.
example:
- You can specify or modify this parameter if BGP is enabled for the IPsec-VPN connection (EnableTunnelsBgp is set to true).
- Before you configure BGP, we recommend that you learn about how BGP works and its limits. For more information, see VPN Gateway supports BGP dynamic routing.
- We recommend that you use a private ASN to establish a connection with Alibaba Cloud over BGP. For information about the range of private ASNs, see the relevant documentation.
65530
@NameInMap(value="LocalBgpIp") public String localBgpIp
The BGP IP address of the tunnel on the Alibaba Cloud side. The address is an IP address that falls within the BGP CIDR block range.
example:169.254.10.1
@NameInMap(value="TunnelCidr") public String tunnelCidr
The BGP CIDR block of the tunnel. The CIDR block must belong to 169.254.0.0/16. The subnet mask of the CIDR block must be 30 bits in length.
example:The BGP CIDR block of a tunnel associated with a VPN gateway must be unique.
169.254.10.0/30
public ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig()
public static ModifyVpnConnectionAttributeRequest.ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig build(Map<String,?> map) throws Exception
Exception
public ModifyVpnConnectionAttributeRequest.ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig setLocalAsn(Long localAsn)
public Long getLocalAsn()
public ModifyVpnConnectionAttributeRequest.ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig setLocalBgpIp(String localBgpIp)
public String getLocalBgpIp()
public ModifyVpnConnectionAttributeRequest.ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig setTunnelCidr(String tunnelCidr)
public String getTunnelCidr()
Copyright © 2024. All rights reserved.