@ Override public List < StorageAccount > getStorageAccounts ( ) { List < StorageAccount > accts = new ArrayList <> ( ) ; Iterator < String > ids = getAccountManager ( ) . getStorageAccountIds ( ) ; while ( ids . hasNext ( ) ) { accts . add ( getAccountManager ( ) . getStorageAccount ( ids . next ( ) ) ) ; } return accts ; }
This method returns all of the registered storage accounts .