Join us for a virtual Nutanix User Group meeting with Jarian Gibson as he covers Nutanix Cloud Clusters (NC2) on Azure and AWS with Citrix. <\/span><\/p>

Jarian will take a deep dive into NC2 on Azure architecture and Citrix on NC2 on Azure\u00a0that helps you strengthen your business continuity and disaster recovery position. He\u2019ll also provide the latest updates for NC2 on AWS.<\/span><\/p>

Plus, we're\u00a0giving away a Nutanix suitcase to one lucky winner!\u00a0Opt-in when you register\u00a0to be entered to win.\u00a0<\/p>","author":{"id":113632,"url":"\/members\/karlie-beil-113632","name":"Karlie Beil","avatar":"https:\/\/uploads-us-west-2.insided.com\/nutanix-us\/icon\/200x200\/1581aab3-bcf6-49f4-b2fb-3d11e8c010dc.png","userTitle":"Community Manager","rank":{"isBold":false,"isItalic":false,"isUnderline":false,"name":"Community Manager","color":"#0873ba"},"userLevel":4},"type":"Webinar","url":"https:\/\/next.nutanix.com\/events\/global-nug-nc2-on-azure-and-aws-with-citrix-151","image":"https:\/\/uploads-us-west-2.insided.com\/nutanix-us\/attachment\/f9693b5b-436b-427a-9b98-531b4040ff24_thumb.png","location":"","startsAt":1678298400,"endsAt":1678302000,"contentType":"event","attendees":[],"attendeeCount":0,"isLoggedInUserAttendee":false,"createdAt":"1675974969"},"phrases":{"Forum":{"{n} year|{n} years":"{n} year|{n} years","{n} month|{n} months":"{n} month|{n} months","{n} day|{n} days":"{n} day|{n} days","{n} hour|{n} hours":"{n} hour|{n} hours","{n} minute|{n} minutes":"{n} minute|{n} minutes","just":"just now","{plural} ago":"{plural} ago"}}}">

解决了

通过PowerShell或API创建UEFI VM


徽章 +2
  • 开拓者
  • 16个答复

有没有办法通过Comandlet或API制作基于UEFI的VM?这篇文章似乎忽略了这两个。https://next.nutanix.com/prism-infrastructure-management-26/uefi-on-vms-faq-37339


该主题已关闭以供评论

5个答复

UserLevel 6
徽章 +5

@mrmike,肯定也可以通过REST API实现这一目标。

这是您可以使用V2 REST API做到这一点的方法https://www.nutanix.dev/reference/prism_element/v2/api/vms/post-vms-createvm/

并进行帖子调用以创建具有属性的VMuefi_boot:true”为引导目的。

“启动”:{“ uefi_boot”:“ true”}

有关使用REST API的更多详细信息可以在此处找到:https://www.nutanix.dev/api-reference/

需要帮助请叫我。:微笑:

UserLevel 6
徽章 +5

@mrmike,只是跟进,您是否尝试过上述操作,并且可以创建UEFI VM吗?

让我知道您是否需要其他任何内容或任何澄清。

徽章 +2

@Anishwalia20感谢您的快速回复。我还没有机会通过API尝试一下,因为我主要与PowerShell合作,因此我需要通过Invoke-RestMethod cmdlet包装请求。由于它是定义的,所以我认为没有理由不应该工作。再次感谢指针。我尝试了CTRL+F在API参考页面上查找UEFI,但我想我没有扩展所有内容,所以我错过了它。

UserLevel 6
徽章 +5

啊,不用担心 @mrmike。我希望现在情况要清楚得多。让我知道您是否需要其他任何帮助。

干杯!:微笑:

@mrmike,肯定也可以通过REST API实现这一目标。

这是您可以使用V2 REST API做到这一点的方法https://www.nutanix.dev/reference/prism_element/v2/api/vms/post-vms-createvm/

并进行帖子调用以创建具有属性的VMuefi_boot:true”为引导目的。

“启动”:{“ uefi_boot”:“ true”}

有关使用REST API的更多详细信息可以在此处找到:https://www.nutanix.dev/api-reference/

需要帮助请叫我。:微笑:

那么,您是说没有办法使用PowerShell CMDlet做到这一点?我只需要是或否答案,这样我就可以继续使用其中的某些功能使用REST API。

我想回答的另一个问题,但我怀疑我会得到的,Nutanix放弃了对PowerShell CMDLET的其他功能和改进?当然似乎是这样。

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