This patch adds documentation for policies releated APIs. It also fixes some trivial bugs in previous patches for profiles APIs. Change-Id: Ia8dfb103fe0b3b096b14a77c43e8dc83c9c23a85
18 lines
408 B
JSON
18 lines
408 B
JSON
{
|
|
"policy": {
|
|
"name": "sp001",
|
|
"spec": {
|
|
"properties": {
|
|
"adjustment": {
|
|
"min_step": 1,
|
|
"number": 1,
|
|
"type": "CHANGE_IN_CAPACITY"
|
|
},
|
|
"event": "CLUSTER_SCALE_IN"
|
|
},
|
|
"type": "senlin.policy.scaling",
|
|
"version": "1.0"
|
|
}
|
|
}
|
|
}
|