Questo contenuto non è disponibile nella lingua selezionata.
11.10. Enable High Availability (HA) on Application
Description
Enable high availability (HA) feature on an application.
Method and URL Structure
Method | URL Structure |
---|---|
POST | /broker/rest/application/:id/events |
Request Parameters
Name | Description | Required | Default |
---|---|---|---|
event | Event | Yes |
See Section A.6, “Applications” for more information about the valid options applicable to these request parameters.
Request
{ "event": "make-ha" }
{
"event": "make-ha"
}
cURL Command Example
curl -X POST https://openshift.redhat.com/broker/rest/application/527ade9d7f9c48d37100000a/events --user user@example.com:password --data-urlencode event=make-ha
$ curl -X POST https://openshift.redhat.com/broker/rest/application/527ade9d7f9c48d37100000a/events --user user@example.com:password --data-urlencode event=make-ha