This week on the podcast, Dwayne chats with Marc Trouard-Riolle, about Nutanix Cloud Clusters (NC2) on Azure and how to get started. Nutanix Cloud Clusters (NC2) on Microsoft Azure enables your applications to be run where you want them, on-premises or in the public cloud, all operated as a single cloud.<\/p>

<\/oembed><\/p>

解决了

通过使用REST API创建的目录项目之一创建VM?


徽章 +1

我想通过选择一个目录项目来使用REST API创建VM。

我可以通过Prism Central仪表板通过目录项目创建VM。

当我尝试通过REST API创建VM时,我找不到任何参考来提供目录项目VM模板。

如何使用REST API在VM创建中提供VM模板?

图标

最好的答案阿罗纳2021年3月4日,05:51

Hi Balram,<\/p>

There is no API to complete the tasks form a PC unfortunately but you can do achieve this from a PE if that\u2019s an option for you. Rest api for creating vm from image services not working <\/a><\/p>","className":"post__content__best_answer"}">

查看原件

该主题已关闭以供评论

4个答复

UserLevel 6
徽章 +5

嘿, @balram让我对此进行研究,并在我的测试实验室中尝试一下,并尽快与您联系。:Sweat_smile:

UserLevel 6
徽章 +5

@balram因此,我尝试对此进行研究并找到更多。

老实说,不确定这是如何工作的。创建新的VM时,您可以克隆现有的VDisks,但不确定API要求使用什么用于目录项目。您可以尝试一件事,看看是否通过使用Chrome Dev工具来支持该API,同时通过Prism Central创建VM,并查看进行呼叫时使用的操作。

UserLevel 6
徽章 +5

嗨,巴拉姆,

不幸的是,没有API可以完成PC,但是如果您可以选择,则可以从PE实现此目标。REST API用于创建来自图像服务的VM

UserLevel 2
徽章 +2

@balram这是一个很好的要求。我们也有这种需求,因为我们只是推出自助服务,并希望允许某些开发人员使用REST API从目录项目中提供VM。但是,我没有在API中提及目录项目。我们被告知,有一个REST API呼叫可用于我们在UI中所做的一切,但事实并非如此。

Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu