查询参数组列表

url参数

ActionVersionMethod描述
ListParameterGroup2018-03-22GET删除参数组

请求参数

参数名称说明参数类型是否必填
TypeId实例类型, 0: 基础版; 1:主从版; 2: 集群版; 3: Sentinel版,不传将获取所有实例类型的参数组。Integer
EngineVersion实例类型对应的引擎版本; 基础版: 2.8.24,主从版: 2.8.24; 集群版: 3.2.5或4.0.0; Sentinel: 2.8.24-standard,不传将获取所有引擎版本信息。String
Limit分页大小,1~1000Integer
Offset偏移量,最小值:0Integer
ActionListParameterGroupString
Version2018-03-22String

返回参数

参数名称参数类型描述
RequestIdString请求id
CodeString公共状态码, “Success”表示成功,其他值表示失败。
MessageString信息描述
TotalCountInteger参数组总数
ParameterGroupSetArray参数组列表

状态码

错误码(Code)错误提示(Message)HTTP状态码说明
Success200请求成功
InvalidParameterValue参数XX不合法400参数不合法

请求示例

GET https://open.cn-east-1.163yun.com/ncr?Action=ListParameterGroup&Version=2018-03-22&EngineVersion=2.8.24&TypeId=1&Limit=10&Offset=0

返回示例

{
    "RequestId": "re3344",
    "Code": "Success",
    "TotalCount": 2,
    "ParameterGroupSet": [
        {
            "Id": 0,
            "Name": "default-ha-redis2.8",
            "TypeId": 1,
            "EngineVersion": "2.8",
            "Parameters": {
                "maxmemory-policy": "volatile-lru",
                "hash-max-ziplist-entries": "512",
                "activedefrag": "no",
                "zset-max-ziplist-entries": "512",
                "maxmemory-samples": "3",
                "active-defrag-cycle-max": "75",
                "active-defrag-ignore-bytes": "100mb",
                "reserved-memory-percent": "25",
                "hll-sparse-max-bytes": "3000",
                "notify-keyspace-events": "",
                "active-defrag-threshold-lower": "10",
                "loglevel": "notice",
                "list-max-ziplist-entries": "512",
                "list-max-ziplist-value": "64",
                "set-max-intset-entries": "512",
                "zset-max-ziplist-value": "64",
                "hash-max-ziplist-value": "64",
                "active-defrag-threshold-upper": "100",
                "active-defrag-cycle-min": "25"
            },
            "Description": "Default parameter group",
            "IsDefault": true,
            "CreteTime": 0,
            "UpdateTime": 0
        },
        {
            "Id": 18,
            "Name": "parametergrouptest4",
            "TypeId": 1,
            "EngineVersion": "2.8",
            "Parameters": {
                "maxmemory-policy": "volatile-random",
                "hash-max-ziplist-entries": "512",
                "activedefrag": "no",
                "zset-max-ziplist-entries": "512",
                "maxmemory-samples": "3",
                "active-defrag-cycle-max": "75",
                "active-defrag-ignore-bytes": "100mb",
                "reserved-memory-percent": "25",
                "hll-sparse-max-bytes": "3000",
                "notify-keyspace-events": null,
                "active-defrag-threshold-lower": "10",
                "loglevel": "notice",
                "list-max-ziplist-entries": "512",
                "list-max-ziplist-value": "64",
                "set-max-intset-entries": "512",
                "zset-max-ziplist-value": "64",
                "hash-max-ziplist-value": "64",
                "active-defrag-threshold-upper": "100",
                "active-defrag-cycle-min": "25"
            },
            "Description": "test",
            "IsDefault": false,
            "CreteTime": 1547627418684,
            "UpdateTime": 1547627418684
        }
    ]
}