dcloud lb load-balancers updateAttach a web ACL to an application load balancer, or detach it
application type only (400 on lb11/lb21/lb31: put a CDN distribution with the ACL in front instead). Needs waf:GetWebAcl on the ACL. The fleet nodes run it within seconds, after TLS and before routing, redirects and error pages; matches are in the access log and under `dcloud waf web-acls logs`. Rate rules count exactly (one node serves at a time). No extra charge beyond the web ACL itself.
Synopsis
dcloud lb load-balancers update id --web-acl-id webAclIdArguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--web-acl-idRequiredstring
The web ACL every request passes; null detaches it. Required (send null to detach). application type only (400). An ACL not in your organization: 404; without waf:GetWebAcl on it: 403
Constraints: uuid
May be null.
Example
dcloud lb load-balancers update id --web-acl-id 00000000-0000-0000-0000-000000000000Generated from the API description, the same one the API checks requests against and the CLI is built from.