简体   繁体   English

Azure:以编程方式实现市场图像的编程部署

[英]Azure : enable programmatic deployment of market place images programatically

I was going through this link to enable programmatic deployment of marketplace images. 我正在浏览链接以启用市场图像的编程部署。

It seems that it requires using the portal to enable programmatically deploying market place images. 它似乎需要使用门户网站来以编程方式部署市场地点图像。 Would the same thing be possible using azure PowerShell or the rest API? 使用azure PowerShell或其他API可以实现同样的目的吗?

您可以使用Set-AzureRmMarketplaceTerms接受Powershell的市场条款:

Get-AzureRmMarketplaceTerms -Publisher "microsoft-ads" -Product "windows-data-science-vm" -Name "windows2016" | Set-AzureRmMarketplaceTerms -Accept

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM