硅云幫助文檔中心
搜索文檔
熱門(mén)搜索詞:
產(chǎn)品簡(jiǎn)介
產(chǎn)品定價(jià)
入門(mén)指南
經(jīng)典案例
快照
常見(jiàn)問(wèn)題
知識(shí)拓展
名詞解釋
API參考
產(chǎn)品規(guī)格相關(guān)接口
服務(wù)器實(shí)例相關(guān)接口
安全組相關(guān)接口
磁盤(pán)相關(guān)接口
創(chuàng)建安全組
/ncs-server/api/v1/security/info
POST
字段 | 類(lèi)型 | 最大長(zhǎng)度 | 參數(shù)位置 | 默認(rèn)必填 | 描述 |
areaMark | string | 32 | RequestBody | 地區(qū)標(biāo)識(shí) | |
groupName | string | 32 | RequestBody | 安全組名稱(chēng) | |
description | string | 64 | RequestBody | 選填 | 描述 |
POST /ncs-server/api/v1/security/info HTTP/1.1 Content-Type: application/json request_id: 2942183558593ffc9d75fb8e16793ff api_key: 1706006863049654272 signature: 16154ae5005eeb25943b0f9c2b7e49e2ecdce9c5bd9024e5d37a8da55c142a1b Content-Type: application/json { "areaMark": "test", "groupName":"安全組名稱(chēng)" }
{ "status": 2000, "message": "success", "data": { "userAccount": "z8z87878", "remoteId": "182062f5-66d3-47c2-900a-a611a3ae8e57", "areaMark": "test", "areaName": "測(cè)試環(huán)境", "groupType": "self", "groupName": "安全組名稱(chēng)", "linkServerCount": 0, "createTime": 1589272404201, "updateTime": 1589272404201, "id": "sg-3hdnruj28s222" } }
實(shí)例數(shù)據(jù)結(jié)構(gòu):
字段 | 類(lèi)型 | 描述 |
id | string | 安全組id |
userAccount | string | 用戶(hù)名 |
areaMark | string | 地區(qū)標(biāo)識(shí) |
areaName | string | 地區(qū)名 |
groupTypeName | string | 安全組名 |
linkServerCount | string | 關(guān)聯(lián)了多少個(gè)實(shí)例 |
description | string | 描述,沒(méi)有不返回 |
createTime | long | 創(chuàng)建時(shí)間時(shí)間戳,精確到毫秒 |
您對(duì)該文檔有什么建議?
本文導(dǎo)航