Azure Automation Managment how do i get Job errors and warning and logs

ساخت وبلاگ

Vote count: 0

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.

asked 30 secs ago

back soft...
ما را در سایت back soft دنبال می کنید

برچسب : نویسنده : استخدام کار backsoft بازدید : 210 تاريخ : دوشنبه 28 تير 1395 ساعت: 19:54