docs
api
Cloud Memory(UMem)
DescribeURedisGroup

Query Master-Slave Redis - DescribeURedisGroup

Overview

Query Master-Slave Redis

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DescribeURedisGroup.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, sub-accounts 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[URedisGroupSet]Group List See URedisGroupSetNo

Data Model

URedisGroupSet

Field NameTypeDescription InformationRequired
ZonestringThe availability zone where the instance is located, or the availability zone where the master redis is located, see Availability Zone ListNo
RewriteTimeintReturn operation and maintenance time 0 //0 o'clock 1 //1 o'clock and so onYes
RolestringInstance TypeYes
VPCIdstringvpcidNo
SubnetIdstringsubnetidNo
GroupIdstringGroup IDNo
NamestringGroup NameNo
TypestringSpace Type: single (no hot backup), double (hot backup)No
ProtocolstringProtocolNo
MemorySizeintCapacity Unit GBNo
GroupNamestringGroup NameNo
ConfigIdstringConfiguration ID of the nodeNo
VirtualIPstringVirtual IP address of the nodeNo
PortintService port assigned to the nodeNo
SizeintCapacity Unit GBNo
UsedSizeintUsage Unit MBNo
AutoBackupstringDo you need automatic backup, enable, disableNo
BackupTimeintGroup automatic backup start time, measured in hours, range [0-23]No
HighAvailabilitystringEnable high availability, enable, disableNo
VersionstringRedis Version InformationNo
ExpireTimeintExpiration Time (UNIX Timestamp)No
ChargeTypestringBilling Type: Yearly, Monthly, Dynamic. Default is Dynamic.No
StatestringStatus Marker Creating // Initializing CreateFail // Creation Failed Deleting // Deleting DeleteFail // Deletion Failed Running // Running Resizing // Resizing ResizeFail // Resize Failed Configing // Configuring ConfigFail // Configuration FailedNo
CreateTimeintCreation Time (UNIX Timestamp)No
ModifyTimeintModification Time (UNIX Timestamp)No
TagstringBusiness Group NameNo
SlaveZonestringCross-IDC URedis, the availability zone where the slave redis is located, see Availability Zone ListNo
IsHighPerformancebooleanIs it a high-performance Redis, true means yes; false means noNo

Example

Request Example

https://api.surfercloud.com/?Action=DescribeURedisGroup
&Region=cn-bj2
&Zone=SZQDzLQZ

Response Example

{
  "Action": "DescribeURedisGroupResponse",
  "DataSet": [
    {
      "AutoBackup": "disable",
      "BackupTime": 3,
      "ChargeType": "Month",
      "ConfigId": "03fXXXXca9-b64d-4XXd-abc7-c6b9XXXXX801",
      "CreateTime": 1529912330,
      "ExpireTime": 1530374400,
      "GroupId": "uredis-gXXXXXbz",
      "GroupName": "zbredia_XXXXX_modify",
      "HighAvailability": "enable",
      "MemorySize": 4,
      "ModifyTime": 1529912337,
      "Name": "zbreXXia_XXXXX_modify",
      "Port": 6379,
      "Protocol": "redis",
      "Size": 4,
      "SlaveZone": "",
      "State": "Running",
      "SubnetId": "subnet-iXXXXhz",
      "Tag": "Default",
      "Type": "double",
      "UsedSize": 61,
      "VPCId": "uvnet-oXXXX4j",
      "Version": "3.0",
      "VirtualIP": "XX.X9.XX.1XX",
      "Zone": "cn-bj2-04"
    }
  ],
  "RetCode": 0,
  "TotalCount": 1
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved