Mitesh_378646
Dec 24, 2018Nimbostratus
How to check if any pool is Active or not.
Hi Experts, I am in process of implementing Blue\Green deployment model.So before i proceed with the deployment on any of the pool, how would i know if the pool ( Green or Blue ) is Active or Idle. So based on the status i can proceed with the deployment or perform some operation. Something like Below :
if (BLUE.IsActive == True )
{
\\Do deployment on GREEN or perform some operation
}
If ( GREEN.IsActive == True )
{
\\ Do deployment on BLUE or perform some operation
}
Do we have any API available using which i can achieve this ?
Pleas help
Thanks Mitesh