使用REST API取消声明虚拟机 [英] Unclaim a virtual machine using the REST API
问题描述
是否可以使用REST API取消声明VM?
is there a possibility to unclaim a VM using the REST API?
我可以轻松地声明虚拟机,启动和添加它,但是我还没有找到取消声明它的方法.
I can easily claim a VM, start and top it but I have not found a way to unclaim it.
我尝试使用PATCH(不执行任何操作)或使用SET(引发我无法修改该属性的错误)来设置allowClaim属性
I tried setting the allowClaim property using PATCH (which does nothing) or using SET (Raising an error that i cannot modify that property)
谢谢
Claas
推荐答案
到目前为止,这些是Devtest实验室支持的Rest Api.在下面的链接中找到可用于Azure Azure开发测试实验室的rest api服务.
As of now these are the supported Rest Api for the Devtest labs. Find the below link to utilize rest api services for the azure devtest labs.
https://docs.microsoft.com/zh-cn/rest/api/?term=devtest
https://docs.microsoft.com/en-us/rest/api/?term=devtest
https://docs.microsoft.com/zh-cn/rest/api/dtl/virtualmachines/claim
https://docs.microsoft.com/en-us/rest/api/dtl/virtualmachines/claim
这篇关于使用REST API取消声明虚拟机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!