senlin/api-ref/source/samples/policy-validate-response.json
yanyanhu 2be8d4cbd4 Add request/response sample for policy validate API doc
This patch adds request and response sample for policy-validate
API document.

Change-Id: I287caabd4b5acdf2a73f1471dff6aa1aa51e24fe
2016-10-21 04:20:02 -04:00

26 lines
691 B
JSON

{
"policy": {
"created_at": null,
"data": {},
"domain": null,
"id": null,
"name": "validated_policy",
"project": "1d567ed4ef51453a85545f018b68c26d",
"spec": {
"properties": {
"adjustment": {
"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": "990e4c1f4a414f74990b17d16f2540b5"
}
}