应用与数据集成平台 ROMA Connect-创建ACL策略:响应示例

时间:2023-11-01 16:22:59

响应示例

状态码: 201

Created

{  "id" : "7eb619ecf2a24943b099833cd24a01ba",  "acl_name" : "acl_demo",  "entity_type" : "IP",  "acl_type" : "PERMIT",  "acl_value" : "192.168.1.5,192.168.10.1",  "update_time" : "2020-08-04T08:42:43.461276217Z"}

状态码: 400

Bad Request

{  "error_code" : "APIG.2011",  "error_msg" : "Invalid parameter value,parameterName:acl_type. Please refer to the support documentation"}

状态码: 401

Unauthorized

{  "error_code" : "APIG.1002",  "error_msg" : "Incorrect token or token resolution failed"}

状态码: 403

Forbidden

{  "error_code" : "APIG.1005",  "error_msg" : "No permissions to request this method"}

状态码: 404

Not Found

{  "error_code" : "APIG.3030",  "error_msg" : "The instance does not exist;id:f0fa1789-3b76-433b-a787-9892951c620e"}

状态码: 500

Internal Server Error

{  "error_code" : "APIG.9999",  "error_msg" : "System error"}
support.huaweicloud.com/api-roma/CreateAclStrategyV2.html