你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BgpSettings 类
- java.
lang. Object - com.
microsoft. azure. management. network. BgpSettings
- com.
public class BgpSettings
BGP 设置详细信息。
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
Long |
asn()
获取 asn 值。 |
String |
bgpPeeringAddress()
获取 bgpPeeringAddress 值。 |
Integer |
peerWeight()
获取 peerWeight 值。 |
Bgp |
withAsn(Long asn)
设置 asn 值。 |
Bgp |
withBgpPeeringAddress(String bgpPeeringAddress)
设置 bgpPeeringAddress 值。 |
Bgp |
withPeerWeight(Integer peerWeight)
设置 peerWeight 值。 |
方法详细信息
asn
public Long asn()
获取 asn 值。
Returns:
bgpPeeringAddress
public String bgpPeeringAddress()
获取 bgpPeeringAddress 值。
Returns:
peerWeight
public Integer peerWeight()
获取 peerWeight 值。
Returns:
withAsn
public BgpSettings withAsn(Long asn)
设置 asn 值。
Parameters:
Returns:
withBgpPeeringAddress
public BgpSettings withBgpPeeringAddress(String bgpPeeringAddress)
设置 bgpPeeringAddress 值。
Parameters:
Returns:
withPeerWeight
public BgpSettings withPeerWeight(Integer peerWeight)
设置 peerWeight 值。
Parameters:
Returns:
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈