最新活动 七周年庆典

产品

硅云帮助文档中心

搜索文档

热门搜索词:

刷新实例运行状态

更新时间:2020-07-14 15:07  版本:v1.2
分享到:
我要反馈 
收藏 我的收藏

简要描述:


刷新实例运行状态


请求url:


/ncs-server/api/v1/disk/pullInfo


请求方式:


GET


请求参数:


字段
类型最大长度参数位置默认选填
描述
idstring32query
实例Id



请求示例:


GET /ncs-server/api/v1/disk/pullInfo?id=disk-3hdnwe228s223 HTTP/1.1
Content-Type: application/json
request_id: 2942183558593ffc9d75fb8e16793ff
api_key: 1706006863049654272
signature: 76615c1b054e2f998795abcbc91ec57255a231dcfe3426f016c5718173164c66


返回示例:




{
    "status": 2000,
    "message": "success",
    "data": {
        "userAccount": "z8z87878",
        "remoteId": "1fd3397f-038f-4b63-ae93-dfb66e093b82",
        "productId": "standard_cloud_disk",
        "productName": "高效云盘",
        "latestOrderId": "1706473829073420289",
        "areaMark": "test",
        "areaName": "测试环境",
        "diskSize": 16,
        "beginTime": 1589277056852,
        "endTime": 1594547456852,
        "status": "OK",
        "remoteDiskStatus": "available",
        "remoteHostName": "computer2",
        "attacheHostId": "cvm-3hdk8be2b2225",
        "autoRenew": false,
        "supportNoReasonRefund": false,
        "refundStatus": "NONE",
        "configuration": "",
        "createTime": 1589277056853,
        "updateTime": 1589336081301,
        "id": "disk-3hdnwe228s223"
    }
}


实例数据结构:


字段类型
描述
idstring实例id
userAccount
string用户名
diskSize
int磁盘大小
status
string实例状态
remoteDiskStatusstring实例运行状态
attacheHostIdstring挂载的服务器Id,可能为空
bindHostIdstring绑定续费的服务器Id,可能为空
attacheAsstringdata挂载为数据盘,boot挂载为系统盘,可能为空
isBootablestringtrue为启动盘
endTimelong到期时间时间戳,精确到毫秒
createTimelong创建时间时间戳,精确到毫秒













您对该文档有什么建议?

您对该文档的评分:

本文导航

简要描述:

请求url:

请求方式:

请求参数:

请求示例:

返回示例:

搜索文档