Authorizations
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Project ID
Region ID
L7 policy ID
Response
Returned L7 policy
L7Policy schema
Action
REDIRECT_PREFIX
, REDIRECT_TO_POOL
, REDIRECT_TO_URL
, REJECT
ID
Listener ID
Human-readable name of the policy
L7 policy operating status
DEGRADED
, DRAINING
, ERROR
, NO_MONITOR
, OFFLINE
, ONLINE
The position of this policy on the listener. Positions start at 1.
Project ID
ACTIVE
, DELETED
, ERROR
, PENDING_CREATE
, PENDING_DELETE
, PENDING_UPDATE
Requests matching this policy will be redirected to the specified URL or Prefix URL with the HTTP response code. Valid if action is REDIRECT_TO_URL
or REDIRECT_PREFIX
. Valid options are 301, 302, 303, 307, or 308. Default is 302.
Requests matching this policy will be redirected to the pool with this ID. Only valid if action is REDIRECT_TO_POOL
.
Requests matching this policy will be redirected to this Prefix URL. Only valid if action is REDIRECT_PREFIX
.
Requests matching this policy will be redirected to this URL. Only valid if action is REDIRECT_TO_URL
.
Region name
Region ID
Rules. All the rules associated with a given policy are logically ANDed together. A request must match all the policy’s rules to match the policy.If you need to express a logical OR operation between rules, then do this by creating multiple policies with the same action.
A list of simple strings assigned to the resource.
The UUID of the active task that currently holds a lock on the resource. This lock prevents concurrent modifications to ensure consistency. If null
, the resource is not locked.