sample code of controle virtual machine by Azure Management Library