Skip to content

Commit 58694bd

Browse files
authored
Merge pull request #10333 from cporteou/master
Added GitHub example command and clarified differences with Azure DevOps
2 parents ae97254 + 7a1199f commit 58694bd

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

src/DataFactory/DataFactoryV2/help/Set-AzDataFactoryV2.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ PS C:\> Set-AzDataFactoryV2 -ResourceGroupName "ADF" -Name "UncycloADF" -Location "
102102
RepoConfiguration :
103103
```
104104

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.
106106
```
107107
PS C:\> Get-AzDataFactoryV2 -ResourceGroupName "ADF" -Name "UncycloADF" | Set-AzDataFactoryV2 -AccountName msdata -RepositoryName ADFRepo -CollaborationBranch master -RootFolder / -ProjectName "Azure Data Factory"
108108
@@ -116,7 +116,23 @@ PS C:\> Get-AzDataFactoryV2 -ResourceGroupName "ADF" -Name "UncycloADF" | Set-AzDat
116116
RepoConfiguration : Microsoft.Azure.Management.DataFactory.Models.FactoryVSTSConfiguration
117117
```
118118

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..
120136

121137
## PARAMETERS
122138

@@ -205,7 +221,7 @@ Accept wildcard characters: False
205221
```
206222
207223
### -HostName
208-
The host name for repo configuration.
224+
The host name for GitHub repo configuration.
209225
210226
```yaml
211227
Type: System.String
@@ -292,7 +308,7 @@ Accept wildcard characters: False
292308
```
293309
294310
### -ProjectName
295-
The project name for repo configuration.
311+
The project name Azure DevOps for repo configuration.
296312
297313
```yaml
298314
Type: System.String
@@ -418,7 +434,7 @@ Accept wildcard characters: False
418434
```
419435
420436
### -TenantId
421-
The tenant id for repo configuration.
437+
The tenant id for Azure DevOps repo configuration.
422438
423439
```yaml
424440
Type: System.String

0 commit comments

Comments
 (0)