API网关 APIG-新增实例的自定义入方向端口:响应示例
时间:2025-05-07 15:33:18
响应示例
状态码:201
Created
{ "protocol" : "HTTP", "ingress_port" : 8080, "ingress_port_id" : "0ae98839d78043d8a6dff54d7cb096dc", "status" : "normal" }
状态码:400
Bad Request
{ "error_code" : "APIC.7211", "error_msg" : "Parameter value does not match the rules, parameter name[protocol]" }
状态码:401
Unauthorized
{ "error_code" : "APIC.7102", "error_msg" : "Incorrect token or token resolution failed" }
状态码:403
Forbidden
{ "error_code" : "APIC.7106", "error_msg" : "No permissions to request for the method" }
状态码:404
Not Found
{ "error_code" : "APIC.7302", "error_msg" : "Instance not found" }
状态码:500
Internal Server Error
{ "error_code" : "APIC.9000", "error_msg" : "Failed to request internal service" }
support.huaweicloud.com/api-apig/AddCustomIngressPort.html