summaryrefslogtreecommitdiffstats
path: root/src/commands/sentinel-set.json
blob: 3e861961191341afece68e1b714f961971806005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
    "SET": {
        "summary": "Changes the configuration of a monitored Redis master.",
        "complexity": "O(1)",
        "group": "sentinel",
        "since": "2.8.4",
        "arity": -5,
        "container": "SENTINEL",
        "function": "sentinelCommand",
        "command_flags": [
            "ADMIN",
            "SENTINEL",
            "ONLY_SENTINEL"
        ],
        "reply_schema": {
            "const": "OK"
        },
        "arguments": [
            {
                "name": "master-name",
                "type": "string"
            },
            {
                "name": "data",
                "type": "block",
                "multiple": true,
                "arguments": [
                    {
                        "name": "option",
                        "type": "string"
                    },
                    {
                        "name": "value",
                        "type": "string"
                    }
                ]
            }
        ]
    }
}