You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.4 KiB
51 lines
1.4 KiB
{
|
|
"RESTORE": {
|
|
"summary": "Restore all the functions on the given payload",
|
|
"complexity": "O(N) where N is the number of functions on the payload",
|
|
"group": "scripting",
|
|
"since": "7.0.0",
|
|
"arity": -3,
|
|
"container": "FUNCTION",
|
|
"function": "functionRestoreCommand",
|
|
"command_flags": [
|
|
"NOSCRIPT",
|
|
"WRITE",
|
|
"DENYOOM"
|
|
],
|
|
"acl_categories": [
|
|
"SCRIPTING"
|
|
],
|
|
"command_tips": [
|
|
"REQUEST_POLICY:ALL_SHARDS",
|
|
"RESPONSE_POLICY:ALL_SUCCEEDED"
|
|
],
|
|
"arguments": [
|
|
{
|
|
"name": "serialized-value",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "policy",
|
|
"type": "oneof",
|
|
"optional": true,
|
|
"arguments": [
|
|
{
|
|
"name": "flush",
|
|
"type": "pure-token",
|
|
"token": "FLUSH"
|
|
},
|
|
{
|
|
"name": "append",
|
|
"type": "pure-token",
|
|
"token": "APPEND"
|
|
},
|
|
{
|
|
"name": "replace",
|
|
"type": "pure-token",
|
|
"token": "REPLACE"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|