You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/api-management/api-management-transformation-policies.md
+16-7Lines changed: 16 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.workload: mobile
12
12
ms.tgt_pltfrm: na
13
13
ms.devlang: na
14
14
ms.topic: article
15
-
ms.date: 11/27/2017
15
+
ms.date: 03/11/2019
16
16
ms.author: apimpm
17
17
---
18
18
# API Management transformation policies
@@ -203,6 +203,15 @@ This topic provides a reference for the following API Management policies. For i
203
203
<set-backend-servicebase-url="base URL of the backend service" />
204
204
```
205
205
206
+
or
207
+
208
+
```xml
209
+
<set-backend-servicebackend-id="identifier of the backend entity specifying base URL of the backend service" />
210
+
```
211
+
212
+
> [!NOTE]
213
+
> Backend entities can be managed via management [API](https://docs.microsoft.com/en-us/rest/api/apimanagement/backend) and [PowerShell](https://www.powershellgallery.com/packages?q=apimanagement).
214
+
206
215
### Example
207
216
208
217
```xml
@@ -255,8 +264,8 @@ In this example the policy routes the request to a service fabric backend, using
|backend-id|Identifier of the backend to route to.|No|N/A|
267
+
|base-url|New backend service base URL.|One of `base-url` or `backend-id` must be present.|N/A|
268
+
|backend-id|Identifier of the backend to route to. (Backend entities are managed via [API](https://docs.microsoft.com/en-us/rest/api/apimanagement/backend) and [PowerShell](https://www.powershellgallery.com/packages?q=apimanagement).)|One of `base-url` or `backend-id` must be present.|N/A|
260
269
|sf-partition-key|Only applicable when the backend is a Service Fabric service and is specified using 'backend-id'. Used to resolve a specific partition from the name resolution service.|No|N/A|
261
270
|sf-replica-type|Only applicable when the backend is a Service Fabric service and is specified using 'backend-id'. Controls if the request should go to the primary or secondary replica of a partition. |No|N/A|
262
271
|sf-resolve-condition|Only applicable when the backend is a Service Fabric service. Condition identifying if the call to Service Fabric backend has to be repeated with new resolution.|No|N/A|
@@ -477,17 +486,17 @@ OriginalUrl.
477
486
For more information, see [Policy expressions](api-management-policy-expressions.md) and [Context variable](api-management-policy-expressions.md#ContextVariables).
478
487
479
488
> [!NOTE]
480
-
> Multiple values of a header are concatenated to a CSV string, for example:
489
+
> Multiple values of a header are concatenated to a CSV string, for example:
481
490
> `headerName: value1,value2,value3`
482
491
>
483
492
> Exceptions include standardized headers, which values:
484
493
> - may contain commas (`User-Agent`, `WWW-Authenticate`, `Proxy-Authenticate`),
485
494
> - may contain date (`Cookie`, `Set-Cookie`, `Warning`),
486
495
> - contain date (`Date`, `Expires`, `If-Modified-Since`, `If-Unmodified-Since`, `Last-Modified`, `Retry-After`).
487
496
>
488
-
> In case of those exceptions, multiple header values will not be concatenated into one string and will be passed as separate headers, for example:
489
-
>`User-Agent: value1`
490
-
>`User-Agent: value2`
497
+
> In case of those exceptions, multiple header values will not be concatenated into one string and will be passed as separate headers, for example:
0 commit comments