Create a Tair VNode instance
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:CreateTairKVCacheVNode |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where you want to create the instance. |
cn-beijing |
| ZoneId |
string |
Yes |
The ID of the zone where you want to create the instance. |
cn-beijing-f |
| InstanceName |
string |
No |
The name of the new instance. The name must be 2 to 80 characters long and must start with a letter (case-insensitive) or a Chinese character. Spaces and the following special characters are not supported: |
vnodetest |
| InstanceClass |
string |
Yes |
The instance specification. |
kvcache.cu.g4b.2 |
| ComputeUnitNum |
integer |
Yes |
The number of compute units. Currently, only one compute unit is supported. Valid values:
|
1 |
| VkName |
string |
Yes |
The ID of the virtual cluster that hosts the VNode. |
tk-2ze4bba3c8fe**** |
| VSwitchId |
string |
Yes |
The ID of the vSwitch for the instance. The vSwitch must belong to the VPC that is associated with the specified virtual cluster. You can call the DescribeVpcs operation to obtain the vSwitch ID. Note
The vSwitch must be in the same zone as the instance. |
vsw-bp1e7clcw529l773d**** |
| ChargeType |
string |
No |
The billing method for the instance. Valid value:
Valid values:
|
PrePaid |
| Period |
integer |
No |
The subscription period in months. Valid values: 1 to 9, 12, 24, and 36. Note
This parameter is required when the ChargeType parameter is set to PrePaid. |
1 |
| BusinessInfo |
string |
No |
Additional business information, such as a promotion ID. |
000000000 |
| CouponNo |
string |
No |
The coupon code. |
youhuiquan_promotion_option_id_for_blank |
| AutoUseCoupon |
boolean |
No |
Specifies whether to use a coupon. Valid values:
|
false |
| AutoRenew |
boolean |
No |
Specifies whether to enable auto-renewal. Valid values:
|
false |
| AutoRenewPeriod |
string |
No |
The auto-renewal period, in months. Valid values: 1, 2, 3, 6, and 12. Note
This parameter is required when the AutoRenew parameter is set to true. |
1 |
| ResourceGroupId |
string |
No |
The ID of the resource group to which the instance will belong. Note
|
rg-acfmyiu4ekp**** |
| AutoPay |
boolean |
No |
Specifies whether to automatically complete the payment. The value must be true. |
true |
| ClientToken |
string |
No |
A client-generated token that ensures request idempotence. This token must be unique across requests, is case-sensitive, and cannot exceed 64 ASCII characters. |
ETnLKlblzczshOTUbOCz**** |
| Tag |
array<object> |
No |
The tags to add to the instance. You can specify a maximum of five tags. |
|
|
object |
No |
|
||
| Key |
string |
No |
The tag key. Note
You can specify up to 5 tag key-value pairs at a time. |
value1_test |
| Value |
string |
No |
The tag value. Note
N represents the index of a tag, starting from 1. For example, Tag.1.Value is the value of the first tag. |
key1_test |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run. Valid values:
|
false |
| VNodeType |
string |
No |
This parameter is no longer used. |
|
| ElasticTimeRange |
string |
No |
This parameter is no longer used. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
2BE6E619-A657-42E3-AD2D-18F8428A**** |
| InstanceId |
string |
The instance ID of the virtual node. |
tv-2zeb1ce76fee**** |
| OrderId |
integer |
The order ID. |
20905403119**** |
| RegionId |
string |
The region ID. |
cn-beijing |
| ZoneId |
string |
The zone ID. |
cn-beijing-f |
| VkName |
string |
The instance ID of the virtual cluster. |
tk-2ze4bba3c8fe**** |
| VClusterId |
string |
The ID of the virtual cluster. |
vc-16965a9267*****-***** |
| NodeId |
string |
The ID of the virtual node. |
vn-03a49876edb**** |
Examples
Success response
JSON format
{
"RequestId": "2BE6E619-A657-42E3-AD2D-18F8428A****",
"InstanceId": "tv-2zeb1ce76fee****",
"OrderId": 0,
"RegionId": "cn-beijing",
"ZoneId": "cn-beijing-f",
"VkName": "tk-2ze4bba3c8fe****\n",
"VClusterId": "vc-16965a9267*****-*****",
"NodeId": "vn-03a49876edb****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | Period is mandatory for this action. | |
| 400 | InvalidToken.Malformed | The Specified parameter Token is not valid. | |
| 400 | InvalidInstanceName.Malformed | The Specified parameter InstanceName is not valid. | |
| 400 | InvalidPassword.Malformed | The Specified parameter Password is not valid. | |
| 400 | InsufficientBalance | Your account does not have enough balance. | |
| 400 | QuotaExceed.AfterpayInstance | Living afterpay instances quota exceeded. | |
| 400 | InvalidCapacity.NotFound | The Capacity provided does not exist in our records. | |
| 400 | ResourceNotAvailable | Resource you requested is not available for finance user. | |
| 400 | PaymentMethodNotFound | No payment method has been registered on the account. | |
| 400 | IdempotentParameterMismatch | Request uses a client token in a previous request but is not identical to that request. | Idempotent check. |
| 400 | QuotaNotEnough | Quota not enough in this zone. | |
| 400 | QuotaExceed | Living afterpay instances quota exceed. | |
| 400 | VpcServiceError | Invoke vpc service failed. | |
| 400 | IzNotSupportVpcError | Specify iz not support vpc. | |
| 400 | InvalidvSwitchId | The vpc does not cover the vswitch. | |
| 400 | InvalidIzNo.NotSupported | The Specified vpc zone not supported. | |
| 400 | InvalidAccountPassword.Format | Specified account password is not valid. | |
| 400 | InstanceClass.NotMatch | Current instance class and instance type is not match. | |
| 400 | InvalidVPCId.NotFound | Specified virtual vpc is not found. | The specified VPC is not found. Check whether the VPC ID is correct. |
| 400 | AccountMoneyValidateError | Account money validate error. | |
| 400 | RequestTokenConflict | Specified request token conflict. | |
| 400 | InvalidIPNotInSubnet | Error ip not in subnet. | |
| 400 | InvalidEngineVersion.Malformed | Specified engine version is not valid. | The error message returned because the instance engine version is invalid. |
| 400 | Zone.Closed | The specified zone is closed. | |
| 400 | VSwithNotBelongToNotVpcFault | The vSwitch does not belong to current vpc. | |
| 400 | PayIllegalAgreement | Pay mayi with holding agreement illegal. | |
| 400 | IllegalParamError | validateSaleConditionWithSubArticle failed. | |
| 400 | InvalidRegion.Format | Specified Region is not valid. | The specified region is invalid. |
| 403 | RealNameAuthenticationError | Your account has not passed the real-name authentication yet. | |
| 403 | AuthorizationFailure | The request processing has failed due to authorization failure. | |
| 403 | TokenServiceError | The specified token is duplicated, please change it. | |
| 403 | UserCannotBuyNotInnerCommodity | The user can not buy this commodity without alibaba group tag. | |
| 404 | InvalidCapacity.NotFound | The Capacity provided does not exist in our records. | The specified storage specification does not exist. |
| 404 | InvalidvSwitchId | The Specified vSwitchId zone not supported. | |
| 404 | InvalidVpcIdOrVswitchId.NotSupported | The Specified vpcId or vSwitchId not supported. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.