根据 softlayer Softlayer_hardware/some id/getObjects?mask 的 SLDn 和域名和 Vm 名称将给出配置状态。但是当我用相同的方式进行 REST 调用时,我得到 200 ok 但 xml 输出有错误。
Please let me know how can I get VM provision successful or not? Help me with REST API.
https://userid:apikey@api.softlayer.com/sldn/rest/SoftLayer_Hardware/****/getObject?mask=[hostName,domain]
* is ID which got when we made below rest call
https://userid:apikey@api.softlayer.com/rest/v3/SoftLayer_Hardware.json
<?xml version="1.0" encoding="UTF-8" ?>
<SOAP-ENV:Envelope>
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>Service does not exist</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>