75352a6203
This patch adds documentation for policies releated APIs. It also fixes some trivial bugs in previous patches for profiles APIs. Change-Id: Ia8dfb103fe0b3b096b14a77c43e8dc83c9c23a85
27 lines
772 B
JSON
27 lines
772 B
JSON
{
|
|
"policy": {
|
|
"created_at": "2015-03-02T07:40:31",
|
|
"data": {},
|
|
"domain": null,
|
|
"id": "02f62195-2198-4797-b0a9-877632208527",
|
|
"name": "sp001",
|
|
"project": "42d9e9663331431f97b75e25136307ff",
|
|
"spec": {
|
|
"properties": {
|
|
"adjustment": {
|
|
"best_effort": true,
|
|
"min_step": 1,
|
|
"number": 1,
|
|
"type": "CHANGE_IN_CAPACITY"
|
|
},
|
|
"event": "CLUSTER_SCALE_IN"
|
|
},
|
|
"type": "senlin.policy.scaling",
|
|
"version": "1.0"
|
|
},
|
|
"type": "senlin.policy.scaling-1.0",
|
|
"updated_at": null,
|
|
"user": "5e5bf8027826429c96af157f68dc9072"
|
|
}
|
|
}
|