Are there plans to add a public API would have the following functionality (if clustering was enabled):
- Discover Whether Clustering is enabled (Already part of the Public API)
- Get the cluster ID
- Get the cluster members
- Get the Offline Cluster Members
- Get the Connected non-clustered Servers
- Validate the cluster
- Remove offline cluster members
This is going to be an issue in any environment where servers are treated like cattle (rather than pets) because as they are terminated and replaced, the old IP addresses will be left to litter the Offline Cluster Members list. Without purging, this could grow to be a large, unmanageable and meaningless list.
Currently the only way to do this is manually and that could be problematic, especially for customers who would prefer to not have the admin console enabled, or who would want to limit what functionality is exposed.
A custom Web Script could be made to do this but, IMVHO, this should be part of the product.
FWIW, I did try the following:
And got a CSRF error.
A proper API for all admin console functionality is in order as it would allow builders to build front ends that could segment the admin tasks (e.g. not everyone has to be able to administer everything).