我正在经历this链接以启用市场图像的编程部署。
似乎需要使用门户来以编程方式部署市场镜像。使用 azure PowerShell 或其他 API 是否可以实现同样的效果?
最佳答案
您可以使用 Set-AzureRmMarketplaceTerms 通过 Powershell 接受市场条款:
Get-AzureRmMarketplaceTerms -Publisher "microsoft-ads" -Product "windows-data-science-vm" -Name "windows2016" | Set-AzureRmMarketplaceTerms -Accept
关于 azure : enable programmatic deployment of market place images programatically,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43285423/