Open redliu312 opened 1 year ago
Thank you for your feedback. This has been routed to the support team for assistance.
@redliu312 Thank you for reaching out, we are looking into it.
route to CXP team
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jaspkaur28.
Author: | redliu312 |
---|---|
Assignees: | - |
Labels: | `question`, `customer-reported`, `Automation`, `Service Attention` |
Milestone: | - |
Tagging the right team @riva-yadav for Update management queries.
Additionally, specifying only one update classification will result in the following error message:
(BadRequest) {"Message":"The request is invalid.","ModelState":{"softwareUpdateConfiguration.properties.updateConfiguration":["Software update configuration should specify Classification or IncludedPackageNameMask for any reboot setting other than 'RebootOnly'."]}}
Code: BadRequest
Message: {"Message":"The request is invalid.","ModelState":{"softwareUpdateConfiguration.properties.updateConfiguration":["Software update configuration should specify Classification or IncludedPackageNameMask for any reboot setting other than 'RebootOnly'."]}}
Full command I used:
az automation software-update-configuration create --automation-account-name <AUTOMATION_ACCOUNT> --configuration-name WeeklyUpdates --frequency Week --interval 1 --operating-system Linux --resource-group <RESOURCE_GROUP> --included-update-classifications Critical --azure-virtual-machines <VIRTUAL_MACHINE_ID>
Related command
Extension name (the extension in question)
automation
Description of issue (in as much detail as possible)
Hi , teams I am trying to do a windows virtual machine "windows update" with the automation account feature. It is fine on the portal and we can choose multiple "included-update-classifications" , for ex: "Critical,Security".
But when we execute the az cli command to do so, It seems like we can not select multi values for this args. If we execute the command which I paste in this thread, it will throw
but in th doc
it said we can use the comma separated string as the multi-choice.
Need you support on this : How could we select multi classifications in the az cli command line?