@Varma, thank you for providing additional details and apologies for the delayed response.
Yes, it can be set when creating the virtual machine. The following link should help you get more details about it:
- Using Azure Portal - If you are using Azure portal to create VM, then the option to set "Patch Orchestration" type is available under Management tab at the bottom:
- Using ARM - if you are using ARM template to create VM, the patch orchestrator type can be set using the PatchSettings parameter, as available here - Microsoft.Compute virtualMachines
Hope this helps.
If the answer did not help, please add more context/follow-up question for it. Else, if the answer helped, please click Accept answer so that it can help others in the community looking for help on similar topics.