You need to enable JavaScript to run this app.
文档中心
云安全中心

云安全中心

复制全文
下载 pdf
HIDS_MLP
GetDevDetail - 获取开发机详情
复制全文
下载 pdf
GetDevDetail - 获取开发机详情

根据开发机实例 ID 查询基础信息、网络、Agent、防护和风险详情;实例 ID 可从 ListAssetCenterDevs 获取。

调试

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。

参数
类型
是否必填
示例值
描述
Action
String
是

GetDevDetail

要执行的操作,取值:GetDevDetail。

Version
String
是

2024-05-08

API的版本,取值:2024-05-08。

AssetID
String
是

asset-id-001

开发机资产 ID,可从 ListAssetCenterDevs 获取

返回参数

下表仅列出本接口特有的返回参数。更多信息请参见返回结构。

参数
类型
示例值
描述
AccountId
String

account-id-001

账户ID

SecurityEnhancement
Boolean

true

安全防护开关是否开启

AssetId
String

asset-id-001

资产ID

AssetName
String

example-name

资产名称

CreateTime
Long

1786492800

创建时间,秒级 Unix 时间戳

FlavorId
String

flavor-id-001

实例规格

ImageID
String

image-id-001

镜像id

Platform
String

linux

操作系统

Ports
Array of Object

--

访问配置

ProtectStatus
String

Protecting

防护状态 未防护:UnProtected 防护中:Protecting

PrivateIP
String

192.0.2.10

私网IP

PublicIP
String

203.0.113.10

公网IP

Region
String

cn-beijing

区域-地域

Status
String

Running

资产状态, 运行中:Running, 关闭:Stopped

Storages
Array of Object

--

共享文件系统

Volume
Object

--

云盘

VpcId
String

vpc-id-001

私网ID

请求示例

GET /?Action=GetDevDetail&Version=2024-05-08&AssetID=asset-id-001 HTTP/1.1
Host: seccenter.volcengineapi.com
X-Date: 20241120T080538Z
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20241120/cn-beijing/seccenter/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f


返回示例

{
  "ResponseMetadata": {
    "RequestId": "20241120165538010234567890",
    "Action": "GetDevDetail",
    "Version": "2024-05-08",
    "Service": "seccenter",
    "Region": "cn-beijing"
  },
  "Result": {
    "AccountId": "account-id-001",
    "AssetId": "asset-id-001",
    "AssetName": "example-name",
    "CreateTime": 1786492800,
    "FlavorId": "flavor-id-001",
    "ImageID": "image-id-001",
    "Platform": "linux",
    "Ports": [
      {
        "EnablePublicNetworkAccess": true,
        "ExternalIp": "192.0.2.10",
        "ExternalPort": 8080,
        "InternalIp": "192.0.2.10",
        "InternalPort": 8080,
        "Name": "example-name",
        "PrivateEndpointUrl": "https://example.com",
        "PublicEndpointUrl": "https://example.com",
        "State": "success",
        "StateHint": "success",
        "Type": "default"
      }
    ],
    "PrivateIP": "192.0.2.10",
    "ProtectStatus": "Protecting",
    "PublicIP": "203.0.113.10",
    "Region": "cn-beijing",
    "SecurityEnhancement": true,
    "Status": "Running",
    "Storages": [
      {
        "Addr": "192.0.2.10:443",
        "Id": "resource-id-001",
        "MountPath": "/mnt/shared",
        "Name": "example-name",
        "ReadOnly": true,
        "Type": "Vepfs"
      }
    ],
    "Volume": {
      "Id": "resource-id-001",
      "Size": 1,
      "State": "Extending",
      "StateHint": "success",
      "Type": "default",
      "Used": "1073741824"
    },
    "VpcId": "vpc-id-001"
  }
}

错误码

下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。

状态码
错误码
错误信息
说明
400
MissingParameter

The required parameter %s is missing.

请求参数缺失,请检查参数是否已正确传入。

400
InvalidParameter

The specified parameter %s is invalid.

请求参数错误,请检查参数传递内容是否正确。

400
OperationDenied

Operation is denied because the specified resource is in use.

不允许的操作,请检查当前资源是否被占用。

500
InternalError

The request has failed due to an unknown error.

服务器内部错误,请稍后重试或联系技术支持。

500
DBOperateError

The request has failed because database return error: %s

数据库操作异常,请稍后重试或联系技术支持。

最近更新时间:2026.10.30 14:06:16
这个页面对您有帮助吗?
有用
有用
无用
无用