/// <summary>
 /// Puts the lease on the given blob in a renewed state.
 /// </summary>
 /// <param name="blob">The blob with the lease.</param>
 /// <param name="leaseTime">The amount of time on the renewed lease.</param>
 /// <returns>The lease ID of the current lease.</returns>
 internal static async Task<string> SetRenewedStateAsync(CloudBlob blob, TimeSpan? leaseTime)
 {
     string leaseId = await SetLeasedStateAsync(blob, leaseTime);
     await blob.RenewLeaseAsync(AccessCondition.GenerateLeaseCondition(leaseId));
     return leaseId;
 }