osc load-balancer l7policy rule set
Updates a L7 rule.
If the request is valid, the service returns the Accepted (202) response code. To confirm the update, check that the L7 rule provisioning status is ACTIVE. If the status is PENDING_UPDATE, use a GET operation to poll the L7 rule object for changes.
This operation returns the updated L7 rule object with the ACTIVE, PENDING_UPDATE, or ERROR provisioning status.
Usage: osc load-balancer l7policy rule set [OPTIONS] <L7POLICY_ID> <ID>
Arguments:
<L7POLICY_ID>— l7policy_id parameter for /v2/lbaas/l7policies/{l7policy_id}/rules/{rule_id} API<ID>— rule_id parameter for /v2/lbaas/l7policies/{l7policy_id}/rules/{rule_id} API
Options:
-
--admin-state-up <ADMIN_STATE_UP>— The administrative state of the resource, which is up (true) or down (false). Default istruePossible values:
true,false -
--compare-type <COMPARE_TYPE>— The comparison type for the L7 rule. One ofCONTAINS,ENDS_WITH,EQUAL_TO,REGEX, orSTARTS_WITHPossible values:
contains,ends-with,equal-to,regex,starts-with -
--invert <INVERT>— Whentruethe logic of the rule is inverted. For example, with inverttrue, equal to would become not equal to. Default isfalsePossible values:
true,false -
--key <KEY>— The key to use for the comparison. For example, the name of the cookie to evaluate -
--tags <TAGS>— A list of simple strings assigned to the resource.New in version 2.5
Parameter is an array, may be provided multiple times.
-
--type <TYPE>— The L7 rule type. One ofCOOKIE,FILE_TYPE,HEADER,HOST_NAME,PATH,SSL_CONN_HAS_CERT,SSL_VERIFY_RESULT, orSSL_DN_FIELDPossible values:
cookie,file-type,header,host-name,path,ssl-conn-has-cert,ssl-dn-field,ssl-verify-result -
--value <VALUE>— The value to use for the comparison. For example, the file type to compare