Skip to content

Commit b2fcbcc

Browse files
m-h-ssolankisamir
andcommitted
Modify CircuitBreaker and BackendPool Contract (Azure#28397)
* md cb contract * modify pool contract * correct the limits --------- Co-authored-by: Samir Solanki <samirsolanki@outlook.com>
1 parent 385cdf5 commit b2fcbcc

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

  • specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-09-01-preview/definitions.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2349,6 +2349,10 @@
23492349
"type": "string",
23502350
"format": "duration",
23512351
"description": "The duration for which the circuit will be tripped."
2352+
},
2353+
"acceptRetryAfter": {
2354+
"type": "boolean",
2355+
"description": "flag to accept Retry-After header from the backend."
23522356
}
23532357
}
23542358
},
@@ -2441,6 +2445,26 @@
24412445
"example": {
24422446
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/proxybackend"
24432447
}
2448+
},
2449+
"weight": {
2450+
"type": "integer",
2451+
"format": "int32",
2452+
"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.",
2453+
"minimum": 0,
2454+
"maximum": 100,
2455+
"example": {
2456+
"weight": 1
2457+
}
2458+
},
2459+
"priority": {
2460+
"type": "integer",
2461+
"format": "int32",
2462+
"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.",
2463+
"minimum": 0,
2464+
"maximum": 100,
2465+
"example": {
2466+
"priority": 1
2467+
}
24442468
}
24452469
},
24462470
"required": [

0 commit comments

Comments
 (0)