如何仅取消快照空间? [英] How to cancel snapshot space only?

查看:46
本文介绍了如何仅取消快照空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于取消操作,我们正在取消购买产品的开票项目.

For the cancel operation, we are canceling a billing item of purchased product.

但是对于取消快照空间(而不是整个存储空间),当我们以相同的方式尝试时会返回错误.

But for the cancellation of snapshot space, (not for whole storage) it returns error when we try it with same way.

如何取消快照空间的计费项目?

How can I cancel billing item for snapshot space?

推荐答案

尝试以下Rest请求:

Try the following Rest request:

https://$user:$apiKey@api.softlayer.com/rest/v3.1/SoftLayer_Billing_Item_Cancellation_Request/createObject.json

Method: Post

{  
   "parameters":[  
      {  
         "complexType":"SoftLayer_Billing_Item_Cancellation_Request",
         "accountId":123123,
         "notes":"notes test",
         "items":[  
            {  
               "complexType":"SoftLayer_Billing_Item_Cancellation_Request_Item",
               "billingItemId":101726027,
               "immediateCancellationFlag":true
            }
         ]
      }
   ]
}

参考文献:

这篇关于如何仅取消快照空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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