Docs
api
Cloud Memory(UMem)
DescribeUMemcacheGroup

Display Memcache - DescribeUMemcacheGroup

Overview

Display Memcache

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DescribeUMemcacheGroup.Yes
PublicKeystringThe user’s public key can be obtained from ConsoleYes
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
GroupIdstringGroup ID, if specified, the description is obtained, otherwise it is a list operation, Offset/Limit must be specifiedNo
OffsetintThe starting offset for pagination display, the default value is 0.No
LimitintNumber of items displayed per page, default value is 20No

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
TotalCountintTotal number of nodes in the groupNo
DataSetarray[UMemcacheGroupSet]Group List, see UMemcacheGroupSetNo

Data Model

UMemcacheGroupSet

Field NameTypeDescription InformationRequired
GroupIdstringGroup IDNo
NamestringGroup NameNo
ConfigIdstringConfiguration ID of the nodeNo
VirtualIPstringVirtual IP address of the nodeNo
PortintService port assigned to the nodeNo
SizeintCapacity Unit GBNo
UsedSizeintUsage Unit MBNo
VersionstringMemcache version information, default is 1.4.31No
StatestringStatus Tag Creating // Initializing CreateFail // Creation Failed Deleting // Deleting DeleteFail // Deletion Failed Running // Running Resizing // Resizing ResizeFail // Resize Failed Configing // Configuring ConfigFail // Configuration Failed Restarting // RestartingNo
CreateTimeintCreation Time (UNIX Timestamp)No
ModifyTimeintModification Time (UNIX Timestamp)No
ExpireTimeintExpiration Time (UNIX Timestamp)No
ChargeTypestringBilling Type: Yearly, Monthly, Dynamic. Default is Dynamic.No
TagstringBusiness Group NameNo

Example

Request Example

https://api.dezai.com/?Action=DescribeUMemcacheGroup
&Region=cn-east-01
&GroupId=umemcache-00f986
&Offset=0
&Limit=20
&Tag=Default

Response Example

{
  "Action": "DescribeUMemcacheGroupResponse",
  "DataSet": [
    {
      "ChargeType": "Month",
      "ConfigId": "9a891891-c245-4b66-bcexxxxxxxxx",
      "CreateTime": 1522222,
      "ExpireTime": 12345,
      "GroupId": "umemcache-xxxxx",
      "ModifyTime": 1522222,
      "Name": "test1233",
      "Port": 11211,
      "Size": 2,
      "State": "Running",
      "Tag": "Default",
      "UsedSize": 0,
      "Version": "1.4.33",
      "VirtualIP": "x.xx.x.x"
    }
  ],
  "RetCode": 0
}