Skip to content

Commit 61d5adc

Browse files
Merge pull request #298429 from whhender/april-public-prs-2025
April public prs 2025 - part 1
2 parents 4c7fca6 + 87bc32e commit 61d5adc

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

articles/data-factory/connector-rest.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Set the **authenticationType** property to **AadServicePrincipal**. In addition
148148
| servicePrincipalEmbeddedCertPassword | Specify the password of your certificate if your certificate is secured with a password. Mark this field as a **SecureString** to store it securely, or [reference a secret stored in Azure Key Vault](store-credentials-in-key-vault.md). | No |
149149
| | | |
150150
| tenant | Specify the tenant information (domain name or tenant ID) under which your application resides. Retrieve it by hovering the mouse in the top-right corner of the Azure portal. | Yes |
151-
| aadResourceId | Specify the Microsoft Entra resource you are requesting for authorization, for example, `https://management.core.windows.net`.| Yes |
151+
| aadResourceId | Specify the Microsoft Entra resource you're requesting for authorization, for example, `https://management.core.windows.net`.| Yes |
152152
| azureCloudType | For Service Principal authentication, specify the type of Azure cloud environment to which your Microsoft Entra application is registered. <br/> Allowed values are **AzurePublic**, **AzureChina**, **AzureUsGovernment**, and **AzureGermany**. By default, the data factory's cloud environment is used. | No |
153153

154154
**Example 1: Using service principal key authentication**
@@ -272,7 +272,7 @@ Set the **authenticationType** property to **ManagedServiceIdentity**. In additi
272272

273273
| Property | Description | Required |
274274
|:--- |:--- |:--- |
275-
| aadResourceId | Specify the Microsoft Entra resource you are requesting for authorization, for example, `https://management.core.windows.net`.| Yes |
275+
| aadResourceId | Specify the Microsoft Entra resource you're requesting for authorization, for example, `https://management.core.windows.net`.| Yes |
276276

277277
**Example**
278278

@@ -299,7 +299,7 @@ Set the **authenticationType** property to **ManagedServiceIdentity**. In additi
299299

300300
| Property | Description | Required |
301301
|:--- |:--- |:--- |
302-
| aadResourceId | Specify the Microsoft Entra resource you are requesting for authorization, for example, `https://management.core.windows.net`.| Yes |
302+
| aadResourceId | Specify the Microsoft Entra resource you're requesting for authorization, for example, `https://management.core.windows.net`.| Yes |
303303
| credentials | Specify the user-assigned managed identity as the credential object. | Yes |
304304

305305

@@ -369,7 +369,7 @@ To copy data from REST, the following properties are supported:
369369
| type | The **type** property of the dataset must be set to **RestResource**. | Yes |
370370
| relativeUrl | A relative URL to the resource that contains the data. When this property isn't specified, only the URL that's specified in the linked service definition is used. The HTTP connector copies data from the combined URL: `[URL specified in linked service]/[relative URL specified in dataset]`. | No |
371371

372-
If you were setting `requestMethod`, `additionalHeaders`, `requestBody` and `paginationRules` in dataset, it is still supported as-is, while you are suggested to use the new model in activity going forward.
372+
If you were setting `requestMethod`, `additionalHeaders`, `requestBody` and `paginationRules` in dataset, it's still supported as-is, while you're suggested to use the new model in activity going forward.
373373

374374
**Example:**
375375

@@ -411,8 +411,8 @@ The following properties are supported in the copy activity **source** section:
411411
| requestInterval | The time to wait before sending the request for next page. The default value is **00:00:01** | No |
412412

413413
>[!NOTE]
414-
>REST connector ignores any "Accept" header specified in `additionalHeaders`. As REST connector only support response in JSON, it will auto generate a header of `Accept: application/json`. <br>
415-
>The array of object as the response body is not supported in pagination.
414+
>The REST connector ignores any "Accept" header specified in `additionalHeaders`. Since it only supports JSON responses, it automatically sets the header to `Accept: application/json`. <br>
415+
>Pagination isn't supported for REST API responses where the top-level structure is a JSON array.
416416
417417
**Example 1: Using the Get method with pagination**
418418

@@ -577,7 +577,7 @@ You can set the delete, insert, update, and upsert methods as well as the relati
577577

578578
## Sample data flow script
579579

580-
Notice the use of an alter row transformation prior to the sink to instruct ADF what type of action to take with your REST sink. I.e. insert, update, upsert, delete.
580+
Notice the use of an alter row transformation prior to the sink to instruct ADF what type of action to take with your REST sink. That is, insert, update, upsert, delete.
581581

582582
```
583583
AlterRow1 sink(allowSchemaDrift: true,
@@ -631,12 +631,12 @@ This generic REST connector supports the following pagination patterns:
631631
| Value | Description |
632632
|:--- |:--- |
633633
| Headers.*response_header* OR Headers['response_header'] | "response_header" is user-defined, which references one header name in the current HTTP response, the value of which will be used to issue next request. |
634-
| A JSONPath expression starting with "$" (representing the root of the response body) | The response body should contain only one JSON object and the array of object as the response body is not supported. The JSONPath expression should return a single primitive value, which will be used to issue next request. |
634+
| A JSONPath expression starting with "$" (representing the root of the response body) | The response body should contain only one JSON object and the array of object as the response body isn't supported. The JSONPath expression should return a single primitive value, which will be used to issue next request. |
635635

636636
>[!NOTE]
637637
> The pagination rules in mapping data flows is different from it in copy activity in the following aspects:
638-
>1. Range is not supported in mapping data flows.
639-
>2. `['']` is not supported in mapping data flows. Instead, use `{}` to escape special character. For example, `body.{@odata.nextLink}`, whose JSON node `@odata.nextLink` contains special character `.` .
638+
>1. Range isn't supported in mapping data flows.
639+
>2. `['']` isn't supported in mapping data flows. Instead, use `{}` to escape special character. For example, `body.{@odata.nextLink}`, whose JSON node `@odata.nextLink` contains special character `.` .
640640
>3. The end condition is supported in mapping data flows, but the condition syntax is different from it in copy activity. `body` is used to indicate the response body instead of `$`. `header` is used to indicate the response header instead of `headers`. Here are two examples showing this difference:
641641
> - Example 1:
642642
> Copy activity: **"EndCondition:$.data": "Empty"**
@@ -715,9 +715,9 @@ Request 100: `Header(id->100)`<br/>
715715

716716
:::image type="content" source="media/connector-rest/pagination-rule-example-3.png" alt-text="Screenshot showing the pagination rule to send multiple requests whose variables are in Headers.":::
717717

718-
#### Example 4:Variables are in AbsoluteUrl/QueryParameters/Headers, the end variable is not pre-defined and the end condition is based on the response
718+
#### Example 4:Variables are in AbsoluteUrl/QueryParameters/Headers, the end variable isn't predefined and the end condition is based on the response
719719

720-
This example provides configuration steps to send multiple requests whose variables are in AbsoluteUrl/QueryParameters/Headers but the end variable is not defined. For different responses, different end condition rule settings are shown in Example 4.1-4.6.
720+
This example provides configuration steps to send multiple requests whose variables are in AbsoluteUrl/QueryParameters/Headers but the end variable isn't defined. For different responses, different end condition rule settings are shown in Example 4.1-4.6.
721721

722722
**Multiple requests:**
723723

@@ -780,7 +780,7 @@ Response 2:
780780
```json
781781
{}
782782
```
783-
Set the end condition rule as **"EndCondition:$.data": "NonExist"** to end the pagination when the value of the specific node in response does not exist.
783+
Set the end condition rule as **"EndCondition:$.data": "NonExist"** to end the pagination when the value of the specific node in response doesn't exist.
784784

785785
:::image type="content" source="media/connector-rest/pagination-rule-example-4-2.png" alt-text="Screenshot showing the End Condition setting for Example 4.2.":::
786786

@@ -860,9 +860,9 @@ Response 2:
860860

861861
:::image type="content" source="media/connector-rest/pagination-rule-example-4-6.png" alt-text="Screenshot showing the End Condition setting for Example 4.6.":::
862862

863-
#### Example 5:Set end condition to avoid endless requests when range rule is not defined
863+
#### Example 5:Set end condition to avoid endless requests when range rule isn't defined
864864

865-
This example provides the configuration steps to send multiple requests when the range rule is not used. The end condition can be set refer to Example 4.1-4.6 to avoid endless requests. The REST API returns response in the following structure, in which case next page's URL is represented in ***paging.next***.
865+
This example provides the configuration steps to send multiple requests when the range rule isn't used. The end condition can be set refer to Example 4.1-4.6 to avoid endless requests. The REST API returns response in the following structure, in which case next page's URL is represented in ***paging.next***.
866866

867867
```json
868868
{
@@ -985,7 +985,7 @@ The pagination rule syntax is the same as in Example 8 and should be set as belo
985985

986986
## Export JSON response as-is
987987

988-
You can use this REST connector to export REST API JSON response as-is to various file-based stores. To achieve such schema-agnostic copy, skip the "structure" (also called *schema*) section in dataset and schema mapping in copy activity.
988+
You can use the REST connector to export a REST API's JSON response as-is to various file-based storage systems (sinks). To enable this schema-agnostic copy behavior, use default schema mapping (don’t define any mapping in the Copy Activity's Mapping tab.)
989989

990990
## Schema mapping
991991

articles/data-factory/how-to-use-trigger-parameterization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Under the `properties` section, add parameter definitions to the `parameters` se
7070
"userProperties": [],
7171
"typeProperties": {
7272
"url": {
73-
"value": "@pipeline().parameters.parameter_2",
73+
"value": "@pipeline().parameters.parameter_1",
7474
"type": "Expression"
7575
},
7676
"method": "GET"

0 commit comments

Comments
 (0)