Balancer¶
Overview¶
Balancer requests can be used to set and retrieve Balancer information using GET
and PUT
.
POST
and DELETE
are not supported and sending a message of either of these types will result in a 501 Not Implemented Error message.
For more about these request types and their uses see the Request Formats and Responses documentation.
Requests and Responses¶
List of possible requests for Balancer.
Get Balancer Names¶
Gets all the Balancer names.
URL: |
http://hostname:portnumber/api/balancer?NamesOnly=true |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON object containing all the Balancer names. |
Possible Errors: |
500 Internal Server Error: An exception occurred within the Deadline code. |
Get Balancer Information¶
Gets the Balancer information for the Balancer names provided.
URL: |
http://hostname:portnumber/api/balancer?Info=true&Names=oneOrMoreBalancerNames http://hostname:portnumber/api/balancer?Info=true&Name=oneBalancerName |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON object containing all the Balancer information for the requested Balancer names. |
Possible Errors: |
|
Save Balancer Information¶
Saves the Balancer information provided.
URL: |
http://hostname:portnumber/api/balancer |
Request Type: |
PUT |
Message Body: |
|
Response: |
“Success” |
Possible Errors: |
|
Get Balancer Settings¶
Gets the Balancer settings for the Balancer names provided.
URL: |
http://hostname:portnumber/api/balancer?Settings=true&Names=oneOrMoreBalancerNames http://hostname:portnumber/api/balancer?Settings=true&Name=oneBalancerName |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON object containing all the Balancer settings for the requested Balancer names. |
Possible Errors: |
|
Save Balancer Settings¶
Saves the Balancer settings provided.
URL: |
http://hostname:portnumber/api/balancer |
Request Type: |
PUT |
Message Body: |
|
Response: |
“Success” |
Possible Errors: |
|
Get Balancer InfoSettings¶
Gets the Balancer information and settings for the Balancer names provided.
URL: |
http://hostname:portnumber/api/balancer?Names=oneOrMoreBalancerNames http://hostname:portnumber/api/balancer?Name=oneBalancerName |
Request Type: |
GET |
Message Body: |
N/A |
Response: |
JSON object containing all the Balancer information and settings for the requested Balancer names. |
Possible Errors: |
|
Balancer Property Values¶
Values for some Balancer properties are represented by numbers. Those properties and their possible values are listed below.
- Stat (BalancerStatus)
0 = Unknown
1 = Running
2 = Offline
4 = Stalled