/// <summary> /// Refreshes the container metadata with the data from the cloud. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='deviceName'> /// The device name. /// </param> /// <param name='storageAccountName'> /// The Storage Account Name /// </param> /// <param name='containerName'> /// The container name. /// </param> /// <param name='resourceGroupName'> /// The resource group name. /// </param> public static void BeginRefresh(this IContainersOperations operations, string deviceName, string storageAccountName, string containerName, string resourceGroupName) { operations.BeginRefreshAsync(deviceName, storageAccountName, containerName, resourceGroupName).GetAwaiter().GetResult(); }