public void Restart()
{
// start the role up -- this could take a while the previous two operations are fairly lightweight
// and the provisioning doesn't occur until the role starts not when it is created
var restartCommand = new StartVirtualMachineCommand(Properties)
{
SubscriptionId = Properties.SubscriptionId,
Certificate = Properties.Certificate
};
restartCommand.Execute();
}