简体   繁体   English

如何在Azure订阅中启用对图库图像的编程访问?

[英]How to enable programmatic access for a gallery image in Azure subscription?

Iam trying to create a Ubuntu server lab using Azure Lab Services account and followed the below steps. Iam尝试使用Azure Lab Services帐户创建Ubuntu服务器实验室,并按照以下步骤操作。

In 屏幕截图1 , I have already enabled the Ubuntu Server 18.04 LTS in Lab Services – Marketplace images. ,我已经在Lab Services – Marketplace映像中启用了Ubuntu Server 18.04 LTS。

In 屏幕截图2 , enabled marketplace image is listed in lab setup page ,在实验室设置页面中列出了启用的市场图片

In 屏幕截图3 , Error: The gallery image 'ubuntu server 18_04 lts' must be enabled for programmatic access in this subscription. ,错误:在此订阅中,必须启用图库图像“ ubuntu服务器18_04 lts”以进行编程访问。

Can anyone help me how to resolve this error - "The gallery image 'ubuntu server 18_04 lts' must be enabled for programmatic access in this subscription." 谁能帮助我解决该错误-“在此订阅中,必须启用图库图片'ubuntu服务器18_04 lts'才能进行程序访问。”

Also, there is no option like " Want to deploy programmatically? " on the Ubuntu marketplace image page, attached the screenshot below. 另外,在Ubuntu市场图像页面上,没有类似“是否要以编程方式部署? ”这样的选项,下面的屏幕快照已随附。

截图-4

I checked myself and have the same problem with Ubuntu 18.04LTS and 16.04LTS. 我检查了一下自己,对于Ubuntu 18.04LTS和16.04LTS还是有同样的问题。 However it works with Ubuntu 19.04 or other Windows images, so it seems there are problems with those images in Azure 但是,它可以与Ubuntu 19.04或其他Windows映像一起使用,因此Azure中的这些映像似乎存在问题

I'd suggest you raise a ticket from your subscription or contact them via twitter @AzureSupport. 建议您从订阅中获取票证,或通过Twitter @AzureSupport与他们联系。 Meanwhile, You may use that Ubuntu 19.04 if it works as a workaround 同时,如果可以使用Ubuntu 19.04,则可以使用它

You can try these links: 您可以尝试以下链接:

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

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