Exemple #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;
 }
 public AnalyticsCatalogRestWrapper(Microsoft.Rest.ServiceClientCredentials creds)
 {
     this.RestClient = new MSADLA.DataLakeAnalyticsCatalogManagementClient(creds);
 }