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 is true

    Possible values: true, false

  • --compare-type <COMPARE_TYPE> — The comparison type for the L7 rule. One of CONTAINS, ENDS_WITH, EQUAL_TO, REGEX, or STARTS_WITH

    Possible values: contains, ends-with, equal-to, regex, starts-with

  • --invert <INVERT> — When true the logic of the rule is inverted. For example, with invert true, equal to would become not equal to. Default is false

    Possible 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

  • --type <TYPE> — The L7 rule type. One of COOKIE, FILE_TYPE, HEADER, HOST_NAME, PATH, SSL_CONN_HAS_CERT, SSL_VERIFY_RESULT, or SSL_DN_FIELD

    Possible 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