|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The policy details. |
||
| type |
string |
The parameter types. You can use values in HTTP requests. |
Header |
| key |
string |
key specifies the name of the field that controls traffic of a canary release policy. For example, if you set key to |
x-test-uid |
| value |
string |
value specifies the value of the field that controls traffic of canary releases. The actual value of the field specified by the key parameter in a request is compared with the value of the value parameter based on the specified operator to determine whether a request is routed to the canary release version. |
11111 |
| operator |
string |
operator specifies the operator, which is used to compare the actual value of the field specified by key and the value specified by value in a request. Valid values:
|
= |