public class CreateVSwitchCidrReservationRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
CreateVSwitchCidrReservationRequest.CreateVSwitchCidrReservationRequestTag |
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
dryRun
Specifies whether to perform only a dry run, without performing the actual request.
|
String |
ipVersion
The IP version of the reserved CIDR block.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The ID of the region where the vSwitch is deployed.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
List<CreateVSwitchCidrReservationRequest.CreateVSwitchCidrReservationRequestTag> |
tag
Resource tags
|
String |
vSwitchCidrReservationCidr
The reserved CIDR block of the vSwitch.
|
String |
vSwitchCidrReservationDescription
The description of the reserved CIDR block.
|
String |
vSwitchCidrReservationMask
The subnet mask of the reserved CIDR block.
|
String |
vSwitchCidrReservationName
The name of the reserved CIDR block.
|
String |
vSwitchCidrReservationType
The type of reserved CIDR block.
|
String |
vSwitchId
The ID of the vSwitch to which the reserved CIDR block belongs.
|
构造器和说明 |
---|
CreateVSwitchCidrReservationRequest() |
@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="DryRun") public Boolean dryRun
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
DryRunOperation
error code is returned.false
@NameInMap(value="IpVersion") public String ipVersion
The IP version of the reserved CIDR block. Valid values:
IPv4
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The ID of the region where the vSwitch is deployed.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="Tag") public List<CreateVSwitchCidrReservationRequest.CreateVSwitchCidrReservationRequestTag> tag
Resource tags
@NameInMap(value="VSwitchCidrReservationCidr") public String vSwitchCidrReservationCidr
The reserved CIDR block of the vSwitch.
example:You must specify one of VSwitchCidrReservationMask and VSwitchCidrReservationCidr.
192.168.1.64/28
@NameInMap(value="VSwitchCidrReservationDescription") public String vSwitchCidrReservationDescription
The description of the reserved CIDR block. This parameter is empty by default.
The description must be 2 to 256 characters in length. It must start with a letter and cannot start with http://
or https://
.
ReservationDescription
@NameInMap(value="VSwitchCidrReservationMask") public String vSwitchCidrReservationMask
The subnet mask of the reserved CIDR block.
example:You must specify one of VSwitchCidrReservationMask and VSwitchCidrReservationCidr.
28
@NameInMap(value="VSwitchCidrReservationName") public String vSwitchCidrReservationName
The name of the reserved CIDR block.
The name must be 2 to 128 characters in length and can contain digits, underscores (_), and hyphens (-). It must start with a letter.
example:ReservationName
@NameInMap(value="VSwitchCidrReservationType") public String vSwitchCidrReservationType
The type of reserved CIDR block. Set the value to prefix.
example:When a user or a cloud service allocates a CIDR block to an elastic network interface (ENI), the CIDR block must be allocated from the reserved CIDR block. If the reserved CIDR block is exhausted, an error is returned.
prefix
@NameInMap(value="VSwitchId") public String vSwitchId
The ID of the vSwitch to which the reserved CIDR block belongs.
This parameter is required.
example:vsw-25navfgbue4g****
public static CreateVSwitchCidrReservationRequest build(Map<String,?> map) throws Exception
Exception
public CreateVSwitchCidrReservationRequest setClientToken(String clientToken)
public String getClientToken()
public CreateVSwitchCidrReservationRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public CreateVSwitchCidrReservationRequest setIpVersion(String ipVersion)
public String getIpVersion()
public CreateVSwitchCidrReservationRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateVSwitchCidrReservationRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateVSwitchCidrReservationRequest setRegionId(String regionId)
public String getRegionId()
public CreateVSwitchCidrReservationRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateVSwitchCidrReservationRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateVSwitchCidrReservationRequest setTag(List<CreateVSwitchCidrReservationRequest.CreateVSwitchCidrReservationRequestTag> tag)
public List<CreateVSwitchCidrReservationRequest.CreateVSwitchCidrReservationRequestTag> getTag()
public CreateVSwitchCidrReservationRequest setVSwitchCidrReservationCidr(String vSwitchCidrReservationCidr)
public String getVSwitchCidrReservationCidr()
public CreateVSwitchCidrReservationRequest setVSwitchCidrReservationDescription(String vSwitchCidrReservationDescription)
public String getVSwitchCidrReservationDescription()
public CreateVSwitchCidrReservationRequest setVSwitchCidrReservationMask(String vSwitchCidrReservationMask)
public String getVSwitchCidrReservationMask()
public CreateVSwitchCidrReservationRequest setVSwitchCidrReservationName(String vSwitchCidrReservationName)
public String getVSwitchCidrReservationName()
public CreateVSwitchCidrReservationRequest setVSwitchCidrReservationType(String vSwitchCidrReservationType)
public String getVSwitchCidrReservationType()
public CreateVSwitchCidrReservationRequest setVSwitchId(String vSwitchId)
public String getVSwitchId()
Copyright © 2024. All rights reserved.