Skip to content

Commit

Permalink
Modify CircuitBreaker and BackendPool Contract (Azure#28397)
Browse files Browse the repository at this point in the history
* md cb contract

* modify pool contract

* correct the limits

---------

Co-authored-by: Samir Solanki <samirsolanki@outlook.com>
  • Loading branch information
m-h-s and solankisamir committed May 9, 2024
1 parent 385cdf5 commit b2fcbcc
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2349,6 +2349,10 @@
"type": "string",
"format": "duration",
"description": "The duration for which the circuit will be tripped."
},
"acceptRetryAfter": {
"type": "boolean",
"description": "flag to accept Retry-After header from the backend."
}
}
},
Expand Down Expand Up @@ -2441,6 +2445,26 @@
"example": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/proxybackend"
}
},
"weight": {
"type": "integer",
"format": "int32",
"description": "The weight of the backend entity in the backend pool. Must be between 0 and 100. It can be also null if the value not specified.",
"minimum": 0,
"maximum": 100,
"example": {
"weight": 1
}
},
"priority": {
"type": "integer",
"format": "int32",
"description": "The priority of the backend entity in the backend pool. Must be between 0 and 100. It can be also null if the value not specified.",
"minimum": 0,
"maximum": 100,
"example": {
"priority": 1
}
}
},
"required": [
Expand Down

0 comments on commit b2fcbcc

Please sign in to comment.