docs
api
Cloud Memory(UMem)
CreateUMemcacheGroup

Create Single Memcache Instance - CreateUMemcacheGroup

Overview

Create Single Memcache Instance

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is CreateUMemcacheGroup.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See List of Regions and Availability ZonesYes
ZonestringAvailability Zone. See Availability Zone ListNo
ProjectIdstringProject ID. If not filled in, the default project is used, and the sub-account must be filled in. Please refer to the GetProjectList interface.No
NamestringRequest to create a group name Range[6-60]Yes
SizeintThe size of the memory for each node, in GB, is set to 1GB by default. Currently, only the following tiers are supported: 1/2/4/8/16/32.No
ConfigIdstringConfiguration ID, currently only supports the default configuration id. Default configuration id: '9a891891-c245-4b66-bce8-67e59430d67c'".No
VersionstringMemcache version information, default is 1.4.31No
ChargeTypestringBilling Mode, Year, Month, Dynamic Default: MonthNo
QuantityintPurchase duration, default is 1No
TagstringBusiness Group Default: DefaultNo
ProtocolstringNo
CouponIdstringCoupon IDNo

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
GroupIdstringCreated Group IDNo

Example

Request Example

https://api.surfercloud.com/?Action=CreateUMemcacheGroup
&Region=cn-bj2
&Zone=cn-bj2-04
&Name=djdj_XXXXX
&SubnetId=qVnAwdPw
&Protocol=fmwGhgdR

Response Example

{
  "Action": "CreateUMemcacheGroupResponse",
  "GroupId": "00f9868c-c7f5-4852-9eac-d200b678f0e1",
  "RetCode": 0
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved