All Products
Search
Document Center

Function Compute:RoutePolicy

Last Updated:Sep 23, 2024
ParameterTypeDescriptionExample
object

The canary release rule. The traffic that meets the conditions of the canary release rule is diverted to the canary release instances.

conditionstring

The condition mode, which specifies the logical operation of the canary release rule. Valid values:

  • AND: The canary release rule is triggered when the conditions of all items are met.
  • OR: The canary release rule is triggered when the condition of any item is met.
AND
policyItemsarray

The canary release rule items.

PolicyItem

The canary release rule item.