def _start_instance(self):
        """
        Start the instance.
        """
        try:
            vm_start = self.compute.virtual_machines.start(
                self.running_instance_id, self.running_instance_id
            )
        except Exception as error:
            raise AzureCloudException(
                'Unable to start instance: {0}.'.format(error)
            )

        vm_start.wait()
def _start_instance ( self ) : try : vm_start = self . compute . virtual_machines . start ( self . running_instance_id , self . running_instance_id ) except Exception as error : raise AzureCloudException ( 'Unable to start instance: {0}.' . format ( error ) ) vm_start . wait ( )
Start the instance.