public class CreateVSwitchRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
CreateVSwitchRequest.CreateVSwitchRequestTag |
限定符和类型 | 字段和说明 |
---|---|
String |
cidrBlock
The CIDR block of the vSwitch.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
description
The description of the vSwitch.
|
Integer |
ipv6CidrBlock
The last eight bits of the IPv6 CIDR block of the vSwitch.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID of the vSwitch.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
List<CreateVSwitchRequest.CreateVSwitchRequestTag> |
tag
The tag of the resource.
|
String |
vpcId
The ID of the VPC where you want to create the vSwitch.
|
String |
vpcIpv6CidrBlock
The IPv6 CIDR block of the VPC.
|
String |
vSwitchName
The name of the vSwitch.
|
String |
zoneId
The zone ID of the vSwitch.
|
构造器和说明 |
---|
CreateVSwitchRequest() |
@NameInMap(value="CidrBlock") public String cidrBlock
The CIDR block of the vSwitch. Take note of the following limits:
This parameter is required.
example:172.16.0.0/24
@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 all requests. The token can contain only ASCII characters.
example:If you do not specify this parameter, ClientToken is set to the value of RequestId. The value of RequestId may be different for each API request.
0c593ea1-3bea-11e9-b96b-88e9fe63****
@NameInMap(value="Description") public String description
The description of the vSwitch.
The description must be 1 to 256 characters in length and cannot start with http://
or https://
.
vSwitch
@NameInMap(value="Ipv6CidrBlock") public Integer ipv6CidrBlock
The last eight bits of the IPv6 CIDR block of the vSwitch. Valid values: 0 to 255.
example:12
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the vSwitch.
You can call the DescribeRegions operation to query the most recent region list.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="Tag") public List<CreateVSwitchRequest.CreateVSwitchRequestTag> tag
The tag of the resource.
@NameInMap(value="VSwitchName") public String vSwitchName
The name of the vSwitch.
The name must be 1 to 128 characters in length, and cannot start with http://
or https://
.
vSwitch-1
@NameInMap(value="VpcId") public String vpcId
The ID of the VPC where you want to create the vSwitch.
This parameter is required.
example:vpc-257gqcdfvx6n****
@NameInMap(value="VpcIpv6CidrBlock") public String vpcIpv6CidrBlock
The IPv6 CIDR block of the VPC.
example:2408:XXXX:0:6a::/56
@NameInMap(value="ZoneId") public String zoneId
The zone ID of the vSwitch.
You can call the DescribeZones operation to query the most recent zone list.
This parameter is required.
example:cn-hangzhou-b
public static CreateVSwitchRequest build(Map<String,?> map) throws Exception
Exception
public CreateVSwitchRequest setCidrBlock(String cidrBlock)
public String getCidrBlock()
public CreateVSwitchRequest setClientToken(String clientToken)
public String getClientToken()
public CreateVSwitchRequest setDescription(String description)
public String getDescription()
public CreateVSwitchRequest setIpv6CidrBlock(Integer ipv6CidrBlock)
public Integer getIpv6CidrBlock()
public CreateVSwitchRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateVSwitchRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateVSwitchRequest setRegionId(String regionId)
public String getRegionId()
public CreateVSwitchRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateVSwitchRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateVSwitchRequest setTag(List<CreateVSwitchRequest.CreateVSwitchRequestTag> tag)
public List<CreateVSwitchRequest.CreateVSwitchRequestTag> getTag()
public CreateVSwitchRequest setVSwitchName(String vSwitchName)
public String getVSwitchName()
public CreateVSwitchRequest setVpcId(String vpcId)
public String getVpcId()
public CreateVSwitchRequest setVpcIpv6CidrBlock(String vpcIpv6CidrBlock)
public String getVpcIpv6CidrBlock()
public CreateVSwitchRequest setZoneId(String zoneId)
public String getZoneId()
Copyright © 2024. All rights reserved.