{"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"}},"EnterpriseProjectIds":{"description":"根据企业项目ID过滤资源实例","explode":false,"in":"query","name":"enterprise_project_id","schema":{"items":{"maxLength":36,"minLength":0,"pattern":"0|[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"},"maxItems":10,"minItems":1,"type":"array"},"style":"form"},"Fields":{"description":"显示字段列表","in":"query","name":"fields","required":false,"schema":{"items":{"maxLength":100,"minLength":0,"type":"string"},"maxItems":5,"minItems":1,"type":"array"}},"HostingId":{"description":"根椐运营专线ID过滤托管专线列表","explode":true,"in":"query","name":"hosting_id","schema":{"items":{"type":"string"},"maxItems":5,"minItems":0,"type":"array"},"style":"form"},"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"}},"ProjectId":{"description":"租户项目ID","in":"path","name":"project_id","required":true,"schema":{"pattern":"[a-fA-F0-9]{32}","type":"string"}},"QueryByCloudConnectionId":{"description":"云连接ID","explode":true,"in":"query","name":"cloud_connection_id","schema":{"description":"云连接ID","items":{"pattern":"[0-9a-fA-F]{8}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{12}","type":"string"},"type":"array"},"style":"form"},"QueryByGlobalCenterNetworkId":{"description":"全球中心网络ID","explode":true,"in":"query","name":"global_center_network_id","schema":{"description":"全球中心网络ID","items":{"pattern":"[0-9a-fA-F]{8}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{12}","type":"string"},"type":"array"},"style":"form"},"QueryById":{"description":"根据资源ID过滤实例","explode":true,"in":"query","name":"id","schema":{"items":{"type":"string"},"maxItems":5,"minItems":1,"type":"array"},"style":"form"},"QueryByName":{"description":"根据名字过滤查询,可查询多个名字。","example":["resourceA"],"explode":false,"in":"query","name":"name","schema":{"items":{"maxLength":64,"minLength":1,"pattern":"^[\\u4e00-\\u9fa50-9a-zA-Z_.\\-]+$","type":"string"},"maxItems":5,"minItems":1,"type":"array"},"style":"form"},"QueryBySiteNetworkId":{"description":"站点网络ID","explode":true,"in":"query","name":"site_network_id","schema":{"description":"站点网络ID","items":{"pattern":"[0-9a-fA-F]{8}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{4}\\-[0-9a-fA-F]{12}","type":"string"},"type":"array"},"style":"form"},"SortDir":{"description":"返回结果按照升序(asc)或降序(desc)排列,默认为asc","in":"query","name":"sort_dir","required":false,"schema":{"items":{"enum":["asc","desc"],"type":"string"},"type":"array"}},"SortKey":{"description":"排序字段。","example":["id"],"in":"query","name":"sort_key","required":false,"schema":{"default":"id","maxLength":36,"minLength":0,"type":"string"}}},"schemas":{"ExternalListGlobalDcGateways":{"description":"","properties":{"address_family":{"description":"地址簇","type":"string"},"admin_state_up":{"description":"是否冻结: true-是,false-否","type":"boolean"},"available_peer_link_count":{"description":"有效对等体数量","format":"int32","type":"integer"},"bgp_asn":{"description":"BGP模式的AS号","format":"int64","type":"integer"},"cloud_connection_id":{"description":"云连接ID","type":"string"},"created_time":{"description":"创建时间","format":"date-time","type":"string"},"current_peer_link_count":{"description":"当前对等体数量","format":"int32","type":"integer"},"description":{"description":"描述信息","type":"string"},"enterprise_project_id":{"description":"企业项目ID","type":"string"},"global_center_network_id":{"description":"全球中心网络ID","type":"string"},"id":{"description":"唯一ID","type":"string"},"locales":{"$ref":"#/components/schemas/Locale"},"location_name":{"description":"位置名称","type":"string"},"name":{"description":"名称","type":"string"},"reason":{"description":"失败原因","type":"string"},"region_id":{"description":"局点ID","type":"string"},"site_network_id":{"description":"站点网络ID","type":"string"},"status":{"description":"状态: ACTIVE-正常,ERROR-异常","type":"string"},"tags":{"description":"标签","items":{"$ref":"#/components/schemas/Tag"},"type":"array"},"tenant_id":{"description":"租户ID","type":"string"},"updated_time":{"description":"修改时间","format":"date-time","type":"string"}},"type":"object"},"ListGlobalDcGatewayResponseBody":{"description":"","properties":{"global_dc_gateways":{"description":"","items":{"$ref":"#/components/schemas/ExternalListGlobalDcGateways"},"type":"array"},"page_info":{"$ref":"#/components/schemas/PageInfo"},"request_id":{"description":"请求ID","type":"string"}},"required":["global_dc_gateways","page_info","request_id"],"type":"object"},"Locale":{"description":"","properties":{"en_us":{"description":"English name","type":"string","x-huawei-alias":"enUs"},"zh_cn":{"description":"Chinese name","type":"string","x-huawei-alias":"zhCn"}},"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"},"Tag":{"description":"资源标签。","properties":{"key":{"description":"标签键,最大长度36个unicode字符,格式为大小写字母,数字,中划线“-”,下划线“_”,中文。","example":"key","maxLength":36,"minLength":0,"type":"string"},"value":{"description":"标签值,最大长度43个unicode字符,格式为大小写字母,数字,中划线“-”,下划线“_”,点“.”,中文。","example":"value","maxLength":43,"minLength":0,"type":"string"}},"required":["key"],"type":"object"}}},"consumes":"","definitions":null,"description":null,"group_id":"044e9f7ee6954f958198fe6f41f8bf50","host":"dcaas.cn-north-4.myhuaweicloud.com","id":"8fc165e4494143129dd06cd6ce9c8e0b","info_version":"v3","method":"get","name":"ListGlobalDcGateway","parameters":null,"paths":{"/v3/{project_id}/dcaas/global-dc-gateways":{"get":{"description":"查询 全球接入网关列表,返回列表中包含全球接入网关的详细信息。","operationId":"ListGlobalDcGateway","parameters":[{"$ref":"#/components/parameters/AuthToken"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Marker"},{"$ref":"#/components/parameters/ProjectId"},{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/SortKey"},{"$ref":"#/components/parameters/SortDir"},{"$ref":"#/components/parameters/HostingId"},{"$ref":"#/components/parameters/EnterpriseProjectIds"},{"$ref":"#/components/parameters/QueryById"},{"$ref":"#/components/parameters/QueryByName"},{"$ref":"#/components/parameters/QueryByGlobalCenterNetworkId"},{"$ref":"#/components/parameters/QueryBySiteNetworkId"},{"$ref":"#/components/parameters/QueryByCloudConnectionId"}],"responses":{"200":{"content":{"application/json; charset=utf-8":{"schema":{"$ref":"#/components/schemas/ListGlobalDcGatewayResponseBody"}}},"description":"OK","headers":{"X-Request-Id":{"schema":{"type":"string"}}}}},"summary":"查询全球接入网关列表","tags":["GlobalDcGateway"],"x-apiexplorer-hide":"false","x-is-registered":"Y","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"}