Created
March 29, 2022 13:40
-
-
Save MahdiKarimipour/3be76853db4333c1e4d65baee170bba6 to your computer and use it in GitHub Desktop.
Pellerex, Azure DevOps, Create Project Request DTO with Values
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var request = new AzureDevOpsCreateProjectRequestDto() | |
{ | |
name = project.Name, | |
visibility = "private" / "public", | |
description = "description", | |
capabilities = new AzureDevOpsCreateProjectRequestDto.CapabilitiesSettings() | |
{ | |
processTemplate = new AzureDevOpsCreateProjectRequestDto.Processtemplate() | |
{ | |
templateTypeId = "6b724908-ef14-45cf-84f8-768b5384da45", //fixed value | |
}, | |
versioncontrol = new AzureDevOpsCreateProjectRequestDto.Versioncontrol() | |
{ | |
sourceControlType = "Git" | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment