/// <summary>
 /// Deletes the instance.
 /// </summary>
 /// <param name="entity">The instance being deleted</param>
 /// <returns>The instance that was deleted</returns>
 protected override IEnumerable <Model.AzureSqlManagedInstanceOperationModel> PersistChanges(IEnumerable <Model.AzureSqlManagedInstanceOperationModel> entity)
 {
     ModelAdapter.CancelManagedInstanceOperation(this.ResourceGroupName, this.ManagedInstanceName, System.Guid.Parse(this.Name));
     return(entity);
 }