public StoreRestClients(AuthenticationBase authSession, AdlClient.Models.StoreAccountRef account) { this.Account = account; this.FileSystemClient = new DataLakeStoreFileSystemManagementClient(authSession.AdlCreds); this.AccountClient = new DataLakeStoreAccountManagementClient(authSession.ArmCreds); this.AccountClient.SubscriptionId = account.SubscriptionId; }
public StoreFileSystemRestWrapper(Microsoft.Rest.ServiceClientCredentials creds) { this.RestClient = new ADL.Store.DataLakeStoreFileSystemManagementClient(creds); }