I am using Azure Automation Management 2.0.1. How do I get the Error, Waing and Logs of the Job.
var cred = new TokenCloudCredentials(subscriptionid, token);
AutomationManagementClient amc = new AutomationManagementClient(cred);
Guid jobId = new Guid("jobGuiID");
var jobinfo = amc.Jobs.Get(resourceGroupName, automationAccount, jobId);
var joboutput = amc.Jobs.GetOutput(resourceGroupName, automationAccount, jobId);
jobinfo.Properties does not seem to have anything related to Error waing and logs. I also looked at GetOutput but it does not seems to have anything related to Job Error waing and logs.