-
Notifications
You must be signed in to change notification settings - Fork 0
AzDoProject
github-actions[bot] edited this page Aug 19, 2026
·
4 revisions
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| ProjectName | Key | System.String | The name of the Azure DevOps project. | |
| Ensure | Write | Ensure |
Present, Absent
|
|
| ProcessTemplate | Write | System.String | The process template for the project. Valid values are 'Agile', 'Scrum', 'CMMI', and 'Basic'. |
Agile, Scrum, CMMI, Basic
|
| ProjectDescription | Write | System.String | The description of the Azure DevOps project. | |
| SourceControlType | Write | System.String | The type of source control for the project. Valid values are 'Git' and 'Tfvc'. |
Git, Tfvc
|
| Visibility | Write | System.String | The visibility of the project. Valid values are 'Public' and 'Private'. |
Public, Private
|
| LookupResult | Read | System.Collections.Hashtable |
The AzDoProject class is used to define and manage Azure DevOps projects. It inherits from the AzDevOpsDscResourceBase class.
This example shows how to ensure that the Azure DevOps project called 'Test Project' exists (or is added if it does not exist).
Configuration Example
{
Import-DscResource -ModuleName 'AzureDevOpsDscNative'
node localhost
{
AzDoProject 'AddProject'
{
Ensure = 'Present'
ProjectName = 'Test Project'
ProjectDescription = 'A Test Project'
SourceControlType = 'Git'
}
}
}This example shows how to ensure that an Azure DevOps project with a ProjectName of 'Test Project' can have it's description updated to 'A Test Project with a new description'.
Configuration Example
{
Import-DscResource -ModuleName 'AzureDevOpsDscNative'
node localhost
{
AzDoProject 'UpdateProject'
{
Ensure = 'Present'
ProjectName = 'Test Project'
ProjectDescription = 'A Test Project with a new description' # Updated property
#SourceControlType = 'Git' # Note: Update of this property is not supported
}
}
}This example shows how to delete a project called 'Test Project'.
Configuration Example
{
Import-DscResource -ModuleName 'AzureDevOpsDscNative'
node localhost
{
AzDoProject 'DeleteProject'
{
Ensure = 'Absent' # 'Absent' ensures this will be removed/deleted
ProjectName = 'Test Project' # Identifies the name of the project to be deleted
}
}
}- Assert-BoundParameter
- Assert-ElevatedUser
- Assert-IPAddress
- Assert-Module
- AzDoAPI_0_ProjectCache
- AzDoAPI_1_GroupCache
- AzDoAPI_2_UserCache
- AzDoAPI_3_GroupMemberCache
- AzDoAPI_4_GitRepositoryCache
- AzDoAPI_5_PermissionsCache
- AzDoAPI_6_ServicePrinciple
- AzDoAPI_7_IdentitySubjectDescriptors
- AzDoAPI_8_ProjectProcessTemplates
- AzDoAPI_9_DevOpsClassificationNodes
- Compare-DscParameterState
- Compare-ResourcePropertyState
- ConvertFrom-DscResourceInstance
- ConvertTo-Base64String
- ConvertTo-CimInstance
- ConvertTo-HashTable
- Find-Certificate
- Format-Path
- Get-AzDevOpsOperation
- Get-AzDevOpsServicesApiUri
- Get-AzDevOpsServicesUri
- AzDoAgentPool
- AzDoAgentPoolPermission
- AzDoAgentQueue
- AzDoAreaNodes
- AzDoAreaPermission
- AzDoArtifactFeed
- AzDoArtifactFeedPermission
- AzDoArtifactFeedSettings
- AzDoArtifactFeedView
- AzDoAuditStream
- AzDoBranchPolicy
- AzDoCheckConfiguration
- AzDoDeploymentGroup
- AzDoEnvironmentApproval
- AzDoEnvironmentPermission
- AzDoExtension
- AzDoGitPermission
- AzDoGitRepository
- AzDoGroupMember
- AzDoGroupPermission
- AzDoIterationNodes
- AzDoIterationPermission
- AzDoNotificationSubscription
- AzDoOrganizationGroup
- AzDoOrganizationSettings
- AzDoPipeline
- AzDoPipelineEnvironment
- AzDoPipelinePermission
- AzDoPipelineSettings
- AzDoProcess
- AzDoProcessPermission
- AzDoProject
- AzDoProjectGroup
- AzDoProjectPermission
- AzDoProjectServices
- AzDoRepositorySettings
- AzDoSecurityNamespacePermission
- AzDoServiceConnection
- AzDoServiceConnectionPermission
- AzDoServiceHook
- AzDoTaskGroup
- AzDoTeam
- AzDoTeamMember
- AzDoTeamSettings
- AzDoUserEntitlement
- AzDoVariableGroup
- AzDoVariableGroupPermission
- AzDoWiki
- AzDoWIPTags