{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"CreateFirewallTagRequestBody":{"description":"This is a auto create Body Object","properties":{"tag":{"$ref":"#/definitions/ResourceTag","description":"创建ACL资源标签请求体","x-admin":"False","x-internal":"False","x-open-region-cloud":""}},"required":["tag"]},"ErrorResp":{"description":"","properties":{"error_code":{"description":"错误码","type":"string","x-admin":"False","x-internal":"False","x-open-region-cloud":"hc,hk,otc,tlf,ctc,hcso,sbc,obc"},"error_msg":{"description":"错误消息","type":"string","x-admin":"False","x-internal":"False","x-open-region-cloud":"hc,hk,otc,tlf,ctc,hcso,sbc,obc"},"request_id":{"description":"请求ID","type":"string","x-admin":"False","x-internal":"False","x-open-region-cloud":"hc,hk,otc,tlf,ctc,hcso,sbc,obc"}},"required":["error_code","error_msg","request_id"]},"ResourceTag":{"description":"","properties":{"key":{"description":"功能说明:标签键\n约束:同一资源的key值不能重复。","maxLength":128,"minLength":1,"type":"string","x-admin":"False","x-internal":"False","x-open-region-cloud":"hc,hk,otc,tlf,ctc,hcso"},"value":{"description":"功能说明:标签值","maxLength":255,"type":"string","x-admin":"False","x-internal":"False","x-open-region-cloud":"hc,hk,otc,tlf,ctc,hcso"}},"required":["key","value"]}},"description":null,"group_id":"4784d190da9948c381c1603ddda2f4ff","host":"vpc.cn-north-4.myhuaweicloud.com","id":"aea2c76fbe374d788d889eb081fb13ba","info_version":"v3","method":"post","name":"CreateFirewallTag","parameters":{},"paths":{"/v3/{project_id}/firewalls/{firewall_id}/tags":{"post":{"description":"给指定IP地址组资源实例增加标签信息\n此接口为幂等接口:创建时,如果创建的标签已经存在(key相同),则覆盖。","operationId":"CreateFirewallTag","parameters":[{"description":"功能说明:ACL唯一标识\n取值范围:合法UUID\n约束:ID对应的ACL必须存在","in":"path","name":"firewall_id","pattern":"[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}","required":true,"type":"string","x-open-region-cloud":"","x-order":2},{"description":"项目ID","in":"path","name":"project_id","pattern":"[0-9a-fA-F]{32}","required":true,"type":"string","x-example":"05137572fa00d5eb2fdcc014b0f5c751","x-open-region-cloud":"","x-order":1},{"description":"用户Token。\n获取Token,请参考《统一身份认证服务API参考》的“获取用户Token”章节。请求响应成功后在响应消息头中包含的“X-Subject-Token”的值即为Token值。","in":"header","name":"X-Auth-Token","required":true,"type":"string","x-open-region-cloud":"","x-order":3},{"description":"This is a auto create Body Object","in":"body","name":"CreateFirewallTagRequestBody","required":true,"schema":{"$ref":"#/definitions/CreateFirewallTagRequestBody"}}],"responses":{"204":{"description":"请求正常返回"},"400":{"description":"参数非法","schema":{"$ref":"#/definitions/ErrorResp"}},"401":{"description":"鉴权失败","schema":{"$ref":"#/definitions/ErrorResp"}},"403":{"description":"权限不足","schema":{"$ref":"#/definitions/ErrorResp"}},"404":{"description":"资源未找到","schema":{"$ref":"#/definitions/ErrorResp"}},"500":{"description":"系统异常","schema":{"$ref":"#/definitions/ErrorResp"}}},"summary":"添加ACL资源标签","tags":["网络ACL资源标签管理"],"x-api-type":"inner-public-api","x-apiexplorer-hide":"false","x-first-open-time":"","x-hybridcloud":"false","x-is-registered":"Y","x-name":"添加ACL资源标签","x-open-region-cloud":"hc,hk","x-order":3,"x-publishpath":"","x-request-examples-1":{"tag":{"key":"key4","value":"value4"}},"x-request-examples-description-1":"添加一条ACL标签,key为key4,value为value4。","x-request-examples-text-1":"{\n \"tag\": {\n \"key\": \"key4\",\n \"value\": \"value4\"\n }\n}","x-request-examples-url-1":"POST https://{Endpoint}/v3/{project_id}/firewalls/{firewall_id}/tags","x-scope":"Commercial","x-source":"","x-support-sdk":"Y","x-version":"v3"}}},"product_short":"VPC","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"添加ACL资源标签","tags":"网络ACL资源标签管理","uri":null,"version":"2.0"}