/// <summary> /// Lists all the containers of a storage Account in a Data Box Edge/Data Box /// Gateway device. /// </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='resourceGroupName'> /// The resource group name. /// </param> public static IPage <Container> ListByStorageAccount(this IContainersOperations operations, string deviceName, string storageAccountName, string resourceGroupName) { return(operations.ListByStorageAccountAsync(deviceName, storageAccountName, resourceGroupName).GetAwaiter().GetResult()); }