# 专有网络详情 (/products/qvm/vpc/1-describe-vpc)



最近更新时间: 2020-12-29 17:02:14

# 请求路径 [#请求路径]

> `GET` /v1/vm/vpc/:vpc\_id

# 请求参数 [#请求参数]

| 名称         | 类型     | 位置    | 必须 | 描述      |
| ---------- | ------ | ----- | -- | ------- |
| vpc\_id    | string | path  | 是  | 专有网络 ID |
| region\_id | string | query | 是  | 地域 ID   |

# 返回值 [#返回值]

| 名称          | 类型      | 描述           |
| ----------- | ------- | ------------ |
| request\_id | string  | 请求 ID        |
| data        | VPCInfo | VPC 专有网络信息详情 |

### VPCInfo [#vpcinfo]

| 名称                  | 类型                                  | 描述                                                |
| ------------------- | ----------------------------------- | ------------------------------------------------- |
| vpc\_id             | string                              | VPC ID                                            |
| region\_id          | string                              | VPC 所在的地域                                         |
| status              | string                              | VPC 的状态，取值：Pending：配置中， Available：可用              |
| vpc\_name           | string                              | VPC 的名称                                           |
| v\_switch\_ids      | object\{"v\_switch\_id": \[]string} | VPC 中交换机的列表                                       |
| cidr\_block         | string                              | VPC 的 IPv4 网段                                     |
| v\_router\_id       | string                              | VPC 路由器的 ID                                       |
| description         | string                              | VPC 的描述信息                                         |
| is\_default         | bool                                | 是否为默认 VPC，只能在创建的时候插入该字段                           |
| ipv6\_cidr\_block   | string                              | 交换机的 IPv6 网段                                      |
| bind\_ipv6\_gateway | bool                                | 是否绑定 IPv6 网关                                      |
| cen\_status         | string                              | VPC绑定云企业网的状态: Detached：未绑定云企业网， Available：已绑定云企业网 |
| route\_table\_id    | string                              | 路由表的ID                                            |
| client\_token       | string                              | 保证请求幂等性。从您的客户端生成一个参数值，确保不同请求间该参数值唯一               |
| created\_at         | string                              | 创建时间                                              |
| updated\_at         | string                              | 更新时间                                              |

## 返回值示例 [#返回值示例]

```json
{
  "data": {
    "vpc_id": "76b39642-dbdd-4e41-8e1c-e1",
    "region_id": "grand-cn-north-4",
    "status": "Available",
    "vpc_name": "vpc-default",
    "v_switch_ids": {
      "v_switch_id": [
        "a88147c2-0d91-4727-9893",
        "7775f73d-1104-4758-97b2"
      ]
    },
    "cidr_block": "192.168.0.0/16",
    "v_router_id": "",
    "description": "vpc-default",
    "is_default": false,
    "ipv6_cidr_block": "",
    "bind_ipv6_gateway": false,
    "cen_status": "",
    "route_table_id": "",
    "client_token": "",
    "updated_at": "2020-12-24T19:49:55.135+08:00",
    "created_at": "2020-11-12T17:09:18.61+08:00"
  },
  "request_id": "ScKvERiTS663pFMW"
}
```
