Skip to content

Commit 6f58dff

Browse files
authored
Merge pull request #103571 from djpmsft/docUpdates
adding git web activity note
2 parents 0974fbc + 594e92a commit 6f58dff

File tree

3 files changed

+56
-2
lines changed

3 files changed

+56
-2
lines changed

articles/data-factory/continuous-integration-deployment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ function Get-SortedTriggers {
289289
[string] $DataFactoryName,
290290
[string] $ResourceGroupName
291291
)
292-
$triggers = Get-AzDataFactoryV2Trigger -DataFactoryName miliutesteu04 -ResourceGroupName miliu
292+
$triggers = Get-AzDataFactoryV2Trigger -ResourceGroupName $ResourceGroupName -DataFactoryName $DataFactoryName
293293
$triggerDict = @{}
294294
$visited = @{}
295295
$stack = new-object System.Collections.Stack
@@ -308,7 +308,7 @@ function Get-SortedLinkedServices {
308308
[string] $DataFactoryName,
309309
[string] $ResourceGroupName
310310
)
311-
$linkedServices = Get-AzDataFactoryV2LinkedService -DataFactoryName miliutesteu04 -ResourceGroupName miliu
311+
$linkedServices = Get-AzDataFactoryV2LinkedService -ResourceGroupName $ResourceGroupName -DataFactoryName $DataFactoryName
312312
$LinkedServiceHasDependencies = @('HDInsightLinkedService', 'HDInsightOnDemandLinkedService', 'AzureBatchLinkedService')
313313
$Akv = 'AzureKeyVaultLinkedService'
314314
$HighOrderList = New-Object Collections.Generic.List[Microsoft.Azure.Commands.DataFactoryV2.Models.PSLinkedService]

articles/data-factory/control-flow-web-activity.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,14 @@ The following table shows the requirements for JSON content:
8585

8686
## Authentication
8787

88+
Below are the supported authentication types in the web activity.
89+
8890
### None
91+
8992
If authentication is not required, do not include the "authentication" property.
9093

9194
### Basic
95+
9296
Specify user name and password to use with the basic authentication.
9397

9498
```json
@@ -100,6 +104,7 @@ Specify user name and password to use with the basic authentication.
100104
```
101105

102106
### Client certificate
107+
103108
Specify base64-encoded contents of a PFX file and the password.
104109

105110
```json
@@ -121,6 +126,9 @@ Specify the resource uri for which the access token will be requested using the
121126
}
122127
```
123128

129+
> [!NOTE]
130+
> If your data factory is configured with a git repository, you must store your credentials in Azure Key Vault to use basic or client certificate authentication. Azure Data Factory doesn't store passwords in git.
131+
124132
## Request payload schema
125133
When you use the POST/PUT method, the body property represents the payload that is sent to the endpoint. You can pass linked services and datasets as part of the payload. Here is the schema for the payload:
126134

articles/data-factory/control-flow-webhook-activity.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,52 @@ authentication | Authentication method used for calling the endpoint. Supported
6060
timeout | How long the activity will wait for the 'callBackUri' to be invoked. How long the activity will wait for the ‘callBackUri’ to be invoked. Default value is 10mins (“00:10:00”). Format is Timespan i.e. d.hh:mm:ss | String | No |
6161
Report status on callback | Allows the user the report the failed status of the webhook activity which will mark the activity as failed | Boolean | No |
6262

63+
## Authentication
64+
65+
Below are the supported authentication types in the webhook activity.
66+
67+
### None
68+
69+
If authentication is not required, do not include the "authentication" property.
70+
71+
### Basic
72+
73+
Specify user name and password to use with the basic authentication.
74+
75+
```json
76+
"authentication":{
77+
"type":"Basic",
78+
"username":"****",
79+
"password":"****"
80+
}
81+
```
82+
83+
### Client certificate
84+
85+
Specify base64-encoded contents of a PFX file and the password.
86+
87+
```json
88+
"authentication":{
89+
"type":"ClientCertificate",
90+
"pfx":"****",
91+
"password":"****"
92+
}
93+
```
94+
95+
### Managed Identity
96+
97+
Specify the resource uri for which the access token will be requested using the managed identity for the data factory. To call the Azure Resource Management API, use `https://management.azure.com/`. For more information about how managed identities works see the [managed identities for Azure resources overview page](/azure/active-directory/managed-identities-azure-resources/overview).
98+
99+
```json
100+
"authentication": {
101+
"type": "MSI",
102+
"resource": "https://management.azure.com/"
103+
}
104+
```
105+
106+
> [!NOTE]
107+
> If your data factory is configured with a git repository, you must store your credentials in Azure Key Vault to use basic or client certificate authentication. Azure Data Factory doesn't store passwords in git.
108+
63109
## Additional notes
64110

65111
Azure Data Factory will pass an additional property “callBackUri” in the body to the url endpoint, and will expect this uri to be invoked before the timeout value specified. If the uri is not invoked, the activity will fail with status ‘TimedOut’.

0 commit comments

Comments
 (0)