@@ -102,7 +102,7 @@ PS C:\> Set-AzDataFactoryV2 -ResourceGroupName "ADF" -Name "UncycloADF" -Location "
102
102
RepoConfiguration :
103
103
```
104
104
105
- ### Example 2: Create a data factory with repoconfiguration details using an existing factory object.
105
+ ### Example 2: Create a data factory with repo configuration details using an existing factory object.
106
106
```
107
107
PS C:\> Get-AzDataFactoryV2 -ResourceGroupName "ADF" -Name "UncycloADF" | Set-AzDataFactoryV2 -AccountName msdata -RepositoryName ADFRepo -CollaborationBranch master -RootFolder / -ProjectName "Azure Data Factory"
108
108
@@ -116,7 +116,23 @@ PS C:\> Get-AzDataFactoryV2 -ResourceGroupName "ADF" -Name "UncycloADF" | Set-AzDat
116
116
RepoConfiguration : Microsoft.Azure.Management.DataFactory.Models.FactoryVSTSConfiguration
117
117
```
118
118
119
- This command creates a data factory named UncycloADF in the resource group named ADF in the WestUS location.
119
+ This command creates a data factory named UncycloADF in the resource group named ADF in the EastUS location with Azure DevOps source control configuration.
120
+
121
+ ### Example 3: Create a data factory with GitHub repo configuration details using a new factory object.
122
+ ```
123
+ PS C:\> New-AzDataFactoryV2 -ResourceGroupName "ADF" -Name "UncycloADF" -Location 'EastUS' -HostName 'https://github.com' -AccountName msdata -RepositoryName ADFRepo -CollaborationBranch master -RootFolder /
124
+
125
+ DataFactoryName : UncycloADF
126
+ DataFactoryId : /subscriptions/3e8e61b5-9a7d-4952-bfae-545ab997b9ea/resourceGroups/adf/providers/Microsoft.DataFactory/factories/wikiadf
127
+ ResourceGroupName : ADF
128
+ Location : EastUS
129
+ Tags : {}
130
+ Identity : Microsoft.Azure.Management.DataFactory.Models.FactoryIdentity
131
+ ProvisioningState : Succeeded
132
+ RepoConfiguration : Microsoft.Azure.Management.DataFactory.Models.FactoryGitHubConfiguration
133
+ ```
134
+
135
+ This command creates a data factory named UncycloADF in the resource group named ADF in the EastUS location with GitHub source control configuration..
120
136
121
137
## PARAMETERS
122
138
@@ -205,7 +221,7 @@ Accept wildcard characters: False
205
221
` ` `
206
222
207
223
### -HostName
208
- The host name for repo configuration.
224
+ The host name for GitHub repo configuration.
209
225
210
226
` ` ` yaml
211
227
Type : System.String
@@ -292,7 +308,7 @@ Accept wildcard characters: False
292
308
` ` `
293
309
294
310
### -ProjectName
295
- The project name for repo configuration.
311
+ The project name Azure DevOps for repo configuration.
296
312
297
313
` ` ` yaml
298
314
Type : System.String
@@ -418,7 +434,7 @@ Accept wildcard characters: False
418
434
` ` `
419
435
420
436
### -TenantId
421
- The tenant id for repo configuration.
437
+ The tenant id for Azure DevOps repo configuration.
422
438
423
439
` ` ` yaml
424
440
Type : System.String
0 commit comments