Quantcast
Channel: Azure Management Portal forum
Viewing all articles
Browse latest Browse all 4189

HI, when i start/stop one VM/Role instance using api, i always get powerstatus as 'started'/'stopped'... why it never returns me starting/stopping

$
0
0

HI, when i start/stop one VM/Role instance using azure api, i always get powerstatus as 'started'/'stopped'... why it never returns me starting/stopping... I need these in between status to help me on the GUI.... anyone knows?

i.e,

 var instances = client.Deployments.GetBySlot(servicename.Trim(), DeploymentSlot.Production);

string Status = instances.RoleInstances[0].PowerState.ToString();


all I can get from above call is either started or stopped.... where is starting or stopping.. never get those...


Viewing all articles
Browse latest Browse all 4189


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>