中文字幕精品av乱码在线,亚洲色大成网站www永久一区,亚洲精品无码久久久久久久,综合亚洲综合图区网友自拍,亚洲国产成人无码电影

產(chǎn)品

硅云幫助文檔中心

搜索文檔

熱門搜索詞:

搜索實(shí)例

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

簡(jiǎn)要描述:


    搜索實(shí)例


請(qǐng)求url:


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


請(qǐng)求方式:


GET


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


字段
類型最大長(zhǎng)度參數(shù)位置默認(rèn)選填
描述
page int10RequestBody
頁,默認(rèn)1 第一頁
rowint10RequestBody
默認(rèn)10  一頁10行,最大 100
ipstring
RequestBody
公網(wǎng)ip地址
statusstring16RequestBody
實(shí)例狀態(tài)
projectIdstring32RequestBody
項(xiàng)目id
areaMarkstring32RequestBody
地區(qū)標(biāo)識(shí)
securityGroupIdstring32RequestBody
安全組id
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/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表示符合該條件的實(shí)例總共有多少條。


{
    "status": 2000,
    "message": "success",
    "data": {
        "count": 4,
        "data": [
            {
                "userAccount": "z8z87878",
                "remoteId": "4f5b978e-5631-4dd1-8b1f-a38f202bbadd",
                "productId": "cvm.g1.c1m1.large",
                "projectId": "0",
                "projectName": "默認(rèn)",
                "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": "測(cè)試環(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": "默認(rèn)",
                "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í)例數(shù)據(jù)結(jié)構(gòu):


字段類型
描述
idstring實(shí)例id
userAccount
string用戶名
projectId
string實(shí)例所屬項(xiàng)目id  0為默認(rèn)項(xiàng)目
projectNamestring實(shí)例項(xiàng)目名
systemDiskInfostringjson字符串,系統(tǒng)盤信息
bindDiskCountint綁定續(xù)費(fèi)的磁盤數(shù)量
hasBootbooleantrue為有系統(tǒng)盤,false為沒有
status
string實(shí)例狀態(tài)
remoteHostStatusstring實(shí)例運(yùn)行狀態(tài)
buildStatusint實(shí)例創(chuàng)建狀態(tài)
bandwidthStatus
string帶寬設(shè)置狀態(tài)
securityGroupStatusstring安全組設(shè)置狀態(tài)
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)求示例:

返回示例:

搜索文檔