public class CreateVirtualPhysicalConnectionRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
CreateVirtualPhysicalConnectionRequest.CreateVirtualPhysicalConnectionRequestTag |
限定符和类型 | 字段和说明 |
---|---|
String |
description
The description of the hosted connection.
|
Boolean |
dryRun
Specifies whether to perform a dry run, without performing the actual request.
|
String |
name
The name of the hosted connection.
|
String |
orderMode
The payer for the hosted connection.
|
String |
physicalConnectionId
The ID of the Express Connect circuit over which the hosted connection is created.
|
String |
regionId
The region ID of the hosted connection.
|
String |
resourceGroupId
The ID of the resource group to which the hosted connection belongs.
|
String |
spec
The bandwidth value of the hosted connection.
|
List<CreateVirtualPhysicalConnectionRequest.CreateVirtualPhysicalConnectionRequestTag> |
tag
The tags.
|
String |
token
The client token that is used to ensure the idempotence of the request.
|
Long |
vlanId
The virtual local area network (VLAN) ID of the hosted connection.
|
Long |
vpconnAliUid
The Alibaba Cloud account ID of the tenant.
|
构造器和说明 |
---|
CreateVirtualPhysicalConnectionRequest() |
@NameInMap(value="Description") public String description
The description of the hosted connection.
The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with http://
or https://
.
desctest
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform a dry run, without performing the actual request. Default value: 45104. Valid values:
DRYRUN.SUCCESS
is returned.false
@NameInMap(value="Name") public String name
The name of the hosted connection.
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 but cannot start with http://
or https://
.
nametest
@NameInMap(value="OrderMode") public String orderMode
The payer for the hosted connection. Valid values:
This parameter is required.
example:PayByVirtualPhysicalConnectionOwner
@NameInMap(value="PhysicalConnectionId") public String physicalConnectionId
The ID of the Express Connect circuit over which the hosted connection is created.
This parameter is required.
example:pc-bp1ciz7ekd2grn1as****
@NameInMap(value="RegionId") public String regionId
The region ID of the hosted connection.
You can call the DescribeRegions operation to obtain the region ID.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the hosted connection belongs.
example:rg-aekzjty2chzuqky
@NameInMap(value="Spec") public String spec
The bandwidth value of the hosted connection.
Valid values: 50M, 100M, 200M, 300M, 400M, 500M, 1G, 2G, 5G, 8G, and 10G.
2G, 5G, 8G, and 10G are unavailable by default. If you want to use these bandwidth values, contact your account manager.
M indicates Mbit/s and G indicates Gbit/s.
This parameter is required.
example:50M
@NameInMap(value="Tag") public List<CreateVirtualPhysicalConnectionRequest.CreateVirtualPhysicalConnectionRequestTag> tag
The tags.
@NameInMap(value="Token") public String token
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.
CBCE910E-D396-4944-8****
@NameInMap(value="VlanId") public Long vlanId
The virtual local area network (VLAN) ID of the hosted connection. Valid values: 0 to 2999.
This parameter is required.
example:4
@NameInMap(value="VpconnAliUid") public Long vpconnAliUid
The Alibaba Cloud account ID of the tenant.
This parameter is required.
example:1210123456123456
public static CreateVirtualPhysicalConnectionRequest build(Map<String,?> map) throws Exception
Exception
public CreateVirtualPhysicalConnectionRequest setDescription(String description)
public String getDescription()
public CreateVirtualPhysicalConnectionRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public CreateVirtualPhysicalConnectionRequest setName(String name)
public String getName()
public CreateVirtualPhysicalConnectionRequest setOrderMode(String orderMode)
public String getOrderMode()
public CreateVirtualPhysicalConnectionRequest setPhysicalConnectionId(String physicalConnectionId)
public String getPhysicalConnectionId()
public CreateVirtualPhysicalConnectionRequest setRegionId(String regionId)
public String getRegionId()
public CreateVirtualPhysicalConnectionRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateVirtualPhysicalConnectionRequest setSpec(String spec)
public String getSpec()
public CreateVirtualPhysicalConnectionRequest setTag(List<CreateVirtualPhysicalConnectionRequest.CreateVirtualPhysicalConnectionRequestTag> tag)
public List<CreateVirtualPhysicalConnectionRequest.CreateVirtualPhysicalConnectionRequestTag> getTag()
public CreateVirtualPhysicalConnectionRequest setToken(String token)
public String getToken()
public CreateVirtualPhysicalConnectionRequest setVlanId(Long vlanId)
public Long getVlanId()
public CreateVirtualPhysicalConnectionRequest setVpconnAliUid(Long vpconnAliUid)
public Long getVpconnAliUid()
Copyright © 2024. All rights reserved.