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

最新活動 新春特惠

產(chǎn)品

硅云幫助文檔中心

搜索文檔

熱門搜索詞:

搜索實例

更新時間:2020-07-14?14:32 ?版本:v1.2
分享到: ? ?
我要反饋?
收藏 我的收藏

簡要描述:


    搜索實例


請求url:


/ncs-server/api/v1/host/search


請求方式:


GET


請求參數(shù):


字段
類型最大長度參數(shù)位置默認選填
描述
page int10RequestBody
頁,默認1 第一頁
rowint10RequestBody
默認10  一頁10行,最大 100
ipstring
RequestBody
公網(wǎng)ip地址
statusstring16RequestBody
實例狀態(tài)
projectIdstring32RequestBody
項目id
areaMarkstring32RequestBody
地區(qū)標識
securityGroupIdstring32RequestBody
安全組id
autoRenewboolean1RequestBody
是否開啟了自動續(xù)費,true為已開啟
idstring32RequestBody
實例Id,模糊查詢,精確查詢請通過根據(jù)實例id獲取實例接口
fromCreateTimelong64RequestBody
創(chuàng)建時間時間戳左區(qū)間,精確到毫秒
toCreateTimelong64RequestBody
創(chuàng)建時間時間戳右區(qū)間,精確到毫秒
fromEndTimelong64RequestBody
過期時間時間戳左區(qū)間,精確到毫秒
toEndTimelong64RequestBody
過期時間時間戳右區(qū)間,精確到毫秒



請求示例:


GET /ncs-server/api/v1/host/search HTTP/1.1
Content-Type: application/json
request_id: 2942183558593ffc9d75fb8e16793ff
api_key: 1706006863049654272
signature: 82caf5a0010340e9fdf1d1547375ff5a6aec59bc053781b0ef6cce8b6b7fbb49
Content-Type: application/json

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


返回示例:


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


{
    "status": 2000,
    "message": "success",
    "data": {
        "count": 4,
        "data": [
            {
                "userAccount": "z8z87878",
                "remoteId": "4f5b978e-5631-4dd1-8b1f-a38f202bbadd",
                "productId": "cvm.g1.c1m1.large",
                "projectId": "0",
                "projectName": "默認",
                "latestOrderId": "1706449695652184065",
                "cpuNum": 1,
                "memSize": 1024,
                "systemDiskInfo": "{\"remoteId\":\"9076ee10-2d39-4c23-be59-8fe1a7e5072d\",\"productId\":\"standard_cloud_disk\",\"productName\":\"高效云盤\",\"diskSize\":20,\"status\":\"OK\",\"remoteHostName\":\"computer2\",\"id\":\"disk-3hdk8be2b2222\"}",
                "areaMark": "test",
                "areaName": "測試環(huán)境",
                "hostType": "g1",
                "hostTypeName": "通用型",
                "floatIpId": "54a49d4b-a126-4895-bca2-d8548fbfc46b",
                "floatIp": "192.168.34.243",
                "innerIp": "172.16.1.27",
                "bandwidthStatus": "OK",
                "bandwidthProductId": "default",
                "bandwidthTypeName": "默認",
                "bandwidth": 1,
                "imageId": "CentOS-6-x86_64-6.8",
                "imageName": "CentOS 6.8 64位",
                "imageType": "public",
                "securityGroupStatus": "ok",
                "securityGroupInfo": "guiyun-system-template-open-all",
                "beginTime": 1589188908832,
                "endTime": 1594459308832,
                "status": "OK",
                "remoteHostStatus": "ACTIVE",
                "buildStatus": "build_success",
                "remoteHostName": "computer2",
                "autoRenew": false,
                "supportNoReasonRefund": false,
                "refundStatus": "NONE",
                "configuration": "",
                "createTime": 1589188908833,
                "updateTime": 1589255127596,
                "id": "cvm-3hdk8be2b2225"
            }
        ]
    }
}


實例數(shù)據(jù)結構:


字段類型
描述
idstring實例id
userAccount
string用戶名
projectId
string實例所屬項目id  0為默認項目
projectNamestring實例項目名
systemDiskInfostringjson字符串,系統(tǒng)盤信息
bindDiskCountint綁定續(xù)費的磁盤數(shù)量
hasBootbooleantrue為有系統(tǒng)盤,false為沒有
status
string實例狀態(tài)
remoteHostStatusstring實例運行狀態(tài)
buildStatusint實例創(chuàng)建狀態(tài)
bandwidthStatus
string帶寬設置狀態(tài)
securityGroupStatusstring安全組設置狀態(tài)
endTimelong到期時間時間戳,精確到毫秒
createTimelong創(chuàng)建時間時間戳,精確到毫秒










您對該文檔有什么建議?

您對該文檔的評分:

本文導航

簡要描述:

請求url:

請求方式:

請求參數(shù):

請求示例:

返回示例:

搜索文檔