public class CreateHaVipRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
CreateHaVipRequest.CreateHaVipRequestTag |
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
description
The description of the HAVIP.
|
String |
ipAddress
The IP address of the HAVIP.
|
String |
name
The name of the HAVIP.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID of the HAVIP.
|
String |
resourceGroupId
The ID of the resource group to which the HAVIP belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
List<CreateHaVipRequest.CreateHaVipRequestTag> |
tag
The tag of the resource.
|
String |
vSwitchId
The ID of the vSwitch to which the HAVIP belongs.
|
构造器和说明 |
---|
CreateHaVipRequest() |
@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 the value 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 for each API request may be different.
0c593ea1-3bea-11e9-b96b-88e9fe637760
@NameInMap(value="Description") public String description
The description of the HAVIP.
The description must be 1 to 256 characters in length and cannot start with http://
or https://
.
This is my HaVip.
@NameInMap(value="IpAddress") public String ipAddress
The IP address of the HAVIP.
The specified IP address must be an idle IP address that falls within the CIDR block of the vSwitch. If this parameter is not set, an idle IP address from the CIDR block of the vSwitch is randomly assigned to the HAVIP.
example:192.XX.XX.10
@NameInMap(value="Name") public String name
The name of the HAVIP.
The name must be 1 to 128 characters in length, and cannot start with http://
or https://
.
test
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the HAVIP. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the HAVIP belongs.
example:rg-acfmxazb4ph6aiy****
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="Tag") public List<CreateHaVipRequest.CreateHaVipRequestTag> tag
The tag of the resource.
@NameInMap(value="VSwitchId") public String vSwitchId
The ID of the vSwitch to which the HAVIP belongs.
This parameter is required.
example:vsw-asdfjlnaue4g****
public static CreateHaVipRequest build(Map<String,?> map) throws Exception
Exception
public CreateHaVipRequest setClientToken(String clientToken)
public String getClientToken()
public CreateHaVipRequest setDescription(String description)
public String getDescription()
public CreateHaVipRequest setIpAddress(String ipAddress)
public String getIpAddress()
public CreateHaVipRequest setName(String name)
public String getName()
public CreateHaVipRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateHaVipRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateHaVipRequest setRegionId(String regionId)
public String getRegionId()
public CreateHaVipRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateHaVipRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateHaVipRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateHaVipRequest setTag(List<CreateHaVipRequest.CreateHaVipRequestTag> tag)
public List<CreateHaVipRequest.CreateHaVipRequestTag> getTag()
public CreateHaVipRequest setVSwitchId(String vSwitchId)
public String getVSwitchId()
Copyright © 2024. All rights reserved.