public class CreateBgpGroupRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
authKey
The authentication key of the BGP group.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
description
The description of the BGP group.
|
String |
ipVersion
The IP version.
|
Boolean |
isFakeAsn
Specifies whether to use a fake ASN.
|
Long |
localAsn
The custom ASN on the Alibaba Cloud side.
|
String |
name
The name of the BGP group.
|
String |
ownerAccount |
Long |
ownerId |
Long |
peerAsn
The ASN of the gateway device in the data center.
|
String |
regionId
The region ID of the VBR.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
Integer |
routeQuota
The maximum number of routes supported by a BGP peer.
|
String |
routerId
The ID of the VBR.
|
构造器和说明 |
---|
CreateBgpGroupRequest() |
@NameInMap(value="AuthKey") public String authKey
The authentication key of the BGP group.
example:!PWZ2****
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request.
You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
example:If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
123e4567-e89b-12d3-a456-426655440000
@NameInMap(value="Description") public String description
The description of the BGP group.
The description must be 2 to 256 characters in length. It must start with a letter and cannot start with http://
or https://
.
BGP
@NameInMap(value="IpVersion") public String ipVersion
The IP version. Valid values:
IPv4
@NameInMap(value="IsFakeAsn") public Boolean isFakeAsn
Specifies whether to use a fake ASN. Valid values:
example:A router that runs BGP typically belongs to only one AS. If you need to replace an existing AS with a new AS and you cannot immediately modify BGP configurations, you can use fake ASNs to ensure service continuity.
true
@NameInMap(value="LocalAsn") public Long localAsn
The custom ASN on the Alibaba Cloud side. Valid values:
example:65025 is reserved by Alibaba Cloud. By default, Alibaba Cloud uses 45104 as LocalAsn. If you use custom LocalAsn in multi-line access scenarios, loops in BGP may occur.
45104
@NameInMap(value="Name") public String name
The name of the BGP group.
The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
example:test
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PeerAsn") public Long peerAsn
The ASN of the gateway device in the data center.
This parameter is required.
example:1****
@NameInMap(value="RegionId") public String regionId
The region ID of the VBR.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-shanghai
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="RouteQuota") public Integer routeQuota
The maximum number of routes supported by a BGP peer. Default value: 110.
example:110
@NameInMap(value="RouterId") public String routerId
The ID of the VBR.
This parameter is required.
example:vbr-bp1ctxy813985gkuk****
public static CreateBgpGroupRequest build(Map<String,?> map) throws Exception
Exception
public CreateBgpGroupRequest setAuthKey(String authKey)
public String getAuthKey()
public CreateBgpGroupRequest setClientToken(String clientToken)
public String getClientToken()
public CreateBgpGroupRequest setDescription(String description)
public String getDescription()
public CreateBgpGroupRequest setIpVersion(String ipVersion)
public String getIpVersion()
public CreateBgpGroupRequest setIsFakeAsn(Boolean isFakeAsn)
public Boolean getIsFakeAsn()
public CreateBgpGroupRequest setLocalAsn(Long localAsn)
public Long getLocalAsn()
public CreateBgpGroupRequest setName(String name)
public String getName()
public CreateBgpGroupRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateBgpGroupRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateBgpGroupRequest setPeerAsn(Long peerAsn)
public Long getPeerAsn()
public CreateBgpGroupRequest setRegionId(String regionId)
public String getRegionId()
public CreateBgpGroupRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateBgpGroupRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateBgpGroupRequest setRouteQuota(Integer routeQuota)
public Integer getRouteQuota()
public CreateBgpGroupRequest setRouterId(String routerId)
public String getRouterId()
Copyright © 2024. All rights reserved.