Microsoft.WindowsAzure.Commands.Test.Utilities.HDInsight.Utilities.IntegrationTestBase.GetWellKnownStorageAccounts C# (CSharp) Method

GetWellKnownStorageAccounts() public static method

public static GetWellKnownStorageAccounts ( ) : IEnumerable
return IEnumerable
        public static IEnumerable<WabStorageAccountConfiguration> GetWellKnownStorageAccounts()
        {
            var accounts = new List<WabStorageAccountConfiguration>();
            accounts.AddRange(
                TestCredentials.Environments.Select(
                    env =>
                    new WabStorageAccountConfiguration(
                        env.DefaultStorageAccount.Name, env.DefaultStorageAccount.Key, env.DefaultStorageAccount.Container)));
            accounts.AddRange(
                TestCredentials.Environments.SelectMany(env => env.AdditionalStorageAccounts)
                               .Select(acc => new WabStorageAccountConfiguration(acc.Name, acc.Key, acc.Container)));
            return accounts;
        }