Exemple #1
0
 public StoreRestClients(Authentication authSession, AdlClient.Models.StoreAccountRef account)
 {
     this.Account              = account;
     this.FileSystemRest       = new StoreFileSystemRestWrapper(authSession.ADLCreds);
     this.StoreAccountMgmtRest = new StoreManagementRestWrapper(account.SubscriptionId, authSession.ARMCreds);
     this.AADclient            = new Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient(authSession.AADCreds);
     this.AADclient.TenantID   = authSession.Tenant;
 }
 public StoreRestClients(Authentication authSession, AdlClient.Models.StoreAccountRef account)
 {
     this.Account              = account;
     this.FileSystemRest       = new StoreFileSystemRestWrapper(authSession.Credentials);
     this.StoreAccountMgmtRest = new StoreManagementRestWrapper(account.SubscriptionId, authSession.Credentials);
 }
Exemple #3
0
 public StoreRestClients(StoreAccount store, Authentication authSession)
 {
     this.Store                = store;
     this.FileSystemRest       = new StoreFileSystemRestWrapper(authSession.Credentials);
     this.StoreAccountMgmtRest = new StoreManagementRestWrapper(store.SubscriptionId, authSession.Credentials);
 }