Esempio n. 1
0
 public AnalyticsRestClients(AuthenticationBase authSession, AdlClient.Models.AnalyticsAccountRef account)
 {
     this.Account       = account;
     this.JobsClient    = new MSADLA.DataLakeAnalyticsJobManagementClient(authSession.AdlCreds);
     this.CatalogClient = new MSADLA.DataLakeAnalyticsCatalogManagementClient(authSession.AdlCreds);
     this.AccountClient = new MSADLA.DataLakeAnalyticsAccountManagementClient(authSession.ArmCreds);
     this.AccountClient.SubscriptionId = account.SubscriptionId;
 }
Esempio n. 2
0
        public AnalyticsClient(AuthenticationBase auth, AdlClient.Models.AnalyticsAccountRef account) :
            base(auth)
        {
            this.RestClients = new AnalyticsRestClients(auth, account);

            this.Jobs    = new JobCommands(account, this.RestClients);
            this.Catalog = new CatalogCommands(account, this.RestClients);
            this.Account = new AnalyticsAccountCommands(account, this.RestClients);
        }