{"base_path":null,"components":{"parameters":{"AuthToken":{"description":"用户Token。 获取Token,请参考《统一身份认证服务API参考》的“获取用户Token”章节。请求响应成功后在响应消息头中包含的“X-Subject-Token”的值即为Token值。","in":"header","name":"X-Auth-Token","required":true,"schema":{"maxLength":10240,"minLength":0,"type":"string"}},"ExtFields":{"description":"show response ext-fields","in":"query","name":"ext_fields","schema":{"items":{"type":"string"},"maxItems":5,"minItems":0,"type":"array"}},"Fields":{"description":"显示字段列表","in":"query","name":"fields","required":false,"schema":{"items":{"maxLength":100,"minLength":0,"type":"string"},"maxItems":5,"minItems":1,"type":"array"}},"PathByGlobalDcGatewayId":{"description":"全域接入网关ID","in":"path","name":"global_dc_gateway_id","required":true,"schema":{"description":"全域接入网关ID","pattern":"[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}","type":"string"}},"PathByPeerLinkId":{"description":"全域接入网关对等体","in":"path","name":"peer_link_id","required":true,"schema":{"description":"对等体ID","pattern":"[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}","type":"string"}},"ProjectId":{"description":"租户项目ID","in":"path","name":"project_id","required":true,"schema":{"maxLength":36,"minLength":0,"pattern":"[a-fA-F0-9]{32}","type":"string"}}},"schemas":{"BandWidthInfo":{"description":"带宽信息","properties":{"bandwidth_size":{"description":"带宽值","format":"int32","maximum":268435455,"minimum":0,"type":"integer"},"gcb_id":{"description":"购买全域互连带宽包ID","maxLength":36,"minLength":0,"type":"string"}},"type":"object"},"PeerLinkEntry":{"description":"实例的peer Link的详情","properties":{"bandwidth_info":{"$ref":"#/components/schemas/BandWidthInfo"},"create_owner":{"description":"创建归属服务名\n- cc 云连接\n- dc 云专线","format":"date-time","type":"string"},"created_time":{"description":"创建时间。","format":"date-time","type":"string"},"description":{"description":"描述信息","example":"到北京4的peer","maxLength":255,"minLength":0,"type":"string","x-ifnull":"hide"},"global_dc_gateway_id":{"description":"对应的专线全域接入网关ID","example":"f7b10579-74ee-4bb7-b2e2-74bfae081efd","maxLength":64,"minLength":0,"type":"string"},"id":{"description":"peer link ID。","example":"deddb081-a65b-4d3f-881a-c6a60114e9ad","maxLength":36,"minLength":0,"type":"string"},"instance_id":{"description":"实例ID","example":"0851a5e0-6623-42c2-bb02-b8956e313dd8","type":"string"},"name":{"description":"专线内部连接(peer link)名字","example":"peer_to_BJ4","maxLength":64,"minLength":0,"type":"string","x-ifnull":"hide"},"peer_site":{"$ref":"#/components/schemas/PeerSite"},"reason":{"description":"失败原因","example":"global-dc-gateway-to-bj-region","maxLength":255,"minLength":0,"type":"string","x-ifnull":"hide"},"status":{"$ref":"#/components/schemas/PeerLinkStatus"},"tenant_id":{"description":"租户项目ID","example":"cef6293371db41929ffd7459d5fd6e01","maxLength":255,"minLength":0,"pattern":"[a-z0-9]{32}","type":"string","x-ifnull":"hide"},"updated_time":{"description":"更新时间。","format":"date-time","type":"string"}},"type":"object"},"PeerLinkStatus":{"description":"关联连接状态, - PENDING_CREATE (创建中) - PENDING_UPDATE (更新中) - ACTIVE (可用状态) - ERROR (失败状态)","enum":["PENDING_CREATE","PENDING_UPDATE","ACTIVE","ERROR"],"example":"ACTIVE","type":"string"},"PeerSite":{"description":"对端的网关的描述信息","properties":{"gateway_id":{"description":"对端网关的ID","maxLength":36,"minLength":0,"type":"string"},"link_id":{"description":"对端网关连接的ID(如:对端为ER时为attachment ID,对端为GDGW时为对端的PeerLink Id","maxLength":64,"minLength":0,"type":"string"},"project_id":{"description":"对等体站点的项目ID","example":"cn-north4","maxLength":36,"minLength":0,"type":"string"},"region_id":{"description":"对端网关所在的Region","example":"cn-north4","maxLength":36,"minLength":0,"type":"string"},"site_code":{"description":"专线全域接入网关对应的站点位置","example":"area-subArea-city","maxLength":64,"minLength":0,"type":"string","x-ifnull":"hide"},"type":{"description":"对等体的类型\n- ER 企业路由器\n- GDGW 全域接入网关","enum":["ER","GDGW"],"example":"ER","maxLength":64,"minLength":0,"type":"string","x-ifnull":"hide"}}},"ShowPeerLinkResponseBody":{"description":"查询Peer Link详情的返回体","properties":{"peer_link":{"$ref":"#/components/schemas/PeerLinkEntry"},"request_id":{"description":"请求ID。","example":"e09daf2d-7689-4815-812e-bd9e12a53906","maxLength":36,"minLength":0,"type":"string"}},"type":"object"}}},"consumes":"","definitions":null,"description":null,"group_id":"044e9f7ee6954f958198fe6f41f8bf50","host":"dcaas.cn-north-4.myhuaweicloud.com","id":"f24519880d334633b1425711494c6d7b","info_version":"v3","method":"get","name":"ShowPeerLink","parameters":null,"paths":{"/v3/{project_id}/dcaas/global-dc-gateways/{global_dc_gateway_id}/peer-links/{peer_link_id}":{"get":{"description":"查询指定接入网关的指定的关联连接(peer link)详情","operationId":"ShowPeerLink","parameters":[{"$ref":"#/components/parameters/AuthToken"},{"$ref":"#/components/parameters/ProjectId"},{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/ExtFields"},{"$ref":"#/components/parameters/PathByGlobalDcGatewayId"},{"$ref":"#/components/parameters/PathByPeerLinkId"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShowPeerLinkResponseBody"}}},"description":"OK","x-response-examples-1":{"application/json":{"peer_link":{"bandwidth_info":{"bandwidth_size":0,"gcb_id":null},"create_owner":"dc","created_time":"2024-12-12T08:16:40.000Z","description":null,"global_dc_gateway_id":"335cb548-0ea0-4aff-80f5-502a2dab5325","id":"d6ea4641-9575-4675-ac4f-906884e37f28","instance_id":null,"name":"dgw-peer-link-94dc","peer_site":{"gateway_id":"70e29908-12f8-4d5d-9adf-4da5465b91b2","link_id":null,"project_id":"b197c48159d44a66b32c538c3f8da89a","region_id":"cn-southwest-242","site_code":"cn-southwest-242","type":"ER"},"reason":null,"status":"ACTIVE","tenant_id":"b197c48159d44a66b32c538c3f8da89a","updated_time":"2024-12-12T08:17:10.796Z"},"request_id":"d4b6270f377d1cfcb90edd12fc737b1f"}},"x-response-examples-description-1":"专线连接查询详情结果"}},"summary":"查询专线关联连接详情","tags":["PeerLink"],"x-huawei-security":{"enableEProject":true,"epsAction":"show","pdpKey":"dcaas:peerLink:show"},"x-is-registered":"Y","x-request-examples-description-1":"查询专线关联连接详情","x-request-examples-url-1":"GET https://{dc_endpoint}/v3/b197c48159d44a66b32c538c3f8da89a/dcaas/global-dc-gateways/335cb548-0ea0-4aff-80f5-502a2dab5325/peer-links/d6ea4641-9575-4675-ac4f-906884e37f28","x-support-sdk":"Y"}}},"product_short":"DC","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询专线关联连接详情","tags":"专线关联连接","uri":null,"version":"3.0.1"}