CmdID / az / az vm / az vm image / az vm image terms
az vm image terms accept
Accept Azure Marketplace image terms so that the image can be used to create VMs. Azure CLI reference
5 options Its page in the Azure CLI reference
Options
--cmdcmd--offerImage offer--planImage billing plan--publisherImage publisher--urnURN, in the format of 'publisher:offer:sku:version'.