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;
 }
示例#2
0
 public StoreFileSystemRestWrapper(Microsoft.Rest.ServiceClientCredentials creds)
 {
     this.RestClient = new ADL.Store.DataLakeStoreFileSystemManagementClient(creds);
 }