获取开发测试实验室中可请求的VM列表 [英] Getting a list of claimable VMs in a Dev Test Lab

查看:64
本文介绍了获取开发测试实验室中可请求的VM列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法使用REST API在开发测试实验室中获取可请求的虚拟机列表?


当我使用ClaimAnyVM REST API时,我怎么知道我声称了哪个VM?


有没有办法使用REST API在Dev Test Lab中获取我声明的虚拟机?





David Downing ...如果这回答了你的问题,请标记为答案。如果这篇文章有帮助,请投票为有帮助。

解决方案

大卫,


感谢您探索Azure DevTest Labs。 


使用
GET REST API
您应该能够根据属性"allowClaim"


<找到VM是否可以申请table style ="">


properties.allowClaim


  • boolean



表示其他用户是否可以获得虚拟机的所有权






文档链接 -   https:// docs。 microsoft.com/en-us/rest/api/dtl/virtualmachines/get


希望以上信息有所帮助。如果您有任何其他问题,请联系。感谢


Is there a way of getting a list of claimable VMs in a Dev Test Lab using the REST APIs?

When I use the ClaimAnyVM REST API, how do I know which VM I claimed?

Is there a way of getting my claimed VMs in a Dev Test Lab using the REST APIs?


David Downing... If this answers your question, please Mark as the Answer. If this post is helpful, please vote as helpful.

解决方案

Hi David,

Thanks for exploring Azure DevTest Labs. 

Using the GET REST API you should be able to find whether the VM is claimable or not based on the property "allowClaim"

properties.allowClaim
  • boolean

Indicates whether another user can take ownership of the virtual machine

Documentation Link - https://docs.microsoft.com/en-us/rest/api/dtl/virtualmachines/get

Hope the above information helps. If you have any further questions please reach out. Thanks


这篇关于获取开发测试实验室中可请求的VM列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆