Beispiel #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 AnalyticsRestClients(Authentication authSession, AdlClient.Models.AnalyticsAccountRef account)
 {
     this._JobRest             = new AnalyticsJobsRestWrapper(authSession.ADLCreds);
     this._CatalogRest         = new AnalyticsCatalogRestWrapper(authSession.ADLCreds);
     this._AdlaAccountMgmtRest = new AnalyticsAccountManagmentRestWrapper(account.SubscriptionId, authSession.ARMCreds);
     this.AADclient            = new Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient(authSession.AADCreds);
     this.AADclient.TenantID   = authSession.Tenant;
 }