public class ModifyBgpGroupAttributeRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
authKey
The authentication key of the BGP group.
|
String |
bgpGroupId
The BGP group ID.
|
Boolean |
clearAuthKey
Specifies whether to clear the secret key.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
description
The BGP group description.
|
Boolean |
isFakeAsn
Specifies whether to use a fake AS number.
|
Long |
localAsn
The custom autonomous system number (ASN) of the BGP on the Alibaba Cloud side.
|
String |
name
The BGP group name.
|
String |
ownerAccount |
Long |
ownerId |
Long |
peerAsn
The ASN of the gateway device in the data center.
|
String |
regionId
The region ID of the BGP group.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
Integer |
routeQuota
The maximum number of routes supported by a BGP peer.
|
构造器和说明 |
---|
ModifyBgpGroupAttributeRequest() |
@NameInMap(value="AuthKey") public String authKey
The authentication key of the BGP group.
example:!PWZ2****
@NameInMap(value="BgpGroupId") public String bgpGroupId
The BGP group ID.
This parameter is required.
example:bgpg-wz9f62v4fbg2g****
@NameInMap(value="ClearAuthKey") public Boolean clearAuthKey
Specifies whether to clear the secret key. Valid values:
false
@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 client 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 BGP group description.
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="IsFakeAsn") public Boolean isFakeAsn
Specifies whether to use a fake AS number. Valid values:
example:A router that runs BGP typically belongs to only one AS. If you need to replace an AS with a new one, but you cannot immediately modify BGP configurations due to business requirements, you can specify a fake AS number to establish a connection with the local end. This ensures service continuity in scenarios such as AS migration or AS merging.
false
@NameInMap(value="LocalAsn") public Long localAsn
The custom autonomous system number (ASN) of the BGP on the Alibaba Cloud side. Valid values:
example:65025 is reserved by Alibaba Cloud. Alibaba Cloud uses 45104 as the local ASN by default. Custom local ASNs may cause loops in multi-line scenarios. Proceed with caution.
45104
@NameInMap(value="Name") public String name
The BGP group name.
The name must be 2 to 128 characters in length, and can contain digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter but cannot start with http://
or https://
.
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.
example:1****
@NameInMap(value="RegionId") public String regionId
The region ID of the BGP group.
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
public static ModifyBgpGroupAttributeRequest build(Map<String,?> map) throws Exception
Exception
public ModifyBgpGroupAttributeRequest setAuthKey(String authKey)
public String getAuthKey()
public ModifyBgpGroupAttributeRequest setBgpGroupId(String bgpGroupId)
public String getBgpGroupId()
public ModifyBgpGroupAttributeRequest setClearAuthKey(Boolean clearAuthKey)
public Boolean getClearAuthKey()
public ModifyBgpGroupAttributeRequest setClientToken(String clientToken)
public String getClientToken()
public ModifyBgpGroupAttributeRequest setDescription(String description)
public String getDescription()
public ModifyBgpGroupAttributeRequest setIsFakeAsn(Boolean isFakeAsn)
public Boolean getIsFakeAsn()
public ModifyBgpGroupAttributeRequest setLocalAsn(Long localAsn)
public Long getLocalAsn()
public ModifyBgpGroupAttributeRequest setName(String name)
public String getName()
public ModifyBgpGroupAttributeRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public ModifyBgpGroupAttributeRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ModifyBgpGroupAttributeRequest setPeerAsn(Long peerAsn)
public Long getPeerAsn()
public ModifyBgpGroupAttributeRequest setRegionId(String regionId)
public String getRegionId()
public ModifyBgpGroupAttributeRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifyBgpGroupAttributeRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public ModifyBgpGroupAttributeRequest setRouteQuota(Integer routeQuota)
public Integer getRouteQuota()
Copyright © 2024. All rights reserved.