docs
api
Cloud Memory(UMem)
DescribeURedisConfig

Query all configuration files of master-slave Redis - DescribeURedisConfig

Overview

Query all configuration files of master-slave Redis

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DescribeURedisConfig.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 ListYes
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
RegionFlagbooleanIs it a cross-IDC URedis (default is false)Yes
VersionstringRedis Version NumberNo
ConfigIdstringConfiguration File IDNo
OffsetintThe starting offset of the page display, the default value is 0No
LimitintNumber of items displayed per page, default value is 10No

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 count based on filter conditionsNo
DataSetarray[URedisConfigSet]Configuration File List See URedisConfigSetNo

Data Model

URedisConfigSet

Field NameTypeDescription InformationRequired
ZonestringZoneNo
ConfigIdstringConfiguration IDNo
NamestringConfiguration NameNo
DescriptionstringConfiguration DescriptionNo
VersionstringConfigure the corresponding Redis versionNo
IsModifystringWhether it can be modifiedNo
StatestringThe status of the configurationNo
CreateTimeintCreation Time (UNIX Timestamp)No
ModifyTimeintModification Time (UNIX Timestamp)No
RegionFlagbooleanIs it a cross-IDC URedis (default is false)No

Example

Request Example

https://api.surfercloud.com/?Action=DescribeURedisConfig
&Region=cn-zj
&Zone=cn-zj-01
&ConfigId=EmTNpurL
&Offset=8
&Limit=2
&ProjectId=VuPSDiad
&Version=qyhfGmaZ

Response Example

{
  "Action": "DescribeURedisConfigResponse",
  "DataSet": [
    {
      "ConfigId": "03f58ca9-b64d-4bdd-abc7-c6b9a46fd801",
      "CreateTime": 1425458755,
      "Description": "default-config",
      "IsModify": "Unmodifiable",
      "ModifyTime": 1425458755,
      "Name": "redis-3.0",
      "RegionFlag": false,
      "State": "Usable",
      "Version": "3.0",
      "Zone": "......"
    }
  ],
  "RetCode": 0,
  "TotalCount": 1
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved