public class CreateVirtualBorderRouterRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
CreateVirtualBorderRouterRequest.CreateVirtualBorderRouterRequestTags |
限定符和类型 | 字段和说明 |
---|---|
Long |
bandwidth
The bandwidth of the VBR.
|
String |
circuitCode
The circuit code of the Express Connect circuit.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
description
The description of the VBR.
|
Boolean |
enableIpv6
Specifies whether to enable IPv6.
|
String |
localGatewayIp
The IP address of the VBR.
|
String |
localIpv6GatewayIp
The IPv6 address of the VBR.
|
String |
name
The name of the VBR.
|
String |
ownerAccount |
Long |
ownerId |
String |
peerGatewayIp
The IP address of the gateway device in the data center.
|
String |
peeringIpv6SubnetMask
The subnet mask of the IPv6 addresses of the VBR and the gateway device in the data center.
|
String |
peeringSubnetMask
The subnet mask of the IP addresses of the VBR and the gateway device in the data center.
|
String |
peerIpv6GatewayIp
The IPv6 address of the gateway device in the data center.
|
String |
physicalConnectionId
The ID of the Express Connect circuit.
|
String |
regionId
The region ID of the Express Connect circuit.
|
String |
resourceGroupId
The resource group ID.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
List<CreateVirtualBorderRouterRequest.CreateVirtualBorderRouterRequestTags> |
tags
The tags.
|
Long |
vbrOwnerId
The account ID of the VBR owner.
|
Integer |
vlanId
The VLAN ID of the VBR.
|
构造器和说明 |
---|
CreateVirtualBorderRouterRequest() |
@NameInMap(value="Bandwidth") public Long bandwidth
The bandwidth of the VBR. Unit: Mbit/s.
100
@NameInMap(value="CircuitCode") public String circuitCode
The circuit code of the Express Connect circuit. The circuit code is provided by the connectivity provider.
example:Only the owner of the Express Connect circuit can set this parameter.
longtel001
@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 value, but you must make sure that it is unique among different requests.
example:If you do not set this parameter, the system automatically sets ClientToken to the value of RequestId. The value of RequestId may be different for each API request.
123e4567-e89b-12d3-a456-426655440000
@NameInMap(value="Description") public String description
The description of the VBR.
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with http://
or https://
.
desc
@NameInMap(value="EnableIpv6") public Boolean enableIpv6
Specifies whether to enable IPv6. Valid values:
true
@NameInMap(value="LocalGatewayIp") public String localGatewayIp
The IP address of the VBR. Only the owner of the VBR can set or modify this parameter.
When you create a VBR for the owner of the Express Connect circuit, this parameter is required.
example:192.168.XX.XX
@NameInMap(value="LocalIpv6GatewayIp") public String localIpv6GatewayIp
The IPv6 address of the VBR. Only the owner of the VBR can set or modify this parameter.
When you create a VBR for the owner of the Express Connect circuit, this parameter is required.
example:2001:XXXX:3c4d:0015:0000:0000:0000:1a2b
@NameInMap(value="Name") public String name
The name of the VBR.
The name must be 2 to 128 characters in length, and can contain letters, digits, 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="PeerGatewayIp") public String peerGatewayIp
The IP address of the gateway device in the data center. Only the owner of the VBR can set or modify this parameter.
When you create a VBR for the owner of the Express Connect circuit, this parameter is required.
example:116.62.XX.XX
@NameInMap(value="PeerIpv6GatewayIp") public String peerIpv6GatewayIp
The IPv6 address of the gateway device in the data center. Only the owner of the VBR can set or modify this parameter.
When you create a VBR for the owner of the Express Connect circuit, this parameter is required.
example:2001:XXXX:4:4:4:4:4:4
@NameInMap(value="PeeringIpv6SubnetMask") public String peeringIpv6SubnetMask
The subnet mask of the IPv6 addresses of the VBR and the gateway device in the data center.
The two IPv6 addresses must fall within the same subnet.
example:2408:4004:cc:400::/56
@NameInMap(value="PeeringSubnetMask") public String peeringSubnetMask
The subnet mask of the IP addresses of the VBR and the gateway device in the data center.
The two IP addresses must fall within the same subnet.
example:255.255.255.252
@NameInMap(value="PhysicalConnectionId") public String physicalConnectionId
The ID of the Express Connect circuit.
You can create a VBR for a dedicated connection or a hosted connection.
This parameter is required.
example:pc-2zextbehcx****
@NameInMap(value="RegionId") public String regionId
The region ID of the Express Connect circuit.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-shanghai
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The resource group ID.
For more information about resource group, see What is Resource Management?
example:rg-acfmxazb4ph6aiy****
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="Tags") public List<CreateVirtualBorderRouterRequest.CreateVirtualBorderRouterRequestTags> tags
The tags.
@NameInMap(value="VbrOwnerId") public Long vbrOwnerId
The account ID of the VBR owner.
The default value is the ID of the current Alibaba Cloud account.
example:168811111****
@NameInMap(value="VlanId") public Integer vlanId
The VLAN ID of the VBR. Valid values: 0 to 2999.
Only the owner of the Express Connect circuit can set this parameter. The VLAN IDs of two VBRs of the same the Express Connect circuit must be different.
This parameter is required.
example:0
public static CreateVirtualBorderRouterRequest build(Map<String,?> map) throws Exception
Exception
public CreateVirtualBorderRouterRequest setBandwidth(Long bandwidth)
public Long getBandwidth()
public CreateVirtualBorderRouterRequest setCircuitCode(String circuitCode)
public String getCircuitCode()
public CreateVirtualBorderRouterRequest setClientToken(String clientToken)
public String getClientToken()
public CreateVirtualBorderRouterRequest setDescription(String description)
public String getDescription()
public CreateVirtualBorderRouterRequest setEnableIpv6(Boolean enableIpv6)
public Boolean getEnableIpv6()
public CreateVirtualBorderRouterRequest setLocalGatewayIp(String localGatewayIp)
public String getLocalGatewayIp()
public CreateVirtualBorderRouterRequest setLocalIpv6GatewayIp(String localIpv6GatewayIp)
public String getLocalIpv6GatewayIp()
public CreateVirtualBorderRouterRequest setName(String name)
public String getName()
public CreateVirtualBorderRouterRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateVirtualBorderRouterRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateVirtualBorderRouterRequest setPeerGatewayIp(String peerGatewayIp)
public String getPeerGatewayIp()
public CreateVirtualBorderRouterRequest setPeerIpv6GatewayIp(String peerIpv6GatewayIp)
public String getPeerIpv6GatewayIp()
public CreateVirtualBorderRouterRequest setPeeringIpv6SubnetMask(String peeringIpv6SubnetMask)
public String getPeeringIpv6SubnetMask()
public CreateVirtualBorderRouterRequest setPeeringSubnetMask(String peeringSubnetMask)
public String getPeeringSubnetMask()
public CreateVirtualBorderRouterRequest setPhysicalConnectionId(String physicalConnectionId)
public String getPhysicalConnectionId()
public CreateVirtualBorderRouterRequest setRegionId(String regionId)
public String getRegionId()
public CreateVirtualBorderRouterRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateVirtualBorderRouterRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateVirtualBorderRouterRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateVirtualBorderRouterRequest setTags(List<CreateVirtualBorderRouterRequest.CreateVirtualBorderRouterRequestTags> tags)
public List<CreateVirtualBorderRouterRequest.CreateVirtualBorderRouterRequestTags> getTags()
public CreateVirtualBorderRouterRequest setVbrOwnerId(Long vbrOwnerId)
public Long getVbrOwnerId()
public CreateVirtualBorderRouterRequest setVlanId(Integer vlanId)
public Integer getVlanId()
Copyright © 2024. All rights reserved.