public void Stop()
{
// 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 stopCommand = new StopVirtualMachineCommand(Properties)
{
SubscriptionId = Properties.SubscriptionId,
Certificate = Properties.Certificate
};
stopCommand.Execute();
}