最近中文字幕mv2018在线高清,伊人久久综合色,一区二区亚洲精品国产精华液,又粗又爽高潮午夜免费视频,中文字幕亚洲码在线

最新活動(dòng) 新春特惠

產(chǎn)品

硅云幫助文檔中心

搜索文檔

熱門搜索詞:

搜索實(shí)例

更新時(shí)間:2020-07-14?15:03 ?版本:v1.2
分享到: ? ?
我要反饋?
收藏 我的收藏

簡(jiǎn)要描述:


    搜索實(shí)例


請(qǐng)求url:


/ncs-server/api/v1/disk/search


請(qǐng)求方式:


GET


請(qǐng)求參數(shù):


字段
類型最大長(zhǎng)度參數(shù)位置默認(rèn)選填
描述
page int10RequestBody
頁,默認(rèn)1 第一頁
rowint10RequestBody
默認(rèn)10  一頁10行,最大100
statusstring16RequestBody
實(shí)例狀態(tài)
areaMarkstring32RequestBody
地區(qū)標(biāo)識(shí)
attacheHostId
string32RequestBody
掛載的服務(wù)器實(shí)例Id
bindHostIdstring32
RequestBody
綁定續(xù)費(fèi)的服務(wù)器Id
nullOfBindHostIdboolean1RequestBody
為true時(shí)只返回bindHostId為Null的磁盤,即沒有綁定續(xù)費(fèi)的磁盤,為false時(shí)和不填時(shí)不區(qū)分
autoRenewboolean1RequestBody
是否開啟了自動(dòng)續(xù)費(fèi),true為已開啟
idstring32RequestBody
實(shí)例Id,模糊查詢,精確查詢請(qǐng)通過根據(jù)實(shí)例id獲取實(shí)例接口
fromCreateTimelong64RequestBody
創(chuàng)建時(shí)間時(shí)間戳左區(qū)間,精確到毫秒
toCreateTimelong64RequestBody
創(chuàng)建時(shí)間時(shí)間戳右區(qū)間,精確到毫秒
fromEndTimelong64RequestBody
過期時(shí)間時(shí)間戳左區(qū)間,精確到毫秒
toEndTimelong64RequestBody
過期時(shí)間時(shí)間戳右區(qū)間,精確到毫秒



請(qǐng)求示例:


GET /ncs-server/api/v1/disk/search HTTP/1.1
Content-Type: application/json
request_id: 2942183558593ffc9d75fb8e16793ff
api_key: 1706006863049654272
signature: 9949eb95d9d62fec4a19bbbfdbad52f22745d2a8aea2618eee41d2dd8ace22d6
Content-Type: application/json

{
    "page": 1,
    "row": 1
}


返回示例:


count表示符合該條件的實(shí)例總共有多少條。


{
    "status": 2000,
    "message": "success",
    "data": {
        "count": 5,
        "data": [
            {
                "userAccount": "z8z87878",
                "remoteId": "1fd3397f-038f-4b63-ae93-dfb66e093b82",
                "productId": "standard_cloud_disk",
                "productName": "高效云盤",
                "latestOrderId": "1706473829073420289",
                "areaMark": "test",
                "areaName": "測(cè)試環(huán)境",
                "diskSize": 16,
                "beginTime": 1589277056852,
                "endTime": 1594547456852,
                "status": "OK",
                "remoteDiskStatus": "extending",
                "remoteHostName": "computer2",
                "attacheHostId": "cvm-3hdk8be2b2225",
                "autoRenew": false,
                "supportNoReasonRefund": false,
                "refundStatus": "NONE",
                "configuration": "",
                "createTime": 1589277056853,
                "updateTime": 1589277602518,
                "id": "disk-3hdnwe228s223"
            }
        ]
    }
}


實(shí)例數(shù)據(jù)結(jié)構(gòu):


字段類型
描述
idstring實(shí)例id
userAccount
string用戶名
diskSize
int磁盤大小
status
string實(shí)例狀態(tài)
remoteDiskStatusstring實(shí)例運(yùn)行狀態(tài)
attacheHostIdstring掛載的服務(wù)器Id,可能為空
bindHostIdstring綁定續(xù)費(fèi)的服務(wù)器Id,可能為空
attacheAsstringdata掛載為數(shù)據(jù)盤,boot掛載為系統(tǒng)盤,可能為空
isBootablebooleantrue為啟動(dòng)盤
endTimelong到期時(shí)間時(shí)間戳,精確到毫秒
createTimelong創(chuàng)建時(shí)間時(shí)間戳,精確到毫秒











您對(duì)該文檔有什么建議?

您對(duì)該文檔的評(píng)分:

本文導(dǎo)航

簡(jiǎn)要描述:

請(qǐng)求url:

請(qǐng)求方式:

請(qǐng)求參數(shù):

請(qǐng)求示例:

返回示例:

搜索文檔