{"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"}},"Limit":{"description":"每页返回的个数。\n取值范围:1~2000。","example":10,"in":"query","name":"limit","schema":{"default":2000,"format":"int32","maximum":2000,"minimum":1,"type":"integer"}},"Marker":{"description":"上一页最后一条资源记录的ID,为空时为查询第一页。\n使用说明:必须与limit一起使用。","example":"7f7f738f-453c-40b1-be26-28e7b9e390c1","in":"query","name":"marker","schema":{"maxLength":36,"minLength":0,"type":"string"}},"PathByGdgwId":{"description":"全域接入网关ID","in":"path","name":"gdgw_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"}},"QueryByAddressFamily":{"description":"地址簇","explode":true,"in":"query","name":"address_family","schema":{"description":"地址簇\n- ipv4\n- ipv6","items":{"enum":["ipv4","ipv6"],"type":"string"},"type":"array"},"style":"form"},"QueryByDestination":{"description":"目的地址","explode":true,"in":"query","name":"destination","schema":{"description":"目的地址","items":{"type":"string"},"type":"array"},"style":"form"},"QueryByNexthop":{"description":"下一条ID","explode":true,"in":"query","name":"nexthop","schema":{"description":"下一跳","items":{"type":"string"},"type":"array"},"style":"form"}},"schemas":{"AddressFamily":{"description":"地址族类型:\n- ipv4: ipv4\n- ipv6: ipv6","enum":["ipv4","ipv6"],"type":"string","x-huawei-extraAnnotation":"@JsonProperty(\"address_family\")\n"},"CommonRoutetable":{"description":"路由明细","properties":{"address_family":{"$ref":"#/components/schemas/AddressFamily"},"description":{"description":"路由描述","maxLength":1024,"minLength":0,"type":"string","x-huawei-extraAnnotation":"@JsonProperty(\"description\")\n"},"destination":{"description":"路由子网","maxLength":64,"minLength":64,"type":"string","x-huawei-extraAnnotation":"@JsonProperty(\"destination\")\n"},"gateway_id":{"description":"网关id","maxLength":36,"minLength":36,"type":"string","x-huawei-extraAnnotation":"@JsonProperty(\"gateway_id\")\n"},"id":{"description":"路由id","maxLength":36,"minLength":36,"type":"string","x-huawei-extraAnnotation":"@JsonProperty(\"id\")\n"},"nexthop":{"description":"下一跳id","maxLength":36,"minLength":36,"type":"string","x-huawei-extraAnnotation":"@JsonProperty(\"nexthop\")\n"},"obtain_mode":{"description":"路由类型:\n- customized: 默认路由\n- specific: 自定义路由\n- bgp: 动态路由","enum":["customized","specific","bgp"],"type":"string","x-huawei-extraAnnotation":"@JsonProperty(\"obtain_mode\")\n"},"status":{"description":"路由状态:\n- ACTIVE: 下发正常\n- ERROR: 下发失败\n- PENDING_CREATE: 待下发","enum":["ACTIVE","ERROR","PENDING_CREATE"],"type":"string","x-huawei-extraAnnotation":"@JsonProperty(\"status\")\n"},"tenant_id":{"description":"租户id","maxLength":64,"minLength":64,"type":"string","x-huawei-extraAnnotation":"@JsonProperty(\"tenant_id\")\n"},"type":{"description":"下一跳类型:\n- vif_peer: 虚拟接口对等体\n- gdgw: 全域接入网关","enum":["vif_peer","gdgw"],"maxLength":255,"minLength":0,"type":"string"}},"required":["id","tenant_id","destination","nexthop","type","obtain_mode","status","address_family"],"type":"object"},"PageInfo":{"description":"分页查询页的信息","properties":{"current_count":{"description":"当前列表中资源数量","format":"int32","maximum":2000,"minimum":0,"type":"integer"},"next_marker":{"description":"下一页的marker,值为资源的uuid,为空时表示最后一页","maxLength":36,"minLength":0,"type":"string"},"previous_marker":{"description":"上一页的marker,值为资源的uuid","maxLength":36,"minLength":0,"type":"string"}},"required":["current_count","previous_marker"],"type":"object"},"ShowGdgwRoutetableResponseBody":{"description":"查询全域接入网关路由表返回的response","properties":{"gdgw_routetables":{"description":"全域接入网关路由表","items":{"$ref":"#/components/schemas/CommonRoutetable"},"maxItems":2000,"minItems":0,"type":"array"},"page_info":{"$ref":"#/components/schemas/PageInfo"},"request_id":{"description":"请求id","maxLength":36,"minLength":0,"type":"string"},"total_count":{"description":"总记录数。","example":10,"format":"int32","type":"integer"}},"required":["request_id","gdgw_routetables"],"type":"object"}}},"consumes":"","definitions":null,"description":null,"group_id":"044e9f7ee6954f958198fe6f41f8bf50","host":"dcaas.cn-north-4.myhuaweicloud.com","id":"45add26191d34a929883bd854998ec99","info_version":"v3","method":"get","name":"ListGdgwRouteTables","parameters":null,"paths":{"/v3/{project_id}/dcaas/gdgw/{gdgw_id}/routetables":{"get":{"description":"查询全域接入网关路由表","operationId":"ListGdgwRouteTables","parameters":[{"$ref":"#/components/parameters/AuthToken"},{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/ExtFields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Marker"},{"$ref":"#/components/parameters/ProjectId"},{"$ref":"#/components/parameters/PathByGdgwId"},{"$ref":"#/components/parameters/QueryByNexthop"},{"$ref":"#/components/parameters/QueryByDestination"},{"$ref":"#/components/parameters/QueryByAddressFamily"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShowGdgwRoutetableResponseBody"}}},"description":"OK","x-response-examples-1":{"application/json":{"gdgw_routetables":[{"address_family":"ipv4","description":"v4子网路由","destination":"x.x.0.0/16","gateway_id":"5791e3c8-b43d-4751-bfeb-a643e40e6086","id":"14d55a22-9d08-46af-bc2e-f965f9558234","nexthop":"409ed40b-7ccf-4514-8ca8-af2b994e4023","obtain_mode":"customized","status":"ACTIVE","tenant_id":"00000000000000000000000000000000","type":"vif_peer"}],"page_info":{"current_count":1,"previous_marker":"54bf7a78-1a7d-4d42-ac07-abb2f903f2c1"},"request_id":"409ed40b-7ccf-4514-8ca8-af2b994e4023","total_count":1}},"x-response-examples-description-1":"查询全域接入网关路由表响应体"}},"summary":"查询全域接入网关路由表","tags":["GdgwRoutetable"],"x-apiexplorer-hide":"false","x-huawei-common":{"action":"show","cts_operation_id":"ListGdgwRouteTables","cts_resource_type":"dcaasGlobalDcGateway","cts_service_type":"DC","cts_trace_name":"listGdgwRouteTables","primaryTable":"dc_routes","resourceName":"gdgw_routetable","resourcesName":"gdgw_routetables","timeout":60},"x-huawei-security":{"enableEProject":true,"epsAction":"show","pdpkey":["dcaas:gdgw:listGdgwRouteTable"],"policy":"all_dc_roles_include_authorized_sub_account"},"x-is-registered":"Y","x-request-examples-description-1":"查询全域接入网关路由表","x-request-examples-url-1":"GET https://{dc_endpoint}/v3/4bd6efdb0fb747b39aa2c0162c112226/dcaas/gdgw/0851a5e0-6623-42c2-bb02-b8956e313dd8/routetables","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"}