agent: |
aYO6QFyxEMQWkARX6KyTPatch Installation Runs History for the last 30 days
Patch Installation Runs History for the last 30 days
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
inputs
outputs
cmd="az graph query -q \""
cmd+="patchinstallationresources "
cmd+="| where type =~ \\\"microsoft.compute/virtualmachines/patchinstallationresults\\\" or type =~ \\\"microsoft.hybridcompute/machines/patchinstallationresults\\\" "
cmd+="| where properties.lastModifiedDateTime > ago(30d) "
cmd+="| where properties.status in~ (\\\"Succeeded\\\",\\\"Failed\\\",\\\"CompletedWithWarnings\\\",\\\"InProgress\\\") "
cmd+="| parse id with * 'achines/' resourceName '/patchInstallationResults/' * "
cmd+="| project id, resourceName, type, properties.status, properties.startDateTime, properties.lastModifiedDateTime, properties.startedBy, properties, tags "
cmd+="| union ("
cmd+="patchassessmentresources "
cmd+="| where type =~ \\\"microsoft.compute/virtualmachines/patchassessmentresults\\\" or type =~ \\\"microsoft.hybridcompute/machines/patchassessmentresults\\\" "
cmd+="| where properties.lastModifiedDateTime > ago(30d) "
cmd+="| where properties.status in~ (\\\"Succeeded\\\",\\\"Failed\\\",\\\"CompletedWithWarnings\\\",\\\"InProgress\\\") "
cmd+="| parse id with * 'achines/' resourceName '/patchAssessmentResults/' * "
cmd+="| project id, resourceName, type, properties.status, properties.startDateTime, properties.lastModifiedDateTime, properties.startedBy , properties, tags"
cmd+=")\""
op = _exe(None,cmd)
print(op)
copied