查询PFS实例详情
更新时间:2024-12-18
描述
获取指定的PFS实例的详情信息
请求
请求结构
GET /v1/pfs/instance?instanceId=pfs-xxx
x-bce-date: 2023-06-09T10:08:22Z
host: pfs.gz.baidubce.com
content-type: application/json
Authorization: authorization string
请求头域
除公共头域外,无其他特殊头域
请求参数
参数名称 | 类型 | 是否必需 | 参数位置 | 描述 |
---|---|---|---|---|
instanceId | string | 是 | URL Parameter | 实例短id |
响应
返回状态码,成功返回200,失败返回见错误码
返回头域
除公共头域外,无其他特殊头域
返回参数
参数名字 | 参数类型 | 参数位置 | 是否必须 | 备注 |
---|---|---|---|---|
capacity | int | response body | 是 | PFS实例最大容量(单位GB) |
createTime | string | response body | 是 | PFS实例创建时间 |
description | string | response body | 否 | PFS实例描述信息 |
endpoint | string | response body | 是 | PFS连接地址,仅basic、plus、base、baseX类型实例有该参数 |
instanceId | string | response body | 是 | 实例ID |
instanceStatus | string | response body | 是 | 实例状态 |
instanceType | string | response body | 是 | 实例类型 |
name | string | response body | 否 | 实例名称 |
paymentTiming | string | response body | 是 | 付款方式 |
subnetModel | SubnetDetail | response body | 是 | PFS所在网络信息 |
usage | int | response body | 是 | PFS实例使用量(单位GB) |
vpcId | string | response body | 是 | PFS所在VPCID |
tags | List |
response body | 是 | PFS绑定的标签 |
示例
请求:
GET /v1/pfs/instance?instanceId=pfs-xxx
x-bce-date: 2023-06-09T10:08:22Z
host: pfs.gz.baidubce.com
content-type: application/json
Authorization: authorization string
响应:
HTTP/1.1 200 OK
x-bce-request-id: 946002ee-cb4f-4aad-b686-5be55df27f09
Date: Wed, 10 Apr 2016 08:26:52 GMT
Transfer-Encoding: chunked
Content-Type: application/json;charset=UTF-8
{
"capacity": 7168,
"createTime": "2023-06-09T05:04:30Z",
"description": "PFS l2 test",
"endpoint": "172.16.32.8",
"instanceId": "pfs-xxxx",
"instanceStatus": "RUNNING",
"instanceType": "basic",
"name": "",
"paymentTiming": "postpay",
"subnetModel": {
"cidr": "172.16.32.0/20",
"physicalZone": "AZONE-gzbh",
"subnetId": "sbn-6xba3cdasf1",
"zoneName": "zoneC"
},
"usage": 0,
"vpcId": "vpc-jx648pkxw3tc"
}