查询服务网卡详情
更新时间:2025-04-30
描述
查询服务网卡详情
请求结构
Plain Text
1 GET /v{version}/endpoint/{endpointId} HTTP/1.1
2 Host: bcc.bj.baidubce.com
3 Authorization: authorization string
4
请求头域
除公共头域外,无其它特殊头域。
请求参数
参数名称 | 类型 | 是否必需 | 参数位置 | 描述 |
---|---|---|---|---|
version | String | 是 | URL参数 | API版本号 |
endpointId | String | 是 | URL参数 | 服务网卡的id |
返回头域
除公共头域,无其它特殊头域。
返回参数
参数名称 | 类型 | 描述 |
---|---|---|
endpointId | String | 服务网卡的id |
name | String | 服务网卡的名称 |
ipAddress | String | 服务网卡ip |
status | String | 服务网卡状态,取值:available/dead,分别表示:可挂载/不可挂载 |
service | String | 服务唯一域名 |
subnetId | String | 子网id |
description | String | 描述 |
createTime | String | 创建时间 |
productType | String | 付费类型 |
vpcId | String | vpc的id |
tags | List<TagModel> | 标签 |
请求示例
Plain Text
1 GET /v1/endpoint/endpoint-11b09ce6 HTTP/1.1
2 Host: bcc.bj.baidubce.com
3 Authorization: authorization string
4
返回示例
Plain Text
1 HTTP/1.1 200 OK
2 x-bce-request-id: 1214cca7 4ad5 451d 9215 71cb844c0a50
3 Date: Thu, 16 Mar 2017 06:29:48 GMT
4 Content Type: application/json;charset=UTF 8
5 Server: BWS
6
7{
8 "endpointId': "endpoint-11a09ce9",
9 "name": "name",
10 "ipAddress": "192.168.0.5",
11 "status": "available",
12 "service": "www.test.com",
13 "subnetId": "sbn-crqu2vxzj049",
14 "createTime": "2019-03-07T02:35:31Z",
15 "description": "",
16 "productType": "postpay",
17 "vpcId": "vpc-q1hcnhf7nmve",
18 "tags": [
19 {
20 "tagKey": "hikwnf",
21 "tagValue": "nwklwmflk"
22 }
23 ]
24}