public JobDetails(MSADLA.Models.JobInformation job, AnalyticsAccountRef acct) : base(job, acct) { this.Properties = job.Properties; this.ErrorMessage = job.ErrorMessage; this.StateAuditRecords = job.StateAuditRecords; }
public AnalyticsClient(Authentication 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); }
internal JobInfo(MSADLA.Models.JobInformation job, AnalyticsAccountRef acct) { this.Account = acct; this.Name = job.Name; this.LogFolder = job.LogFolder; this.DegreeOfParallelism = job.DegreeOfParallelism; this.EndTime = job.EndTime; this.JobId = job.JobId.Value; this.Priority = job.Priority; this.Result = job.Result; this.StartTime = job.StartTime; this.State = job.State; this.SubmitTime = job.SubmitTime; this.Type = job.Type; this.Submitter = job.Submitter; }
private static void Main(string[] args) { // Setup authentication for this demo var auth = new AdlClient.InteractiveAuthentication("microsoft.onmicrosoft.com"); // change this to YOUR tenant auth.Authenticate(); // Collect info about the Azure resources needed for this demo string subid = "ace74b35-b0de-428b-a1d9-55459d7a6e30"; string rg = "adlclienttest"; string adla_name = "adlclientqa"; string adls_name = "adlclientqa"; // Identify the accounts var adla_account = new AdlClient.Models.AnalyticsAccountRef(subid, rg, adla_name); var adls_account = new AdlClient.Models.StoreAccountRef(subid, rg, adls_name); // Create the clients var az = new AdlClient.AzureClient(auth); var adla = new AdlClient.AnalyticsClient(auth, adla_account); var adls = new AdlClient.StoreClient(auth, adls_account); // ------------------------------ // Run the Demo // ------------------------------ Demo_ListMySubscriptions(az); Demo_ListMyResourceGroups(az); Demo_JobsDetails(adla); Demo_Jobs_GetJobUrl(adla); RunDemos_Job_Summaries(adla); RunDemos_Job_Listing(adla); RunDemos_Catalog(adla); RunDemos_Analytics_Account_Management(adla); RunDemos_FileSystem(adls); RunDemos_Resource_Managementr(az); }
public JobRef(Guid id, AnalyticsAccountRef account) { this.Id = id; this.Account = account; }