你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BgpSettings 类

  • java.lang.Object
    • com.microsoft.azure.management.network.BgpSettings

public class BgpSettings

BGP 设置详细信息。

方法摘要

修饰符和类型 方法和描述
Long asn()

获取 asn 值。

String bgpPeeringAddress()

获取 bgpPeeringAddress 值。

Integer peerWeight()

获取 peerWeight 值。

BgpSettings withAsn(Long asn)

设置 asn 值。

BgpSettings withBgpPeeringAddress(String bgpPeeringAddress)

设置 bgpPeeringAddress 值。

BgpSettings withPeerWeight(Integer peerWeight)

设置 peerWeight 值。

方法详细信息

asn

public Long asn()

获取 asn 值。

Returns:

asn 值

bgpPeeringAddress

public String bgpPeeringAddress()

获取 bgpPeeringAddress 值。

Returns:

bgpPeeringAddress 值

peerWeight

public Integer peerWeight()

获取 peerWeight 值。

Returns:

peerWeight 值

withAsn

public BgpSettings withAsn(Long asn)

设置 asn 值。

Parameters:

asn - 要设置的 asn 值

Returns:

BgpSettings 对象本身。

withBgpPeeringAddress

public BgpSettings withBgpPeeringAddress(String bgpPeeringAddress)

设置 bgpPeeringAddress 值。

Parameters:

bgpPeeringAddress - 要设置的 bgpPeeringAddress 值

Returns:

BgpSettings 对象本身。

withPeerWeight

public BgpSettings withPeerWeight(Integer peerWeight)

设置 peerWeight 值。

Parameters:

peerWeight - 要设置的 peerWeight 值

Returns:

BgpSettings 对象本身。

适用于